Obtain the literal with the largest identifier in c
.
Equations
- c.maxLiteral = (List.map (fun (x : Std.Sat.Literal Nat) => x.fst) c).max?
Instances For
Obtain the literal with the largest identifier in f
.
Equations
- f.maxLiteral = (List.filterMap Std.Sat.CNF.Clause.maxLiteral f).max?
Instances For
Relabel f
to a CNF
formula with a known upper bound for its literals.
This operation might be useful when e.g. using the literals to index into an array of known size without conducting bounds checks.
Equations
- One or more equations did not get rendered due to their size.