Lemma 6 (mean):
ProvedRevisitXor.lemma_6_meanbent-functionsboolean-functionsconcentration-inequalitiescorrelation-boundsp2o-gran-per-chapterp2o-plan-paperp2o-v1polynomials-mod-2xor-lemma
Let and . For a uniformly random perfect matching of the complete graph on , sampled as the edge sequence , the weight satisfies
By (2) this says that the correlation of with a random is at most on average; it is the centering term in the concentration argument.
Formalization Note The expectation is the average of over all valid edge sequences.
Differences from the source:
- encoding: E over the random matching sampled as X₁, …, X_{M/2} → the average of W over validSeqs m; reason: the paper's sampling (p.6) with the uniform law; it holds for every m (the proof's "for M ≥ c" is not part of the statement)
Preamble
import Mathlib import Definitions.Def_RevisitXor_validSeqs
Formal statement
namespace RevisitXor
/-- **Lemma 6, mean.** Viola, *Revisiting the XOR lemma*, STOC 2027 submission (manuscript of August 25, 2026, sha256
3b49e10d…716), Lemma 6, p.7: "We have E[W] ≤ 3."
**Formalization Note.** `E` is the average over the uniform law on valid edge sequences
`X₁, …, X_{M/2}` (`M = 2^m`), for every fixed `h : [2]^m × [2]^m → [2]`. The proof's "for M ≥ c" is
not a hypothesis: the bound holds for every `m` (for `m = 0` the only sequence is empty and `W = 0`;
for `M = 2`, `W ≤ 2`). -/
theorem lemma_6_mean (m : ℕ) (h : Cube m × Cube m → ZMod 2) :
avg (validSeqs m) (W h) ≤ 3 := by sorry
end RevisitXor
Source
Viola, Revisiting the XOR lemma, STOC 2027 submission (manuscript of August 25, 2026, sha256 3b49e10d…716), Lemma 6, p.7
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.