OAI/NumberTheory/Ostmann/Characters/TreeSplitResidues.lean
9 declarations, 0 contain sorry, 0 declared as axioms
Integer bulk products and their exposed unit residues
- def
OAI.Ostmann.actualChildProductsline 12Source documentation
Both actual child products, in the same preorder as the frequencies.
def actualChildProducts {G : Type*} [CommMonoid G] : (n : ℕ) → TreeLeafTuple G n → List (G × G) | 0, _ => [] | n + 1, x => (treeLeafProduct n x.1, treeLeafProduct n x.2) :: (actualChildProducts n x.1 ++ actualChildProducts n x.2)Mentions: OAI.Ostmann.TreeLeafTuple, OAI.Ostmann.treeLeafProduct
- theorem
OAI.Ostmann.actualChildProducts_lengthline 17 - theorem
OAI.Ostmann.actualParentSplits_childProductsline 27 - theorem
OAI.Ostmann.actualChildProducts_from_prefixline 35 - def
OAI.Ostmann.treeIntegerResiduesline 60Source documentation
Equality of all leaf residues, expressed on the original binary tuple.
def treeIntegerResidues (Q : ℕ) : (n : ℕ) → TreeLeafTuple ℤ n → TreeLeafTuple (ZMod Q)ˣ n → Prop | 0, a, u => Units.val (show (ZMod Q)ˣ from u) = ((show ℤ from a) : ZMod Q) | n + 1, a, u => treeIntegerResidues Q n a.1 u.1 ∧ treeIntegerResidues Q n a.2 u.2Mentions: OAI.Ostmann.TreeLeafTuple
- theorem
OAI.Ostmann.treeIntegerResidues_productline 65 - theorem
OAI.Ostmann.treeIntegerResidues_childrenline 75 - theorem
OAI.Ostmann.treeIntegerResidues_childline 86 - theorem
OAI.Ostmann.exposed_prefix_children_eqline 105Source documentation
Agreement of the total and the exposed prefix fixes both child-product residues at every earlier node, including nodes in right subtrees.
theorem exposed_prefix_children_eq {G : Type} [CommGroup G] (n : ℕ) (u v : TreeLeafTuple G n) (j : ℕ) (htotal : treeLeafProduct n u = treeLeafProduct n v) (hpast : (actualSplitValues n u).take j = (actualSplitValues n v).take j) (i : ℕ) (hi : i < j) (hj : j ≤ 2 ^ n - 1) : (actualChildProducts n u).getD i (1, 1) = (actualChildProducts n v).getD i (1, 1) := by …Mentions: OAI.Ostmann.TreeLeafTuple, OAI.Ostmann.treeLeafProduct, OAI.Ostmann.actualSplitValues, OAI.Ostmann.actualChildProducts