proofs
Provedattentionadaptive-informationfinite-probability

Adaptive fresh-probe bound from pointwise mean and MSE

For all ι,κ:Type⁡⋅\htmlData{mx=2}{\iota, \kappa : \htmlData{mx=1}{\htmlData{mx=0}{\operatorname{Type}} \cdot }}, s∈Finset⁡ ι\htmlData{mx=3}{s \in \htmlData{mx=2}{\htmlData{mx=0}{\operatorname{Finset}}\,\htmlData{mx=1}{\iota}}}, A∈Finset⁡ κ\htmlData{mx=3}{A \in \htmlData{mx=2}{\htmlData{mx=0}{\operatorname{Finset}}\,\htmlData{mx=1}{\kappa}}}, w:κ→R\htmlData{mx=3}{w : \htmlData{mx=0}{\kappa} \mathrel{\htmlData{mx=2}{\to}} \htmlData{mx=1}{\mathbb{R}}}, t:κ→RevealTree⁡ ι s\htmlData{mx=6}{t : \htmlData{mx=0}{\kappa} \mathrel{\htmlData{mx=5}{\to}} \htmlData{mx=4}{\htmlData{mx=1}{\operatorname{RevealTree}}\,\htmlData{mx=2}{\iota}\,\htmlData{mx=3}{s}}}, Y:κ→(ι→R)→R\htmlData{mx=7}{Y : \htmlData{mx=0}{\kappa} \mathrel{\htmlData{mx=6}{\to}} (\htmlData{mx=1}{\iota} \mathrel{\htmlData{mx=3}{\to}} \htmlData{mx=2}{\mathbb{R}}) \mathrel{\htmlData{mx=5}{\to}} \htmlData{mx=4}{\mathbb{R}}}, a:ι→R\htmlData{mx=3}{a : \htmlData{mx=0}{\iota} \mathrel{\htmlData{mx=2}{\to}} \htmlData{mx=1}{\mathbb{R}}} and epsilon∈R\htmlData{mx=1}{\mathit{epsilon} \in \htmlData{mx=0}{\mathbb{R}}}, if 0<epsilon0 \mathrel{\htmlData{mx=1}{<}} \htmlData{mx=0}{\mathit{epsilon}}, ∀r∈A, 0≤w(r)\htmlData{mx=5}{\forall r \in \htmlData{mx=4}{A},\ 0 \mathrel{\htmlData{mx=3}{\leq}} \htmlData{mx=2}{\htmlData{mx=0}{w}(\htmlData{mx=1}{r})}}, ∑r∈Aw(r)=1\htmlData{mx=4}{\sum_{r \in \htmlData{mx=0}{A}} \htmlData{mx=3}{\htmlData{mx=1}{w}(\htmlData{mx=2}{r})}} \mathrel{\htmlData{mx=5}{=}} 1, ∀u∈powerset⁡(s), (∑r∈Aw(r)⋅Y(r,execute⁡(t(r),u)))=signTarget⁡(s,a,u)\htmlData{mx=24}{\forall u \in \htmlData{mx=23}{\operatorname{powerset}\left(\htmlData{mx=22}{s}\right)},\ \left(\htmlData{mx=14}{\sum_{r \in \htmlData{mx=0}{A}} \htmlData{mx=13}{\htmlData{mx=3}{\htmlData{mx=1}{w}(\htmlData{mx=2}{r})} \cdot \htmlData{mx=12}{\htmlData{mx=4}{Y}(\htmlData{mx=5}{r}, \htmlData{mx=11}{\htmlData{mx=6}{\operatorname{execute}}(\htmlData{mx=9}{\htmlData{mx=7}{t}(\htmlData{mx=8}{r})}, \htmlData{mx=10}{u})})}}}\right) \mathrel{\htmlData{mx=20}{=}} \htmlData{mx=19}{\htmlData{mx=15}{\operatorname{signTarget}}(\htmlData{mx=16}{s}, \htmlData{mx=17}{a}, \htmlData{mx=18}{u})}} and ∀u∈powerset⁡(s), (∑r∈Aw(r)⋅(Y(r,execute⁡(t(r),u))−signTarget⁡(s,a,u))2)≤epsilon2\htmlData{mx=28}{\forall u \in \htmlData{mx=27}{\operatorname{powerset}\left(\htmlData{mx=26}{s}\right)},\ \left(\htmlData{mx=21}{\sum_{r \in \htmlData{mx=0}{A}} \htmlData{mx=20}{\htmlData{mx=3}{\htmlData{mx=1}{w}(\htmlData{mx=2}{r})} \cdot \htmlData{mx=19}{(\htmlData{mx=18}{\htmlData{mx=12}{\htmlData{mx=4}{Y}(\htmlData{mx=5}{r}, \htmlData{mx=11}{\htmlData{mx=6}{\operatorname{execute}}(\htmlData{mx=9}{\htmlData{mx=7}{t}(\htmlData{mx=8}{r})}, \htmlData{mx=10}{u})})} - \htmlData{mx=17}{\htmlData{mx=13}{\operatorname{signTarget}}(\htmlData{mx=14}{s}, \htmlData{mx=15}{a}, \htmlData{mx=16}{u})}})^{2}}}}\right) \mathrel{\htmlData{mx=24}{\leq}} \htmlData{mx=23}{\htmlData{mx=22}{\mathit{epsilon}}^{2}}} (given DecidableEq⁡ ι\htmlData{mx=2}{\htmlData{mx=0}{\operatorname{DecidableEq}}\,\htmlData{mx=1}{\iota}}), then

