Provedproposal-principleattentionunifiedcrux
Conversion Theorem, end-to-end (abstract level form): per-level under-proposal ≤ c along every root-to-leaf path ⇒ π_j ≤ c^L r_j and Σ π_j²/r_j ≤ c^L for the induced proposal r_j = ∏_ℓ q_ℓj
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 J. Lean writes f x; papers write f(x). (
Fintype J) - NNatural numbers
- The natural numbers 0, 1, 2, …. In Lean they start at 0. (
ℕ) - x : TVariables
- m, q range over ℕ → J → ℝ: the statement must hold for every choice. (
(m q : ℕ → J → ℝ)) - ≤At most
- 0 is less than or equal to c. (
0 ≤ c) - ∀For all
- The statement after the comma holds for every j. (
∀ j, m 0 j = 1) - ∑Summation
- Add up π(j) for every j. (
∑ j, π j) - ∧And
- Both hold: ∀ j, π(j) ≤ c^L · (∏ ℓ, q(ℓ, j)), and (∑ j, π(j)^2/(∏ ℓ, q(ℓ, j))) ≤ c^L. (
(∀ j, π j ≤ c ^ L * ∏ ℓ ∈ Finset.range …) - ⟹Implies
- If J, then ℝ. (Between types, A → B is the type of functions from A to B.) (
J → ℝ) - =Equality
- m(0, j) and 1 are the same. (
m 0 j = 1) - <Less than
- 0 is strictly smaller than q(ℓ, j). (
0 < q ℓ j) - RReal numbers
- The real numbers: every point on the number line. (
ℝ) - aᵇPower
- c raised to the power L. (
c ^ L) - πPi
- The ratio of a circle's circumference to its diameter, ≈ 3.14159. (
π) - +Addition
- ℓ plus 1. (
ℓ + 1) - ∏Product
- Multiply together q(ℓ, j) for ℓ = 0, 1, …, L − 1. (
∏ ℓ ∈ Finset.range L, q ℓ j) - ·Multiplication
- c times q(ℓ, j). (
c * q ℓ j) - a/bDivision
- π(j)^2 divided by ∏ ℓ, q(ℓ, j). In Lean, dividing by 0 gives 0. (
π j ^ 2 / ∏ ℓ ∈ Finset.range L, q ℓ j)
theorem cv-end-to-end-abstract {J : Type} [Fintype J] {L : ℕ} (m q : ℕ → J → ℝ) (π : J → ℝ) (c : ℝ) (hc : 0 ≤ c) (hroot : ∀ j, m 0 j = 1) (hleaf : ∀ j, m L j = π j) (hπ : ∀ j, 0 ≤ π j) (hπs : ∑ j, π j = 1) (hq : ∀ ℓ j, 0 < q ℓ j) (hstep : ∀ ℓ j, ℓ < L → m (ℓ + 1) j ≤ c * q ℓ j * m ℓ j) :
(∀ j, π j ≤ c ^ L * ∏ ℓ ∈ Finset.range L, q ℓ j) ∧ ∑ j, π j ^ 2 / ∏ ℓ ∈ Finset.range L, q ℓ j ≤ c ^ LSingle-statement composition of cv-path-ratio and cv-ratio-to-chi-square by induction along the descent: masses m ℓ j (root 1, leaf π_j) and branch probabilities q ℓ j with m(ℓ+1) ≤ c·q·m(ℓ). With c = 1+2ε from smoothed additive-ε branch estimates (cv-smoothed-branch-ratio), L = ⌈log₂ n⌉ and ε = 1/L the χ² factor is ≤ e² (cv-log-depth-constant). The binary-tree instantiation (prefix masses telescoping; Σ_j r_j = 1 from complementary branch probabilities) remains prose; the technique is Jerrum–Valiant–Vazirani's counting ⇒ sampling descent. Part of 'The Proposal Principle: attention complexity is proposal complexity'.
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
- 34 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.