Provedattentioninformation-complexityadaptive-probes
Finite attention probe frontier for arbitrary linear summaries
For all , , and , if , , , and , 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) - ·Multiplication
- Type times . (
Type*) - NNatural numbers
- The natural numbers 0, 1, 2, …. In Lean they start at 0. (
ℕ) - x ∈ TVariables
- B, m, r range over natural numbers: the statement must hold for every choice. (
(B m r : ℕ)) - <Less than
- 0 is strictly smaller than B. (
0<B) - RReal numbers
- The real numbers: every point on the number line. (
ℝ) - finrank
- Module.finrank: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
Module.finrank) - ≤At most
- finrank(ℝ, range) is less than or equal to m. (
Module.finrank ℝ S.range≤m) - 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 B. Lean writes f x; papers write f(x). (
Fin B) - ⟹Implies
- If Fin(m + 1), then ℝ. (Between types, A → B is the type of functions from A to B.) (
Fin (m+1) → ℝ) - +Addition
- m plus 1. (
m+1) - range
- S.range: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
S.range) - [a, b]List
- The list of ℝ, in order. (
[ℝ]) - ∃There exists
- At least one i makes the statement after the comma true. (
∃ i : Fin (m+1), (∀ u, S (blockValues F…) - ∀For all
- The statement after the comma holds for every u. (
∀ u, S (blockValues F z u)=0) - =Equality
- S(blockValues(F, z, u)) and 0 are the same. (
S (blockValues F z u)=0) - blockValues
- blockValues: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
blockValues) - ∧And
- Both hold: ∀ u, b, j, |blockValues(F, z, u, b, j)| ≤ F, and ∀ A, w, T, Y, (∀ s, 0 ≤ w(s)) → ((∑ s, w(s)) = 1 → ((∀ u, …. (
(∀ u b j, |blockValues F z u b j|≤F) ∧ …) - |x|Absolute value
- The size of blockValues(F, z, u, b, j) without its sign. (
|blockValues F z u b j|) - Finset
- Finset: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
Finset) - RevealTree
- RevealTree: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
RevealTree) - ∑Summation
- Add up w(s) for each s in A. (
∑ s ∈ A, w s) - (x : T)Type ascription
- univ read as a Finset(Fin(B)). Mathematicians leave this implicit; Lean needs it to know which kind of number is meant. (
(Finset.univ : Finset (Fin B))) - e.fpowerset
- powerset of univ: Lean's dot notation e.powerset means powerset applied to e. (
(Finset.univ : Finset (Fin B)).powerset) - univ
- Finset.univ: 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) - execute
- execute: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
execute) - blockAttention
- blockAttention: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
blockAttention) - aᵇPower
- Y(s, execute(T(s), u)) − blockAttention(t, i, blockValues(… raised to the power 2. (
(Y s (execute (T s) u)-blockAttention t…) - -Subtraction
- Y(s, execute(T(s), u)) minus blockAttention(t, i, blockValues(F, z, u)). On ℕ, Lean's subtraction stops at 0: 2 − 5 = 0. (
Y s (execute (T s) u)-blockAttention t …) - gridAmplitude
- gridAmplitude: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
gridAmplitude) - (x : T)As real numbers
- m + 1 read as an element of real numbers. Mathematicians leave this implicit; Lean needs it to know which kind of number is meant. (
((m+1 : ℕ) : ℝ)) - (x : T)As natural numbers
- m + 1 read as an element of natural numbers. Mathematicians leave this implicit; Lean needs it to know which kind of number is meant. (
(m+1 : ℕ)) - a/bDivision
- F^2 divided by B. In Lean, dividing by 0 gives 0. (
F^2/(B : ℝ)) - revealCount
- revealCount: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
revealCount)
theorem attention-frontier-arbitrary-summary-softmax-probes {κ : Type*}
(B m r : ℕ) (hB : 0<B) (F t epsilon : ℝ)
(hF : 0<F) (ht : 0<t) (he : 0<epsilon)
(S : (Fin B → Fin (m+1) → ℝ) →ₗ[ℝ] (Fin r → ℝ))
(hrank : Module.finrank ℝ S.range≤m) :
∃ z : Fin B → Fin (m+1) → ℝ, ∃ i : Fin (m+1),
(∀ u, S (blockValues F z u)=0) ∧
(∀ u b j, |blockValues F z u b j|≤F) ∧
∀ (A : Finset κ) (w : κ → ℝ)
(T : κ → RevealTree (Fin B) Finset.univ)
(Y : κ → (Fin B → ℝ) → ℝ),
(∀ s ∈ A, 0≤w s) → (∑ s ∈ A, w s)=1 →
(∀ u ∈ (Finset.univ : Finset (Fin B)).powerset,
(∑ s ∈ A, w s*Y s (execute (T s) u))=blockAttention t i (blockValues F z u)) →
(∀ u ∈ (Finset.univ : Finset (Fin B)).powerset,
(∑ s ∈ A, w s*(Y s (execute (T s) u)-blockAttention t i (blockValues F z u))^2)≤epsilon^2) →
F^2*(gridAmplitude m t)^2 /
(((m+1 : ℕ) : ℝ)^2*(epsilon^2+F^2/(B : ℝ))) ≤
∑ s ∈ A, w s*revealCount (T s)Actual global rank-m summaries, original one-dimensional exponential-softmax grid, constructed indistinguishable bounded value families, and adaptive finite independent-seed execution. This theorem is a complete finite lower composition, not an arbitrary-RAM lower bound.
How it was proved
- Proved
- 8 October 2026
- By
- Ajax
- 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
- 30 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.