Documentation

CslibFrontier.Computability.Communication.OneOutRectangle

Projected leaf rectangles for distinct-instance choice #

The deterministic bridge in [CKMS26], proof of Lemma 5.2, printed pp. 10–11 (PDF pp. 11–12). The original protocol takes injective tuples; the constructed protocol takes single inputs. Projections use the coordinate actually announced at each original leaf, and keep leaf occurrences distinct even when their answers coincide. A fixed coordinate and a background partition determine forcing sets on which the single-input protocol solves the original relation without extra bits. The existence of a coordinate/background with the desired probability advantage is not assumed by the construction and is not established by this module.

Main results #

def Cslib.Communication.OneOut.aliceProjection {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) (w : Fin p.leafCount) :
Set X

Alice's coordinate projection of an original leaf rectangle.

def Cslib.Communication.OneOut.bobProjection {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) (w : Fin p.leafCount) :
Set Y

Bob's coordinate projection of an original leaf rectangle.

theorem Cslib.Communication.OneOut.projections_valid {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} {R : X → Y → Z → Prop} {p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)} (hp : p.Solves (Relation R) Set.univ Set.univ) (w : Fin p.leafCount) {a : X} {b : Y} (ha : a ∈ aliceProjection p w) (hb : b ∈ bobProjection p w) :
R a b (p.leafOutput w).value

The answer at a leaf is valid on the product of its coordinate projections.

theorem Cslib.Communication.OneOut.canForce_aliceProjection {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) (x : Fin k ↪ X) :

Every legal tuple lets Alice force membership of its announced entry in the corresponding projection, by following her original messages. This is the final hybrid endpoint.

theorem Cslib.Communication.OneOut.canForce_bobProjection {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} (p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)) (y : Fin k ↪ Y) :

Every legal tuple lets Bob force his announced entry's projection. Determinacy then excludes Alice forcing its complement, which is the initial hybrid endpoint.

def Cslib.Communication.OneOut.aliceGoal {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) (background : Set (Fin p.leafCount)) (a : X) (w : Fin p.leafCount) :

At the pivotal coordinate, Alice forces membership in her projection. At every other leaf, she forces membership in the background side.

def Cslib.Communication.OneOut.bobGoal {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) (background : Set (Fin p.leafCount)) (b : Y) (w : Fin p.leafCount) :

Bob forces his projection at the pivotal coordinate and the complementary background at all other leaves.

def Cslib.Communication.OneOut.aliceSide {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) (background : Set (Fin p.leafCount)) :
Set X

Alice's single inputs on which her pivotal goal can be forced.

def Cslib.Communication.OneOut.bobSide {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) (background : Set (Fin p.leafCount)) :
Set Y

Bob's single inputs on which his pivotal goal can be forced.

noncomputable def Cslib.Communication.OneOut.rectangleProtocol {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) (background : Set (Fin p.leafCount)) :
Protocol X Y Z

Steering the original occurrence-labelled tree and then returning its original answer.

theorem Cslib.Communication.OneOut.goals_compatible {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) (background : Set (Fin p.leafCount)) {a : X} {b : Y} {w : Fin p.leafCount} (ha : aliceGoal p i background a w) (hb : bobGoal p i background b w) :

Both forcing goals select the pivotal coordinate; backgrounds cannot win simultaneously.

theorem Cslib.Communication.OneOut.rectangleProtocol_solves {X : Type u_1} {Y : Type u_2} {Z : Type u_3} {k : ℕ} {R : X → Y → Z → Prop} {p : Protocol (Fin k ↪ X) (Fin k ↪ Y) (Answer k Z)} (hp : p.Solves (Relation R) Set.univ Set.univ) (i : Fin k) (background : Set (Fin p.leafCount)) :
(rectangleProtocol p i background).Solves R (aliceSide p i background) (bobSide p i background)

The constructed single-input protocol solves the original relation on its forcing rectangle.

@[simp]
theorem Cslib.Communication.OneOut.depth_rectangleProtocol {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) (background : Set (Fin p.leafCount)) :
(rectangleProtocol p i background).depth = p.depth

Neither occurrence labelling, steering nor returning the answer adds communication.

theorem Cslib.Communication.OneOut.canForce_before_iff {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) (background : Set (Fin p.leafCount)) (b : Y) :
Protocol.CanForce true (fun (w : Fin p.leafCount) => ¬bobGoal p i background b w) p.labelLeaves ↔ b ∉ bobSide p i background

Alice forcing the complement of Bob's goal is exactly nonmembership in Bob's side. This supplies the pre-pivot event in the source's probability difference.