Documentation

CslibFrontier.Computability.Communication.OneOutLargeRectangle

A large solvable rectangle from a one-out protocol #

[CKMS26], Lemma 5.2 (printed pp. 10–11; PDF pp. 11–12): if a protocol p solves the one-out-of-k problem Relation R for a total relation R on finite types, then for all distributions μ on Alice's inputs and ν on Bob's inputs there is a rectangle A' × B', solved for R by a protocol of depth at most max p.depth ⌈log₂ |Z|⌉, with μ A' + ν B' ≥ 1 + 1 / k² (exists_large_solvable_rectangle).

If some input has mass at least 1 / k², a single row or column suffices: the other player announces a valid answer. Otherwise the proof runs a hybrid argument on independent tuples x ∼ μᵏ, y ∼ νᵏ. The hybrid goal hybridGoal p j x y judges the leaves announcing a coordinate below j by Alice's tuple and the others by Bob's tuple; hybrid μ ν p j is the probability that Alice can force it. Distinct tuples, which occur with total probability at least 1 + 1 / k (Probability.PMF.iid_injective_pair_ge), make the last hybrid likely and the first unlikely, so some step gains 1 / k² (exists_hybrid_step). Redrawing the pivotal coordinate (Probability.PMF.sum_pi_mul_update) writes that step as the average, over the other coordinates, of μ A' + ν B' - 1 for the forcing rectangle aliceSide × bobSide of OneOutRectangle (hybrid_succ_sub_hybrid), and some background attains the average.

The source indexes coordinates from 1; here hybridGoal p j is the source's L_j with coordinates numbered from 0, so leaves with index < j are Alice's. The source's hypothesis k ≤ min |A| |B| is not needed: without distinct tuples some atom is heavy. The source takes p optimal; the statement holds for every protocol p solving the one-out relation.

Main definitions #

Main results #

def Cslib.Communication.OneOut.hybridGoal {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) (j : ℕ) (x : Fin k → X) (y : Fin k → Y) (w : Fin p.leafCount) :

The source's hybrid leaf set L_j: a leaf announcing a coordinate below j is judged by Alice's tuple, which must lie in its projection; any other leaf is judged by Bob's tuple, which must lie outside its projection.

noncomputable def Cslib.Communication.OneOut.hybrid {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} [Fintype X] [Fintype Y] (μ : PMF X) (ν : PMF Y) (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) (j : ℕ) :

The source's p_j: the probability, for independent tuples x ∼ μᵏ and y ∼ νᵏ, that Alice can force the hybrid goal L_j. The tuples need not be injective.

theorem Cslib.Communication.OneOut.toOuterMeasure_injective_le_hybrid {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} [Fintype X] [Fintype Y] (μ : PMF X) (ν : PMF Y) (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) :

Last hybrid: on a distinct tuple, Alice forces L_k by following her messages in p.

theorem Cslib.Communication.OneOut.hybrid_zero_le {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} [Fintype X] [Fintype Y] (μ : PMF X) (ν : PMF Y) (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) :

First hybrid: on a distinct tuple, Bob forces the complement of L_0 by following his messages in p, so Alice cannot force L_0 by determinacy.

theorem Cslib.Communication.OneOut.exists_hybrid_step {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} [Fintype X] [Fintype Y] (μ : PMF X) (ν : PMF Y) (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) (hk : 0 < k) (hμ : ∀ (a : X), (μ a).toReal ≤ (↑k ^ 2)⁻¹) (hν : ∀ (b : Y), (ν b).toReal ≤ (↑k ^ 2)⁻¹) :
∃ (i : Fin k), (↑k ^ 2)⁻¹ ≤ hybrid μ ν p (↑i + 1) - hybrid μ ν p ↑i

Telescoping. If all atoms are light, distinct tuples are likely enough that some hybrid step increases the forcing probability by at least 1 / k².

def Cslib.Communication.OneOut.stepBackground {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) (i : Fin k) (x : Fin k → X) (y : Fin k → Y) :

The background of a hybrid step: the leaves of other coordinates that L_{i+1} contains for the fixed tuples x and y. At these leaves L_i and L_{i+1} agree.

theorem Cslib.Communication.OneOut.hybrid_succ_sub_hybrid {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} [Fintype X] [Fintype Y] (μ : PMF X) (ν : PMF Y) (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) (i : Fin k) :
hybrid μ ν p (↑i + 1) - hybrid μ ν p ↑i = ∑ x : Fin k → X, ((Probability.PMF.iid μ k) x).toReal * ∑ y : Fin k → Y, ((Probability.PMF.iid ν k) y).toReal * ((μ.toOuterMeasure (aliceSide p i (stepBackground p i x y))).toReal + (ν.toOuterMeasure (bobSide p i (stepBackground p i x y))).toReal - 1)

The pivotal step. A hybrid step is the average, over the tuples outside the pivotal coordinate, of the advantage μ A' + ν B' - 1 of the forcing rectangle that those tuples fix.

theorem Cslib.Communication.OneOut.exists_large_forcing_rectangle {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} (μ : PMF X) (ν : PMF Y) (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) [Finite X] [Finite Y] (hk : 0 < k) (hμ : ∀ (a : X), (μ a).toReal ≤ (↑k ^ 2)⁻¹) (hν : ∀ (b : Y), (ν b).toReal ≤ (↑k ^ 2)⁻¹) :
∃ (i : Fin k) (background : Set (Fin p.leafCount)), 1 + (↑k ^ 2)⁻¹ ≤ (μ.toOuterMeasure (aliceSide p i background)).toReal + (ν.toOuterMeasure (bobSide p i background)).toReal

The light-atom case of Lemma 5.2. If no atom of μ or ν has mass above 1 / k², some coordinate and background give a forcing rectangle with μ A' + ν B' ≥ 1 + 1 / k².

theorem Cslib.Communication.OneOut.exists_large_solvable_rectangle {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} (μ : PMF X) (ν : PMF Y) (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) [Finite X] [Finite Y] [Fintype Z] {R : X → Y → Z → Prop} (htotal : ∀ (x : X) (y : Y), ∃ (z : Z), R x y z) (hp : p.Solves (Relation R) Set.univ Set.univ) :
∃ (A' : Set X) (B' : Set Y) (q : Protocol X Y Z), q.depth ≤ max p.depth (Nat.clog 2 (Fintype.card Z)) ∧ q.Solves R A' B' ∧ 1 + (↑k ^ 2)⁻¹ ≤ (μ.toOuterMeasure A').toReal + (ν.toOuterMeasure B').toReal

[CKMS26], Lemma 5.2. Let p solve the one-out-of-k problem for a total relation R on finite types. For all distributions μ and ν on Alice's and Bob's inputs, some rectangle A' × B' is solved for R by a protocol of depth at most max p.depth ⌈log₂ |Z|⌉ and has μ A' + ν B' ≥ 1 + 1 / k².