Documentation

CslibFrontier.Foundations.Data.Finsupp.OddSupport

Odd supports of exponent vectors #

The odd support Finsupp.oddSupport m of an exponent vector m : σ →₀ ℕ is the set of coordinates at which m is odd. A monomial x ^ m in variables xᵢ ranging over {1, -1} equals the product of the variables in its odd support, because xᵢ ^ 2 = 1. Odd supports add by symmetric difference (Finsupp.oddSupport_add), so they turn products of monomials into symmetric differences of sets. The odd support of ∑ i ∈ S, single i 1, the exponent vector of ∏ i ∈ S, xᵢ, is S (Finsupp.oddSupport_sum_single). These facts are how the multilinear reduction modulo xᵢ ^ 2 = 1 enters the sum-of-squares degree lower bound for parity systems (Cslib.Logic.PL.ParitySystem.pseudoExpectation) and the polynomial calculus degree lower bound for Tseitin formulas (Cslib.Logic.PL.Tseitin.minBalancedCut_le_two_mul_of_pc_refutableInDegree).

Main definitions #

Main results #

def Finsupp.oddSupport {σ : Type u_1} (m : σ →₀ ℕ) :

The odd support of an exponent vector: the coordinates at which it is odd.

theorem Finsupp.mem_oddSupport {σ : Type u_1} {m : σ →₀ ℕ} {i : σ} :
i ∈ m.oddSupport ↔ m i % 2 = 1

A coordinate is in the odd support exactly when the exponent there is odd.

@[simp]

The zero exponent vector has empty odd support.

Odd supports add by symmetric difference: a sum is odd exactly where one summand is odd and the other is even.

@[simp]
theorem Finsupp.oddSupport_single_one {σ : Type u_1} (i : σ) :

The exponent vector of xᵢ has odd support {i}.

@[simp]
theorem Finsupp.oddSupport_single_two {σ : Type u_1} (i : σ) :

The exponent vector of xᵢ ^ 2 has empty odd support.

@[simp]
theorem Finsupp.oddSupport_sum_single {σ : Type u_1} (S : Finset σ) :
(∑ i ∈ S, single i 1).oddSupport = S

The odd support of ∑ i ∈ S, single i 1, the exponent vector of ∏ i ∈ S, xᵢ, is S.

The odd support of m has at most degree m elements.