VI5.3's fixed-bank and fixed-COMPLETE-target read corner.
theorem
MindFormal.ApproachCorner.curve
{Ω : Type u_1}
[MeasurableSpace Ω]
{N n : ℕ}
{T : Type u_2}
{Λ : Type u_3}
{J : Type u_4}
[Fintype T]
[Fintype Λ]
[Fintype J]
{𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J}
(C : LearningRun Ω N n T Λ J 𝒩)
(z : Ω)
(i : Fin N)
(a : T)
(ell : Fin n → ℝ)
(gamma target bank : ℝ)
(h_bank : ∀ t ∈ Set.Icc 0 ↑C.horizon, ApproachAndLiking.liking (C.refState z t) i a ell = bank)
(h_target : ∀ t ∈ Set.Ioc 0 ↑C.horizon, (C.reference z).target i t = target)
(t : ℝ)
:
theorem
MindFormal.ApproachCorner.crossing
{nu target x0 omega gamma bank : ℝ}
(hnu : 0 < nu)
(below : x0 < omega - gamma * bank)
:
have threshold := omega - gamma * bank;
have score := fun (t : ℝ) => target + (x0 - target) * Real.exp (-nu * t) + gamma * bank;
(threshold < target →
have tc := 1 / nu * Real.log ((target - x0) / (target - threshold));
0 < tc ∧ score tc = omega ∧ ∀ (t : ℝ), 0 ≤ t → t < tc → score t < omega) ∧ (target ≤ threshold → ∀ (t : ℝ), 0 ≤ t → score t < omega)