MindFormal v1.0.0One Mind

MindFormal.Run.CoupledStep

noncomputable def MindFormal.CoupledPrefix.stepCount {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (c : Bool) :

02.12: counts after resolving both clocks at the one merged switch.

Equations
Instances For
    noncomputable def MindFormal.CoupledPrefix.stepHistory {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) :

    02.12: both updated histories come from the same already determined continuous path at the switch. No recomputation between simultaneous labels occurs.

    Equations
    Instances For
      theorem MindFormal.coupled_step_old_occupied {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (c : Bool) (k : ℕ) :
      k < P.stepCount c → ∃ (p : ℝ × Fin N), ((F.schedule P.history c).search k).event = some p

      02.12: every accepted slot of the update is an actual event of the old response. The old prefix is occupied, and a count is increased only by its actual next event at the switch. This is the finite-record step of coupling.

      theorem MindFormal.coupled_step_old_times {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (c : Bool) (k : ℕ) :
      k < P.stepCount c → ∀ (t : ℝ) (i : Fin N), ((F.schedule P.history c).search k).event = some (t, i) → t ≤ P.nextValue

      02.12: every accepted old-response event is at or before the chosen switch. Earlier records are bounded by the old cursor and the newly accepted ones occur at the switch itself; no advance-time inequality is a premise.

      theorem MindFormal.coupled_step_paths {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (t : ↑(HorizonTime H)) :
      t ≤ P.nextTime → (F.path P.history) t = (F.path P.stepHistory) t

      02.12: the new prescribed-record solution agrees with the old solution through the switch. CoupledFlow supplies the independently proved strict-past causality of the fixed-input solver. The two actual native insertions preserve that past, so no path-matching or coupled compatibility conclusion is assumed.

      theorem MindFormal.coupled_step_prefix {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (c : Bool) :

      02.12: each updated finite record is precisely a prefix of the NEW solution's own native schedule. This follows from strict-past path agreement and native event locality, not a premise that the recomputed solution preserves records. Both clocks and simultaneous fixed-priority selections are included.

      theorem MindFormal.coupled_step_next_strict {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (c : Bool) (t : ℝ) (i : Fin N) :

      02.12: after resolving a merged switch, the next native hit of either clock is strictly later. New physical paths agree through the switch, a clock which fired is refractory, and a clock which did not fire had no hit there. Thus simultaneous resolution creates no repeated zero-time event.

      noncomputable def MindFormal.CoupledPrefix.step {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) :

      02.12: one complete merged step. The old path supplies both searches, the native updates supply the histories, and the fixed-input solver supplies the continuation. All accepted-prefix invariants are proved below.

      Equations
      Instances For