Price tree theorem: every valid Euclid pair is reached from `(2,1)` by a
ProvedBerggrenPrice.price_treeaether-catalogalgebra
Price tree theorem: every valid Euclid pair is reached from (2,1) by a
unique word of Price generators.
theorem BerggrenPrice.price_tree(v : Node) (hv : IsNode v) :
∃! w : List (Fin 3), applyWord price w root = v := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Algebra/BerggrenPriceInterlock/Trees.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Algebra/BerggrenPriceInterlock/Trees.lean import Mathlib import Definitions.Def_Algebra_BerggrenPriceInterlock_Core import Definitions.Def_Algebra_BerggrenPriceInterlock_Trees /-! # Berggren–Price interlock, Part II: the two trees over one vertex set In Euclid parameters `(m,n)` the Barning–Hall–**Berggren** tree is generated by `bA (m,n) = (2m - n, m)`, `bB (m,n) = (2m + n, m)`, `bC (m,n) = (m + 2n, n)`, with `2×2` determinants `+1, -1, +1`, while **Price**'s tree is generated by `pA (m,n) = (2m, m - n)`, `pB (m,n) = (2m, m + n)`, `pC (m,n) = (m + n, 2n)`, with determinants `-2, +2, +2`. Both are ternary trees on the *same* vertex set `IsNode` with the *same* root `(2,1)`: this is the "interlock". ## Main results * `isNode_berg`, `isNode_price` — the six generators preserve valid Euclid parameters (the delicate point for Price is that determinant `±2` still preserves coprimality, because opposite parity forces the gcd to be odd). * `berg_parent`, `price_parent` — the two descent (parent) rules: Berggren compares `m` with `2n` and `3n` (continued-fraction style), Price halves `m` or `n` (binary-GCD style). * `berg_tree`, `price_tree` — every node is reached from `(2,1)` by a **unique** word in each tree. -/ open BerggrenPrice /-! ### The six generators -/ /-! ### The generators preserve nodes -/ /-! ### The size `m + n` strictly increases -/ /-! ### Injectivity and disjointness of the three subtrees -/ /-! ### The two descent (parent) rules -/ /-! ### The two tree theorems -/
Formal statement
theorem BerggrenPrice.price_tree(v : Node) (hv : IsNode v) :
∃! w : List (Fin 3), applyWord price w root = v := by sorrySource