§A.2, p.11 — the three-row total trade
ProvedPairwiseRealize.sec_A_2_total_tradep2o-gran-per-chapterp2o-plan-paperp2o-v1rectangular-bundle
For and , compare the two rows with the single row . The difference equals on the total, on every singleton , and has absolute value at most on every pair.
These trades correct the total count, at a bounded cost to the other statistics.
Differences from the source:
- reading: e₁, e₂ are basis vectors of V, n unrestricted → the first two coordinates, with n ≥ 2; reason: the trade needs two coordinates; Theorem 2.1 is for large n
Preamble
import Mathlib import Definitions.Def_PairwiseRealize_Model
Formal statement
namespace PairwiseRealize
/-- **The three-row total trade, §A.2 p.11 (PDF p.12); §3.1 p.6 (PDF p.7).** K. Shi, H. Sun,
*Robust Exact Realization of Pairwise Boolean Statistics*, STOC 2027 submission (manuscript sha256
62090516…): "let eᵢ denote the ith standard basis vector of V and use independent uniform
translations {τ ⊕ e1, τ ⊕ e2} versus {τ ⊕ (e1 ⊕ e2)}, τ ∈ V. […] The total difference is one; the
singleton difference is τᵢ; every pair difference has absolute value at most one."
For `n ≥ 2` and every `τ ∈ V`, the difference `w_{τ⊕e₁} + w_{τ⊕e₂} − w_{τ⊕e₁⊕e₂}` is `1` on the
total, `τᵢ` on every singleton `i`, and has absolute value at most `1` on every pair.
**Formalization Note** `e₁, e₂` are the first two coordinates, `Fin` indices `0` and `1`;
`τ ⊕ eᵢ` flips coordinate `i` of `τ`. -/
theorem sec_A_2_total_trade (n : ℕ) (hn : 2 ≤ n) (τ : Row n) :
let i₁ : Fin n := ⟨0, by omega⟩
let i₂ : Fin n := ⟨1, by omega⟩
let flip : Row n → Fin n → Row n := fun x i => Function.update x i (!x i)
let Δ : Feat n → ℤ := fun f =>
wvec n (flip τ i₁) f + wvec n (flip τ i₂) f - wvec n (flip (flip τ i₁) i₂) f
Δ Feat.total = 1 ∧ (∀ i, Δ (Feat.single i) = bv (τ i)) ∧
∀ i j (h : i < j), |Δ (Feat.pair i j h)| ≤ 1 := by sorry
end PairwiseRealize
Source
Shi, Sun, Robust Exact Realization of Pairwise Boolean Statistics, STOC 2027 submission (sha256 62090516…), §A.2, p.11 (PDF p.12); §3.1, p.6 (PDF p.7)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.