def
Trestle.Encode.Cardinality.naiveLtK.cond
{ν : Type}
(cond : Clause (Literal ν))
(k : ℕ)
(lits : Array (Literal ν))
:
Conditional, naive less-than-k encoding, using (n choose k) clauses.
This is identical to naiveLtK, but accepts an array of literals to be prepended to every clause.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Naive less-than-k encoding, using (n choose k) clauses.
Equations
Instances For
Conditional, naive at-least-k encoding
Equations
Instances For
@[inline]
Trivial at least one encoding (just a single clause)