MindFormal v1.0.0One Mind

MindFormal.Run.ReferenceConvolution

ORDER O01 additive module. Exact deterministic identities for a verified continuing reference of the admitted constant-amplitude mind: each activity coordinate is the exponential convolution of its complete target, with the activity-floor regulator proved inactive; every signed coordinate is its start plus the integral of its complete drift coordinate. No run, corridor or behavioral conclusion is assumed.

theorem MindFormal.reflected_linear_weighted {H ν x0 : ℝ} (hH : 0 ≤ H) (Tg : ℝ → ℝ) (p Fc : C(↑(HorizonTime H), ℝ)) (hint : IntervalIntegrable (fun (s : ℝ) => ν * (Tg s - (ContinuousMap.IccExtend hH p) s)) MeasureTheory.volume 0 H) (hF : ∀ (τ : ↑(HorizonTime H)), Fc τ = x0 + ∫ (s : ℝ) in 0..↑τ, ν * (Tg s - (ContinuousMap.IccExtend hH p) s)) (hp : ∀ (τ : ↑(HorizonTime H)), p τ = Fc τ + floorRegulator Fc τ) (τ : ↑(HorizonTime H)) :
Real.exp (ν * ↑τ) * Fc τ = x0 + ν * ∫ (s : ℝ) in 0..↑τ, Real.exp (ν * s) * (Tg s - (ContinuousMap.IccExtend hH (floorRegulatorCM Fc)) s)

05.26 (HW7): for a scalar path p reflected at zero from x0+integral(nu(T-p)), the product rule for the absolutely continuous free input gives exp(nu t)F(t)=x0+nu integral exp(nu s)(T-k) with k the regulator.

theorem MindFormal.exp_rate_integral (ν t : ℝ) :
ν * ∫ (s : ℝ) in 0..t, Real.exp (ν * s) = Real.exp (ν * t) - 1

05.26 (HW7): for any rate nu and horizon point, the integral of nu exp(nu s) over [0,t] is exp(nu t)-1.

theorem MindFormal.reflected_linear_regulator_zero {H ν x0 : ℝ} (hH : 0 ≤ H) (hν : 0 < ν) (hx0 : 0 ≤ x0) (Tg : ℝ → ℝ) (hT : ∀ s ∈ Set.Icc 0 H, 0 ≤ Tg s) (p Fc : C(↑(HorizonTime H), ℝ)) (hint : IntervalIntegrable (fun (s : ℝ) => ν * (Tg s - (ContinuousMap.IccExtend hH p) s)) MeasureTheory.volume 0 H) (hF : ∀ (τ : ↑(HorizonTime H)), Fc τ = x0 + ∫ (s : ℝ) in 0..↑τ, ν * (Tg s - (ContinuousMap.IccExtend hH p) s)) (hp : ∀ (τ : ↑(HorizonTime H)), p τ = Fc τ + floorRegulator Fc τ) (τ : ↑(HorizonTime H)) :

02.20, 05.26 (HW7): the floor never acts on a scalar path reflected at zero from x0+integral(nu(T-p)) with nu>0, x0>=0 and a nonnegative target T: its regulator is zero at every time. At zero the drift nu(T-0) points inward. The weighted identity gives exp(nu s)F(s) >= -k(s)(exp(nu s)-1) for the free input F and regulator k; at the time where k(t) is attained, -F(s)=k(t)>0 would then force k(t)<=0.

theorem MindFormal.reflected_linear_convolution {H ν x0 : ℝ} (hH : 0 ≤ H) (hν : 0 < ν) (hx0 : 0 ≤ x0) (Tg : ℝ → ℝ) (hT : ∀ s ∈ Set.Icc 0 H, 0 ≤ Tg s) (p Fc : C(↑(HorizonTime H), ℝ)) (hint : IntervalIntegrable (fun (s : ℝ) => ν * (Tg s - (ContinuousMap.IccExtend hH p) s)) MeasureTheory.volume 0 H) (hF : ∀ (τ : ↑(HorizonTime H)), Fc τ = x0 + ∫ (s : ℝ) in 0..↑τ, ν * (Tg s - (ContinuousMap.IccExtend hH p) s)) (hp : ∀ (τ : ↑(HorizonTime H)), p τ = Fc τ + floorRegulator Fc τ) (τ : ↑(HorizonTime H)) :
p τ = Real.exp (-ν * ↑τ) * x0 + ν * ∫ (s : ℝ) in 0..↑τ, Real.exp (-ν * (↑τ - s)) * Tg s

05.26 (HW7): a scalar path reflected at zero from x0+integral(nu(T-p)), with nu>0, x0>=0 and nonnegative target T, never uses its regulator, and is the exponential convolution exp(-nu t)x0+nu integral exp(-nu(t-s))T(s).

noncomputable def MindFormal.LearningReference.free {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) :
C(↑(HorizonTime ↑H), MindState (Fin N) n T Λ)

