Buckets:
| import OAI.Probability.PosteriorReplicas.Regression.LowerFubini | |
| import OAI.Probability.PosteriorReplicas.Regression.MemoryPrecision | |
| namespace OAI | |
| open MeasureTheory ProbabilityTheory Set Filter | |
| open scoped ENNReal NNReal RealInnerProductSpace | |
| noncomputable section | |
| universe u | |
| namespace PosteriorRegression | |
| open scoped Topology | |
| open InnerProductSpace | |
| open scoped Pointwise | |
| namespace Learner | |
| lemma uniformSuccess_of_pointwise {d M T : ℕ} {Ω : Type u} [MeasurableSpace Ω] | |
| (L : Learner d M T Ω) (ρ : Measure Ω) [IsProbabilityMeasure ρ] | |
| (hL : L.Admissible ρ) (hd : 0 < d) (ε : ℝ) {c : ℝ≥0∞} | |
| (hs : ∀ s, c ≤ L.success ρ ε s) : c ≤ L.uniformSuccess ρ ε := by | |
| let : NeZero d := ⟨hd.ne'⟩ | |
| have hb := prod_null_set_lower_bound (L.angularSuccess_nullMeasurable ρ ε hL) | |
| (c := c) (Filter.Eventually.of_forall hs) | |
| simpa only [measure_univ, mul_one, uniformSuccess] using hb | |
| end Learner | |
| theorem subquadratic_memory : SubquadraticMemory.{u} := by | |
| obtain ⟨c, hc, d₁, hfixed⟩ := fixed_quadratic_memory (1 : ℝ) (by norm_num) | |
| refine ⟨c, hc, ?_⟩ | |
| intro M hM | |
| obtain ⟨d₂, hd₂⟩ := eventually_atTop.1 hM.eventuallyLE | |
| refine ⟨max d₁ (max d₂ 1), ?_⟩ | |
| intro d hd T ε hε hε10 Ω _ ρ hρ L hL hs | |
| let : IsProbabilityMeasure ρ := hρ | |
| have hmem : (M d : ℝ) ≤ 1 * (d : ℝ)^2 := by | |
| have hm := hd₂ d (by omega) | |
| simpa only [Real.norm_eq_abs, abs_of_nonneg (Nat.cast_nonneg (M d) : (0 : ℝ) ≤ M d), | |
| abs_of_nonneg (sq_nonneg (d : ℝ)), one_mul] using hm | |
| apply hfixed d (by omega) (M d) T hmem ε hε hε10 Ω ρ hρ L hL | |
| rcases hs with hs | hs | |
| · exact hs | |
| · exact L.uniformSuccess_of_pointwise ρ hL (by omega) ε hs | |
| theorem main : SubquadraticMemory.{u} ∧ FixedQuadraticMemory.{u} := | |
| ⟨subquadratic_memory, fixed_quadratic_memory⟩ | |
| end PosteriorRegression | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 1.88 kB
- Xet hash:
- 547d9dd57e30c598a7e67fbc9a7aa383ed8eb4d25c9db40619dd0401caae8061
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.