Aether Catalog definitions — Evergreen_QuaternionFactoring_HurwitzQuaternions
DefinitionEvergreen_QuaternionFactoring_HurwitzQuaternionsaether-catalogevergreen
Definition bundle for the Aether Catalog module Evergreen.QuaternionFactoring.HurwitzQuaternions, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.
Definition code
-- Def bundle generated from Evergreen/QuaternionFactoring/HurwitzQuaternions.lean by skeleton subtraction import Mathlib /-! # Hurwitz Quaternions and Factoring Theory ## Overview This file extends the quaternion factoring framework with deeper algebraic results: - Lattice closure properties for L_d(N) under scaling and negation - The connection between quaternion conjugation and factor extraction - Pythagorean triple embedding into quadruples - The parametric formula as a quaternion norm identity - Dimensional advantage chain - Pell obstacle generalization ## Key Results - `lattice_scale_mem`: L_d(N) is closed under scalar multiplication - `quat_mul_conj_*`: q · conj(q) = norm(q) · 1 - `param_formula_is_norm_sum`: The parametric formula yields ||q||² - `strict_dim_chain`: N^(1/4) ≤ N^(1/3) ≤ N^(1/2) - `pell_obstacle_n1`: λ² − μ² = 1 has only trivial solutions - `two_square_identity`: Brahmagupta–Fibonacci identity -/ /-! ## Section 1: Lattice Algebraic Properties -/ /-- The sum-of-squares lattice condition. -/ def InSumSqLattice (N : ℤ) (x y z : ℤ) : Prop := N ∣ (x^2 + y^2 + z^2) /-- The 4D lattice condition. -/ def InSumSqLattice4 (N : ℤ) (a b c d : ℤ) : Prop := N ∣ (a^2 + b^2 + c^2 + d^2) /-! ## Section 2: Conjugation and Norm -/ /-! ## Section 3: Pythagorean Triple Embedding -/ /-! ## Section 4: Norm Divisibility and Factor Extraction -/ /-! ## Section 5: The Four-Square Identity as Quaternion Product -/ /-! ## Section 6: Dimensional Advantage -/ /-! ## Section 7: Coprimality and Primitive Quadruples -/ /-- A Pythagorean quadruple is primitive if gcd(a, b, c, d) = 1. -/ def IsPrimitiveQuadruple (a b c d : ℕ) : Prop := a^2 + b^2 + c^2 = d^2 ∧ Nat.gcd (Nat.gcd a b) (Nat.gcd c d) = 1 /-! ## Section 8: The Pell Obstacle Generalized -/ /-! ## Section 9: Euler Identity Variants -/ /-! ## Section 10: Quaternion Associativity for Triple Products -/