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
∀ ac. ∀ bc. ∀ cc. ∀ dd. ZPairAdd(ac,bc,cc) → ZPairAdd(ac,bc,dd) → cc = dd
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 39 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–6
02Separate the logical casesL7–16
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L7
cases hfirst - L8
cases hfirst_witness - L9
cases hfirst_witness_witness - L10
cases hfirst_witness_witness_witness - L11
cases hfirst_witness_witness_witness_witness - L12
cases hfirst_witness_witness_witness_witness_witness - L13
cases hfirst_witness_witness_witness_witness_witness_witness - L14
cases hfirst_witness_witness_witness_witness_witness_witness_witness - L15
cases hfirst_witness_witness_witness_witness_witness_witness_witness_witness - L16
cases hfirst_witness_witness_witness_witness_witness_witness_witness_witness_right
03Use earlier factsL17–26
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L17
specialize gaussian_representation_functional cc - L18
specialize gaussian_representation_functional dd - L19
specialize gaussian_representation_functional ((x) + (x4)) - L20
specialize gaussian_representation_functional ((x1) + (x5)) - L21
specialize gaussian_representation_functional ((x2) + (x6)) - L22
specialize gaussian_representation_functional ((x3) + (x7)) - L23
apply gaussian_representation_functional - L24
exact hfirst_witness_witness_witness_witness_witness_witness_witness_witness_right_right - L25
specialize gaussian_add_for_representations ac - L26
specialize gaussian_add_for_representations bc
04Use earlier factsL27–36
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L27
specialize gaussian_add_for_representations dd - L28
specialize gaussian_add_for_representations x - L29
specialize gaussian_add_for_representations x1 - L30
specialize gaussian_add_for_representations x2 - L31
specialize gaussian_add_for_representations x3 - L32
specialize gaussian_add_for_representations x4 - L33
specialize gaussian_add_for_representations x5 - L34
specialize gaussian_add_for_representations x6 - L35
specialize gaussian_add_for_representations x7 - L36
apply gaussian_add_for_representations
Original defined command ledger · 39 lines
- 0001
intro ac - 0002
intro bc - 0003
intro cc - 0004
intro dd - 0005
intro hfirst - 0006
intro hsecond - 0007
cases hfirst - 0008
cases hfirst_witness - 0009
cases hfirst_witness_witness - 0010
cases hfirst_witness_witness_witness - 0011
cases hfirst_witness_witness_witness_witness - 0012
cases hfirst_witness_witness_witness_witness_witness - 0013
cases hfirst_witness_witness_witness_witness_witness_witness - 0014
cases hfirst_witness_witness_witness_witness_witness_witness_witness - 0015
cases hfirst_witness_witness_witness_witness_witness_witness_witness_witness - 0016
cases hfirst_witness_witness_witness_witness_witness_witness_witness_witness_right - 0017
specialize gaussian_representation_functional cc - 0018
specialize gaussian_representation_functional dd - 0019
specialize gaussian_representation_functional ((x) + (x4)) - 0020
specialize gaussian_representation_functional ((x1) + (x5)) - 0021
specialize gaussian_representation_functional ((x2) + (x6)) - 0022
specialize gaussian_representation_functional ((x3) + (x7)) - 0023
apply gaussian_representation_functional - 0024
exact hfirst_witness_witness_witness_witness_witness_witness_witness_witness_right_right - 0025
specialize gaussian_add_for_representations ac - 0026
specialize gaussian_add_for_representations bc - 0027
specialize gaussian_add_for_representations dd - 0028
specialize gaussian_add_for_representations x - 0029
specialize gaussian_add_for_representations x1 - 0030
specialize gaussian_add_for_representations x2 - 0031
specialize gaussian_add_for_representations x3 - 0032
specialize gaussian_add_for_representations x4 - 0033
specialize gaussian_add_for_representations x5 - 0034
specialize gaussian_add_for_representations x6 - 0035
specialize gaussian_add_for_representations x7 - 0036
apply gaussian_add_for_representations - 0037
exact hfirst_witness_witness_witness_witness_witness_witness_witness_witness_left - 0038
exact hfirst_witness_witness_witness_witness_witness_witness_witness_witness_right_left - 0039
exact hsecond