OAI/Computability/MaxCut/Encoding/SparseLaw.lean
37 declarations, 0 contain sorry, 0 declared as axioms
The finite calculation behind v2 Lemma projected-tv. 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.MaxCutGames.Decoder.SparseLaw.uniformWeightsline 22 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.uniformWeights_posline 25 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.uniformWeights_isProbabilityline 28 - def
OAI.MaxCutGames.Decoder.SparseLaw.uniformChiSquareline 37Source 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.MaxCutGames.Decoder.SparseLaw.uniformChiSquare_eq_pearsonline 40 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.uniformChiSquare_eq_secondMomentline 50 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.uniformChiSquare_nonnegline 66 - def
OAI.MaxCutGames.Decoder.SparseLaw.mixtureline 70 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.mixture_isProbabilityline 73 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.uniformChiSquare_mixtureline 83 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.totalVariation_le_half_sqrtline 93 - def
OAI.MaxCutGames.Decoder.SparseLaw.independentWeightsline 102 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.independentWeights_isProbabilityline 105 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.uniformChiSquare_independentline 113 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.pow_mul_one_sub_le_oneline 129Source 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.MaxCutGames.Decoder.SparseLaw.pow_sub_one_le_fractionline 140 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.pow_sub_one_le_twiceline 147 - def
OAI.MaxCutGames.Decoder.SparseLaw.lineCountline 161Source documentation
At the origin all three singleton lines contribute.
def lineCount (z : V × V) : ℝ := …
- def
OAI.MaxCutGames.Decoder.SparseLaw.singletonPairWeightsline 166Source 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)
- def
OAI.MaxCutGames.Decoder.SparseLaw.singletonSamplerWeightsline 170Source 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.MaxCutGames.Decoder.SparseLaw.singletonSamplerWeights_eqline 175 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.lineCount_sumline 202 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.lineCount_sqline 216 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.lineCount_sq_sumline 221 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.singletonPairWeights_isProbabilityline 232 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.singletonPairWeights_secondMomentline 241 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.singletonPairWeights_chiSquareline 247 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.paddedSlope_chiSquareline 257Source 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.MaxCutGames.Decoder.SparseLaw.uniformChiSquare, OAI.MaxCutGames.Decoder.SparseLaw.independentWeights, OAI.MaxCutGames.Decoder.SparseLaw.mixture, OAI.MaxCutGames.Decoder.SparseLaw.singletonPairWeights
- theorem
OAI.MaxCutGames.Decoder.SparseLaw.paddedSlope_totalVariationline 265 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.paddedSlope_totalVariation_smallline 272 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.cubeSlope_totalVariationline 285 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.exists_cubeSlope_totalVariation_leline 319Source 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.MaxCutGames.Decoder.SparseLaw.independentWeights, OAI.MaxCutGames.Decoder.SparseLaw.mixture, OAI.MaxCutGames.Decoder.SparseLaw.singletonPairWeights, OAI.MaxCutGames.Decoder.SparseLaw.uniformWeights
- theorem
OAI.MaxCutGames.Decoder.SparseLaw.cube_expected_singletonsline 346 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.translated_uniform_interceptline 360Source 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 := rfl - theorem
OAI.MaxCutGames.Decoder.SparseLaw.uniform_intercept_pushforwardline 363 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.joint_intercept_pushforwardline 370 - theorem
OAI.MaxCutGames.Decoder.SparseLaw.totalVariation_append_uniform_interceptline 383