OAI/Computability/MaxCut/Encoding/Decoder.lean
25 declarations, 0 contain sorry, 0 declared as axioms
The parity projection and finite Fourier decoder used in Håstad's three-query argument. Probabilities are explicit finite sums.
- def
OAI.MaxCutGames.Foundations.Hastad.parityProjectionline 18 - theorem
OAI.MaxCutGames.Foundations.Hastad.walsh_supportline 21 - theorem
OAI.MaxCutGames.Foundations.Hastad.sign_power_parityline 29 - theorem
OAI.MaxCutGames.Foundations.Hastad.walsh_pullbackline 39 - theorem
OAI.MaxCutGames.Foundations.Hastad.projectedCoefficient_eqline 49 - theorem
OAI.MaxCutGames.Foundations.Hastad.projection_has_preimageline 54 - theorem
OAI.MaxCutGames.Foundations.Hastad.scaled_geometric_power_le_oneline 67Source documentation
A purely algebraic decay estimate used instead of exponential bounds.
theorem scaled_geometric_power_le_one {t : ℝ} (ht : 0 ≤ t) (ht' : t ≤ 1) (n : Nat) : (n : ℝ) * (1 - t) * t ^ n ≤ 1 := by … - theorem
OAI.MaxCutGames.Foundations.Hastad.noise_decay_boundline 81 - def
OAI.MaxCutGames.Foundations.Hastad.zeroMaskline 94 - theorem
OAI.MaxCutGames.Foundations.Hastad.support_eq_empty_iffline 97 - theorem
OAI.MaxCutGames.Foundations.Hastad.parityProjection_zeroline 109 - def
OAI.MaxCutGames.Foundations.Hastad.agreementProbabilityline 116Source documentation
Choose uniform coordinates in the two masks and check the projection. An empty support contributes zero.
def agreementProbability (π : J → I) (a : Cube I) (b : Cube J) : ℝ := …
Mentions: OAI.MaxCutGames.Foundations.Hastad.Cube
- theorem
OAI.MaxCutGames.Foundations.Hastad.agreementProbability_nonnegline 121 - theorem
OAI.MaxCutGames.Foundations.Hastad.agreementProbability_projectionline 129 - def
OAI.MaxCutGames.Foundations.Hastad.decoderSuccessline 157Source documentation
Select independent Walsh masks by squared coefficients and uniform points in each support. The two selections use only the respective private tables.
def decoderSuccess (π : J → I) (A : Cube I → Bool) (B : Cube J → Bool) : ℝ := …
Mentions: OAI.MaxCutGames.Foundations.Hastad.Cube
- def
OAI.MaxCutGames.Foundations.Hastad.decodingEnergyline 161 - theorem
OAI.MaxCutGames.Foundations.Hastad.decodingEnergy_le_successline 164 - theorem
OAI.MaxCutGames.Foundations.Hastad.bias_sq_le_weighted_energyline 198 - theorem
OAI.MaxCutGames.Foundations.Hastad.decoder_four_epsilon_bias_sqline 215 - theorem
OAI.MaxCutGames.Foundations.Hastad.folded_decoder_boundline 242Source documentation
A concrete folded half-table discharges the zero-coefficient condition.
theorem folded_decoder_bound (ε : ℝ) (π : J → I) (i₀ : I) (table : HalfCube i₀ → Bool) (B : Cube J → Bool) (hε : 0 < ε) (hε' : ε ≤ 1 / 2) : 4 * ε * testBias ε π (fun f => bitSign (foldedAnswer i₀ table f)) (fun g => bitSign (B g)) ^ 2 ≤ decoderSuccess π (foldedAnswer i₀ table) B := by …Mentions: OAI.MaxCutGames.Foundations.Hastad.HalfCube, OAI.MaxCutGames.Foundations.Hastad.Cube, OAI.MaxCutGames.Foundations.Hastad.testBias, OAI.MaxCutGames.Foundations.Hastad.bitSign, OAI.MaxCutGames.Foundations.Hastad.foldedAnswer, OAI.MaxCutGames.Foundations.Hastad.decoderSuccess
- def
OAI.MaxCutGames.Foundations.Hastad.validAgreementProbabilityline 250 - theorem
OAI.MaxCutGames.Foundations.Hastad.validAgreementProbability_eqline 257 - def
OAI.MaxCutGames.Foundations.Hastad.validDecoderSuccessline 270 - theorem
OAI.MaxCutGames.Foundations.Hastad.conditioned_validDecoderSuccessline 278Source documentation
Clause validity in the decoded game follows from the concrete conditioned table; no Fourier-support hypothesis is passed to this theorem.
theorem conditioned_validDecoderSuccess (valid : J → Bool) (π : J → I) (A : Cube I → Bool) (j₀ : {j : J // valid j = true}) (table : HalfCube j₀ → Bool) : validDecoderSuccess valid π A (conditionedFoldedAnswer valid j₀ table) = decoderSuccess π A (conditionedFoldedAnswer valid j₀ table) := by …Mentions: OAI.MaxCutGames.Foundations.Hastad.Cube, OAI.MaxCutGames.Foundations.Hastad.HalfCube, OAI.MaxCutGames.Foundations.Hastad.validDecoderSuccess, OAI.MaxCutGames.Foundations.Hastad.conditionedFoldedAnswer, OAI.MaxCutGames.Foundations.Hastad.decoderSuccess
- theorem
OAI.MaxCutGames.Foundations.Hastad.conditioned_folded_decoder_boundline 296