Provedattentioninnovationexternal-review-3
Surrogate innovation: exact mean-error bias algebra
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) - ⟹Implies
- If J, then ℝ. (Between types, A → B is the type of functions from A to B.) (
J → ℝ) - x : TVariables
- r, a, b, v range over J → ℝ: the statement must hold for every choice. (
(r a b v : J → ℝ)) - x ∈ TVariables
- p, B, c, o, e range over real numbers: the statement must hold for every choice. (
(p B c o e : ℝ)) - ≠Not equal
- p and 0 are different. (
p ≠ 0) - ∑Summation
- Add up r(j) · a(j) for every j. (
∑ j, r j * a j) - =Equality
- ∑ j, r(j) · a(j) and p are the same. (
∑ j, r j * a j = p) - +Addition
- c plus e. (
c + e) - RReal numbers
- The real numbers: every point on the number line. (
ℝ) - ·Multiplication
- r(j) times a(j). (
r j * a j) - a/bDivision
- ∑ j, r(j) · ((a(j) − b(j)) · (v(j) − (c + e))) divided by p. In Lean, dividing by 0 gives 0. (
(∑ j, r j * ((a j - b j) * (v j - (c + …) - -Subtraction
- a(j) minus b(j). On ℕ, Lean's subtraction stops at 0: 2 − 5 = 0. (
a j - b j)
theorem innov-surrogate-mean-error {J : Type} [Fintype J] (r a b v : J → ℝ) (p B c o e : ℝ) (hp0 : p ≠ 0) (hp : ∑ j, r j * a j = p) (hB : ∑ j, r j * b j = B) (hg : ∑ j, r j * ((a j - b j) * (v j - c)) = p * (o - c)) :
c + e + (∑ j, r j * ((a j - b j) * (v j - (c + e)))) / p - o = B / p * eFinite scalar aggregate identity giving B/p times a surrogate mean error. The infinite-horizon expectation argument is a separate paper proof.
How it was proved
- Proved
- 6 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
- 15 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.