Documentation

CslibFrontier.Computability.Communication.Lifting.DangerousParameters

Explicit parameters for the dangerous-values argument #

These arithmetic bounds support the numerical specialization of the finite witness criterion. The intended parameters are L = log₂ n and A = ε b |J| + e, where e is the excess entropy of a supported conditioning value. The threshold uses A - 2, ensuring that the two bits needed by the high-order parity bound are actually paid for. This module proves arithmetic facts, not the main rare-dangerous-values theorem.

theorem Cslib.Communication.Lifting.exists_dangerous_parity_threshold {L A : ℝ} (hL : 1 ≤ L) (hA : 2 * L + 4 ≤ A) :
∃ (t : ℕ), 1 ≤ t ∧ A ≤ 2 * L * ↑t ∧ ↑t * L ≤ A - 2

A positive integer threshold with both enough eligible high-order parities and the required entropy slack. This includes the floor rounding explicitly.

theorem Cslib.Communication.Lifting.exists_power_threshold_of_ratio {N R : ℝ} (hN : 2 ≤ N) (hR : 16 * N ^ 2 ≤ R) :
∃ (t : ℕ), 1 ≤ t ∧ N ^ t ≤ R / 4 ∧ R ≤ N ^ (2 * t)

A large slice-probability ratio admits an integer threshold that both pays the low-order count and makes all larger parities eligible. The formulation avoids rounding a real entropy.

theorem Cslib.Communication.Lifting.dangerous_density_margin {L b ε η γ δX δY : ℝ} (hL : 1 ≤ L) (hb : 0 < b) (hε : 0 < ε) (hε1 : ε ≤ 1) (hsize : 6 * L ≤ ε * b) (hdensity : 2 - η / 4 + γ + 16 * L / (ε * b) ≤ δX + δY) :
γ * b + 5 * L + 5 + 2 * L * (b + L) / (ε * b) ≤ (δX + δY - 2 + η / 4) * b - 1 / 2

A generous density-sum margin pays the losses from the fourth-power XOR estimate, conditioning-witness counting, and the outer geometric sum. All factors are explicit; no asymptotic notation or unproved probabilistic premise is hidden in this arithmetic lemma.