LI2.4--5: finite components, sharp logarithmic remainder and a fixed midpoint/tail quadrature on the whole practice window.
noncomputable def
MindFormal.FinitePracticePower.deficit
{L : Type u_1}
[Fintype L]
(nu A : ℝ)
(w rate : L → ℝ)
(N : ℝ)
:
Equations
- MindFormal.FinitePracticePower.deficit nu A w rate N = ∑ j : L, MindFormal.LogarithmicPractice.curve nu 0 (nu * A * w j) (rate j) N
Instances For
theorem
MindFormal.FinitePracticePower.quadrature
{L : Type u_1}
[Fintype L]
[MeasurableSpace L]
[MeasurableSingletonClass L]
(cell : ℝ → L)
(hcell : Measurable cell)
(rate : L → ℝ)
{p b h R N : ℝ}
(hp : 0 < p)
(hb : 0 < b)
(hh : 0 ≤ h)
(hR : 0 ≤ R)
(hrate : ∀ (j : L), 0 ≤ rate j)
(midpoint : ∀ (r : ℝ), 0 < r → r < R → |rate (cell r) - r| ≤ h / 2)
(tail : ∀ (r : ℝ), R ≤ r → rate (cell r) = R)
(hN : 6 ≤ N)
(hN60 : N ≤ 60)
:
theorem
MindFormal.FinitePracticePower.power
{L : Type u_1}
[Fintype L]
[MeasurableSpace L]
[MeasurableSingletonClass L]
(cell : ℝ → L)
(hcell : Measurable cell)
(rate : L → ℝ)
{p b h R nu A wmax : ℝ}
(hp : 0 < p)
(hb : 0 < b)
(hh : 0 ≤ h)
(hR : 0 ≤ R)
(hn : 0 < nu)
(hA : 0 < A)
(hrate : ∀ (j : L), 0 ≤ rate j)
(midpoint : ∀ (r : ℝ), 0 < r → r < R → |rate (cell r) - r| ≤ h / 2)
(tail : ∀ (r : ℝ), R ≤ r → rate (cell r) = R)
(hmax : ∀ (j : L), binWeight p b cell j ≤ wmax)
(hamp : nu * A * wmax < 1)
:
The fixed finite partition and its computed weights work for every practice count in the whole window, with LI2.5's exact error constant.
theorem
MindFormal.FinitePracticePower.central_scores
{I : Type u_1}
(value : I → ℝ)
(a b : I)
(F : ℝ → ℝ)
(branch : Set ℝ)
{center eps L : ℝ}
(hL : 0 ≤ L)
(score : ∀ x ∈ branch, ∀ y ∈ branch, |F x - F y| ≤ L * |x - y|)
(ha_branch : value a ∈ branch)
(hb_branch : value b ∈ branch)
(hc_branch : center ∈ branch)
(ha : |value a - center| ≤ eps)
(hb : |value b - center| ≤ eps)
:
Apply the fixed score before taking the average of the central scores. This theorem covers a single central individual by taking a=b, and the two central individuals in an even group by taking their two rank indices.
theorem
MindFormal.FinitePracticePower.median
{I : Type u_1}
(value : I → ℝ)
(F : ℝ → ℝ)
{center eps L : ℝ}
(hL : 0 ≤ L)
(score : ∀ (x y : ℝ), |F x - F y| ≤ L * |x - y|)
(band : ∀ (i : I), |value i - center| ≤ eps)
{K : ℕ}
(rank : Fin K → I)
(ordered : Monotone fun (q : Fin K) => F (value (rank q)))
(a b : Fin K)
:
Uniform individual bands imply the same median band for every odd or even group. The supplied rank map orders the actual already-scored data; there is no population-mean-to-median inference.