05.26 (HW1--HW7): the free reference input whose coordinatewise reflection at the activity floor is the verified continuing reference path.

Equations
Instances For
    noncomputable def MindFormal.LearningReference.target {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) (s : ℝ) :

    05.26 (HW7): the complete normalized target of a content along a verified continuing reference, using that reference's own input and binary mode.

    Equations
    Instances For
      theorem MindFormal.learningReference_coordinate {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (τ : ↑(HorizonTime ↑H)) (j : CoordinateIndex (Fin N) n T Λ) :
      R.path τ j = (↑R.start j + ∫ (s : ℝ) in 0..↑τ, learningForcing d ⋯ R.input R.mode R.path s j) + if mindFloor j = true then floorRegulator (pathCoordinate R.free j) τ else 0

      05.26 (HW2, HW3, HW7): every coordinate of a verified continuing reference equals its start plus the integral of its complete drift coordinate, plus the floor regulator of its free input exactly on activity coordinates.

      theorem MindFormal.learningReference_activity_reflected {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) :

      05.26 (HW7): an activity coordinate of a verified continuing reference solves the scalar reflected equation: its free input is the start plus the integral of ν(T−x) with T the complete target, and the path is that input plus its floor regulator.

      theorem MindFormal.learningReference_activity_convolution {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) (τ : ↑(HorizonTime ↑H)) :
      R.path τ (Sum.inr (Sum.inl i)) = Real.exp (-d.activity.ν * ↑τ) * ↑R.start (Sum.inr (Sum.inl i)) + d.activity.ν * ∫ (s : ℝ) in 0..↑τ, Real.exp (-d.activity.ν * (↑τ - s)) * R.target i s

      05.26 (HW7), 05.15, 05.17, 05.21: every activity coordinate of a verified continuing reference is the exponential convolution of its complete target along that reference; the activity-floor regulator never acts.

      theorem MindFormal.learningReference_floor_inactive {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) :
      R.path = R.free

      02.20, 05.26 (HW7): a verified continuing reference never uses the floor's reflection: its path is its free input, the start plus the integral of its complete drift. At zero activity the activity drift ν·T is at least zero, since every complete target is.

      theorem MindFormal.learningReference_target_integrable {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) :

      05.26 (HW7): the complete target of a content along a verified continuing reference is interval integrable on the reference horizon; this follows from integrability of the verified complete forcing and continuity of the path.

      theorem MindFormal.learningReference_activity_shift {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) {t0 t : ℝ} (h0 : 0 ≤ t0) (ht : t0 ≤ t) (hH : t ≤ ↑H) :

      05.26 (HW7, HW8), 05.15, 05.17: from any earlier time t0 to a later time t in the horizon, a reference activity is its value at t0 decayed by exp(-ν(t-t0)) plus the exponential convolution of its complete target over (t0,t].

      theorem MindFormal.exp_decay_integral (ν t0 t : ℝ) :
      ν * ∫ (s : ℝ) in t0..t, Real.exp (-ν * (t - s)) = 1 - Real.exp (-ν * (t - t0))

      05.15, 05.17, 05.26 (HW9): for any rate ν and times t0,t, the integral of ν·exp(-ν(t-s)) over [t0,t] equals 1-exp(-ν(t-t0)).

      theorem MindFormal.learningReference_activity_const {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) {t0 t c : ℝ} (h0 : 0 ≤ t0) (ht : t0 ≤ t) (hH : t ≤ ↑H) (hc : ∀ s ∈ Set.Ioc t0 t, R.target i s = c) :

      05.15, 05.17, 05.26 (HW9, HW17): if a reference content's complete target equals c throughout (t0,t], its activity at t is the held-target curve c+(x(t0)-c)exp(-ν(t-t0)) started from its activity at t0.

      theorem MindFormal.learningReference_activity_bounds {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) {t0 t c : ℝ} (h0 : 0 ≤ t0) (ht : t0 ≤ t) (hH : t ≤ ↑H) :
      ((∀ s ∈ Set.Ioc t0 t, c ≤ R.target i s) → referenceActivity d.activity.ν c ((ContinuousMap.IccExtend ⋯ R.path) t0 (Sum.inr (Sum.inl i))) (t - t0) ≤ (ContinuousMap.IccExtend ⋯ R.path) t (Sum.inr (Sum.inl i))) ∧ ((∀ s ∈ Set.Ioc t0 t, R.target i s ≤ c) → (ContinuousMap.IccExtend ⋯ R.path) t (Sum.inr (Sum.inl i)) ≤ referenceActivity d.activity.ν c ((ContinuousMap.IccExtend ⋯ R.path) t0 (Sum.inr (Sum.inl i))) (t - t0))

      05.15, 05.26 (HW9, HW17): a complete target bounded below by c on (t0,t] keeps the reference activity at t at least the held-target curve toward c from its activity at t0; bounded above by c, at most that curve.