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.
The natural-code carrier consists of genuine pairs of the existing signed integers; no new primitive arithmetic is trusted. The theorem constructs quotient, remainder, and actual norm witnesses. Gaussian gcd, unique factorization, and prime classification are separate targets.
Exact theorem in conservative defined notation
∀ p. ∀ n. ∀ s. ∀ t. SignedDifferenceSquare(p,n,s) → SignedDifferenceSquare(p,n,t) → s = t
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 14 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–6
02Use earlier factsL7–10
03Calculate and transport equalitiesL11–12
Original defined command ledger · 14 lines
- 0001
intro p - 0002
intro n - 0003
intro s - 0004
intro t - 0005
intro hfirst - 0006
intro hsecond - 0007
specialize add_right_cancel s - 0008
specialize add_right_cancel t - 0009
specialize add_right_cancel ((((p) * (n))) + (((n) * (p)))) - 0010
apply add_right_cancel - 0011
trans ((((p) * (p))) + (((n) * (n)))) - 0012
symm - 0013
exact hfirst - 0014
exact hsecond