Documentation

CslibFrontier.Computability.Communication.Lifting.DensitySimulation

A density-preserving simulation step #

This implements the five operations of CFKMP §4.1 for a single transmitted bit: remove unsafe inputs, retain a larger message fiber, restore the speaker's density, query the restored coordinates, and condition the other source on the answers. Iteration must group same-speaker bits into alternating rounds, or insert dummy alternating steps, to avoid repeatedly spending the listener's density slack. Safety is an explicit hypothesis; this module does not assume an unproved bound on dangerous values.

The step works for any Boolean gadget and every answer to its queries. It retains nonempty sources, the speaker's message, the prescribed gadget outputs, and the two residual densities. Its product-size bound is the multiplicative form of the loss used in amortizing query cost.

The data produced by a single simulation step. speaker is the source sending the bit; listener is the other source, so the same data apply when the players swap roles.

  • message : Bool

    The transmitted bit selected by the simulator.

  • queried : Finset (Fin n)

    The coordinates queried in this step.

  • speaker : Finset (Fin n → Fin m)

    The retained speaker inputs.

  • listener : (Fin n → Bool) → Finset (Fin n → Fin m)

    Listener inputs retained for each possible assignment of query answers.

  • assignment : Fin n → Fin m

    The common values of the speaker on queried coordinates.

structure Cslib.Communication.Lifting.DensityStep.Valid {n m : ℕ} (st : DensityStep n m) (g : Fin m → Fin m → Bool) (τ σ : ℝ) (F : Finset (Fin n)) (X Y : Finset (Fin n → Fin m)) (send : (Fin n → Fin m) → Bool) :

Correctness and cardinality invariants of one step, uniformly over every query answer.

theorem Cslib.Communication.Lifting.exists_densityStep {n m : ℕ} (g : Fin m → Fin m → Bool) (τ σ : ℝ) (F : Finset (Fin n)) (X Y : Finset (Fin n → Fin m)) (send : (Fin n → Fin m) → Bool) (hτ : 0 < τ) (hX : X.Nonempty) (hY : Y.Nonempty) (hsafe : ↑X.card ≤ 2 * ↑(Finset.filter (IsSafe g σ F Y) X).card) :
∃ (st : DensityStep n m), st.Valid g τ σ F X Y send

Every query answer admits a density-preserving simulation step if at least half of the speaker's inputs are safe. This is a conditional simulation lemma, not the rare-danger theorem. The source's target densities are represented by τ = 2^(δb) and σ = 2^((δ-ε)b).