Quadratic forms are balanced on rectangles of large cut rank #
Cut the coordinates into X and Xᶜ. On an input glued from an X-part p and an
Xᶜ-part q, the quadratic form of Q is a function of p, plus a function of q, plus
p · B q for the block B of Q + Qᵀ with rows X and columns Xᶜ. Lindsey's lemma then
bounds the signed sum of the form over every rectangle R for the cut X:
(∑_{x ∈ R} (-1)^{f(x)})² · 2^{cutRank Q X} ≤ |R| · 2^n.
def
Complexity.Correlation.merge
{ι : Type u_1}
(X : Set ι)
[DecidablePred fun (x : ι) => x ∈ X]
{γ : Type u_2}
(p : ↑X → γ)
(q : ↑Xᶜ → γ)
:
ι → γ
The input whose part on X is p and whose part on Xᶜ is q.
Instances For
@[simp]
theorem
Complexity.Correlation.merge_coe_left
{ι : Type u_1}
{X : Set ι}
[DecidablePred fun (x : ι) => x ∈ X]
{γ : Type u_2}
(p : ↑X → γ)
(q : ↑Xᶜ → γ)
(i : ↑X)
:
theorem
Complexity.Correlation.domRestrict_merge
{ι : Type u_1}
{X : Set ι}
[DecidablePred fun (x : ι) => x ∈ X]
{γ : Type u_2}
(p : ↑X → γ)
(q : ↑Xᶜ → γ)
:
theorem
Complexity.Correlation.domRestrict_compl_merge
{ι : Type u_1}
{X : Set ι}
[DecidablePred fun (x : ι) => x ∈ X]
{γ : Type u_2}
(p : ↑X → γ)
(q : ↑Xᶜ → γ)
:
theorem
Complexity.Correlation.merge_domRestrict
{ι : Type u_1}
{X : Set ι}
[DecidablePred fun (x : ι) => x ∈ X]
{γ : Type u_2}
(x : ι → γ)
:
theorem
Complexity.Correlation.sum_eq_sum_add_sum_compl
{ι : Type u_1}
{X : Set ι}
[DecidablePred fun (x : ι) => x ∈ X]
[Fintype ι]
[Fintype ↑X]
[Fintype ↑Xᶜ]
{M : Type u_2}
[AddCommMonoid M]
(f : ι → M)
:
A sum over all coordinates splits into the coordinates of X and of Xᶜ.
theorem
Complexity.Correlation.sum_eq_sum_sum_merge
{ι : Type u_1}
{X : Set ι}
[DecidablePred fun (x : ι) => x ∈ X]
{γ : Type u_2}
{s : Finset (ι → γ)}
{A : Finset (↑X → γ)}
{B : Finset (↑Xᶜ → γ)}
(hs : ∀ (x : ι → γ), x ∈ s ↔ X.domRestrict x ∈ A ∧ Xᶜ.domRestrict x ∈ B)
(w : (ι → γ) → ℝ)
:
A sum over a rectangle is a double sum over its two sides.
theorem
Complexity.Correlation.sq_sum_boolSign_quadForm_mul_le
{ι : Type u_1}
{X : Set ι}
[DecidablePred fun (x : ι) => x ∈ X]
[Fintype ι]
[DecidableEq ι]
(Q : Matrix ι ι (ZMod 2))
{s : Finset (ι → Bool)}
{A : Finset (↑X → Bool)}
{B : Finset (↑Xᶜ → Bool)}
(hs : ∀ (x : ι → Bool), x ∈ s ↔ X.domRestrict x ∈ A ∧ Xᶜ.domRestrict x ∈ B)
:
Lindsey's lemma for quadratic forms. Over any rectangle s for the cut X, the
signed sum of the quadratic form of Q satisfies (∑_s (-1)^f)² · 2^{cutRank Q X} ≤ |s| 2^n.