proofs
Provedalphabaguettebaguette-zv2

Every RMSNorm output coordinate satisfies |zᵢ| < √n

For all n∈N\htmlData{mx=1}{n \in \htmlData{mx=0}{\mathbb{N}}}, ε∈R\htmlData{mx=1}{\varepsilon \in \htmlData{mx=0}{\mathbb{R}}}, x:Fin⁡ n→R\htmlData{mx=5}{x : \htmlData{mx=2}{\htmlData{mx=0}{\operatorname{Fin}}\,\htmlData{mx=1}{n}} \mathrel{\htmlData{mx=4}{\to}} \htmlData{mx=3}{\mathbb{R}}} and i∈Fin⁡ n\htmlData{mx=3}{i \in \htmlData{mx=2}{\htmlData{mx=0}{\operatorname{Fin}}\,\htmlData{mx=1}{n}}}, if 0<n0 \mathrel{\htmlData{mx=1}{<}} \htmlData{mx=0}{n} and 0<ε0 \mathrel{\htmlData{mx=1}{<}} \htmlData{mx=0}{\varepsilon}, then

∣x(i)∑jx(j)2n+ε∣<n\htmlData{mx=14}{\left\lvert \htmlData{mx=13}{\frac{\htmlData{mx=2}{\htmlData{mx=0}{x}(\htmlData{mx=1}{i})}}{\htmlData{mx=12}{\sqrt{\htmlData{mx=11}{\htmlData{mx=9}{\frac{\htmlData{mx=7}{\sum_{j} \htmlData{mx=6}{\htmlData{mx=5}{\htmlData{mx=3}{x}(\htmlData{mx=4}{j})}^{2}}}}{\htmlData{mx=8}{n}}} + \htmlData{mx=10}{\varepsilon}}}}}} \right\rvert} \mathrel{\htmlData{mx=17}{<}} \htmlData{mx=16}{\sqrt{\htmlData{mx=15}{n}}}
What the notation means · or point at any symbol
NNatural numbers
The natural numbers 0, 1, 2, …. In Lean they start at 0. (ℕ)
<Less than
0 is strictly smaller than n. (0 < n)
RReal numbers
The real numbers: every point on the number line. (ℝ)
Fin
Fin: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (Fin)
f(x)Function application
Fin applied to n. Lean writes f x; papers write f(x). (Fin n)
⟹Implies
If Fin(n), then ℝ. (Between types, A → B is the type of functions from A to B.) (Fin n → ℝ)
|x|Absolute value
The size of x(i)/√((∑ j, x(j)^2)/n + ε) without its sign. (|x i / Real.sqrt ((∑ j, x j ^ 2) / n + …)
√Square root
The non-negative number whose square is (∑ j, x(j)^2)/n + ε. (Real.sqrt ((∑ j, x j ^ 2) / n + ε))
a/bDivision
∑ j, x(j)^2 divided by n. In Lean, dividing by 0 gives 0. ((∑ j, x j ^ 2) / n)
+Addition
(∑ j, x(j)^2)/n plus ε. ((∑ j, x j ^ 2) / n + ε)
∑Summation
Add up x(j)^2 for every j. (∑ j, x j ^ 2)
aᵇPower
x(j) raised to the power 2. (x j ^ 2)

For Baguette's existing pre-norm blocks (no architecture change), each normalized input coordinate is below √576 = 24. This is the input bound for the runtime residual certificate. Part of 'Baguette-Z v2' (revision after the hostile review).

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
24 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.

More proved statements