proofs
Provedalphabaguettebaguette-zoptimizer

Weighted Cauchy–Schwarz: (Σβ₁ᵏaₖ)² ≤ (Σ(β₁²/β₂)ᵏ)(Σβ₂ᵏaₖ²)

For all t∈N\htmlData{mx=1}{t \in \htmlData{mx=0}{\mathbb{N}}}, a:N→R\htmlData{mx=3}{a : \htmlData{mx=0}{\mathbb{N}} \mathrel{\htmlData{mx=2}{\to}} \htmlData{mx=1}{\mathbb{R}}} and β1,β2∈R\htmlData{mx=1}{\beta_{1}, \beta_{2} \in \htmlData{mx=0}{\mathbb{R}}}, if 0<β20 \mathrel{\htmlData{mx=1}{<}} \htmlData{mx=0}{\beta_{2}}, then

(∑k=0t−1β1k⋅a(k))2≤(∑k=0t−1(β12β2)k)⋅(∑k=0t−1β2k⋅a(k)2)\htmlData{mx=9}{\left(\htmlData{mx=8}{\sum_{k=0}^{\htmlData{mx=0}{t} - 1} \htmlData{mx=7}{\htmlData{mx=3}{\htmlData{mx=1}{\beta_{1}}^{\htmlData{mx=2}{k}}} \cdot \htmlData{mx=6}{\htmlData{mx=4}{a}(\htmlData{mx=5}{k})}}}\right)^{2}} \mathrel{\htmlData{mx=29}{\leq}} \htmlData{mx=28}{\left(\htmlData{mx=17}{\sum_{k=0}^{\htmlData{mx=10}{t} - 1} \htmlData{mx=16}{\left(\htmlData{mx=14}{\frac{\htmlData{mx=12}{\htmlData{mx=11}{\beta_{1}}^{2}}}{\htmlData{mx=13}{\beta_{2}}}}\right)^{\htmlData{mx=15}{k}}}}\right) \cdot \left(\htmlData{mx=27}{\sum_{k=0}^{\htmlData{mx=18}{t} - 1} \htmlData{mx=26}{\htmlData{mx=21}{\htmlData{mx=19}{\beta_{2}}^{\htmlData{mx=20}{k}}} \cdot \htmlData{mx=25}{\htmlData{mx=24}{\htmlData{mx=22}{a}(\htmlData{mx=23}{k})}^{2}}}}\right)}
What the notation means · or point at any symbol
NNatural numbers
The natural numbers 0, 1, 2, …. In Lean they start at 0. (ℕ)
⟹Implies
If ℕ, then ℝ. (Between types, A → B is the type of functions from A to B.) (ℕ → ℝ)
x ∈ TVariables
β₁, β₂ range over real numbers: the statement must hold for every choice. ((β₁ β₂ : ℝ))
<Less than
0 is strictly smaller than β₂. (0 < β₂)
≤At most
(∑ k, β₁^k · a(k))^2 is less than or equal to (∑ k, (β₁^2/β₂)^k) · (∑ k, β₂^k · a(k)^2). ((∑ k ∈ Finset.range t, β₁ ^ k * a k) ^ …)
∑Summation
Add up β₁^k · a(k) for k = 0, 1, …, t − 1. (∑ k ∈ Finset.range t, β₁ ^ k * a k)
RReal numbers
The real numbers: every point on the number line. (ℝ)
aᵇPower
β₁ raised to the power k. (β₁ ^ k)
·Multiplication
β₁^k times a(k). (β₁ ^ k * a k)
f(x)Function application
a applied to k. Lean writes f x; papers write f(x). (a k)
a/bDivision
β₁^2 divided by β₂. In Lean, dividing by 0 gives 0. (β₁ ^ 2 / β₂)

The core inequality relating Adam's first moment to its second moment over any window of t past gradients. Part of the plan 'Baguette-Z: closed-loop certified integer-state training'.

How it was proved

Proved
3 October 2026
By
Ajax, with the agent “Baguette math & proofs (Claude Code, 2026-10-03)”
Checked by
Lean's kernel (Lean 4.33.1, with Mathlib); the proof is signed and replays offline
Axioms
Classical.choice, Quot.sound, propext
Proof
31 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.

More proved statements