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
∀ a. ∀ b. ∀ c. ∀ d. ∃ z. ZPairRep(z,a,b,c,d)
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–4
02Establish hrealL5–8
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance total.
- L5
have hreal : ∃ rc. SignedBalance(rc,a,b)Definitions: SignedBalance(rc,a,b)Original native command in the exact edition - L6
specialize signed_balance_total a - L7
specialize signed_balance_total b - L8
apply signed_balance_total
03Separate the logical casesL9–9
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L9
cases hreal
04Establish himaginaryL10–13
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance total.
- L10
have himaginary : ∃ ic. SignedBalance(ic,c,d)Definitions: SignedBalance(ic,c,d)Original native command in the exact edition - L11
specialize signed_balance_total c - L12
specialize signed_balance_total d - L13
apply signed_balance_total
05Separate the logical casesL14–14
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L14
cases himaginary
06Construct an explicit witnessL15–17
07Separate the logical casesL18–18
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L18
split
08Calculate and transport equalitiesL19–19
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L19
refl
09Separate the logical casesL20–20
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L20
split
Original defined command ledger · 22 lines
- 0001
intro a - 0002
intro b - 0003
intro c - 0004
intro d - 0005
have hreal : ∃ rc. SignedBalance(rc,a,b) - 0006
specialize signed_balance_total a - 0007
specialize signed_balance_total b - 0008
apply signed_balance_total - 0009
cases hreal - 0010
have himaginary : ∃ ic. SignedBalance(ic,c,d) - 0011
specialize signed_balance_total c - 0012
specialize signed_balance_total d - 0013
apply signed_balance_total - 0014
cases himaginary - 0015
exists ((x) + (x1)) * S ((x) + (x1)) + ((x1) + (x1)) - 0016
exists x - 0017
exists x1 - 0018
split - 0019
refl - 0020
split - 0021
exact hreal_witness - 0022
exact himaginary_witness