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
∀ z. ∀ a. ∀ b. ∀ c. ∀ d. ∀ e. ∀ f. ∀ g. ∀ h. a + f = e + b ∧ c + h = g + d → ZPairRep(z,a,b,c,d) → ZPairRep(z,e,f,g,h)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 37 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 (1)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–11
Work with arbitrary variables or the premises of the current implication.
- L11
intro hrepresentation
03Separate the logical casesL12–16
04Construct an explicit witnessL17–18
05Separate the logical casesL19–19
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L19
split
06Use earlier factsL20–20
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
exact hrepresentation_witness_witness_left
07Separate the logical casesL21–21
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L21
split
08Use earlier factsL22–31
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L22
specialize gaussian_signed_balance_integer_transport x - L23
specialize gaussian_signed_balance_integer_transport a - L24
specialize gaussian_signed_balance_integer_transport b - L25
specialize gaussian_signed_balance_integer_transport e - L26
specialize gaussian_signed_balance_integer_transport f - L27
apply gaussian_signed_balance_integer_transport - L28
exact hequal_left - L29
exact hrepresentation_witness_witness_right_left - L30
specialize gaussian_signed_balance_integer_transport x1 - L31
specialize gaussian_signed_balance_integer_transport c
09Use earlier factsL32–37
Instantiate or apply named facts and discharge the corresponding proof obligations.
Original defined command ledger · 37 lines
- 0001
intro z - 0002
intro a - 0003
intro b - 0004
intro c - 0005
intro d - 0006
intro e - 0007
intro f - 0008
intro g - 0009
intro h - 0010
intro hequal - 0011
intro hrepresentation - 0012
cases hequal - 0013
cases hrepresentation - 0014
cases hrepresentation_witness - 0015
cases hrepresentation_witness_witness - 0016
cases hrepresentation_witness_witness_right - 0017
exists x - 0018
exists x1 - 0019
split - 0020
exact hrepresentation_witness_witness_left - 0021
split - 0022
specialize gaussian_signed_balance_integer_transport x - 0023
specialize gaussian_signed_balance_integer_transport a - 0024
specialize gaussian_signed_balance_integer_transport b - 0025
specialize gaussian_signed_balance_integer_transport e - 0026
specialize gaussian_signed_balance_integer_transport f - 0027
apply gaussian_signed_balance_integer_transport - 0028
exact hequal_left - 0029
exact hrepresentation_witness_witness_right_left - 0030
specialize gaussian_signed_balance_integer_transport x1 - 0031
specialize gaussian_signed_balance_integer_transport c - 0032
specialize gaussian_signed_balance_integer_transport d - 0033
specialize gaussian_signed_balance_integer_transport g - 0034
specialize gaussian_signed_balance_integer_transport h - 0035
apply gaussian_signed_balance_integer_transport - 0036
exact hequal_right - 0037
exact hrepresentation_witness_witness_right_right