OAI/Computability/MaxCut/Encoding/DimensionSelection.lean
16 declarations, 0 contain sorry, 0 declared as axioms
Logical dimension is chosen after the inverse density and row bound, and before the tuple length. All row maps, including deficient-rank maps, satisfy the resulting small trivial-character bound.
- theorem
OAI.MaxCutGames.Decoder.DimensionSelection.exists_logical_dimensionline 14 - theorem
OAI.MaxCutGames.Decoder.DimensionSelection.kernel_fraction_leline 39Source documentation
Uniform choice of
ellbounds the trivial character fraction for every possible public row map without conditioning on its rank.theorem kernel_fraction_le {ell r : ℕ} (A : (Fin ell → ZMod 2) →ₗ[ZMod 2] (Fin r → ZMod 2)) [Fintype A.ker] : 1 / (Fintype.card A.ker : ℝ) ≤ 1 / (2 : ℝ) ^ (ell - r) := by … - theorem
OAI.MaxCutGames.Decoder.DimensionSelection.kernel_fraction_ltline 48 - def
OAI.MaxCutGames.Decoder.NoiseSampler.samplerLawline 77Source documentation
The real pushforward of the uniform law on sampler outcomes.
def samplerLaw (noise : Noise → V) (v : V) : ℝ := by …
- theorem
OAI.MaxCutGames.Decoder.NoiseSampler.samplerLaw_nonnegline 82 - theorem
OAI.MaxCutGames.Decoder.NoiseSampler.samplerLaw_eq_countline 93Source documentation
Literal counting formula; multiple sampler outcomes mapping to the same vector retain their multiplicity.
theorem samplerLaw_eq_count (noise : Noise → V) (v : V) : samplerLaw noise v = ((Finset.univ.filter fun n => noise n = v).card : ℝ) / Fintype.card Noise := by … - theorem
OAI.MaxCutGames.Decoder.NoiseSampler.samplerLaw_sumline 101 - theorem
OAI.MaxCutGames.Decoder.NoiseSampler.sample_expect_eqline 112Source documentation
Exact pushforward expectation, with the uniform normalization explicit.
theorem sample_expect_eq (noise : Noise → V) (f : V → ℝ) : (𝔼 n, f (noise n)) = ∑ v, samplerLaw noise v * f v := by … - theorem
OAI.MaxCutGames.Decoder.NoiseSampler.samplerLaw_normalizedline 116 - theorem
OAI.MaxCutGames.Decoder.NoiseSampler.rat_expect_castline 121 - theorem
OAI.MaxCutGames.Decoder.NoiseSampler.samplerLaw_eq_rat_countline 126 - theorem
OAI.MaxCutGames.Decoder.NoiseSampler.sample_kernel_eq_eigenvalueline 140Source documentation
The actual matrix multiplier is precisely the sampler's kernel event.
theorem sample_kernel_eq_eigenvalue (noise : Noise → V) (S : V →ₗ[F2] E) : (𝔼 n, if S (noise n) = 0 then (1 : ℝ) else 0) = linearNoiseEigenvalue (samplerLaw noise) S := by … - theorem
OAI.MaxCutGames.Decoder.NoiseSampler.detection_add_eigenvalueline 147Source documentation
Detection plus annihilation is one for the same unconditional sampler.
theorem detection_add_eigenvalue [Nonempty Noise] (noise : Noise → V) (S : V →ₗ[F2] E) : (𝔼 n, if S (noise n) ≠ 0 then (1 : ℝ) else 0) + linearNoiseEigenvalue (samplerLaw noise) S = 1 := by … - theorem
OAI.MaxCutGames.Decoder.NoiseSampler.detection_eigenvalue_leline 161Source documentation
The constant-detection input becomes the
7/8multiplier bound.theorem detection_eigenvalue_le [Nonempty Noise] (noise : Noise → V) (S : V →ₗ[F2] E) (hdetect : (1 : ℝ) / 8 ≤ 𝔼 n, if S (noise n) ≠ 0 then (1 : ℝ) else 0) : linearNoiseEigenvalue (samplerLaw noise) S ≤ 7 / 8 := by … - theorem
OAI.MaxCutGames.Decoder.NoiseSampler.detection_eigenvalue_le_complementline 169Source documentation
The generic detection level is also retained for future parameter changes.
theorem detection_eigenvalue_le_complement [Nonempty Noise] (noise : Noise → V) (S : V →ₗ[F2] E) (d : ℝ) (hdetect : d ≤ 𝔼 n, if S (noise n) ≠ 0 then (1 : ℝ) else 0) : linearNoiseEigenvalue (samplerLaw noise) S ≤ 1 - d := by … - theorem
OAI.MaxCutGames.Decoder.NoiseSampler.rational_detection_eigenvalue_leline 177Source documentation
The gadget may keep its finite probabilities rational throughout.
theorem rational_detection_eigenvalue_le [Nonempty Noise] (noise : Noise → V) (S : V →ₗ[F2] E) (hdetect : (1 : ℚ) / 8 ≤ 𝔼 n, if S (noise n) ≠ 0 then (1 : ℚ) else 0) : linearNoiseEigenvalue (samplerLaw noise) S ≤ 7 / 8 := by …