The Helmert basis, Lemma S2(i) and (ii), the maximal invariant, and eq. (10) #
This file proves the algebraic parts of Lemma S2 of the supplementary material, following its
proof, and two consequences. Let t ≥ 1, let ω₁ = t^{-1/2}(1, …, 1), and, for 2 ≤ i ≤ t, let
ω_i = {i(i − 1)}^{-1/2}(1, …, 1, 1 − i, 0, …, 0) with i − 1 leading ones. These vectors are the
rows of a Helmert matrix and form an orthonormal basis of ℝ^t, with ⟨ω₁, x⟩ = t^{1/2} x̄_t and
⟨ω_i, x⟩ = −y_i. In Lean, the vectors are indexed by j : Fin t, and helmertRow t j is the
vector ω_{j+1}.
helmertCoeff j k: the coordinatekof(1, …, 1, −j, 0, …, 0), withjleading ones;pathVec t x: the vectorx^t = (x₁, …, x_t)ofEuclideanSpace ℝ (Fin t)given by a path;helmertRow t j: the vectorω_{j+1}, andhelmertBasis tthe orthonormal basis(ω₁, …, ω_t);inner_helmertRow_zeroandinner_helmertRow_of_ne_zero:⟨ω₁, x⟩ = t^{1/2} x̄_tand⟨ω_{j+1}, x⟩ = −y_{j+1}forj ≥ 1;runningMean_linearandhelmertY_linear: the mapx ↦ (t^{1/2} x̄_t, y₂, …, y_t)is linear;sq_sqrt_mul_runningMean_add_sum_sq_helmertY: this map preserves the Euclidean norm (Lemma S2(i));helmertY_add_const: the valuesy_ido not change when the same constant is added to everyx_i, sinceω_iis orthogonal to(1, …, 1)fori ≥ 2;sum_sq_sub_eq:∑_{i=1}^t (x_i − m)² = t(x̄_t − m)² + ∑_{i=2}^t y_i²(Lemma S2(i));runningMean_eq_add_helmertY:x̄_t = x̄_{t−1} + y_t/{t(t − 1)}^{1/2}(Lemma S2(ii));helmertY_eq_iff_exists_add_const:Y^t = (Y₂, …, Y_t)is a maximal invariant under the translationsx ↦ (x₁ + m, …, x_t + m)(Section 4.1), andsec4_maximal_invariant_translationthe first claim of the statementsec4_maximal_invariant;dataFiltration_eq_helmertFiltration_supandeq_enlarge_proof: eq. (10),ℱ_t = 𝒢_t ∨ σ(X₁)fort ≥ 1(Section S2.4).
Linearity #
The Helmert vectors #
The coordinate k of the vector (1, …, 1, −j, 0, …, 0) with j leading ones. Up to the
factor {j(j + 1)}^{-1/2}, it is the Helmert vector ω_{j+1} of the proof of Lemma S2.
Instances For
The vector x^t = (x₁, …, x_t) of EuclideanSpace ℝ (Fin t) given by the first t
coordinates of a path x.
Equations
- LogOptimal.pathVec t x = WithLp.toLp 2 fun (k : Fin t) => x ↑k
Instances For
The Helmert vector ω_{j+1} of the proof of Lemma S2 as a path: t^{-1/2}(1, 1, …) for
j = 0, and {j(j + 1)}^{-1/2}(1, …, 1, −j, 0, …) with j leading ones for j ≥ 1.
Equations
Instances For
The Helmert vector ω_{j+1} of the proof of Lemma S2, in EuclideanSpace ℝ (Fin t):
ω₁ = t^{-1/2}(1, …, 1) and ω_{j+1} = {j(j + 1)}^{-1/2}(1, …, 1, −j, 0, …, 0) with j leading
ones for 1 ≤ j < t.
Equations
- LogOptimal.helmertRow t j = LogOptimal.pathVec t (LogOptimal.helmertPath t ↑j)
Instances For
Orthonormality #
The orthonormal basis (ω₁, …, ω_t) of Helmert vectors of the proof of Lemma S2
(Lancaster, 1965).
Equations
Instances For
Lemma S2(i) and (ii) #
The orthogonality of the Helmert basis gives ∑_j ⟨ω_j, x⟩² = ∑_{i=1}^t x_i².
Lemma S2(i), orthogonality: the map x ↦ (t^{1/2} x̄_t, y₂, …, y_t) preserves the
Euclidean norm.
Lemma S2(i): ∑_{i=1}^t (x_i − m)² = t(x̄_t − m)² + ∑_{i=2}^t y_i² for every m ∈ ℝ,
from the orthogonality applied to (x₁ − m, …, x_t − m).
The maximal invariant #
Maximal invariance (Section 4.1): Y^t = (Y₂, …, Y_t) takes the same value at x and
x' exactly when x'^t is a translation of x^t. If the values agree, the difference
x'^t − x^t is orthogonal to ω₂, …, ω_t, so its expansion in the Helmert basis is a multiple of
ω₁, a constant vector.
The data filtration as an initial enlargement, eq. (10) #
By Lemma S2(ii), x̄_j = x₁ + ∑_{i=2}^j y_i/{i(i − 1)}^{1/2} is a function of
(x₁, y₂, …, y_j) for 1 ≤ j ≤ t.
Equation (10): it follows from Lemma S2 that X^t and (X₁, Y₂, …, Y_t) are functions of
each other, so that ℱ_t = 𝒢_t ∨ σ(X₁) for t ≥ 1.