MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch06.ResponsiveConsequences.PrefixAlgebra

def MindFormal.ResponsiveConsequences.prefixTimeError {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (τ : Bool → ℕ → ℝ) :

Sum of errors of completed native selections only.

Equations
Instances For
    theorem MindFormal.ResponsiveConsequences.prefix_expiry_error {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (τ : Bool → ℕ → ℝ) (c : Bool) (k : ℕ) (hk : k < P.count c) :
    |(↑↑(P.history c) k).1 + F.pause c - (τ c k + F.pause c)| ≤ prefixTimeError P τ

    A focus expiry (or either refractory release) inherits exactly its selecting event's time shift; it is not a new independent error.

    The next release of an occupied native prefix is nonnegative, including when its next search defers.

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

    Native releases inherit the last completed event's error, bounded by the already accumulated time error. No future event enters this estimate.

    theorem MindFormal.ResponsiveConsequences.prefix_step_bill {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (τ : Bool → ℕ → ℝ) (cost : Bool → ℝ) (hcost : ∀ (c : Bool), 0 ≤ cost c) (next : ∀ (c : Bool) (i : Fin N), ((F.schedule P.history c).search (P.count c)).event = some (P.nextValue, i) → |P.nextValue - τ c (P.count c)| ≤ cost c) :
    prefixTimeError P.step τ ≤ prefixTimeError P τ + ∑ c : Bool, cost c

    One merged update charges at most the sum of its two prospective selection costs. Expiry-only steps add zero. All old slots are preserved by the native prefix construction, rather than by an assumed record law.

    theorem MindFormal.ResponsiveConsequences.prefix_step_labels {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (w : Bool → ℕ → Fin N) (old : ∀ (c : Bool), ∀ k < P.count c, (↑↑(P.history c) k).2 = Sum.inl (w c k)) (next : ∀ (c : Bool) (i : Fin N), ((F.schedule P.history c).search (P.count c)).event = some (P.nextValue, i) → i = w c (P.count c)) (c : Bool) (k : ℕ) :
    k < P.step.count c → (↑↑(P.step.history c) k).2 = Sum.inl (w c k)

    The same native update preserves every completed label and appends only the winner proved for its current search.