MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch06.ResponsiveConsequences.Rates

theorem MindFormal.ResponsiveConsequences.continuous_rates {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) {H : NNReal} (R : LearningReference E.mind.drift H) {a b : ℝ} (ha : 0 ≤ a) (hab : a ≤ b) (hb : b ≤ ↑H) (w : ℝ → Fin N → ℝ) (q : Fin N → ℝ) (hw : ∀ (j : Fin N), AbsolutelyContinuousOnInterval (fun (s : ℝ) => w s j) a b) (hwnn : ∀ s ∈ Set.Icc a b, 0 ≤ w s) (hq : ∀ (j : Fin N), q j ∈ {0, 1}) (fixed : ∀ s ∈ Set.Ioo a b, R.input s = w s ∧ R.mode s = q) :
(∀ (i : Fin N), have d := E.own.data.toPhysicalNoiseData.data; have st := fun (s : ℝ) => (ContinuousMap.IccExtend ⋯ R.path) s; have I := R.pathInput w q i; have drift := fun (s : ℝ) => assembledDrift d (w s) q (st s); AbsolutelyContinuousOnInterval I a b ∧ (∀ (t0 t1 : ℝ), a ≤ t0 → t0 ≤ t1 → t1 ≤ b → I t1 - I t0 = ∫ (s : ℝ) in t0..t1, deriv I s) ∧ ∀ᵐ (t : ℝ), t ∈ Set.Ioo a b → HasDerivAt I (deriv I t) t ∧ (∀ (j : Fin N), drift t (Sum.inr (Sum.inl j)) = d.activity.ν * (R.target j t - mindActivity (st t) j)) ∧ ∀ (D : ℝ × (Fin n → T → ℝ) →L[ℝ] ℝ) (Dr : (Λ → ℝ) →L[ℝ] ℝ) (du : ℝ), HasFDerivAt (fun (z : ℝ × (Fin n → T → ℝ)) => d.drive z.1 (q i) z.2) D (w t i, mindValue (st t) i) → HasFDerivAt d.residue Dr (mindTrace (st t) i) → HasDerivAt (fun (s : ℝ) => w s i) du t → HasDerivAt I ((D (du, fun (b : Fin n) (τ : T) => drift t (Sum.inr (Sum.inr (Sum.inl (i, b, τ))))) + Dr fun (r : Λ) => drift t (Sum.inr (Sum.inr (Sum.inr (i, r))))) + ∑ j : Fin N, (drift t (Sum.inl (i, j)) * mindActivity (st t) j + mindRelation (st t) i j * drift t (Sum.inr (Sum.inl j)))) t) ∧ (∀ (i : Fin N), AbsolutelyContinuousOnInterval (R.pathUseful w q i) a b ∧ AbsolutelyContinuousOnInterval (R.pathRest w q i) a b) ∧ (∀ (i : Fin N), ∀ᵐ (t : ℝ), t ∈ Set.Ioo a b → HasDerivAt (R.useful i) (deriv (R.pathUseful w q i) t) t ∧ HasDerivAt (R.rest i) (deriv (R.pathRest w q i) t) t) ∧ (∀ (i : Fin N) (need t dJ dL : ℝ), HasDerivAt (R.useful i) dJ t → HasDerivAt (R.rest i) dL t → 0 < R.useful i t → have g := E.own.data.toPhysicalNoiseData.data.activity.g; have Jt := R.useful i t; have Lt := R.rest i t; have rate := Jt * Lt / (Jt + Lt) ^ 2 * (dJ / Jt - dL / Lt); (g < Jt / (Jt + Lt) → HasDerivAt (fun (s : ℝ) => R.target i s - need) rate t ∧ (0 < rate ↔ dL / Lt < dJ / Jt) ∧ (rate < 0 ↔ dJ / Jt < dL / Lt)) ∧ (Jt / (Jt + Lt) < g → HasDerivAt (fun (s : ℝ) => R.target i s - need) 0 t) ∧ (Jt / (Jt + Lt) = g → HasDerivWithinAt (fun (s : ℝ) => R.target i s - need) (max rate 0) (Set.Ici t) t) ∧ (∀ (q : ℝ), 0 < q → q < 1 → HasDerivAt (fun (s : ℝ) => Real.log ((1 - q) * R.useful i s / (q * R.rest i s))) (dJ / Jt - dL / Lt) t) ∧ (0 < need → g + need < 1 → (0 < Real.log ((1 - (g + need)) * Jt / ((g + need) * Lt)) ↔ need < R.target i t))) ∧ ∀ (i : Fin N) (θ : ℝ), 0 < θ → θ < 1 → (∀ t ∈ Set.Icc a b, 0 < R.pathUseful w q i t) → have lf := fun (t : ℝ) => Real.log ((1 - θ) * R.pathUseful w q i t / (θ * R.pathRest w q i t)); AbsolutelyContinuousOnInterval lf a b ∧ ∀ t ∈ Set.Icc a b, lf t = lf a + ∫ (s : ℝ) in a..t, deriv (R.pathUseful w q i) s / R.pathUseful w q i s - deriv (R.pathRest w q i) s / R.pathRest w q i s

