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.
Inputs are genuine canonical signed-pair codes, not arbitrary naturals. Products start at the actual Gaussian identity, whose code is six. The factor list uses the proved prime-divisor property; irreducibility alone is not silently renamed primality. Uniqueness supplies equal lengths, a bounded bijection, and an actual unit at each match, including repeated factors. Units have empty factorizations and zero is excluded. Sorted primary representatives, Gaussian prime classification, and Eisenstein factorization are separate targets.
Exact theorem in conservative defined notation
∀ d. ∀ z. ∀ D. ∀ N. GDvd(d,z) → GNorm(d,D) → GNorm(z,N) → ¬z = 0 → Le(D,N)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 41 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.
Named ingredients (2)
01Fix variables and assumptionsL1–8
02Establish hfactorL9–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian divisor norm factor.
- L9
have hfactor : ∃ q. ∃ Q. GMul(d,q,z) ∧ (GNorm(q,Q) ∧ N = D · Q)Definitions: GMul(d,q,z)GNorm(q,Q)Original native command in the exact edition - L10
specialize gaussian_divisor_norm_factor (d) - L11
specialize gaussian_divisor_norm_factor (z) - L12
specialize gaussian_divisor_norm_factor (D) - L13
specialize gaussian_divisor_norm_factor (N) - L14
apply gaussian_divisor_norm_factor - L15
exact hdiv - L16
exact hd - L17
exact hz
03Separate the logical casesL18–21
04Establish hpositiveL22–31
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian norm nonzero.
05Calculate and transport equalitiesL32–32
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L32
simp
06Establish hsuccL33–36
07Separate the logical casesL37–37
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L37
cases hsucc
08Construct an explicit witnessL38–38
Supply the displayed value, then prove that it has the required property.
- L38
exists (D*x2)
Original defined command ledger · 41 lines
- 0001
intro d - 0002
intro z - 0003
intro D - 0004
intro N - 0005
intro hdiv - 0006
intro hd - 0007
intro hz - 0008
intro hnz - 0009
have hfactor : ∃ q. ∃ Q. GMul(d,q,z) ∧ (GNorm(q,Q) ∧ N = D · Q) - 0010
specialize gaussian_divisor_norm_factor (d) - 0011
specialize gaussian_divisor_norm_factor (z) - 0012
specialize gaussian_divisor_norm_factor (D) - 0013
specialize gaussian_divisor_norm_factor (N) - 0014
apply gaussian_divisor_norm_factor - 0015
exact hdiv - 0016
exact hd - 0017
exact hz - 0018
cases hfactor - 0019
cases hfactor_witness - 0020
cases hfactor_witness_witness - 0021
cases hfactor_witness_witness_right - 0022
have hpositive : ~(x1=0) - 0023
intro hzero - 0024
specialize gaussian_norm_nonzero (z) - 0025
specialize gaussian_norm_nonzero (N) - 0026
apply gaussian_norm_nonzero - 0027
exact hz - 0028
exact hnz - 0029
rewrite hzero at hfactor_witness_witness_right_right - 0030
trans D*0 - 0031
exact hfactor_witness_witness_right_right - 0032
simp - 0033
have hsucc : exists h. x1=S h - 0034
specialize nonzero_is_succ (x1) - 0035
apply nonzero_is_succ - 0036
exact hpositive - 0037
cases hsucc - 0038
exists (D*x2) - 0039
rewrite hsucc_witness at hfactor_witness_witness_right_right - 0040
rewrite hfactor_witness_witness_right_right - 0041
simp