MindFormal v1.0.0One Mind

MindFormal.Run.ResidualNative

The native data retained at a restart. Residual times are durations, not calendar times. No history or source path occurs in CurrentMindState.

@[reducible, inline]
abbrev MindFormal.CurrentMindState (N n : ℕ) (T : Type u_1) (Λ : Type u_2) :
Type (max u_2 u_1)

I, II, III and D4 carry the physical arrays. IV carries the remaining pulse durations (zero at every inactive label); IV and V carry their two remaining refractory durations. This ambient space contains no preparation, absolute time, driver or record. Native reachability is a separate property.

Equations
Instances For
    def MindFormal.emptyCurrentMind (N n : ℕ) (T : Type u_1) (Λ : Type u_2) :

    A physical current state with no unfinished native work exists at every member size. This is state-space inhabitation, not a stationary law.

    Equations
    Instances For
      noncomputable def MindFormal.residualPulse {C : Type u_1} (remaining : C → NNReal) (pause : ℝ) (h : FiniteActionHistory C) (t : ℝ) (i : C) :

      Carry an unfinished half-open pulse into the continuation and add the future native selections. max keeps the coefficient binary even for a prescribed history before its native consistency has been proved.

      Equations
      Instances For
        theorem MindFormal.residualPulse_binary {C : Type u_1} (remaining : C → NNReal) (pause : ℝ) (h : FiniteActionHistory C) (t : ℝ) (i : C) :
        residualPulse remaining pause h t i ∈ {0, 1}

        Every coefficient supplied to the physical solver stays binary.

        theorem MindFormal.residualPulse_joint_measurable {N : ℕ} (pause : ℝ) :
        Measurable fun (p : ((Fin N → NNReal) × FiniteActionHistory (Fin N)) × ℝ) => residualPulse p.1.1 pause p.1.2 p.2

        The carried pulse and all new pulses are jointly measurable.

        theorem MindFormal.residualPulse_before {C : Type u_1} (remaining : C → NNReal) (pause : ℝ) (h k : FiniteActionHistory C) {a t : ℝ} (he : actionPast a h = actionPast a k) (ht : t < a) :
        residualPulse remaining pause h t = residualPulse remaining pause k t

        Equal strict future pasts give equal pulses before the comparison time; the already live pulse is the same retained datum on both sides.

        theorem MindFormal.residualPulse_expired {C : Type u_1} (remaining : C → NNReal) (pause : ℝ) (h : FiniteActionHistory C) (t : ℝ) (i : C) (ht : ↑(remaining i) ≤ t) :
        residualPulse remaining pause h t i = historyPulse pause h t i

        After its remaining duration, an old pulse has no further contribution.

        def MindFormal.residualGuard {C : Type u_1} (remaining : NNReal) (guard : ℝ → C → ℝ) (t : ℝ) (i : C) :

        A delayed first release is implemented without changing score priority: the added guard excludes precisely times before the residual release.

        Equations
        Instances For
          theorem MindFormal.residualGuard_qualifies {C : Type u_1} (remaining : NNReal) (guard : ℝ → C → ℝ) (t : ℝ) (i : C) :
          0 ≤ residualGuard remaining guard t i ↔ ↑remaining ≤ t ∧ 0 ≤ guard t i
          def MindFormal.NativeSearch.fromResidual {N : ℕ} {guard score : ℝ → Fin N → ℝ} {release H : ℝ} (remaining : NNReal) (s : NativeSearch (residualGuard remaining guard) score release H) (hc : ∀ (i : Fin N), ContinuousOn (fun (t : ℝ) => guard t i) (Set.Icc (max release ↑remaining) H)) :
          NativeSearch guard score (max release ↑remaining) H

          A search with the extra guard is exactly an original-guard search starting at the larger of its native release and the retained release. Attainment, earliest qualification, all qualified rivals and fixed ties are retained. This does not assume a winner or a separated score.

          Equations
          Instances For