MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch08.ValuePlateaux

Constant-delivery, held-presence comparisons, with arbitrary entering banks. These are consequences of the existing III comparison, not native training schedules.

theorem MindFormal.ValuePlateaux.constant {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype Λ] {I : EquationInstance N n T Λ J} {a : T} (C : ValueComparison I a) (hk : ∀ (z : Fin n → ℝ), I.response z = z) (F : Fin N → ℝ) (b : Fin n) {t K : ℝ} (ht : 0 ≤ t) (h_presence : ∀ w ∈ Set.Icc 0 t, ∀ (j : Fin N), I.presence (mindTrace (C.path w) j) = F j) (h_presence_rate : ∀ w ∈ Set.Icc 0 t, ∀ (j : Fin N), assembledPresenceRate I.drift (C.path w) j = 0) (hΩ : ∑ j : Fin N, F j ^ 2 ≠ 0) (hη : I.η b ≠ 0) (hτ : I.τ a ≠ 0) (h_delivery : ∀ w ∈ Set.Icc 0 t, I.drift.reward (C.input w) b = K) :
have Ω := ∑ j : Fin N, F j ^ 2; have γ := I.η b * Ω / I.τ a; C.forecast F b t = I.τ a * K + (C.forecast F b 0 - I.τ a * K) * Real.exp (-γ * t) ∧ (∀ (i : Fin N), mindValue (C.path t) i b a = mindValue (C.path 0) i b a - F i * (C.forecast F b 0 - I.τ a * K) / Ω * (1 - Real.exp (-γ * t))) ∧ assembledResidual I.drift (C.input t) (C.path t) a b = -(C.forecast F b 0 - I.τ a * K) / I.τ a * Real.exp (-γ * t)
theorem MindFormal.ValuePlateaux.zero {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype Λ] {I : EquationInstance N n T Λ J} {a : T} (C : ValueComparison I a) (hk : ∀ (z : Fin n → ℝ), I.response z = z) (F : Fin N → ℝ) (b : Fin n) {t K : ℝ} (ht : 0 ≤ t) (h_presence : ∀ w ∈ Set.Icc 0 t, ∀ (j : Fin N), I.presence (mindTrace (C.path w) j) = F j) (h_presence_rate : ∀ w ∈ Set.Icc 0 t, ∀ (j : Fin N), assembledPresenceRate I.drift (C.path w) j = 0) (hΩ : ∑ j : Fin N, F j ^ 2 ≠ 0) (hη : I.η b ≠ 0) (hτ : I.τ a ≠ 0) (h_delivery : ∀ w ∈ Set.Icc 0 t, I.drift.reward (C.input w) b = K) (entering : ∀ (j : Fin N), mindValue (C.path 0) j b a = 0) :
(∀ (i : Fin N), mindValue (C.path t) i b a = (I.τ a * F i * K / ∑ j : Fin N, F j ^ 2) * (1 - Real.exp (-((I.η b * ∑ j : Fin N, F j ^ 2) / I.τ a) * t))) ∧ assembledResidual I.drift (C.input t) (C.path t) a b = K * Real.exp (-((I.η b * ∑ j : Fin N, F j ^ 2) / I.τ a) * t)
theorem MindFormal.ValuePlateaux.calibrated {P Q A D delta η τ t K : ℝ} (calibration : P * D = τ * K) :
have e := Real.exp (-(η * (P ^ 2 + Q ^ 2) / τ) * t); D - (D + delta - P * (P * (D + delta) + Q * A - τ * K) / (P ^ 2 + Q ^ 2) * (1 - e)) = -delta + P * (P * delta + Q * A) / (P ^ 2 + Q ^ 2) * (1 - e)

The VI6.3/4 algebra includes the entering drawing offset, instead of quietly matching the two preparations.

