Provedbalanced-conversionconversion-theoremattention-compute-lawlower-bound
Partial-knowledge lower bound: knowing the biases on all but u levels, every single proposal has family-average Σπ²/r ≥ (1+4ε²)^u
For all , , and , if and , then
What the notation means · or point at any symbol
- NNatural numbers
- The natural numbers 0, 1, 2, …. In Lean they start at 0. (
ℕ) - 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 L. Lean writes f x; papers write f(x). (
Fin L) - ⟹Implies
- If Fin(L), then Bool. (Between types, A → B is the type of functions from A to B.) (
Fin L → Bool) - x : TVariables
- known, τ range over Fin L → Bool: the statement must hold for every choice. (
(known τ : Fin L → Bool)) - ∀For all
- The statement after the comma holds for every b. (
∀ b, 0 < r b) - ∑Summation
- Add up r(b) for every b. (
∑ b, r b) - =Equality
- ∑ b, r(b) and 1 are the same. (
∑ b, r b = 1) - ≤At most
- (1 + 4 · ε^2)^card(filter(ℓ ↦ known(ℓ) = false)) is less than or equal to 1/2^L · (∑ σ, ∑ b, (∏ ℓ, 1/2 + ε if τ(ℓ) = b(ℓ), else 1/2 …. (
(1 + 4 * ε ^ 2) ^ (Finset.univ.filter (…) - +Addition
- 1 plus 4 · ε^2. (
1 + 4 * ε ^ 2) - <Less than
- 0 is strictly smaller than r(b). (
0 < r b) - ·Multiplication
- 4 times ε^2. (
4 * ε ^ 2) - Bool
- Bool: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
Bool) - aᵇPower
- ε raised to the power 2. (
ε ^ 2) - |s|Cardinality
- The number of elements of filter(ℓ ↦ known(ℓ) = false). (
(Finset.univ.filter (fun ℓ => known ℓ =…) - filter
- Finset.univ.filter: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
Finset.univ.filter) - x ↦ f(x)Function (λ-abstraction)
- The function sending ℓ to known(ℓ) = false. Lean writes fun x => …; papers write x ↦ …. (
fun ℓ => known ℓ = false) - false
- false: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
false) - a/bDivision
- 1 divided by 2^L. In Lean, dividing by 0 gives 0. (
1 / 2 ^ L) - ∏Product
- Multiply together 1/2 + ε if τ(ℓ) = b(ℓ), else 1/2 − ε if known(ℓ), else 1/2… for every ℓ. (
∏ ℓ, (if known ℓ then (if τ ℓ = b ℓ the…) - { a if c; b otherwiseCases (if … then … else)
- 1/2 + ε when τ(ℓ) = b(ℓ), and 1/2 − ε otherwise. (
if τ ℓ = b ℓ then 1 / 2 + ε else 1 / 2 …) - -Subtraction
- 1/2 minus ε. On ℕ, Lean's subtraction stops at 0: 2 − 5 = 0. (
1 / 2 - ε)
theorem bc2-partial-knowledge-lower-bound (L : ℕ) (ε : ℝ) (known τ : Fin L → Bool) (r : (Fin L → Bool) → ℝ) (hr : ∀ b, 0 < r b) (hrs : ∑ b, r b = 1) :
(1 + 4 * ε ^ 2) ^ (Finset.univ.filter (fun ℓ => known ℓ = false)).card ≤ (1 / 2 ^ L) * ∑ σ : Fin L → Bool, ∑ b : Fin L → Bool, (∏ ℓ, (if known ℓ then (if τ ℓ = b ℓ then 1 / 2 + ε else 1 / 2 - ε) else (if σ ℓ = b ℓ then 1 / 2 + ε else 1 / 2 - ε))) ^ 2 / r bPer-level formal version of the general-query candidate: an algorithm that has learned the biases of some levels still pays (1+4ε²) per unknown level. The candidate that polylog additive-ε queries leave L − O(log log n) node signs unknown would make the n^{Θ(ε²)} deterministic residual tight in general; that step is recorded as open. 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
- 79 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.