MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch15.A617Market.Histogram

In One Mind, clause 42 of result 15.1: Learning traders' accepted prices form a distribution, the main result · all its clauses in Lean
theorem MindFormal.A617Market.result_18_11_42_L618 {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {N K : ℕ} {M n : Fin N → ℕ} {V : Fin N → Type u_3} {Λ : Fin N → Type u_4} [(a : Fin N) → Fintype (V a)] [(a : Fin N) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} (r : GroupsWorld.ObservedContinuation μ ℱ (Fin N) M n V Λ J) (H : NNReal) (offers : List (A595Trade.Ticket M × Fin K)) (s : Ω → A595Trade.Ledger N) (hs : LedgerMeasurable s) (T : Ω → Ω) (hT : Ergodic T μ) (ha : 0 < (firstPaidMass r H offers s hs).accepted Option.isSome) :
∀ᵐ (ω : Ω) ∂μ, ∀ (k : Fin K), Filter.Tendsto (fun (n_1 : ℕ) => (∑ j ∈ Finset.range n_1, markFlag (fun (z : Option (Fin K)) => decide (z = some k)) (firstPaidMark offers (A595Trade.nativeHistories r H (T^[j] ω)) (s (T^[j] ω)))) / ∑ j ∈ Finset.range n_1, markFlag Option.isSome (firstPaidMark offers (A595Trade.nativeHistories r H (T^[j] ω)) (s (T^[j] ω)))) Filter.atTop (nhds (MarketComparisonMath.acceptedProbability (paidMass r H offers s hs) k))

18.11.42, L618. P: the actual complete native finite-opportunity mark, computed from all first acts and its random feasible ledger. H: the stated stationary marked process has an ergodic measure-preserving shift and positive accepted mass. C: on one probability-one event every actual accepted-price count divided by the accepted count converges to its normalized stationary paid mass. Bounded pointwise ergodicity is proved via Hopf's maximal inequality; convergence itself is not a premise. No result for a different initial component or a calendar-time sample is inferred. Zero accepted counts use the ordinary zero quotient and do not affect the positive-rate limit.