proofs
Provedunbiased-attentiongradient-hardnesssampler-lower-bound

Plant tuning: m e^R = n − m gives plant mass exactly 1/2, so the gradient gap is 1/4 at range R = ln((n−m)/m) = α ln n (1+o(1)) for m = n^{1−α}

For all m,n,R∈R\htmlData{mx=1}{m, n, R \in \htmlData{mx=0}{\mathbb{R}}}, if 0<m0 \mathrel{\htmlData{mx=1}{<}} \htmlData{mx=0}{m} and m⋅eR=n−m\htmlData{mx=3}{\htmlData{mx=0}{m} \cdot \htmlData{mx=2}{e^{\htmlData{mx=1}{R}}}} \mathrel{\htmlData{mx=7}{=}} \htmlData{mx=6}{\htmlData{mx=4}{n} - \htmlData{mx=5}{m}}, then

m⋅eRm⋅eR+(n−m)=12\htmlData{mx=12}{\frac{\htmlData{mx=3}{\htmlData{mx=0}{m} \cdot \htmlData{mx=2}{e^{\htmlData{mx=1}{R}}}}}{\htmlData{mx=11}{\htmlData{mx=7}{\htmlData{mx=4}{m} \cdot \htmlData{mx=6}{e^{\htmlData{mx=5}{R}}}} + (\htmlData{mx=10}{\htmlData{mx=8}{n} - \htmlData{mx=9}{m}})}}} \mathrel{\htmlData{mx=14}{=}} \htmlData{mx=13}{\frac{1}{2}}
What the notation means · or point at any symbol
RReal numbers
The real numbers: every point on the number line. (ℝ)
x ∈ TVariables
m, n, R range over real numbers: the statement must hold for every choice. ((m n R : ℝ))
<Less than
0 is strictly smaller than m. (0 < m)
·Multiplication
m times exp(R). (m * Real.exp R)
=Equality
m · exp(R) and n − m are the same. (m * Real.exp R = n - m)
a/bDivision
m · exp(R) divided by m · exp(R) + (n − m). In Lean, dividing by 0 gives 0. ((m * Real.exp R) / (m * Real.exp R + (n…)
eˣExponential function
e raised to the power R, where e ≈ 2.718. (Real.exp R)
-Subtraction
n minus m. On ℕ, Lean's subtraction stops at 0: 2 − 5 = 0. (n - m)
+Addition
m · exp(R) plus n − m. (m * Real.exp R + (n - m))

The gradient lower bound lives at the same score range as the forward threshold. Part of 'Unbiased randomized attention: cost x variance thresholds', gradient-hardness round: the unconditional sampler lower bound transferred to the query gradient.

How it was proved

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

More proved statements