MindFormal v1.0.0One Mind

MindFormal.Tools.A759CompleteRestart.Chain

Encounter chains with one complete kernel.

A Chain is a sequence of entering states and records whose every edge has the same kernel K as its conditional law given the whole information at that encounter. From it follow the pairwise joint laws, the entering-law recursion law (Z (j+1)) = P ∘ law (Z j), its iterate from the first entering law, and the law of every finite window of records beginning at any encounter as the iterate of the same K. The window kernel keeps every record and the final state; no product of records and no independence between encounters is asserted.

@[reducible, inline]

The outgoing-state marginal of a complete kernel.

Equations
Instances For
    @[reducible, inline]

    The record marginal of a complete kernel.

    Equations
    Instances For
      def MindFormal.A759CompleteRestart.appendStep {S : Type u_2} {T : Type u_3} (m : ℕ) (p : (S × (Fin m → T) × S) × T × S) :
      S × (Fin (m + 1) → T) × S

      One encounter appended to a window.

      Equations
      Instances For

        The kernel of a window of m encounters from an entering state: the entering state, the m records in order, and the state after them.

        Equations
        Instances For
          structure MindFormal.A759CompleteRestart.Chain {Ω : Type u_1} {S : Type u_2} {T : Type u_3} [MeasurableSpace S] [MeasurableSpace T] [mΩ : MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) (𝒢 : ℕ → MeasurableSpace Ω) (Z : ℕ → Ω → S) (R : ℕ → Ω → T) (K : ProbabilityTheory.Kernel S (T × S)) :

          An actual encounter sequence with one complete kernel: entering states known at their encounter, records known at the next, nested information, and the conditional law of each record and next state given everything at its encounter equal to K read at the entering state.

          Instances For
            theorem MindFormal.A759CompleteRestart.Chain.state_measurable {Ω : Type u_1} {S : Type u_2} {T : Type u_3} [MeasurableSpace S] [MeasurableSpace T] [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {𝒢 : ℕ → MeasurableSpace Ω} {Z : ℕ → Ω → S} {R : ℕ → Ω → T} {K : ProbabilityTheory.Kernel S (T × S)} (c : Chain μ 𝒢 Z R K) (j : ℕ) :
            theorem MindFormal.A759CompleteRestart.Chain.record_measurable {Ω : Type u_1} {S : Type u_2} {T : Type u_3} [MeasurableSpace S] [MeasurableSpace T] [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {𝒢 : ℕ → MeasurableSpace Ω} {Z : ℕ → Ω → S} {R : ℕ → Ω → T} {K : ProbabilityTheory.Kernel S (T × S)} (c : Chain μ 𝒢 Z R K) (j : ℕ) :
            theorem MindFormal.A759CompleteRestart.Chain.joint {Ω : Type u_1} {S : Type u_2} {T : Type u_3} [MeasurableSpace S] [MeasurableSpace T] [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {𝒢 : ℕ → MeasurableSpace Ω} {Z : ℕ → Ω → S} {R : ℕ → Ω → T} {K : ProbabilityTheory.Kernel S (T × S)} (c : Chain μ 𝒢 Z R K) (j : ℕ) :
            MeasureTheory.Measure.map (fun (ω : Ω) => (Z j ω, R j ω, Z (j + 1) ω)) μ = (MeasureTheory.Measure.map (Z j) μ).compProd K

            The pairwise joint law at every encounter.

            theorem MindFormal.A759CompleteRestart.Chain.step {Ω : Type u_1} {S : Type u_2} {T : Type u_3} [MeasurableSpace S] [MeasurableSpace T] [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {𝒢 : ℕ → MeasurableSpace Ω} {Z : ℕ → Ω → S} {R : ℕ → Ω → T} {K : ProbabilityTheory.Kernel S (T × S)} [MeasureTheory.IsFiniteMeasure μ] [ProbabilityTheory.IsMarkovKernel K] (c : Chain μ 𝒢 Z R K) (j : ℕ) :

            The entering law moves by the state marginal of the same kernel.

            theorem MindFormal.A759CompleteRestart.Chain.iterate {Ω : Type u_1} {S : Type u_2} {T : Type u_3} [MeasurableSpace S] [MeasurableSpace T] [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {𝒢 : ℕ → MeasurableSpace Ω} {Z : ℕ → Ω → S} {R : ℕ → Ω → T} {K : ProbabilityTheory.Kernel S (T × S)} [MeasureTheory.IsFiniteMeasure μ] [ProbabilityTheory.IsMarkovKernel K] (c : Chain μ 𝒢 Z R K) (j : ℕ) :

            Iterating the state marginal from the first entering law.

            def MindFormal.A759CompleteRestart.Chain.windowAt {Ω : Type u_1} {S : Type u_2} {T : Type u_3} (Z : ℕ → Ω → S) (R : ℕ → Ω → T) (j m : ℕ) (ω : Ω) :
            S × (Fin m → T) × S

            The actual window of m encounters beginning at encounter j.

            Equations
            Instances For
              theorem MindFormal.A759CompleteRestart.Chain.windowAt_measurable {Ω : Type u_1} {S : Type u_2} {T : Type u_3} [MeasurableSpace S] [MeasurableSpace T] [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {𝒢 : ℕ → MeasurableSpace Ω} {Z : ℕ → Ω → S} {R : ℕ → Ω → T} {K : ProbabilityTheory.Kernel S (T × S)} (c : Chain μ 𝒢 Z R K) (j m : ℕ) :
              theorem MindFormal.A759CompleteRestart.Chain.window_law {Ω : Type u_1} {S : Type u_2} {T : Type u_3} [MeasurableSpace S] [MeasurableSpace T] [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {𝒢 : ℕ → MeasurableSpace Ω} {Z : ℕ → Ω → S} {R : ℕ → Ω → T} {K : ProbabilityTheory.Kernel S (T × S)} [MeasureTheory.IsFiniteMeasure μ] [ProbabilityTheory.IsMarkovKernel K] (c : Chain μ 𝒢 Z R K) (j m : ℕ) :

              Every finite window beginning at any encounter has the law of the m-fold iterate of the same complete kernel from that encounter's actual entering law. The proof uses the conditional law at each encounter given the whole earlier window, not only the pairwise laws.