MindFormal v1.0.0One Mind

MindFormal.Tools.A630GameLearning.Sampling

Projection and actual free conditioning commute, with failures kept in the parent law. This holds also at zero mass without asserting positivity.

theorem MindFormal.A630GameLearning.Sequential.free_quotient {X : Type u_1} {R : Type u_2} [MeasurableSpace X] [MeasurableSpace R] (K : ProbabilityTheory.Kernel X R) [ProbabilityTheory.IsMarkovKernel K] (π : MeasureTheory.Measure X) [MeasureTheory.IsProbabilityMeasure π] (free event : Set R) (hf : MeasurableSet free) (he : MeasurableSet event) (pos : 0 < (π.bind ⇑K).real free) :
MeasureTheory.IsProbabilityMeasure (π.bind ⇑K)[|free] ∧ (π.bind ⇑K)[|free].real event = (∫ (z : X), (K z).real (free ∩ event) ∂π) / ∫ (z : X), (K z).real free ∂π

Exact free-encounter quotient for a computed full marked kernel. The invariant-state hypothesis belongs to the native caller's state transition; this sampling identity does not assert existence or mixing.

theorem MindFormal.A630GameLearning.Sequential.empirical {Ω : Type u_3} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {next : Ω → Ω} (hnext : Ergodic next μ) (free event : Set Ω) (hf : MeasurableSet free) (he : MeasurableSet event) (pos : 0 < μ.real free) :
∀ᵐ (ω : Ω) ∂μ, Filter.Tendsto (fun (n : ℕ) => birkhoffAverage ℝ next ((free ∩ event).indicator 1) n ω / birkhoffAverage ℝ next (free.indicator 1) n ω) Filter.atTop (nhds (μ.real (free ∩ event) / μ.real free))

Actual encounter-shift frequencies of marked events. Ergodicity is retained as an additional hold; no limit is inferred from invariance alone. The quotient counts free events in both numerator and denominator.