MindFormal v1.0.0One Mind

MindFormal.Run.ResidualClockSplice

theorem MindFormal.RetainedClock.release_join {C : Type u_1} (ρ c : ℝ) (past future : FiniteActionHistory C) :
release ρ (joinHistory c past future) = if nextIndex future = 0 then release ρ past else c + release ρ future

Decode the last release of an appended record. Empty future records retain the old release; nonempty futures translate their last release.

theorem MindFormal.RetainedClock.remainingPulse_splice {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) (c : ℝ) (hc0 : 0 ≤ c) (hc : c ≤ H) (hg : ∀ (i : Fin N), ContinuousOn (fun (t : ℝ) => g t i) (Set.Icc 0 H)) (F : NativeSchedule (residualGuard (remainingRelease c ρ 0 (nativeActionHistory (S.closedPrefix c hc))) fun (t : ℝ) => g (c + t)) (fun (t : ℝ) => f (c + t)) (H - c) ρ) :

The unfinished pulse at the original endpoint equals the segment's decoded endpoint pulse. This includes old pulses, new events and expiry.

theorem MindFormal.RetainedClock.remainingRelease_splice {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) (c : ℝ) (hc0 : 0 ≤ c) (hc : c ≤ H) (hg : ∀ (i : Fin N), ContinuousOn (fun (t : ℝ) => g t i) (Set.Icc 0 H)) (F : NativeSchedule (residualGuard (remainingRelease c ρ 0 (nativeActionHistory (S.closedPrefix c hc))) fun (t : ℝ) => g (c + t)) (fun (t : ℝ) => f (c + t)) (H - c) ρ) :

Both native refractory clocks compose across a cut with their actual entering release. A future event cannot precede that release.