MindFormal v1.0.0One Mind

MindFormal.Run.CoupledPrefix

@[reducible, inline]

02.12: valid finite histories for the two clocks; false is action and true is focus. The world reads only the action history.

Equations
Instances For
    structure MindFormal.CoupledFlow (H : ℝ) (N : ℕ) (E : Type u_1) [TopologicalSpace E] :
    Type u_1

    02.12: the response to prescribed finite records, before native coupling. The physical constructor below supplies this from the original equations. Strict-past agreement implies agreement of continuous states through the read time; this is a causal fixed-input property, not coupled existence.

    Instances For
      noncomputable def MindFormal.CoupledFlow.schedule {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] (F : CoupledFlow H N E) (h : ClockHistories N) (c : Bool) :
      NativeSchedule (fun (t : ℝ) => (F.guard c) ((ContinuousMap.IccExtend ⋯ (F.path h)) t)) (fun (t : ℝ) => F.score c ((ContinuousMap.IccExtend ⋯ (F.path h)) t)) H (F.pause c)

      02.12: native schedules observed on the given-record response path.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        structure MindFormal.CoupledPrefix {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] (F : CoupledFlow H N E) :

        02.12: accepted record prefixes of one physical response, with a common cursor. The first unaccepted hit is no earlier than the cursor. After the initial resolution and every subsequent step it is strictly later.

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

          02.12: the two next refractory releases, derived from accepted records.

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

            02.12: a pending future release; releases already resolved at the cursor are omitted. Focus expiry equals its refractory release because its duration is the same positive rho. H+1 denotes absence from the horizon.

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

              02.12: least of the horizon, two first hits, and two pending releases. The focus release includes its pulse expiry. Both hits at a tie will be accepted.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem MindFormal.coupled_next_bounds {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) :

                02.12: all five candidates for the merged next switch are at or beyond the current cursor, and the chosen time is within the horizon. The prefix supplies native search rules and past acceptance; no positive elapsed time is assumed at initialization, when qualified guards may fire at zero.

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

                02.12: the selected merged switch lies in the compact horizon.

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

                  02.12: the merged switch precedes either clock's next hit. Supplied prefix invariants alone suffice; the minimum also includes both releases and the horizon, so a clock need not fire at that switch. This is deterministic.

                  theorem MindFormal.coupled_schedule_transfer {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] (F : CoupledFlow H N E) (h k : ClockHistories N) (a : ↑(HorizonTime H)) (he : ∀ t ≤ a, (F.path h) t = (F.path k) t) (c : Bool) (n : ℕ) (t : ℝ) (i : Fin N) :
                  ((F.schedule h c).search n).event = some (t, i) → t ≤ ↑a → ((F.schedule k c).search n).event = some (t, i)

                  02.12: agreement of two response paths through a transfers any native event through a, with the same clock and positive pause. Finite labels, a in the common horizon and continuous qualification observations are built into CoupledFlow. Ranking observations are arbitrary; equality at the hit suffices.