Provedbalanced-conversionconversion-theoremattention-compute-lawlower-bound
Descent recursion: Σ_c (p_c²/q_c) X(c) ≤ (Σ_c p_c²/q_c) · max X(c)
For all , and , if , , and (given ), then
What the notation means · or point at any symbol
- Type
- Type: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
Type) - Fintype
- Fintype: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
Fintype) - f(x)Function application
- Fintype applied to C. Lean writes f x; papers write f(x). (
Fintype C) - ⟹Implies
- If C, then ℝ. (Between types, A → B is the type of functions from A to B.) (
C → ℝ) - x : TVariables
- p, q, X range over C → ℝ: the statement must hold for every choice. (
(p q X : C → ℝ)) - ∀For all
- The statement after the comma holds for every c. (
∀ c, 0 < q c) - ∑Summation
- Add up p(c)^2/q(c) · X(c) for every c. (
∑ c, p c ^ 2 / q c * X c) - RReal numbers
- The real numbers: every point on the number line. (
ℝ) - <Less than
- 0 is strictly smaller than q(c). (
0 < q c) - ≤At most
- X(c) is less than or equal to M. (
X c ≤ M) - aᵇPower
- p(c) raised to the power 2. (
p c ^ 2) - a/bDivision
- p(c)^2 divided by q(c). In Lean, dividing by 0 gives 0. (
p c ^ 2 / q c) - ·Multiplication
- p(c)^2/q(c) times X(c). (
p c ^ 2 / q c * X c)
theorem bc2-recursion-step {C : Type} [Fintype C] (p q X : C → ℝ) (M : ℝ) (hq : ∀ c, 0 < q c) (hX : ∀ c, X c ≤ M) (hXnn : ∀ c, 0 ≤ X c) (hM : 0 ≤ M) :
∑ c, p c ^ 2 / q c * X c ≤ (∑ c, p c ^ 2 / q c) * MThe chi-square of a tree proposal satisfies X(v) = Σ_c (p_c²/q_c) X(c); bounding the children by M gives X(v) ≤ (node factor) · M. Part of Balanced Conversion: the Conversion Theorem's two-way descent factor is exactly 1 + (p−q)²/(q(1−q)), so additive oracle error is second order at mass-balanced nodes; a mass-balanced descent converts any deterministic additive-ε oracle with loss n^{O(ε²)}, and the biased product family shows this is tight. Quantifies the last residual class of the Attention Compute Law.
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
- 11 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.