Clause sets -- basic API #
Evaluation of literals, flips x ⊕ e_T and the points agreeing with x off a set, membership
in solution sets and forced sets, and the translation of a CNF to its clause set.
Main results #
BitString.card_filter_agree: exactly2 ^ |F|points agree withxoffF.CNF.sat_toClauseSet_iff: a CNF and its clause set have the same solutions.CNF.card_le_width_of_mem_toClauseSet: the clause set of a CNF has no wider clause.
x ↦ x ⊕ e_T is injective in T.
theorem
Complexity.ContainsSubcube.mono
{N : ℕ}
{S T : Set (BitString N)}
(hST : S ⊆ T)
{d : ℕ}
(h : ContainsSubcube S d)
:
ContainsSubcube T d
A subcube of a set is a subcube of every larger set.
The CNF of a clause set has as many clauses mentioning v as the clause set.