MindFormal v1.0.0One Mind

MindFormal.Run.GroupTransition

noncomputable def MindFormal.AdmittedGroup.snapshot {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) (p : E.ReplayInput × NNReal) :

The state computed at an arbitrary time of a replayed native run.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.admittedGroup_snapshot_measurable {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) :
    @[reducible, inline]
    abbrev MindFormal.AdmittedGroup.EncounterRule {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) :
    Type (max (max (max u_2 u_3) u_4) (max (max u_2 u_3) u_4) u_5)

    A declared encounter instrument reads the entering state and the full native continuation, returning a finite relative time. Its measurability is instrument data; its stopping property is needed when restarting again. This is a schedule, not a supplied transition or native continuation.

    Equations
    Instances For
      noncomputable def MindFormal.AdmittedGroup.nextTime {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) (δ : E.EncounterRule) (τ : Ω → NNReal) (ω : Ω) :
      Equations
      Instances For
        noncomputable def MindFormal.AdmittedGroup.nextUpdate {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) (δ : E.EncounterRule) (p : E.ReplayState × (J ⊕ E.world.Private → C(NNReal, ℝ))) :

        The next retained state is computed by the same native solver and the declared instrument. No next-state law is supplied.

        Equations
        Instances For
          theorem MindFormal.admittedGroup_nextUpdate_measurable {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) (δ : E.EncounterRule) (hδ : Measurable δ) :
          theorem MindFormal.admittedGroup_nextUpdate_identification {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) (δ : E.EncounterRule) (τ : Ω → NNReal) :

          Simultaneous equality with the actual next state. It includes all retained source pasts, physical states, and both native histories.

          noncomputable def MindFormal.AdmittedGroup.encounterTransition {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) (δ : E.EncounterRule) :
          Equations
          Instances For
            theorem MindFormal.admittedGroup_encounterTransition_markov {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) (δ : E.EncounterRule) (hδ : Measurable δ) :
            theorem MindFormal.admittedGroup_encounterTransition_apply {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) (δ : E.EncounterRule) (hδ : Measurable δ) (r : E.ReplayState) :
            theorem MindFormal.admittedGroup_encounterTransition_condExp {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) (δ : E.EncounterRule) (hδ : Measurable δ) {τ : Ω → NNReal} (hτ : MeasureTheory.IsStoppingTime E.ground.filtration fun (ω : Ω) => ↑(τ ω)) (f : E.ReplayState → ℝ) (hf : Measurable f) (hi : MeasureTheory.Integrable (fun (ω : Ω) => f (E.sourceState (E.nextTime δ τ) ω)) E.ground.μ) :
            E.ground.μ[fun (ω : Ω) => f (E.sourceState (E.nextTime δ τ) ω) | hτ.measurableSpace] =ᵐ[E.ground.μ] fun (ω : Ω) => ∫ (r : E.ReplayState), f r ∂(E.encounterTransition δ) (E.sourceState τ ω)

            The actual encounter-to-encounter conditional law, given the entire stopped past, is the constructed kernel on retained state. To iterate at the next encounter, its declared instrument must give another stopping time; no such property is asserted for an arbitrary measurable look-ahead rule.

            theorem MindFormal.admittedGroup_deadlineTransition {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) (H : NNReal) :

            A fixed positive encounter duration is a valid declared deadline schedule. All native events and private memory evolution still occur within the interval; this corner addresses schedules, not a deterministic run.

            theorem MindFormal.admittedGroup_nextTime_deadline_stopping {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] (E : AdmittedGroup Ω A N n T Λ J) {τ : Ω → NNReal} (hτ : MeasureTheory.IsStoppingTime E.ground.filtration fun (ω : Ω) => ↑(τ ω)) (H : NNReal) :
            MeasureTheory.IsStoppingTime E.ground.filtration fun (ω : Ω) => ↑(E.nextTime (fun (x : E.ReplayState × E.Continuation) => H) τ ω)

            A finite deadline after any stopping encounter is itself a stopping time. Thus the constructed deadline transition can be iterated.