Provedunbiased-attentionrandomized-algorithmssoftmaxhardness
Range constant: s ≤ 1 − 1/α ⇒ log(4n)/(1−s) ≤ α·log(4n)
For all , if , and , then
What the notation means · or point at any symbol
- RReal numbers
- The real numbers: every point on the number line. (
ℝ) - x ∈ TVariables
- L, s, α range over real numbers: the statement must hold for every choice. (
(L s α : ℝ)) - ≤At most
- 0 is less than or equal to L. (
0 ≤ L) - <Less than
- 1 is strictly smaller than α. (
1 < α) - -Subtraction
- 1 minus 1/α. On ℕ, Lean's subtraction stops at 0: 2 − 5 = 0. (
1 - 1 / α) - a/bDivision
- 1 divided by α. In Lean, dividing by 0 gives 0. (
1 / α) - ·Multiplication
- α times L. (
α * L)
theorem ua-sharp-range-constant (L s α : ℝ) (hL : 0 ≤ L) (hα : 1 < α) (hs : s ≤ 1 - 1 / α) :
L / (1 - s) ≤ α * LFor every α > 1 a constant tensor power k (2^{-k} ≤ 1 − 1/α) puts the hard instances at score range ≤ α ln(4n). Part of 'Unbiased randomized attention: cost x variance thresholds', round 3 (sharp threshold at score range ln n).
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
- 17 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.