OAI/Computability/UniqueGames/Decoding/MaskMomentLemmas.lean
32 declarations, 0 contain sorry, 0 declared as axioms
Assembling private decoders from an actual finite advice experiment.
The left response law accepts only the left observation and the right law only the right observation. Their samples are independent conditional on those observations. A positive conditional agreement bound on a positive-mass event therefore gives ordinary deterministic local strategies, by finite averaging. No hidden matrix, witness, or opposite-player observation is an argument of either response law.
- def
OAI.UniqueGamesTheorem.Clean.bernoulliline 21Source documentation
trueis the singleton branch.def bernoulli (p : ℝ) (hp₀ : 0 ≤ p) (hp₁ : p ≤ 1) : FiniteDistribution Bool where … - def
OAI.UniqueGamesTheorem.Clean.maskCountline 28Source documentation
The exact mask, including the empty mask at
k = 0.def maskCount {k : ℕ} (mask : Fin k → Bool) : ℕ := … - theorem
OAI.UniqueGamesTheorem.Clean.product_maskline 31 - theorem
OAI.UniqueGamesTheorem.Clean.iid_product_momentline 37Source documentation
The finite product identity underlying the binomial generating function.
theorem iid_product_moment {Ω : Type*} [Fintype Ω] (μ : FiniteDistribution Ω) (f : Ω → ℝ) (k : ℕ) : (μ.iid k).expectation (fun x => ∏ i, f (x i)) = μ.expectation f ^ k := by … - theorem
OAI.UniqueGamesTheorem.Clean.bernoulli_mask_momentline 47 - def
OAI.UniqueGamesTheorem.Clean.cleanProbabilityline 64 - theorem
OAI.UniqueGamesTheorem.Clean.cleanProbability_nonnegline 68 - theorem
OAI.UniqueGamesTheorem.Clean.cleanProbability_le_oneline 72 - def
OAI.UniqueGamesTheorem.Clean.singletonSlopeLawline 80Source documentation
Independent singleton choice and uniform advice slope.
def singletonSlopeLaw (β : ℝ) (hβ₀ : 0 ≤ β) (hβ₁ : β ≤ 1) : FiniteDistribution (Bool × E) := … - def
OAI.UniqueGamesTheorem.Clean.cleanBitline 86Source documentation
originis instantiated by the zero advice slope. Keeping it explicit also shows that every specified slope has exactly the same chance.def cleanBit (origin : E) (sample : Bool × E) : Bool := by …
- theorem
OAI.UniqueGamesTheorem.Clean.clean_pushforwardline 90 - theorem
OAI.UniqueGamesTheorem.Clean.clean_mask_lawline 111Source documentation
In particular, the whole mask has the independent Bernoulli law.
theorem clean_mask_law (β : ℝ) (hβ₀ : 0 ≤ β) (hβ₁ : β ≤ 1) (origin : E) (k : ℕ) : ((singletonSlopeLaw (E := E) β hβ₀ hβ₁).iid k).pushforward … - theorem
OAI.UniqueGamesTheorem.Clean.clean_mask_momentline 119 - theorem
OAI.UniqueGamesTheorem.Clean.cleanProbability_ge_of_card_leline 129 - theorem
OAI.UniqueGamesTheorem.Clean.cleanProbability_ge_dimensionline 135 - theorem
OAI.UniqueGamesTheorem.Clean.mask_rate_antitoneline 143Source documentation
Larger clean probability decreases the moment for a rate in
[0,1].theorem mask_rate_antitone {p q ρ : ℝ} (hp₀ : 0 ≤ p) (hp₁ : p ≤ 1) (hqp : q ≤ p) (hρ₀ : 0 ≤ ρ) (hρ₁ : ρ ≤ 1) (k : ℕ) : (1 - p * (1 - ρ)) ^ k ≤ (1 - q * (1 - ρ)) ^ k := by … - theorem
OAI.UniqueGamesTheorem.Clean.clean_mask_moment_leline 153Source documentation
Section 5's numerical specialization. A bound on the number of possible advice slopes gives a uniform bound over every fixed advice map.
theorem clean_mask_moment_le (β : ℝ) (hβ₀ : 0 ≤ β) (hβ₁ : β ≤ 1) (origin : E) (k : ℕ) {N : ℝ} (hcard : (Fintype.card E : ℝ) ≤ N) : ((singletonSlopeLaw (E := E) β hβ₀ hβ₁).iid k).expectation … - theorem
OAI.UniqueGamesTheorem.Clean.clean_mask_moment_le_dimensionline 169Source documentation
2^(dim W + r_s)is chosen before the particular advice-map rank.theorem clean_mask_moment_le_dimension (β : ℝ) (hβ₀ : 0 ≤ β) (hβ₁ : β ≤ 1) (origin : E) (k dimW rs : ℕ) (hcard : Fintype.card E ≤ 2 ^ (dimW + rs)) : ((singletonSlopeLaw (E := E) β hβ₀ hβ₁).iid k).expectation … - theorem
OAI.UniqueGamesTheorem.Clean.mask_rate_le_expline 180Source documentation
The exponential estimate uses nonnegativity of
1 - xbefore raising to a natural power. It also covers the empty mask.theorem mask_rate_le_exp {x : ℝ} (hx : x ≤ 1) (k : ℕ) : (1 - x) ^ k ≤ Real.exp (-(k : ℝ) * x) := by … - theorem
OAI.UniqueGamesTheorem.Clean.clean_mask_moment_le_expline 190 - theorem
OAI.UniqueGamesTheorem.Clean.cube_singleton_probability_nonnegline 206 - theorem
OAI.UniqueGamesTheorem.Clean.cube_singleton_probability_le_oneline 209 - theorem
OAI.UniqueGamesTheorem.Clean.cube_mask_rate_le_expline 219Source documentation
On cubes,
k = n^3andbeta = n^(-2), sok * beta = n. The advice-space size boundNis fixed independently ofn.theorem cube_mask_rate_le_exp {n : ℕ} (hn : 1 ≤ n) {N : ℝ} (hN : 1 ≤ N) : (1 - ((1 / (n : ℝ)) ^ 2 / N) / 3600) ^ (n ^ 3) ≤ Real.exp (-(n : ℝ) / (3600 * N)) := by … - theorem
OAI.UniqueGamesTheorem.Clean.exists_cube_exponential_ltline 242Source documentation
A repetition cube can be selected after fixing only the advice-space size bound and the required error. This is a scalar fact, not a game-value theorem.
theorem exists_cube_exponential_lt {N error : ℝ} (hN : 0 < N) (herror : 0 < error) : ∃ n : ℕ, 1 ≤ n ∧ Real.exp (-(n : ℝ) / (3600 * N)) < error := by … - theorem
OAI.UniqueGamesTheorem.Clean.exists_cube_mask_rate_ltline 261 - def
OAI.UniqueGamesTheorem.Decoder.StrategyAssembly.observedGameline 295 - def
OAI.UniqueGamesTheorem.Decoder.StrategyAssembly.conditionalAgreementline 301 - theorem
OAI.UniqueGamesTheorem.Decoder.StrategyAssembly.conditionalAgreement_nonnegativeline 307 - theorem
OAI.UniqueGamesTheorem.Decoder.StrategyAssembly.conditionalAgreement_le_oneline 314 - theorem
OAI.UniqueGamesTheorem.Decoder.StrategyAssembly.stochasticSuccess_eq_actual_expectationline 320 - theorem
OAI.UniqueGamesTheorem.Decoder.StrategyAssembly.good_data_mass_lowerline 343Source documentation
Averaging conditional independent decoder success over the actual advice draw multiplies the two positive lower bounds.
theorem good_data_mass_lower [DecidableEq Q₁] [DecidableEq Q₂] (law : FiniteDistribution Ω) (leftObservation : Ω → Q₁) (rightObservation : Ω → Q₂) (accepts : Q₁ → Q₂ → A₁ → A₂ → Bool) (left : Q₁ → FiniteDistribution A₁) (right : Q₂ → FiniteDistribution A₂) (good : Ω → Bool) (γ₁ γ₂ : ℝ) (hγ₂ : 0 ≤ γ₂) (hmass : γ₁ ≤ law.probability good) (hagreement : ∀ ω, good ω = true → γ₂ ≤ conditionalAgreement left right accepts (leftObservation ω) (rightObservation ω)) : γ₁ * γ₂ ≤ (observedGame law leftObservation rightObservation accepts).stochasticSuccess left right := by …Mentions: OAI.UniqueGamesTheorem.Decoder.StrategyAssembly.conditionalAgreement, OAI.UniqueGamesTheorem.Decoder.StrategyAssembly.observedGame
- theorem
OAI.UniqueGamesTheorem.Decoder.StrategyAssembly.exists_local_deterministic_strategiesline 371Source documentation
The final strategies receive precisely their local observations. Private sampling is eliminated by the existing finite response-table construction.
theorem exists_local_deterministic_strategies [DecidableEq Q₁] [DecidableEq Q₂] [Nonempty A₁] [Nonempty A₂] (law : FiniteDistribution Ω) (leftObservation : Ω → Q₁) (rightObservation : Ω → Q₂) (accepts : Q₁ → Q₂ → A₁ → A₂ → Bool) (left : Q₁ → FiniteDistribution A₁) (right : Q₂ → FiniteDistribution A₂) (good : Ω → Bool) (γ₁ γ₂ : ℝ) (hγ₂ : 0 ≤ γ₂) (hmass : γ₁ ≤ law.probability good) (hagreement : ∀ ω, good ω = true → γ₂ ≤ conditionalAgreement left right accepts (leftObservation ω) (rightObservation ω)) : ∃ leftStrategy : Q₁ → A₁, ∃ rightStrategy : Q₂ → A₂, γ₁ * γ₂ ≤ law.probability (fun ω => accepts (leftObservation ω) (rightObservation ω) …Mentions: OAI.UniqueGamesTheorem.Decoder.StrategyAssembly.conditionalAgreement