Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.
A floor quotient in the fundamental parallelogram already gives the required strict norm decrease; global nearest-point optimality is not asserted. The shared carrier is identical to the Gaussian carrier, but the multiplication law and norm are different. Eisenstein gcd, factorization, and prime classification remain separate targets.
Exact theorem in conservative defined notation
∀ a. ∀ b. ∀ n. a ≤ b → a · a + b · b = a · b + n → n ≤ b · b
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 22 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay script.
Read the argument
Proof checkpoints
This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.
01Fix variables and assumptionsL1–5
02Establish hproductL6–11
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul le mul left.
03Separate the logical casesL12–12
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L12
cases hproduct
04Construct an explicit witnessL13–13
Supply the displayed value, then prove that it has the required property.
- L13
exists x
05Use earlier factsL14–17
06Calculate and transport equalitiesL18–21
07Use earlier factsL22–22
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L22
exact hnorm
Original defined command ledger · 22 lines
- 0001
intro a - 0002
intro b - 0003
intro n - 0004
intro hle - 0005
intro hnorm - 0006
have hproduct : exists k. k + a * a = a * b - 0007
specialize mul_le_mul_left a - 0008
specialize mul_le_mul_left b - 0009
specialize mul_le_mul_left a - 0010
apply mul_le_mul_left - 0011
exact hle - 0012
cases hproduct - 0013
exists x - 0014
specialize add_left_cancel (a * a) - 0015
specialize add_left_cancel (x + n) - 0016
specialize add_left_cancel (b * b) - 0017
apply add_left_cancel - 0018
trans (x + a * a) + n - 0019
simp [add_assoc, add_comm, four_square_add_swap_right_tail] - 0020
rewrite hproduct_witness - 0021
symm - 0022
exact hnorm