theorem
MindFormal.A617Choice.Training.GeneralTuning.reference_value_bounds
{d : ℕ}
[NeZero d]
{A q D : ℝ}
(hA : 0 < A)
(hq : 0 ≤ q)
(hD : 0 ≤ D)
(ε : ℝ)
(η : Fin 2 → ℝ)
(hη : ∀ (b : Fin 2), 0 ≤ η b)
(t : ℝ)
(reward : Fin 2 → Fin d → ℝ)
(hr : ∀ (b : Fin 2) (i : Fin d), 0 ≤ reward b i ∧ reward b i ≤ D)
{a : ℝ}
(ha : 0 ≤ a)
(i : Fin (d + 3))
(b : Fin 2)
:
The computed value reference has the same maximum principle at every positive saturated target, with the exact scale D / A.
theorem
MindFormal.A617Choice.Training.GeneralTuning.tuning_terminal
{d : ℕ}
[NeZero d]
{A q t : ℝ}
(hA : 0 < A)
(hq : 0 ≤ q)
(ht : t ≠ 0)
(ε x : ℝ)
(reward : Fin 2 → Fin d → ℝ)
(i : Fin d)
(b : Fin 2)
:
have η := ↑d * x / A ^ 2;
have dose := if b = 0 then x else 2 * x;
(Tuning.parameters ε (fun (b : Fin 2) => if b = 0 then η else 2 * η) t).reference reward (resetGenerator q hq)
(fun (x : Fin d) => 1 / ↑d) 1 A (1 / t ^ 4) (Sum.inr (Fin.castAdd 3 i, b)) = bank (meanFactor 1 A dose) (contrastFactor 1 A q dose) (reward b) i
The unequal-dose inverse is unchanged by the training time dilation; its rate normalization uses the prescribed saturated activity A.