Restoring Boolean cofactor coefficients under a degree budget
ProvedPvsNP.trimmed_cofactorCoeffcombinatoricscomplexity-theoryformal-verification
Split a Boolean monomial into disjoint restored and residual coordinates. Suppose the stored evaluations of the subset-sum coefficient transform are correct whenever the number of fixed one bits plus the residual monomial size is at most the budget. The restored coefficient equals the sum of the stored coefficients over the subsets of the restored coordinates, provided the fixed one bits and the full monomial fit the budget. Over characteristic two the transform gives the actual multilinear Boolean coefficients.
Preamble
import Mathlib set_option autoImplicit false
Formal statement
theorem PvsNP.trimmed_cofactorCoeff {I A : Type} [DecidableEq I] [AddCommMonoid A] (f : Finset I → A) (stored : Finset I → Finset I → A)
(pin restored residual : Finset I) (limit : ℕ)
(apart : Disjoint restored residual)
(fit : pin.card + (restored ∪ residual).card ≤ limit)
(valid : ∀ p monomial, p.card + monomial.card ≤ limit →
stored p monomial = (∑ probe ∈ monomial.powerset, f (p ∪ probe))) :
(∑ probe ∈ restored.powerset, stored (pin ∪ probe) residual) =
∑ probe ∈ (restored ∪ residual).powerset, f (pin ∪ probe) := by sorrySource
Degree-trimmed Boolean cofactor arithmetic in PvsNPTrimmedCofactorCoefficients.lean.