Stage 9: generic Euclidean telescoping algebra #
These lemmas contain no OGM-G certificate assumption. They expose the
recursively generated auxiliary p sequence and the exact polarization used
by the finite-data identity.
The sum of gradients before index k, weighted by the certificate increments.
Equations
- O3.stage9WeightedGradient delta g k = ∑ j ∈ Finset.range k, delta j • g j
Instances For
theorem
O3.stage9_pairing_summation_by_parts
{d : ℕ}
(delta : ℕ → ℝ)
(g v : ℕ → Vec d)
(n : ℕ)
:
∑ i ∈ Finset.range n, delta i * pairing (g i) (v n - v i) = ∑ k ∈ Finset.range n, pairing (stage9WeightedGradient delta g (k + 1)) (v (k + 1) - v k)
Discrete summation by parts for the second pairing sum in the frozen certificate.
theorem
O3.stage9_delta_gradient_sum
{d : ℕ}
(N : ℕ)
(theta kappa delta : ℕ → ℝ)
(g : ℕ → Vec d)
(hθ : ∀ (k : ℕ), theta k ≠ 0)
(hδ : ∀ k < N, delta k = kappa (k + 1) / theta k)
(hκ : ∀ k < N, kappa k = kappa (k + 1) * (1 - 1 / theta k))
(k : ℕ)
:
The partial weighted gradient sum equals kappa_k p_k whenever the
two exact scalar coefficient recurrences hold.