Identity (2):
ProvedRevisitXor.eq_2bent-functionsboolean-functionsconcentration-inequalitiescorrelation-boundsp2o-gran-per-chapterp2o-plan-paperp2o-v1polynomials-mod-2xor-lemma
Let , , and let be a fixed-point-free involution of with edges listed in any order. Then the correlation between and is the weight of the matching, up to scaling:
It turns the tail bound (1) into a concentration bound for the weight of a uniformly random perfect matching.
Formalization Note The edges of are a valid edge sequence xs in which every edge occurs.
Differences from the source:
- encoding: X₁, …, X_{M/2}, the edges of π → a valid edge sequence xs with xs j = {y, π y} for some j, for every y; reason: a valid sequence of M/2 disjoint edges containing every edge of π lists exactly the edges of π
Preamble
import Mathlib import Definitions.Def_RevisitXor_corr import Definitions.Def_RevisitXor_mm import Definitions.Def_RevisitXor_validSeqs
Formal statement
namespace RevisitXor
open OAI.MatchingSmoothing
/-- **Identity (2): the correlation is the weight of the matching.** Viola, *Revisiting the XOR lemma*, STOC 2027 submission (manuscript of August 25, 2026, sha256
3b49e10d…716), §1, (2), p.6: "The correlation between h and the function f corresponding to π is just the
sum of the weights, up to scaling: M · C_Π(h) = w(X1, X2, . . . , XM/2) =: W (2) where the sum is
over all edges in (the graph corresponding to) π."
**Formalization Note.** `M = 2^m`, `h` is read on `[2]^m × [2]^m`, and the correlation is the
signed one. The edges `X₁, …, X_{M/2}` of `π` are a valid edge sequence `xs` in which every edge
`{y, π y}` of `π` occurs. -/
theorem eq_2 {m : ℕ} (h : Cube m × Cube m → ZMod 2) (π : Pairing (Cube m))
(xs : Fin (2 ^ m / 2) → Sym2 (Cube m)) (hxs : xs ∈ validSeqs m)
(hπ : ∀ y : Cube m, ∃ j, xs j = s(y, π.1 y)) :
(2 : ℝ) ^ m * corr h (mm π) = W h xs := by sorry
end RevisitXor
Source
Viola, Revisiting the XOR lemma, STOC 2027 submission (manuscript of August 25, 2026, sha256 3b49e10d…716), §1, (2), p.6
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.