theorem MindFormal.ValuePlateaux.two_sum {N : ℕ} {d h : Fin N} (hdh : d ≠ h) (f : Fin N → ℝ) (outside : ∀ (j : Fin N), j ≠ d → j ≠ h → f j = 0) :
∑ j : Fin N, f j = f d + f h
theorem MindFormal.ValuePlateaux.two {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype Λ] {I : EquationInstance N n T Λ J} {a : T} (C : ValueComparison I a) (hk : ∀ (z : Fin n → ℝ), I.response z = z) (d h : Fin N) (hdh : d ≠ h) {P Q t K : ℝ} (ht : 0 ≤ t) (h_presence : ∀ w ∈ Set.Icc 0 t, ∀ (j : Fin N), I.presence (mindTrace (C.path w) j) = if j = d then P else if j = h then Q else 0) (h_presence_rate : ∀ w ∈ Set.Icc 0 t, ∀ (j : Fin N), assembledPresenceRate I.drift (C.path w) j = 0) (b : Fin n) (hΩ : P ^ 2 + Q ^ 2 ≠ 0) (hη : I.η b ≠ 0) (hτ : I.τ a ≠ 0) (h_delivery : ∀ w ∈ Set.Icc 0 t, I.drift.reward (C.input w) b = K) :
have Z := P * mindValue (C.path 0) d b a + Q * mindValue (C.path 0) h b a - I.τ a * K; have e := Real.exp (-(I.η b * (P ^ 2 + Q ^ 2) / I.τ a) * t); mindValue (C.path t) d b a = mindValue (C.path 0) d b a - P * Z / (P ^ 2 + Q ^ 2) * (1 - e) ∧ mindValue (C.path t) h b a = mindValue (C.path 0) h b a - Q * Z / (P ^ 2 + Q ^ 2) * (1 - e) ∧ assembledResidual I.drift (C.input t) (C.path t) a b = -Z / I.τ a * e

VI6.2 with the complete pattern supported on drawing and award.

theorem MindFormal.ValuePlateaux.retained {P Q A D τ K η t : ℝ} (hP : 0 < P) (_hQ : 0 ≤ Q) (hA : 0 < A) (hη : 0 < η) (hτ : 0 < τ) (_ht : 0 ≤ t) (calibration : P * D = τ * K) :
have e := Real.exp (-(η * (P ^ 2 + Q ^ 2) / τ) * t); have award := A - Q * (P * D + Q * A - τ * K) / (P ^ 2 + Q ^ 2) * (1 - e); have drawing := D - P * (P * D + Q * A - τ * K) / (P ^ 2 + Q ^ 2) * (1 - e); D - drawing = P * Q * A / (P ^ 2 + Q ^ 2) * (1 - e) ∧ award = A * (P ^ 2 / (P ^ 2 + Q ^ 2) + Q ^ 2 / (P ^ 2 + Q ^ 2) * e) ∧ 0 < award ∧ (0 < Q → 0 < t → award < A)

Calibration does not freeze the award bank: its positive retained portion is explicit, and its decrease is strict when Q and elapsed time are positive.

theorem MindFormal.ValuePlateaux.projected {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype Λ] {I : EquationInstance N n T Λ J} {a : T} (E C : ValueComparison I a) (hk : ∀ (z : Fin n → ℝ), I.response z = z) (d h : Fin N) (hdh : d ≠ h) (ell K : Fin n → ℝ) {P Q t : ℝ} (ht : 0 ≤ t) (hP : P ≠ 0) (hΩ : P ^ 2 + Q ^ 2 ≠ 0) (hη : ∀ (b : Fin n), I.η b ≠ 0) (hτ : I.τ a ≠ 0) (h_presence_E : ∀ w ∈ Set.Icc 0 t, ∀ (j : Fin N), I.presence (mindTrace (E.path w) j) = if j = d then P else if j = h then Q else 0) (h_presence_C : ∀ w ∈ Set.Icc 0 t, ∀ (j : Fin N), I.presence (mindTrace (C.path w) j) = if j = d then P else if j = h then 0 else 0) (h_rate_E : ∀ w ∈ Set.Icc 0 t, ∀ (j : Fin N), assembledPresenceRate I.drift (E.path w) j = 0) (h_rate_C : ∀ w ∈ Set.Icc 0 t, ∀ (j : Fin N), assembledPresenceRate I.drift (C.path w) j = 0) (h_delivery_E : ∀ w ∈ Set.Icc 0 t, ∀ (b : Fin n), I.drift.reward (E.input w) b = K b) (h_delivery_C : ∀ w ∈ Set.Icc 0 t, ∀ (b : Fin n), I.drift.reward (C.input w) b = K b) (entering : ∀ (b : Fin n), mindValue (E.path 0) d b a = mindValue (C.path 0) d b a) (calibration : ∀ (b : Fin n), P * mindValue (C.path 0) d b a = I.τ a * K b) :
(∀ (b : Fin n), mindValue (C.path t) d b a = mindValue (C.path 0) d b a) ∧ ∑ b : Fin n, ell b * mindValue (C.path t) d b a - ∑ b : Fin n, ell b * mindValue (E.path t) d b a = ∑ b : Fin n, ell b * (P * Q * mindValue (E.path 0) h b a / (P ^ 2 + Q ^ 2) * (1 - Real.exp (-(I.η b * (P ^ 2 + Q ^ 2) / I.τ a) * t)))

The matched comparison bank is solved, not assumed stationary. Summing the elementwise losses preserves every element's own learning rate.