OAI/Computability/UniqueGames/Decoding/SparseLawLemmas.lean
49 declarations, 0 contain sorry, 0 declared as axioms
The finite calculation of projected total variation. The three singleton lines are averaged before the divergence is taken; projection choices are not part of the compared sample space. Coordinates are independently sampled occurrences, irrespective of whether their equation IDs coincide.
- def
OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformWeightsline 27 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformWeights_posline 30 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformWeights_isProbabilityline 33 - def
OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformChiSquareline 42Source documentation
Pearson divergence against the uniform law, written with its constant denominator cleared.
uniformChiSquare_eq_pearsonidentifies the actual likelihood-ratio definition.def uniformChiSquare (p : α → ℝ) : ℝ := …
- theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformChiSquare_eq_pearsonline 45 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformChiSquare_eq_secondMomentline 55 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformChiSquare_nonnegline 71 - def
OAI.UniqueGamesTheorem.Decoder.SparseLaw.mixtureline 75 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.mixture_isProbabilityline 78 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformChiSquare_mixtureline 88 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.totalVariation_le_half_sqrtline 98 - def
OAI.UniqueGamesTheorem.Decoder.SparseLaw.independentWeightsline 107 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.independentWeights_isProbabilityline 110 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformChiSquare_independentline 118 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.pow_mul_one_sub_le_oneline 134Source documentation
A finite bound sufficient for the cube asymptotic, without introducing a limit theorem or choosing the alphabet after the repetition count.
theorem pow_mul_one_sub_le_one (x : ℝ) (hx : 0 ≤ x) (k : ℕ) : (1 + x) ^ k * (1 - k * x) ≤ 1 := by … - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.pow_sub_one_le_fractionline 145 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.pow_sub_one_le_twiceline 152 - def
OAI.UniqueGamesTheorem.Decoder.SparseLaw.lineCountline 166Source documentation
At the origin all three singleton lines contribute.
def lineCount (z : V × V) : ℝ := …
- def
OAI.UniqueGamesTheorem.Decoder.SparseLaw.singletonPairWeightsline 171Source documentation
The average of the laws of
(a,0),(0,a), and(a,a)for uniforma.def singletonPairWeights (z : V × V) : ℝ := lineCount V z / (3 * Fintype.card V)
Mentions: OAI.UniqueGamesTheorem.Decoder.SparseLaw.lineCount
- def
OAI.UniqueGamesTheorem.Decoder.SparseLaw.singletonSamplerWeightsline 175Source documentation
Explicit finite pushforward of the three equally likely singleton choices. The same uniform slope supplies both entries of the diagonal choice.
def singletonSamplerWeights (z : V × V) : ℝ := …
- theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.singletonSamplerWeights_eqline 180 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.lineCount_sumline 207 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.lineCount_sqline 221 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.lineCount_sq_sumline 227 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.singletonPairWeights_isProbabilityline 238 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.singletonPairWeights_secondMomentline 247 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.singletonPairWeights_chiSquareline 253 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.paddedSlope_chiSquareline 263Source documentation
Exact finite divergence of the padded slope law.
theorem paddedSlope_chiSquare (β : ℝ) (hβ : 0 ≤ β) (hβ' : β ≤ 1) (k : ℕ) : uniformChiSquare (independentWeights (mixture β (singletonPairWeights V)) k) = (1 + β ^ 2 * ((Fintype.card V : ℝ) - 1) / 3) ^ k - 1 := by …Mentions: OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformChiSquare, OAI.UniqueGamesTheorem.Decoder.SparseLaw.independentWeights, OAI.UniqueGamesTheorem.Decoder.SparseLaw.mixture, OAI.UniqueGamesTheorem.Decoder.SparseLaw.singletonPairWeights
- theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.paddedSlope_totalVariationline 271 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.paddedSlope_totalVariation_smallline 278 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.cubeSlope_totalVariationline 291 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.exists_cubeSlope_totalVariation_leline 324Source documentation
Arbitrarily many expected singleton coordinates coexist with arbitrarily small variation error: taking
k=m³andbeta=m⁻²leavesk*beta=m. The bound involves only the fixed alphabet and requested error.theorem exists_cubeSlope_totalVariation_le (η : ℝ) (hη : 0 < η) (N : ℕ) : ∃ m : ℕ, N ≤ m ∧ 0 < m ∧ totalVariation (independentWeights (mixture (1 / (m : ℝ) ^ 2) (singletonPairWeights V)) (m ^ 3)) (uniformWeights (Fin (m ^ 3) → V × V)) ≤ η := by …Mentions: OAI.UniqueGamesTheorem.Decoder.SparseLaw.independentWeights, OAI.UniqueGamesTheorem.Decoder.SparseLaw.mixture, OAI.UniqueGamesTheorem.Decoder.SparseLaw.singletonPairWeights, OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformWeights
- theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.cube_expected_singletonsline 351 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.translated_uniform_interceptline 367Source documentation
Pulling back an independent uniform intercept through any translation, even one depending on all slopes and projection choices, leaves its joint law unchanged. No independence of that translation from the slopes is assumed.
theorem translated_uniform_intercept (p : α → ℝ) (shift : α → V) (a : α) (z : V) : p a * uniformWeights V (z - shift a) = p a * uniformWeights V z := rflMentions: OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniformWeights
- theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.uniform_intercept_pushforwardline 370 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.joint_intercept_pushforwardline 377 - theorem
OAI.UniqueGamesTheorem.Decoder.SparseLaw.totalVariation_append_uniform_interceptline 390 - def
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.visibleMassline 413Source documentation
Probability of actual visible data carrying a transferred witness.
def visibleMass (α g₀ : ℝ) (ell r : ℕ) : ℝ := …
- def
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.conditionalMassline 417Source documentation
Independent private decoding success on a transferred witness.
def conditionalMass (α : ℝ) (ell r : ℕ) : ℝ := …
- def
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.decodingMassline 420 - def
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.variationBudgetline 425Source documentation
The whole-table TV budget includes the coefficient of both compared events in the witness-margin inequality.
def variationBudget (α g₀ : ℝ) (ell r : ℕ) : ℝ := …
- theorem
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.visibleMass_posline 428 - theorem
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.conditionalMass_posline 433 - theorem
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.decodingMass_posline 438 - theorem
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.variationBudget_posline 442 - theorem
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.variationBudget_sufficesline 446 - theorem
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.cube_exponential_antitoneline 459Source documentation
Exponential clean-mask decay persists after increasing the cube root.
theorem cube_exponential_antitone {m n : ℕ} (hmn : m ≤ n) {N : ℝ} (hN : 0 < N) : Real.exp (-(n : ℝ) / (3600 * N)) ≤ Real.exp (-(m : ℝ) / (3600 * N)) := by … - theorem
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.exists_simultaneous_cubeline 469Source documentation
One tuple length meets the sparse-law and repetition requirements, while exceeding any independent inverse/erasure dimension threshold.
theorem exists_simultaneous_cube (V : Type*) [Fintype V] [Zero V] [DecidableEq V] {N ε γ : ℝ} (hN : 1 ≤ N) (hε : 0 < ε) (hγ : 0 < γ) (lower : ℕ) : ∃ m : ℕ, lower ≤ m ∧ 0 < m ∧ totalVariation (independentWeights (mixture (1 / (m : ℝ) ^ 2) (singletonPairWeights V)) (m ^ 3)) (uniformWeights (Fin (m ^ 3) → V × V)) ≤ ε ∧ (1 - ((1 / (m : ℝ) ^ 2) / N) / 3600) ^ (m ^ 3) < γ := by … - theorem
OAI.UniqueGamesTheorem.Decoder.ConstantSelection.exists_matrix_cubeline 490Source documentation
All scalar requirements for the final decoding contradiction can be met after the fixed alphabet and inverse parameters have been chosen.
theorem exists_matrix_cube (V : Type*) [Fintype V] [Zero V] [DecidableEq V] {α g₀ : ℝ} (hα : 0 < α) (hg₀ : 0 < g₀) (ell r dimW lower : ℕ) : ∃ m : ℕ, lower ≤ m ∧ 0 < m ∧ totalVariation (independentWeights (mixture (1 / (m : ℝ) ^ 2) (singletonPairWeights V)) (m ^ 3)) (uniformWeights (Fin (m ^ 3) → V × V)) ≤ variationBudget α g₀ ell r ∧ (1 - ((1 / (m : ℝ) ^ 2) / (2 : ℝ) ^ (dimW + r)) / 3600) ^ (m ^ 3) < decodingMass α g₀ ell r := by …Mentions: OAI.UniqueGamesTheorem.Decoder.ConstantSelection.variationBudget, OAI.UniqueGamesTheorem.Decoder.ConstantSelection.decodingMass