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
∀ n. ¬n = 0 → ¬n = 1 → Lt(1,n)
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–3
02Establish hsL4–7
03Separate the logical casesL8–8
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L8
cases hs
04Establish hxL9–18
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hone.
Original defined command ledger · 22 lines
- 0001
intro n - 0002
intro hzero - 0003
intro hone - 0004
have hs : exists k. n=S k - 0005
specialize nonzero_is_succ (n) - 0006
apply nonzero_is_succ - 0007
exact hzero - 0008
cases hs - 0009
have hx : ~(x=0) - 0010
intro hxzero - 0011
apply hone - 0012
trans S x - 0013
exact hs_witness - 0014
rewrite hxzero - 0015
refl - 0016
rewrite hs_witness - 0017
specialize succ_le_succ (1) - 0018
specialize succ_le_succ (x) - 0019
apply succ_le_succ - 0020
specialize one_le_of_ne_zero (x) - 0021
apply one_le_of_ne_zero - 0022
exact hx