(∑j∈s∣a(j)∣)2epsilon2+∑j∈s(a(j))2≤∑r∈Aw(r)⋅revealCount⁡(t(r))\begin{aligned} & \htmlData{mx=17}{\frac{\htmlData{mx=7}{\left(\htmlData{mx=6}{\sum_{j \in \htmlData{mx=1}{s}} \htmlData{mx=5}{\left\lvert \htmlData{mx=4}{\htmlData{mx=2}{a}(\htmlData{mx=3}{j})} \right\rvert}}\right)^{2}}}{\htmlData{mx=16}{\htmlData{mx=9}{\htmlData{mx=8}{\mathit{epsilon}}^{2}} + \htmlData{mx=15}{\sum_{j \in \htmlData{mx=10}{s}} \htmlData{mx=14}{(\htmlData{mx=13}{\htmlData{mx=11}{a}(\htmlData{mx=12}{j})})^{2}}}}}} \\ & \quad \htmlData{mx=0}{\leq} \htmlData{mx=28}{\sum_{r \in \htmlData{mx=18}{A}} \htmlData{mx=27}{\htmlData{mx=21}{\htmlData{mx=19}{w}(\htmlData{mx=20}{r})} \cdot \htmlData{mx=26}{\htmlData{mx=22}{\operatorname{revealCount}}(\htmlData{mx=25}{\htmlData{mx=23}{t}(\htmlData{mx=24}{r})})}}} \end{aligned}
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*)
x : TVariables
ι, κ range over Type*: the statement must hold for every choice. ((ι κ : Type*))
DecidableEq
DecidableEq: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (DecidableEq)
f(x)Function application
DecidableEq applied to ι. Lean writes f x; papers write f(x). (DecidableEq ι)
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)
⟹Implies
If κ, then ℝ. (Between types, A → B is the type of functions from A to B.) (κ → ℝ)
<Less than
0 is strictly smaller than epsilon. (0 < epsilon)
∀For all
The statement after the comma holds for every r. (∀ r ∈ A, 0 ≤ w r)
∑Summation
Add up w(r) for each r in A. (∑ r ∈ A, w r)
=Equality
∑ r, w(r) and 1 are the same. (∑ r ∈ A, w r=1)
a/bDivision
(∑ j, |a(j)|)^2 divided by epsilon^2 + (∑ j, a(j)^2). In Lean, dividing by 0 gives 0. ((∑ j ∈ s, |a j|)^2/(epsilon^2+∑ j ∈ s, …)
RReal numbers
The real numbers: every point on the number line. (ℝ)
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)
e.fpowerset
powerset of s: Lean's dot notation e.powerset means powerset applied to e. (s.powerset)
≤At most
0 is less than or equal to w(r). (0 ≤ w r)
|x|Absolute value
The size of a(j) without its sign. (|a j|)
+Addition
epsilon^2 plus ∑ j, a(j)^2. (epsilon^2+∑ j ∈ s, (a j)^2)
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)
aᵇPower
Y(r, execute(t(r), u)) − signTarget(s, a, u) raised to the power 2. ((Y r (execute (t r) u)-signTarget s a u…)
-Subtraction
Y(r, execute(t(r), u)) minus signTarget(s, a, u). On ℕ, Lean's subtraction stops at 0: 2 − 5 = 0. (Y r (execute (t r) u)-signTarget s a u)
signTarget
signTarget: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (signTarget)
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)

Complete finite independent-seed execution: unread-sign covariance, adaptive orthogonality and billed read count are derived. Pointwise unbiasedness and MSE are the statistical hypotheses. This is the finite sign-information core, not the whole exponential-attention 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
20 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.

More proved statements