OAI/Probability/CoordinateSweeps/SparseBound.lean
61 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.CoordinateSweeps.SparseScalar.thetaline 34Source comment
A concrete permissible choice in source04/06. R is still chosen last.Also declared: ComparatorChallenges/CoordinateSweeps.lean:260 (same declaration text).
def theta : ℝ := 1/1600
- def
OAI.CoordinateSweeps.SparseScalar.K0line 35Also declared: ComparatorChallenges/CoordinateSweeps.lean:261 (same declaration text).
- def
OAI.CoordinateSweeps.SparseScalar.B0line 36Also declared: ComparatorChallenges/CoordinateSweeps.lean:262 (same declaration text).
- def
OAI.CoordinateSweeps.SparseScalar.xiline 37Also declared: ComparatorChallenges/CoordinateSweeps.lean:263 (same declaration text).
- def
OAI.CoordinateSweeps.SparseScalar.rholine 38Also declared: ComparatorChallenges/CoordinateSweeps.lean:264 (same declaration text).
- def
OAI.CoordinateSweeps.SparseScalar.qline 39Also declared: ComparatorChallenges/CoordinateSweeps.lean:265 (same declaration text).
- lemma
OAI.CoordinateSweeps.SparseScalar.constantsline 40 - lemma
OAI.CoordinateSweeps.SparseScalar.pow_two_expline 43 - lemma
OAI.CoordinateSweeps.SparseScalar.exp_rpowline 45 - lemma
OAI.CoordinateSweeps.SparseScalar.rpow_expline 47 - lemma
OAI.CoordinateSweeps.SparseScalar.eventually_power_gtline 49 - lemma
OAI.CoordinateSweeps.SparseScalar.eventually_log_le_powerline 51 - lemma
OAI.CoordinateSweeps.SparseScalar.eventually_sparse_requirementsline 60Source comment
All scalar scale requirements for the sparse proof can be imposed before R and the finite real perturbation interval are fixed.lemma eventually_sparse_requirements : ∀ᶠ s : ℝ in atTop, 1 < s ∧ Real.log s ≤ s^(theta/4) ∧ 2 ≤ s^(theta/4) ∧ (B0+1 : ℝ) ≤ s^(theta/2) ∧ 4/s^(1/(4*(B0:ℝ))) ≤ theta/(64*B0) ∧ Real.log (2*(B0:ℝ)+1)+Real.log 2 ≤ xi*Real.log s ∧ Real.log 2 ≤ xi*Real.log s/8 := by …Mentions: OAI.CoordinateSweeps.SparseScalar.theta, OAI.CoordinateSweeps.SparseScalar.B0, OAI.CoordinateSweeps.SparseScalar.xi
- lemma
OAI.CoordinateSweeps.SparseScalar.many_HS_boundline 86Source comment
Arithmetic behind the many-coordinate HS bound, with its full literal prefactor. The inputs are scalar size bounds derived from the allowed grid.lemma many_HS_bound (s t b h : ℝ) (k : ℕ) (hs : 1 < s) (ht : 0 ≤ t) (hts : t ≤ s^(-theta/2)) (hh : h ≤ K0*k) (hb : 0 ≤ b) (habsorb : 3*Real.log 2+2*b*(K0+1+Real.log 4) ≤ theta*Real.log s/8) : ((2:ℝ)^k*Real.exp (b*(h+k)+Real.log 4*k*b))^2 * ((2:ℝ)^k*t^((k:ℝ)/2)) ≤ s^(-theta*k/8) := by …Mentions: OAI.CoordinateSweeps.SparseScalar.theta, OAI.CoordinateSweeps.SparseScalar.K0
- lemma
OAI.CoordinateSweeps.SparseScalar.prob_power_boundline 110 - lemma
OAI.CoordinateSweeps.SparseScalar.fewGood_boundline 126Source comment
Scalar absorption of the literal coverage/occupancy union estimate.lemma fewGood_bound {b k : ℕ} (hb : 1 ≤ b) (hB : b ≤ B0) (hk : 1 ≤ k) {s v u t : ℝ} (hs : 1 < s) (hv : 0 ≤ v) (hu : 0 ≤ u) (ht : 0 ≤ t) (hvs : v ≤ s^(-theta/2)) (hus : u ≤ s^(-theta/2)) (hts : t ≤ s^(-theta/2)) (C : Fin b → ℝ) (hC0 : ∀ j, 0 ≤ C j) (hC : ∀ j, C j ≤ Real.exp (theta*k*Real.log s/(32*B0))) (habs : Real.log (1+2*(B0:ℝ))+Real.log 2 ≤ xi*Real.log s) : (2:ℝ)^k*v^((k:ℝ)/8)+∑ j : Fin b, ((2:ℝ)^k*u^((k:ℝ)/(8*b))+C j*2^k*t^((k:ℝ)/(8*b))) ≤ s^(-xi*k) := by …Mentions: OAI.CoordinateSweeps.SparseScalar.B0, OAI.CoordinateSweeps.SparseScalar.theta, OAI.CoordinateSweeps.SparseScalar.xi
- lemma
OAI.CoordinateSweeps.Grid.size_posline 185 - lemma
OAI.CoordinateSweeps.Grid.log_sizeline 186 - lemma
OAI.CoordinateSweeps.Grid.log_size_lowerline 190 - lemma
OAI.CoordinateSweeps.Grid.log_size_upperline 197 - lemma
OAI.CoordinateSweeps.Grid.log_coordinateline 209 - lemma
OAI.CoordinateSweeps.Grid.log_size_pos_of_allowedline 211 - lemma
OAI.CoordinateSweeps.Grid.coordinate_log_manyline 216 - lemma
OAI.CoordinateSweeps.Grid.coordinate_log_boundedline 230 - lemma
OAI.CoordinateSweeps.Grid.coordinate_size_manyline 243 - lemma
OAI.CoordinateSweeps.Grid.coordinate_size_boundedline 249 - lemma
OAI.CoordinateSweeps.Grid.card_line_mulline 256 - lemma
OAI.CoordinateSweeps.Grid.card_line_leline 260 - lemma
OAI.CoordinateSweeps.SparseScalar.sparse_fractionline 266 - lemma
OAI.CoordinateSweeps.SparseScalar.sparse_line_massline 281 - lemma
OAI.CoordinateSweeps.SparseScalar.logarithm_countline 293 - lemma
OAI.CoordinateSweeps.SparseScalar.occupancy_countline 302 - lemma
OAI.CoordinateSweeps.SparseScalar.sparse_vertex_fractionline 332 - theorem
OAI.CoordinateSweeps.Grid.Holes.sparse_fewGood_boundline 350Source comment
Uniform bounded-axis source04:eq12, with all sparse geometry now discharged.theorem sparse_fewGood_bound (hf : H.Feasible) {r : ℕ} (hG : G.Allowed r) (hb : G.b ≤ B0) (hk : 1 ≤ k) (hs : (2:ℝ) ≤ G.size) (hsp : ((h+k:ℕ):ℝ) ≤ (G.size:ℝ)^(1-theta)) (h2 : 2 ≤ (G.size:ℝ)^(theta/4)) (hB : (B0+1:ℝ) ≤ (G.size:ℝ)^(theta/2)) (hcount : 4/(G.size:ℝ)^(1/(4*(B0:ℝ))) ≤ theta/(64*B0)) (habs : Real.log (1+2*(B0:ℝ))+Real.log 2 ≤ xi*Real.log G.size) : Coverage.probability G.endpointWeight (fun v : Fin k → G.Slot × G.Slot => ((H.goodSet (fun i => (v i).1) (fun i => (v i).2) ((G.size:ℝ)^(-xi))).card:ℝ)<k/2) ≤ (G.size:ℝ)^(-xi*k) := by … - def
OAI.CoordinateSweeps.SparseScalar.uniformRateline 384Also declared: ComparatorChallenges/CoordinateSweeps.lean:267 (same declaration text).
- lemma
OAI.CoordinateSweeps.SparseScalar.uniformRate_nonnegline 388 - lemma
OAI.CoordinateSweeps.SparseScalar.eventually_prefactor_smallline 397 - lemma
OAI.CoordinateSweeps.Grid.Holes.uniformSparsePrefactor_leline 407 - theorem
OAI.CoordinateSweeps.Grid.Holes.sparse_uniform_HS_boundline 432Source comment
Quantitative uniform-law HS-square contraction with fixed slack for the later finite real perturbation step.theorem sparse_uniform_HS_bound (H : G.Holes h) (hf : H.Feasible) {r : ℕ} (hG : G.Allowed r) (hb : G.b ≤ B0) (hk : 1 ≤ k) (hh : (h:ℝ) ≤ K0*k) (hs : (2:ℝ) ≤ G.size) (hsp : ((h+k:ℕ):ℝ) ≤ (G.size:ℝ)^(1-theta)) (h2 : 2 ≤ (G.size:ℝ)^(theta/4)) (hB : (B0+1:ℝ) ≤ (G.size:ℝ)^(theta/2)) (hcount : 4/(G.size:ℝ)^(1/(4*(B0:ℝ))) ≤ theta/(64*B0)) (habs : Real.log (1+2*(B0:ℝ))+Real.log 2 ≤ xi*Real.log G.size) (hη : (G.size:ℝ)^(-xi) ≤ 1/8) (hpref : uniformRate ≤ xi*Real.log G.size/16) (hlog2 : Real.log 2 ≤ xi*Real.log G.size/8) : H.placementHSsq (k := k) (fun _ => FiniteLaw.uniform _) ≤ (G.size:ℝ)^(-xi*k/4) := by …Mentions: OAI.CoordinateSweeps.FiniteLaw.uniform
- lemma
OAI.CoordinateSweeps.Grid.b_le_log_sizeline 488 - lemma
OAI.CoordinateSweeps.Grid.sparse_lineSharingline 491 - lemma
OAI.CoordinateSweeps.Grid.sparse_many_absorbline 518 - theorem
OAI.CoordinateSweeps.Grid.Holes.sparse_many_HS_boundline 533Source comment
Literal many-coordinate real-law HS-square bound, with all grid and forest-counting conditions derived from source sparse size assumptions.theorem sparse_many_HS_bound (H : G.Holes h) (hf : H.Feasible) {r : ℕ} (hr : 1 ≤ r) (hG : G.Allowed r) (hb : B0 ≤ G.b) (hrL : 1 ≤ (r:ℝ)*Real.log 2) (hrA : 3*Real.log 2+2*(K0+1+Real.log 4) ≤ theta*((r:ℝ)*Real.log 2)/8) (hh : (h:ℝ) ≤ K0*k) (hlog : Real.log G.size ≤ (G.size:ℝ)^(theta/4)) (hsp : ((h+k:ℕ):ℝ) ≤ (G.size:ℝ)^(1-theta)) {z : ℝ} (hz : 0 ≤ z) (hz' : z ≤ 1) (hlo : ∀ j g, (1/2:ℝ)*FiniteLaw.uniform _ g ≤ lineLaw (G.bits j) z hz hz' g) (hhi : ∀ j g, lineLaw (G.bits j) z hz hz' g ≤ 2*FiniteLaw.uniform _ g) : H.placementHSsq (k := k) (fun j => lineLaw (G.bits j) z hz hz') ≤ …Mentions: OAI.CoordinateSweeps.FiniteLaw.uniform, OAI.CoordinateSweeps.lineLaw
- lemma
OAI.CoordinateSweeps.Grid.continuous_choiceWeightline 557Source comment
Every choice mass is a real polynomial. No conditional law is extended to complex z.lemma continuous_choiceWeight (G : Grid) (ω : G.Choices) : Continuous (fun z : ℝ => G.choiceWeight z ω) := by …
Mentions: OAI.CoordinateSweeps.Grid
- def
OAI.CoordinateSweeps.Grid.eventDistanceline 562Source comment
Event-level l1 distance, independent of the representation and therefore suitable for a single bounded-grid perturbation interval.Also declared: ComparatorChallenges/CoordinateSweeps.lean:191 (same declaration text).
def eventDistance (G : Grid) (E : Finset G.Choices) (z : ℝ) : ℝ := …
Mentions: OAI.CoordinateSweeps.Grid
- lemma
OAI.CoordinateSweeps.Grid.eventMass_zero_posline 565 - lemma
OAI.CoordinateSweeps.Grid.continuousAt_eventDistance_zeroline 568 - lemma
OAI.CoordinateSweeps.Grid.eventDistance_zeroline 578 - lemma
OAI.CoordinateSweeps.Grid.eventually_eventDistance_smallline 580 - def
OAI.CoordinateSweeps.Grid.Holes.eventline 593 - lemma
OAI.CoordinateSweeps.Grid.Holes.event_nonemptyline 594 - lemma
OAI.CoordinateSweeps.Grid.Holes.probability_eq_eventMassline 597 - lemma
OAI.CoordinateSweeps.Grid.Holes.eventDistance_eqline 600 - theorem
OAI.CoordinateSweeps.Grid.Holes.conditionalAverage_difference_leline 609Source comment
Uniform in every irreducible: real event-distance controls the conditional operator difference. This avoids choosing a topology on equivalence classes of irreducible models.theorem conditionalAverage_difference_le (H : G.Holes h) (hf : H.Feasible) (z : ℝ) (ρ : UnitaryIrrep H.stabilizer) : ‖H.conditionalAverage hf z ρ-H.conditionalAverage hf 0 ρ‖ ≤ G.eventDistance H.event z := by …Mentions: OAI.CoordinateSweeps.UnitaryIrrep
- theorem
OAI.CoordinateSweeps.Grid.Holes.conditionalAverage_perturb_boundline 619 - def
OAI.CoordinateSweeps.Grid.BoundedCodeline 631Source comment
Literal finite parameter space of bounded ordered grids; no model of irreducibles or of conditioned complex measures is involved.def BoundedCode (B r : ℕ) := Σ b : Fin (B+1), …
- instance
OAI.CoordinateSweeps.Grid.(instance at line 633)line 633 - def
OAI.CoordinateSweeps.Grid.BoundedCode.gridline 634 - def
OAI.CoordinateSweeps.Grid.boundedCodeline 638 - lemma
OAI.CoordinateSweeps.Grid.boundedCode_gridline 640 - theorem
OAI.CoordinateSweeps.Grid.bounded_event_intervalline 644Source comment
Uniform finite real perturbation for all nonempty events on every bounded allowed grid. Quantifiers include all feasible path events, uniformly in h.theorem bounded_event_interval (B r : ℕ) (ε : Grid → ℝ) (hε : ∀ G, 0 < ε G) : ∃ zStar : ℝ, 0 < zStar ∧ zStar ≤ 1/2 ∧ ∀ G : Grid, G.b ≤ B → (∀ j, G.bits j ≤ 2*r) → ∀ z ∈ Set.Icc 0 zStar, ∀ E : Finset G.Choices, E.Nonempty → G.eventDistance E z < ε G := by …Mentions: OAI.CoordinateSweeps.Grid