theorem
MindFormal.ResponsiveConsequences.fading_infimum
{excess allowance rate : ℝ}
(he : 0 ≤ excess)
(ha : 0 < allowance)
(hr : 0 < rate)
:
have delay := if excess = 0 then 0 else max 0 (Real.log (excess / allowance) / rate);
IsGLB {t : ℝ | 0 ≤ t ∧ excess * Real.exp (-rate * t) < allowance} delay ∧ (excess = 0 → ∀ (t : ℝ), 0 ≤ t → excess * Real.exp (-rate * t) < allowance) ∧ (0 < excess → ∀ (t : ℝ), excess * Real.exp (-rate * t) < allowance ↔ Real.log (excess / allowance) / rate < t)
The SR6 logarithmic delay is the infimum, including immediate return and zero excess. Strict reach at a positive zero is deliberately excluded.
theorem
MindFormal.ResponsiveConsequences.fading_return
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{d : MindDriftData (Fin N) n T Λ}
{H : NNReal}
(R : LearningReference d H)
(i : Fin N)
{response Jstar Hinf excess rate need : ℝ}
(hJ : 0 < Jstar)
(hH : 0 < Hinf)
(he : 0 ≤ excess)
(hr : 0 < rate)
(hn : 0 < need)
(profile :
∀ t ∈ Set.Icc response ↑H, R.useful i t = Jstar ∧ R.rest i t = Hinf + excess * Real.exp (-rate * (t - response)))
:
have θ := d.activity.g + need;
have S := (1 - θ) / θ * Jstar - Hinf;
(∀ t ∈ Set.Icc response ↑H, need < R.target i t ↔ excess * Real.exp (-rate * (t - response)) < S) ∧ (S ≤ 0 → ∀ t ∈ Set.Icc response ↑H, R.target i t ≤ need) ∧ (0 < S →
have delay := if excess = 0 then 0 else max 0 (Real.log (excess / S) / rate);
IsGLB {t : ℝ | response ≤ t ∧ excess * Real.exp (-rate * (t - response)) < S} (response + delay) ∧ ∀ t ∈ Set.Icc response ↑H, 0 < excess → (need < R.target i t ↔ response + Real.log (excess / S) / rate < t))
Complete held useful input and complete exponentially fading competing load, with every writer left in the reference. The formula is conditional on these aggregate profiles, exactly as SR6 prescribes.
theorem
MindFormal.ResponsiveConsequences.awareness_delay_derivative
{ν pre post x0 α response : ℝ}
(hν : 0 < ν)
(hx : x0 < α)
(hpre : pre ≤ α)
(hpost : α < post)
(hr : 0 ≤ response)
:
SR7's response-delay derivative. Both held target levels are complete targets, rather than held primary inputs or a frozen relation bank.
theorem
MindFormal.ResponsiveConsequences.awareness_clock
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{d : MindDriftData (Fin N) n T Λ}
{H : NNReal}
(R : LearningReference d H)
(i : Fin N)
{response pre post α : ℝ}
(hr : 0 ≤ response)
(hrH : response ≤ ↑H)
(hx : (ContinuousMap.IccExtend ⋯ R.path) 0 (Sum.inr (Sum.inl i)) < α)
(hpre : pre ≤ α)
(hpost : α < post)
(before : ∀ s ∈ Set.Ioc 0 response, R.target i s = pre)
(after : ∀ s ∈ Set.Ioc response ↑H, R.target i s = post)
:
have x := fun (t : ℝ) => (ContinuousMap.IccExtend ⋯ R.path) t (Sum.inr (Sum.inl i));
have xr := referenceActivity d.activity.ν pre (x 0) response;
have hit := response + Real.log ((post - xr) / (post - α)) / d.activity.ν;
x response = xr ∧ (∀ t ∈ Set.Icc 0 response, x t < α) ∧ (∀ t ∈ Set.Icc response ↑H, x t = referenceActivity d.activity.ν post xr (t - response) ∧ (α ≤ x t ↔ hit ≤ t)) ∧ (∀ (pulse : ℝ),
0 ≤ pulse →
response + pulse ≤ ↑H →
((∃ t ∈ Set.Icc response (response + pulse), α ≤ x t) ↔ α ≤ post + (xr - post) * Real.exp (-d.activity.ν * pulse))) ∧ have xr :=
referenceActivity d.activity.ν pre ((ContinuousMap.IccExtend ⋯ R.path) 0 (Sum.inr (Sum.inl i))) response;
HasDerivAt
(fun (r : ℝ) =>
r + Real.log
((post - referenceActivity d.activity.ν pre ((ContinuousMap.IccExtend ⋯ R.path) 0 (Sum.inr (Sum.inl i)))
r) / (post - α)) / d.activity.ν)
((post - pre) / (post - xr)) response ∧ 0 < (post - pre) / (post - xr)
SR7 on the existing reference, including absence of an earlier hit and the exact finite-pulse test. A target jump does not jump the activity.