math / data /lean /OAI /Probability /GaussianReplacement /StreamingModel.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.38 kB
import OAI.Probability.GaussianReplacement.Sampling
namespace OAI
open MeasureTheory ProbabilityTheory Set Filter
open scoped ENNReal NNReal RealInnerProductSpace Topology
noncomputable section
universe u
namespace CurrentProjection
namespace StreamKernel
def sharedSuccess {d M T : β„•} {Ξ : Type*} [MeasurableSpace Ξ]
(Ο€ : Measure Ξ) (K : Ξ β†’ CompletedLearner d M T) (Ξ΅ : ℝ) : ℝβ‰₯0∞ :=
∫⁻ ΞΎ, (K ΞΎ).uniformSuccess Ξ΅ βˆ‚Ο€
def StreamingMain (pβ‚€ : ℝβ‰₯0∞) : Prop :=
βˆƒ c : ℝ, 0 < c ∧ βˆ€ M : β„• β†’ β„•,
Asymptotics.IsLittleO atTop (fun d => (M d : ℝ)) (fun d => (d : ℝ)^2) β†’
βˆƒ dβ‚€ : β„•, βˆ€ d : β„•, dβ‚€ ≀ d β†’ βˆ€ T : β„•, βˆ€ Ξ΅ : ℝ,
0 < Ξ΅ β†’ Ξ΅ ≀ 1/10 β†’
βˆ€ (Ξ : Type) [MeasurableSpace Ξ] [StandardBorelSpace Ξ]
(Ο€ : Measure Ξ) [IsProbabilityMeasure Ο€]
(K : Ξ β†’ CompletedLearner d (M d) T),
AEMeasurable (fun ΞΎ => (K ΞΎ).uniformSuccess Ξ΅) Ο€ β†’
pβ‚€ ≀ sharedSuccess Ο€ K Ξ΅ β†’ c * (d : ℝ) * Real.log (1/Ξ΅) ≀ (T : ℝ)
end StreamKernel
def CriticalStreamingMain : Prop := StreamKernel.StreamingMain (3/5)
def LevelsStreamingMain : Prop := StreamKernel.StreamingMain (2/3)
def HybridStreamingMain : Prop := StreamKernel.StreamingMain (2/3)
def FiberStreamingMain : Prop := StreamKernel.StreamingMain (2/3)
end CurrentProjection
end
end OAI