SR2 on one open native-mode piece. w is the returned input, not a constant input surrogate. The joint drive differential in the imported raw identity acts on the whole value vector. Both II writers remain in drift. The AC branch requires no classical differential of drive or transform.

theorem MindFormal.ResponsiveConsequences.transform_chain {ψ I : ℝ → ℝ} {t r p : ℝ} (hI : HasDerivAt I r t) (hψ : HasDerivAt ψ p (I t)) :
HasDerivAt (fun (z : ℝ) => ψ (I z)) (p * r) t

The classical transform chain rule, when it exists; no smoothness is silently added to the almost-everywhere assertion above.

theorem MindFormal.ResponsiveConsequences.reference_forcing_continuous {N n : ℕ} {T : Type u_2} {Λ : Type u_3} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (regular : PhysicalCoefficientRegularity d) (t : ℝ) (ht : t ∈ Set.Ioo 0 ↑H) (w : ℝ → Fin N → ℝ) (q : Fin N → ℝ) (hw : ContinuousAt w t) (fixed : ∀ᶠ (z : ℝ) in nhds t, R.input z = w z ∧ R.mode z = q) :

Primitive physical regularity and a continuous returned-input branch make the complete reference forcing continuous at an interior point. The binary mode is held only locally; no global input differentiability is used.

theorem MindFormal.ResponsiveConsequences.classical_rates {N n : ℕ} {T : Type u_2} {Λ : Type u_3} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (t : ℝ) (ht : t ∈ Set.Ioo 0 ↑H) (regular : PhysicalCoefficientRegularity d) (w : ℝ → Fin N → ℝ) (q : Fin N → ℝ) (input_continuous : ContinuousAt w t) (fixed : ∀ᶠ (z : ℝ) in nhds t, R.input z = w z ∧ R.mode z = q) (at_mode : R.input t = w t ∧ R.mode t = q) :
have st := fun (z : ℝ) => (ContinuousMap.IccExtend ⋯ R.path) z; have F := assembledDrift d (w t) q (st t); (∀ (c : CoordinateIndex (Fin N) n T Λ), HasDerivAt (fun (z : ℝ) => st z c) (F c) t) ∧ (∀ (i : Fin N) (D : ℝ × (Fin n → T → ℝ) →L[ℝ] ℝ) (Dr : (Λ → ℝ) →L[ℝ] ℝ) (du : ℝ), HasFDerivAt (fun (z : ℝ × (Fin n → T → ℝ)) => d.drive z.1 (q i) z.2) D (w t i, mindValue (st t) i) → HasFDerivAt d.residue Dr (mindTrace (st t) i) → HasDerivAt (fun (z : ℝ) => w z i) du t → HasDerivAt (R.pathInput w q i) ((D (du, fun (b : Fin n) (a : T) => F (Sum.inr (Sum.inr (Sum.inl (i, b, a))))) + Dr fun (l : Λ) => F (Sum.inr (Sum.inr (Sum.inr (i, l))))) + ∑ j : Fin N, (F (Sum.inl (i, j)) * mindActivity (st t) j + mindRelation (st t) i j * F (Sum.inr (Sum.inl j)))) t) ∧ ∀ (r p : Fin N → ℝ), (∀ (i : Fin N), HasDerivAt (R.pathInput w q i) (r i) t) → (∀ (i : Fin N), HasDerivAt d.transform.ψ (p i) (R.pathInput w q i t)) → (∀ (i : Fin N), HasDerivAt (R.useful i) (p i * r i) t) ∧ ∀ (i : Fin N), HasDerivAt (R.rest i) (∑ j ∈ Finset.univ.erase i, p j * r j) t

SR2's classical branch at a point of continuity of the complete forcing. The reference equation supplies every state derivative. The joint drive differential contracts with returned-input velocity and the entire value-array velocity; the relation term uses full II and trace term D4.