Internal Gaussian Proof #
This internal module contains the main body of the existing formal proof.
Reader-facing API wrappers live in:
ConvexSubgaussian.GaussianAsymptoticsConvexSubgaussian.GaussianMain
theorem
OneDimConvexDom.stopLossDom_integral_convex
{mu nu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
[MeasureTheory.IsProbabilityMeasure nu]
(hDom : StopLossDom mu nu)
{f : ℝ → ℝ}
(hf : IsSimpleConvex f)
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
(hIntNuId : MeasureTheory.Integrable (fun (x : ℝ) => x) nu)
(_hmu : MeasureTheory.Integrable f mu)
(_hnu : MeasureTheory.Integrable f nu)
:
2. Tail cap and envelope constants #
Equations
- OneDimConvexDom.A = ∫ (t : ℝ) in Set.Ioi 0, OneDimConvexDom.s t
Instances For
Equations
- OneDimConvexDom.H x = x * OneDimConvexDom.s x + ∫ (t : ℝ) in Set.Ioi x, OneDimConvexDom.s t
Instances For
Instances For
Instances For
Equations
- OneDimConvexDom.J u = if u ≤ OneDimConvexDom.a then OneDimConvexDom.B - OneDimConvexDom.p0 * u else ∫ (t : ℝ) in Set.Ioi u, OneDimConvexDom.s t
Instances For
theorem
OneDimConvexDom.s_integrableOn_Ioi_zero :
MeasureTheory.IntegrableOn (fun (t : ℝ) => s t) (Set.Ioi 0) MeasureTheory.volume
3. Tail constraints and envelope #
Equations
- OneDimConvexDom.prob mu S = (mu S).toReal
Instances For
Instances For
Equations
Instances For
theorem
OneDimConvexDom.layer_cake_hinge
{Ω : Type u_1}
[MeasurableSpace Ω]
{P : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure P]
{Y : Ω → ℝ}
(hY : MeasureTheory.Integrable Y P)
(u : ℝ)
:
theorem
OneDimConvexDom.first_moment_bound
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
(htail : subgaussianTail mu)
(hmean : mean mu = 0)
:
theorem
OneDimConvexDom.stopLoss_envelope_case_ge_a
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
(htail : subgaussianTail mu)
(u : ℝ)
(hu : a ≤ u)
:
theorem
OneDimConvexDom.stopLoss_convex
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
:
theorem
OneDimConvexDom.stopLoss_envelope_case_le_a
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
(htail : subgaussianTail mu)
(hmean : mean mu = 0)
(u : ℝ)
(hu0 : 0 ≤ u)
(hua : u ≤ a)
:
theorem
OneDimConvexDom.stopLoss_envelope
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
(htail : subgaussianTail mu)
(hmean : mean mu = 0)
:
theorem
OneDimConvexDom.stopLoss_extend_all_u
{mu nu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
[MeasureTheory.IsProbabilityMeasure nu]
(hIntMu : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
(hIntNu : MeasureTheory.Integrable (fun (x : ℝ) => x) nu)
(hmean : mean mu = mean nu)
(hpos : ∀ (u : ℝ), 0 ≤ u → stopLoss mu u ≤ stopLoss nu u)
(hneg :
∀ (u : ℝ),
0 ≤ u →
stopLoss (MeasureTheory.Measure.map (fun (x : ℝ) => -x) mu) u ≤ stopLoss (MeasureTheory.Measure.map (fun (x : ℝ) => -x) nu) u)
(u : ℝ)
:
4. Gaussian objects and comparison #
Equations
- OneDimConvexDom.PhiBar t = ∫ (x : ℝ) in Set.Ioi t, OneDimConvexDom.phi x
Instances For
Equations
- OneDimConvexDom.R c u = OneDimConvexDom.PhiBar (u / c) / (2 * Real.exp (-u ^ 2 / 2))
Instances For
theorem
OneDimConvexDom.phi_integrable :
MeasureTheory.Integrable (fun (x : ℝ) => phi x) MeasureTheory.volume
Instances For
Equations
- OneDimConvexDom.gaussianScale c = MeasureTheory.Measure.map (fun (x : ℝ) => c * x) OneDimConvexDom.gaussianMeasure
Instances For
Equations
- OneDimConvexDom.gClosed c u = c * OneDimConvexDom.phi (u / c) - u * OneDimConvexDom.PhiBar (u / c)
Instances For
Equations
Instances For
Instances For
Instances For
Instances For
G1 boundary for Gaussian-vs-envelope: tail limit of J.
theorem
OneDimConvexDom.integrableOn_phi_div_sq
(x : ℝ)
(hx : 0 < x)
:
MeasureTheory.IntegrableOn (fun (t : ℝ) => phi t / t ^ 2) (Set.Ioi x) MeasureTheory.volume
Canonical Mills-ratio upper bound: phi / PhiBar ≤ x + 1/x for x>0.
theorem
OneDimConvexDom.g_c0_tendsto_zero
(h_cond2 : c0 > 1)
:
Filter.Tendsto (fun (u : ℝ) => gClosed c0 u) Filter.atTop (nhds 0)
theorem
OneDimConvexDom.monotone_ratio_principle
{a : ℝ}
{D κ R : ℝ → ℝ}
(hcont : ContinuousOn D (Set.Ici a))
(hdiff : DifferentiableOn ℝ D (Set.Ioi a))
(hderiv : ∀ u > a, deriv D u = κ u * (1 - R u))
(hkappa_pos : ∀ u > a, 0 < κ u)
(hR_mono : MonotoneOn R (Set.Ioi a))
(h_start : 0 ≤ D a)
(h_end : Filter.Tendsto D Filter.atTop (nhds 0))
(u : ℝ)
:
Monotone-ratio principle used in the Gaussian-vs-envelope comparison.
5. Convex domination at scale c0 #
6a. Extremal measure construction #
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- OneDimConvexDom.muStar = MeasureTheory.volume.withDensity fun (x : ℝ) => ENNReal.ofReal (OneDimConvexDom.fStar x)
Instances For
theorem
OneDimConvexDom.integrable_abs_mul_fStar :
MeasureTheory.Integrable (fun (x : ℝ) => |x| * fStar x) MeasureTheory.volume
theorem
OneDimConvexDom.optimality_c0
(c : ℝ)
:
0 < c →
c < c0 →
∃ (muStar : MeasureTheory.Measure ℝ),
MeasureTheory.IsProbabilityMeasure muStar ∧ mean muStar = 0 ∧ subgaussianTail muStar ∧ ∃ (u : ℝ), stopLoss muStar u > stopLoss (gaussianScale c) u
Main Convex-Domination Pipeline (Grouped API) #
theorem
OneDimConvexDom.stopLossDom_c0
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
(htail : subgaussianTail mu)
(hmean : mean mu = 0)
:
StopLossDom mu (gaussianScale c0)
theorem
OneDimConvexDom.convexDomination_c0
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
(htail : subgaussianTail mu)
(hmean : mean mu = 0)
{f : ℝ → ℝ}
(hf : IsSimpleConvex f)
(hmu : MeasureTheory.Integrable f mu)
(hG : MeasureTheory.Integrable f (gaussianScale c0))
:
theorem
OneDimConvexDom.convexDomination_c0_simple
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
(htail : subgaussianTail mu)
(hmean : mean mu = 0)
{f : ℝ → ℝ}
(hf : IsSimpleConvex f)
(hmu : MeasureTheory.Integrable f mu)
(hG : MeasureTheory.Integrable f (gaussianScale c0))
:
Simple-convex endpoint at scale c0 (renamed interface).
theorem
OneDimConvexDom.simpleConvex_integrable
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsFiniteMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
{f : ℝ → ℝ}
(hf : IsSimpleConvex f)
:
The only remaining missing ingredient for full convex domination: reduce an arbitrary convex integrand to the simple-convex case.
theorem
OneDimConvexDom.gaussianScale_integrable_id
(c : ℝ)
:
MeasureTheory.Integrable (fun (x : ℝ) => x) (gaussianScale c)
Aristotle finite max-affine proof (in-file) #
In-file Aristotle proof: MaxAffineIsSimpleStatement.psi through max_affine_is_simple.
Transport to this file's IsSimpleConvex/psi via the bridge theorem below.
Equations
- OneDimConvexDom.MaxAffineIsSimpleStatement.psi u x = max (x - u) 0
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
OneDimConvexDom.MaxAffineIsSimpleStatement.IsSimpleConvex_affine
(a b : ℝ)
:
IsSimpleConvex fun (x : ℝ) => a * x + b
theorem
OneDimConvexDom.MaxAffineIsSimpleStatement.IsSimpleConvex_add
{f g : ℝ → ℝ}
(hf : IsSimpleConvex f)
(hg : IsSimpleConvex g)
:
IsSimpleConvex (f + g)
theorem
OneDimConvexDom.MaxAffineIsSimpleStatement.IsSimpleConvex_add_affine
{f : ℝ → ℝ}
(hf : IsSimpleConvex f)
(a b : ℝ)
:
IsSimpleConvex fun (x : ℝ) => f x + (a * x + b)
theorem
OneDimConvexDom.MaxAffineIsSimpleStatement.glue_w_nonneg
(s t : Finset ℝ)
(w z : ℝ → ℝ)
(u a b c d : ℝ)
(hw : ∀ v ∈ s, 0 ≤ w v)
(hz : ∀ v ∈ t, 0 ≤ z v)
(f : ℝ → ℝ)
(hf : ∀ (x : ℝ), f x = a * x + b + ∑ v ∈ s, w v * psi v x)
(g : ℝ → ℝ)
(hg : ∀ (x : ℝ), g x = c * x + d + ∑ v ∈ t, z v * psi v x)
(h_eq : f u = g u)
(h_le : ∀ x ≤ u, g x ≤ f x)
(h_ge : ∀ x ≥ u, f x ≤ g x)
(v : ℝ)
:
theorem
OneDimConvexDom.MaxAffineIsSimpleStatement.IsSimpleConvex_glue
(f g : ℝ → ℝ)
(u : ℝ)
(hf : IsSimpleConvex f)
(hg : IsSimpleConvex g)
(h_eq : f u = g u)
(h_le : ∀ x ≤ u, g x ≤ f x)
(h_ge : ∀ x ≥ u, f x ≤ g x)
:
theorem
OneDimConvexDom.MaxAffineIsSimpleStatement.IsSimpleConvex_max_affine_simple
(f : ℝ → ℝ)
(hf : IsSimpleConvex f)
(a b : ℝ)
:
IsSimpleConvex fun (x : ℝ) => max (a * x + b) (f x)
theorem
OneDimConvexDom.simpleApproxSeq_isSimple
{f : ℝ → ℝ}
(hfConv : ConvexOn ℝ Set.univ f)
(n : ℕ)
:
IsSimpleConvex (simpleApproxSeq hfConv n)
theorem
OneDimConvexDom.simpleApproxSeq_tendsto
{f : ℝ → ℝ}
(hfConv : ConvexOn ℝ Set.univ f)
(x : ℝ)
:
Filter.Tendsto (fun (n : ℕ) => simpleApproxSeq hfConv n x) Filter.atTop (nhds (f x))
theorem
OneDimConvexDom.simpleApproxSeq_integrable_mu
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
{f : ℝ → ℝ}
(hfConv : ConvexOn ℝ Set.univ f)
(n : ℕ)
:
MeasureTheory.Integrable (simpleApproxSeq hfConv n) mu
theorem
OneDimConvexDom.simpleApproxSeq_integrable_gaussian
{f : ℝ → ℝ}
(hfConv : ConvexOn ℝ Set.univ f)
(n : ℕ)
:
MeasureTheory.Integrable (simpleApproxSeq hfConv n) (gaussianScale c0)
theorem
OneDimConvexDom.simpleApproxSeq_integral_le
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
{f : ℝ → ℝ}
(hfConv : ConvexOn ℝ Set.univ f)
(hSimpleStep :
∀ {g : ℝ → ℝ},
IsSimpleConvex g →
MeasureTheory.Integrable g mu →
MeasureTheory.Integrable g (gaussianScale c0) → ∫ (x : ℝ), g x ∂mu ≤ ∫ (x : ℝ), g x ∂gaussianScale c0)
(n : ℕ)
:
theorem
OneDimConvexDom.convexReduction_to_simple_c0
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
(_htail : subgaussianTail mu)
(_hmean : mean mu = 0)
{f : ℝ → ℝ}
(hfConv : ConvexOn ℝ Set.univ f)
(hmu : MeasureTheory.Integrable f mu)
(hG : MeasureTheory.Integrable f (gaussianScale c0))
(hSimpleStep :
∀ {g : ℝ → ℝ},
IsSimpleConvex g →
MeasureTheory.Integrable g mu →
MeasureTheory.Integrable g (gaussianScale c0) → ∫ (x : ℝ), g x ∂mu ≤ ∫ (x : ℝ), g x ∂gaussianScale c0)
:
theorem
OneDimConvexDom.convexDomination_c0_via_reduction
{mu : MeasureTheory.Measure ℝ}
[MeasureTheory.IsProbabilityMeasure mu]
(hIntMuId : MeasureTheory.Integrable (fun (x : ℝ) => x) mu)
(htail : subgaussianTail mu)
(hmean : mean mu = 0)
{f : ℝ → ℝ}
(hfConv : ConvexOn ℝ Set.univ f)
(hmu : MeasureTheory.Integrable f mu)
(hG : MeasureTheory.Integrable f (gaussianScale c0))
:
Two-step interface theorem:
- reduce convex
fto simple-convex test functions, - invoke the already-proved
c0simple-convex bound.