theorem
MindFormal.A640Standards.record_test_probability_continuity
{Ω : Type u_1}
{R : Type u_2}
[MeasurableSpace Ω]
[MetricSpace R]
[MeasurableSpace R]
[BorelSpace R]
[SecondCountableTopology R]
(μ : MeasureTheory.Measure Ω)
[MeasureTheory.IsProbabilityMeasure μ]
(records : ℕ → Ω → R)
(limit : Ω → R)
(hm : ∀ (k : ℕ), Measurable (records k))
(hc : MeasureTheory.TendstoInMeasure μ records Filter.atTop limit)
(test : Set R)
(ht : MeasurableSet test)
(boundary : (MeasureTheory.Measure.map limit μ) (frontier test) = 0)
:
Filter.Tendsto (fun (k : ℕ) => μ.real (records k ⁻¹' test)) Filter.atTop (nhds (μ.real (limit ⁻¹' test)))
Complete-record convergence in probability and a null test boundary give continuity of the test probability. The portmanteau proof pays the boundary neighborhood separately from its complement. No coefficient smoothness assumption is substituted for these probabilistic conditions.