Documentation

LeanPool.ParameterFreeGradient.O3.Stage9Pairing

Stage 9: quadratic pairing certificate #

This module proves the pairing balance required by the finite-data certificate from the actual auxiliary recurrence. The balance is a theorem, not a field of the final statement.

noncomputable def O3.stage9PairTerm {d : ℕ} (g v : ℕ → Vec d) (i j : ℕ) :

The gradient at index j paired with the difference of the two indexed points.

Equations
Instances For
    theorem O3.stage9_pairingAggregate_eq_edgeSum {d : ℕ} (n : ℕ) (kappa delta : ℕ → ℝ) (g v : ℕ → Vec d) (hdelta : ∀ (i : ℕ), delta i = Stage9Certificate.ogmgDelta kappa i) (hweighted : ∀ k ≤ n, stage9WeightedGradient delta g k = kappa k • stage9P (stage9Theta n) g k) :
    Stage9Certificate.ogmgPairingAggregate n kappa (stage9PairTerm g v) = ∑ k ∈ Finset.range n, kappa (k + 1) * pairing (stage9P (stage9Theta n) g (k + 1) - g (k + 1)) (v (k + 1) - v k)

    The two pairing sums combine into one edge sum after discrete summation by parts and the exact weighted-gradient identity.

    theorem O3.stage9_pairing_balance {d : ℕ} (n : ℕ) (hn : 1 ≤ n) (M : ℝ) (hM : M ≠ 0) (g v : ℕ → Vec d) (hvelocity : ∀ (k : ℕ), 1 ≤ k → k ≤ n → M • (v k - v (k - 1)) = -stage9Theta n k • (stage9P (stage9Theta n) g k + stage9P (stage9Theta n) g (k + 1))) :

    Native proof of the exact quadratic balance in the source certificate.