Documentation

Complexitylib.Circuits.NormalForm.Operations.Internal

Operations on CNF and DNF -- proof internals #

theorem Complexity.DNF.eval_disjoin_internal {N : } (formulas : List (DNF N)) (input : BitString N) :
(disjoin formulas).eval input = formulas.any fun (formula : DNF N) => formula.eval input
theorem Complexity.DNF.width_disjoin_le_internal {N : } (formulas : List (DNF N)) (bound : ) (hbound : formulaformulas, formula.width bound) :
(disjoin formulas).width bound
theorem Complexity.CNF.eval_conjoin_internal {N : } (formulas : List (CNF N)) (input : BitString N) :
(conjoin formulas).eval input = formulas.all fun (formula : CNF N) => formula.eval input
theorem Complexity.CNF.width_conjoin_le_internal {N : } (formulas : List (CNF N)) (bound : ) (hbound : formulaformulas, formula.width bound) :
(conjoin formulas).width bound