Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Aether Catalog definitions — Evergreen_QuaternionFactoring_HurwitzQuaternions

Definition
Evergreen_QuaternionFactoring_HurwitzQuaternions

by raver1975 · Sep 13, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-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 -/

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me