The named scalar/query corners in LI1--LI4, with criterion-time, whole-pool and training-count inversions.
theorem
MindFormal.EvaluatedPractice.savings
{omega rate zi z0 zb zp zc : ℝ}
(ho : 0 < omega)
(hr : 0 < rate)
(h0 : z0 ≤ zb)
(hbp : zb < zp)
(hpc : zp ≤ zc)
(hc : zc < zi)
:
have b := (zb - z0) / (zi - z0);
have p := (zp - zb) / (zi - z0);
have K := Real.log ((zi - z0) / (zi - zc));
have z := fun (d : ℝ) => zb + (zp - zb) * Real.exp (-rate * d);
have original := 1 / omega * K;
have relearn := fun (d : ℝ) => 1 / omega * Real.log ((zi - z d) / (zi - zc));
0 < original ∧ (∀ d ∈ Set.Ici 0,
0 ≤ relearn d ∧ zi + (z d - zi) * Real.exp (-omega * relearn d) = zc ∧ (∀ (t : ℝ), 0 ≤ t → t < relearn d → zi + (z d - zi) * Real.exp (-omega * t) < zc) ∧ 1 - relearn d / original = LogarithmicPractice.curve K b p rate d) ∧ (∀ d ∈ Set.Ici 0,
HasDerivAt (LogarithmicPractice.curve K b p rate) (LogarithmicPractice.first K b p rate d) d ∧ HasDerivAt (LogarithmicPractice.first K b p rate) (LogarithmicPractice.second K b p rate d) d ∧ LogarithmicPractice.first K b p rate d < 0 ∧ 0 < LogarithmicPractice.second K b p rate d) ∧ StrictAntiOn (LogarithmicPractice.curve K b p rate) (Set.Ici 0) ∧ StrictConvexOn ℝ (Set.Ici 0) (LogarithmicPractice.curve K b p rate)
theorem
MindFormal.EvaluatedPractice.latency
{nu target start limit z rate : ℝ}
(threshold : ℝ → ℝ)
(hn : 0 < nu)
(hz : 0 < z)
(hz1 : z < 1)
(hr : 0 < rate)
(hlimit : limit < target)
(calibration : ∀ N ∈ Set.Ici 0, target - threshold N = (target - limit) * (1 - z * Real.exp (-rate * N)))
(interior : ∀ N ∈ Set.Ici 0, start < threshold N)
:
have D := fun (N : ℝ) => 1 / nu * Real.log ((target - start) / (target - threshold N));
have Dinf := 1 / nu * Real.log ((target - start) / (target - limit));
(∀ N ∈ Set.Ici 0,
target + (start - target) * Real.exp (-nu * D N) = threshold N ∧ (∀ t < D N, target + (start - target) * Real.exp (-nu * t) < threshold N) ∧ D N - Dinf = LogarithmicPractice.curve nu 0 z rate N) ∧ (∀ N ∈ Set.Ici 0,
HasDerivAt (LogarithmicPractice.curve nu 0 z rate) (LogarithmicPractice.first nu 0 z rate N) N ∧ HasDerivAt (LogarithmicPractice.first nu 0 z rate) (LogarithmicPractice.second nu 0 z rate N) N ∧ LogarithmicPractice.first nu 0 z rate N < 0 ∧ 0 < LogarithmicPractice.second nu 0 z rate N) ∧ StrictAntiOn (LogarithmicPractice.curve nu 0 z rate) (Set.Ici 0) ∧ StrictConvexOn ℝ (Set.Ici 0) (LogarithmicPractice.curve nu 0 z rate)
theorem
MindFormal.EvaluatedPractice.devaluation
{G g Gamma chiC chiD base cue wi delta rate : ℝ}
(hG : 0 < G)
(hg : 0 ≤ g)
(hGamma : 0 < Gamma)
(hcue : 0 < cue)
(hC : 0 < chiC)
(hCD : chiC < chiD)
(hD : g + chiD / Gamma < 1)
(hdelta : 0 < delta)
(hr : 0 < rate)
(hroot : (PracticeThresholds.required G g (chiD / Gamma) - base) / cue < wi)
:
have WC := (PracticeThresholds.required G g (chiC / Gamma) - base) / cue;
have WD := (PracticeThresholds.required G g (chiD / Gamma) - base) / cue;
have W := fun (N : ℝ) => wi - delta * Real.exp (-rate * N);
have NC := 1 / rate * Real.log (delta / (wi - WC));
have ND := 1 / rate * Real.log (delta / (wi - WD));
WC < WD ∧ NC < ND ∧ (∀ (N : ℝ), chiC ≤ Gamma * PracticeThresholds.target (base + W N * cue) G g ↔ NC ≤ N) ∧ (∀ (N : ℝ), chiD ≤ Gamma * PracticeThresholds.target (base + W N * cue) G g ↔ ND ≤ N) ∧ (∀ (N : ℕ),
NC ≤ ↑N →
↑N < ND →
chiC ≤ Gamma * PracticeThresholds.target (base + W ↑N * cue) G g ∧ ¬chiD ≤ Gamma * PracticeThresholds.target (base + W ↑N * cue) G g) ∧ ∀ (N : ℕ), ND ≤ ↑N → chiD ≤ Gamma * PracticeThresholds.target (base + W ↑N * cue) G g