Learning.randomSampling.tendsto_minβ
The minimum image action converges to the function's global minimum.
Learning.randomSampling.tendsto_minβ.{u_1, u_3} {π : Type u_1} {Ξ© : Type u_3} {mπ : MeasurableSpace π} {mΞ© : MeasurableSpace Ξ©} {ΞΌ : MeasureTheory.Measure π} [MeasureTheory.IsProbabilityMeasure ΞΌ] {P : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure P] {A : β β Ξ© β π} [PseudoMetricSpace π] [SecondCountableTopology π] [OpensMeasurableSpace π] [MeasureTheory.Measure.IsOpenPosMeasure ΞΌ] {R : β β Ξ© β β} {f : π β β} (hfc : Continuous f) {a : π} (h : IsAlgEnvSeq A R (randomSampling ΞΌ) (evalEnv f β―) P) (hf_min : β (x : π), f a β€ f x) : MeasureTheory.TendstoInMeasure P (fun n Ο => Function.min fun i => f (A (βi) Ο)) Filter.atTop fun x => f aLearning.randomSampling.tendsto_minβ.{u_1, u_3} {π : Type u_1} {Ξ© : Type u_3} {mπ : MeasurableSpace π} {mΞ© : MeasurableSpace Ξ©} {ΞΌ : MeasureTheory.Measure π} [MeasureTheory.IsProbabilityMeasure ΞΌ] {P : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure P] {A : β β Ξ© β π} [PseudoMetricSpace π] [SecondCountableTopology π] [OpensMeasurableSpace π] [MeasureTheory.Measure.IsOpenPosMeasure ΞΌ] {R : β β Ξ© β β} {f : π β β} (hfc : Continuous f) {a : π} (h : IsAlgEnvSeq A R (randomSampling ΞΌ) (evalEnv f β―) P) (hf_min : β (x : π), f a β€ f x) : MeasureTheory.TendstoInMeasure P (fun n Ο => Function.min fun i => f (A (βi) Ο)) Filter.atTop fun x => f a
Code
lemma tendsto_minβ (h : IsAlgEnvSeq A R (randomSampling ΞΌ) (evalEnv f hfc.measurable) P)
(hf_min : β x, f a β€ f x) :
TendstoInMeasure P (fun n Ο β¦ (fun (i : Iic n) β¦ f (A i.1 Ο)).min) atTop (fun _ β¦ f a)Proof
by rw [tendstoInMeasure_iff_dist] intro Ξ΅ hΞ΅ refine image_action_tendsto_any hfc h a hΞ΅ |> tendsto_zero_of_le <| ?_ intro n refine measure_mono ?_ simp only [Set.ofPred_subset_ofPred] intro Ο hΟ rw [β argmin_spec] set j := argmin (fun (i : Iic n) β¦ dist (f (A i Ο)) (f a)) refine hΟ.trans ?_ rw [β argmin_spec] set k := argmin (fun (i : Iic n) β¦ f (A i Ο)) have := hf_min (A k Ο) have : f (A k Ο) β€ f (A j Ο) := isMinOn_argmin (fun (i : Iic n) β¦ f (A i Ο)) j simp [Real.dist_eq] grind
Actions: Source Β· Open Issue
Meaning last changed in v4.34.0-rc2-1-g439785b (2026-08-23), the 4th recorded change.
Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file Β· open it in the Lean web editor.
Dependency graph
Audit surface: 10 project declarations, 87 external constants
β Proved: no sorry anywhere in its closure
This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.