MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch15.NextAcceptance

theorem MindFormal.Transactions.next_acceptance_own {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {X : Type u_5} [MeasurableSpace X] [StandardBorelSpace X] [Nonempty X] (E : StateExperiment Ω N n T Λ J) (enter next : Ω → X) (he : Measurable enter) (hn : Measurable next) (retains : MeasurableSpace.comap enter inferInstance ≤ MeasurableSpace.comap next inferInstance) (H H' : NNReal) (k l : ℕ) (f : ActionSlot (Fin N) → ℝ) (hf : MeasureTheory.StronglyMeasurable f) (hi : MeasureTheory.Integrable (fun (ω : Ω) => f (E.supportRecord H' false l ω)) E.ground.μ) :
have this := ⋯; E.ground.μ[fun (ω : Ω) => f (E.supportRecord H' false l ω) | MeasurableSpace.comap enter inferInstance] =ᵐ[E.ground.μ] fun (ω : Ω) => ∫ (r : X × ActionSlot (Fin N)), ∫ (a : ActionSlot (Fin N)), f a ∂(encounterKernel E.ground.μ next (E.supportRecord H' false l)) r.1 ∂(encounterKernel E.ground.μ enter (record E next H k)) (enter ω)

TX1.1's next-acceptance identity is the tower property on the same actual process. The next context retains the entering information (retains); it can be the complete history. Both kernels are computed conditional distributions, never supplied transitions or an asserted reduced Markov state. Take f to be the indicator of the declared ACCEPT mark. The general integrable test also retains price and timing reads.

theorem MindFormal.Transactions.next_acceptance_probability_own {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {X : Type u_5} [MeasurableSpace X] [StandardBorelSpace X] [Nonempty X] (E : StateExperiment Ω N n T Λ J) (enter next : Ω → X) (he : Measurable enter) (hn : Measurable next) (retains : MeasurableSpace.comap enter inferInstance ≤ MeasurableSpace.comap next inferInstance) (H H' : NNReal) (k l : ℕ) (accept : Fin N) :
have this := ⋯; have A := {a : ActionSlot (Fin N) | a.2 = Sum.inl accept}; E.ground.μ[fun (ω : Ω) => A.indicator (fun (x : ActionSlot (Fin N)) => 1) (E.supportRecord H' false l ω) | MeasurableSpace.comap enter inferInstance] =ᵐ[E.ground.μ] fun (ω : Ω) => ∫ (r : X × ActionSlot (Fin N)), ((encounterKernel E.ground.μ next (E.supportRecord H' false l)) r.1).real A ∂(encounterKernel E.ground.μ enter (record E next H k)) (enter ω)

TX1.1 specialized to the actual ACCEPT mark. Its indicator is proved measurable and integrable; the inner read is the next-context conditional acceptance probability itself. No integrability premise is left to a caller.