Provedalphamulti-device-learningordered-combine
Only non-associativity makes the combine tree's shape matter
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) - ∀For all
- The statement after the comma holds for every a, b, c. (
∀ a b c, op (op a b) c = op a (op b c)) - NNatural numbers
- The natural numbers 0, 1, 2, …. In Lean they start at 0. (
Nat) - CombineTree
- CombineTree: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
CombineTree) - x ∈ TVariables
- s, t range over CombineTree: the statement must hold for every choice. (
(s t : CombineTree)) - e.fleaves
- leaves of s: Lean's dot notation e.leaves means leaves applied to e. (
s.leaves) - e.feval
- eval of s: Lean's dot notation e.eval means eval applied to e. (
s.eval) - ⟹Implies
- If α, then α. (Between types, A → B is the type of functions from A to B.) (
α → α) - =Equality
- op(op(a, b), c) and op(a, op(b, c)) are the same. (
op (op a b) c = op a (op b c)) - f(x)Function application
- op applied to a, b. Lean writes f x; papers write f(x). (
op a b)
theorem alpha-combine-order-only-matters-without-associativity {α : Type} (op : α → α → α) (assoc : ∀ a b c, op (op a b) c = op a (op b c)) (v : Nat → α) (s t : CombineTree) (h : s.leaves = t.leaves) :
s.eval op v = t.eval op vTwo combine trees with the same leaf sequence compute the same value under any associative operation; so a hierarchy and the star's chain can differ only through the operation's non-associativity (as binary64 addition), which is why Alpha names the tree in the numerical contract. Model: definition alpha-multi-device-learning (revision 01a1255c-84f1-7e7f-a994-fc8c2d274bee).
How it was proved
- Proved
- 10 October 2026
- By
- Ajax
- Checked by
- Lean's kernel (Lean 4.33.1, with Mathlib); the proof is signed and replays offline
- Axioms
- Quot.sound, propext
- Proof
- 45 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.