Provedalphabaguettealgorithm-ideab6
For x ≤ 0, |silu(x)| = |x·σ(x)| ≤ −x·eˣ
For all , if , then
What the notation means · or point at any symbol
- RReal numbers
- The real numbers: every point on the number line. (
ℝ) - ≤At most
- x is less than or equal to 0. (
x ≤ 0) - |x|Absolute value
- The size of x · (1 + exp(−x))⁻¹ without its sign. (
|x * (1 + Real.exp (-x))⁻¹|) - ·Multiplication
- x times (1 + exp(−x))⁻¹. (
x * (1 + Real.exp (-x))⁻¹) - x⁻¹Inverse
- The inverse of 1 + exp(−x): what undoes it (1/x for numbers). (
(1 + Real.exp (-x))⁻¹) - +Addition
- 1 plus exp(−x). (
1 + Real.exp (-x)) - eˣExponential function
- e raised to the power −x, where e ≈ 2.718. (
Real.exp (-x)) - −xNegation
- The negative of x. (
-x)
theorem silu-negative-tail-bound (x : ℝ) (hx : x ≤ 0) :
|x * (1 + Real.exp (-x))⁻¹| ≤ -x * Real.exp xIdea B6 (gate-first SwiGLU with certified unit skipping). Baguette's gate is silu(x) = x·(1 + e^{−x})⁻¹. For non-positive gate values its magnitude is bounded by −x·eˣ, which is tiny for strongly negative gates; this bounds a hidden unit's contribution before computing its up/down work.
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
- 18 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.