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
∀ a. ∀ b. ZPairValid(a) → ZPairValid(b) → ∃ x. ZPairAdd(x,b,a)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 75 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–4
02Establish hAL5–8
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian valid has representation.
- L5
have hA : ∃ rp. ∃ rn. ∃ ip. ∃ inn. ZPairRep(a,rp,rn,ip,inn)Definitions: ZPairRep(a,rp,rn,ip,inn)Original native command in the exact edition - L6
specialize gaussian_valid_has_representation (a) - L7
apply gaussian_valid_has_representation - L8
exact ha
03Separate the logical casesL9–12
04Establish hBL13–16
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian valid has representation.
- L13
have hB : ∃ rp. ∃ rn. ∃ ip. ∃ inn. ZPairRep(b,rp,rn,ip,inn)Definitions: ZPairRep(b,rp,rn,ip,inn)Original native command in the exact edition - L14
specialize gaussian_valid_has_representation (b) - L15
apply gaussian_valid_has_representation - L16
exact hb
05Separate the logical casesL17–20
06Establish hCL21–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian representation exists.
- L21
have hC : ∃ c. ZPairRep(c,x + x5,x1 + x4,x2 + x7,x3 + x6)Definitions: ZPairRep(c,x + x5,x1 + x4,x2 + x7,x3 + x6)Original native command in the exact edition - L22
specialize gaussian_representation_exists (((x) + (x5))) - L23
specialize gaussian_representation_exists (((x1) + (x4))) - L24
specialize gaussian_representation_exists (((x2) + (x7))) - L25
specialize gaussian_representation_exists (((x3) + (x6))) - L26
apply gaussian_representation_exists
07Separate the logical casesL27–27
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L27
cases hC
08Construct an explicit witnessL28–28
Supply the displayed value, then prove that it has the required property.
- L28
exists (x8)
09Use earlier factsL29–38
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L29
specialize gaussian_add_commutative (b) - L30
specialize gaussian_add_commutative (x8) - L31
specialize gaussian_add_commutative (a) - L32
apply gaussian_add_commutative - L33
specialize gaussian_add_of_representations (b) - L34
specialize gaussian_add_of_representations (x8) - L35
specialize gaussian_add_of_representations (a) - L36
specialize gaussian_add_of_representations (x4) - L37
specialize gaussian_add_of_representations (x5) - L38
specialize gaussian_add_of_representations (x6)
10Use earlier factsL39–48
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L39
specialize gaussian_add_of_representations (x7) - L40
specialize gaussian_add_of_representations (((x) + (x5))) - L41
specialize gaussian_add_of_representations (((x1) + (x4))) - L42
specialize gaussian_add_of_representations (((x2) + (x7))) - L43
specialize gaussian_add_of_representations (((x3) + (x6))) - L44
apply gaussian_add_of_representations - L45
exact hB_witness_witness_witness_witness - L46
exact hC_witness - L47
specialize gaussian_representation_integer_transport (a) - L48
specialize gaussian_representation_integer_transport (x)
11Use earlier factsL49–58
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L49
specialize gaussian_representation_integer_transport (x1) - L50
specialize gaussian_representation_integer_transport (x2) - L51
specialize gaussian_representation_integer_transport (x3) - L52
specialize gaussian_representation_integer_transport (((x4) + (((x) + (x5))))) - L53
specialize gaussian_representation_integer_transport (((x5) + (((x1) + (x4))))) - L54
specialize gaussian_representation_integer_transport (((x6) + (((x2) + (x7))))) - L55
specialize gaussian_representation_integer_transport (((x7) + (((x3) + (x6))))) - L56
apply gaussian_representation_integer_transport - L57
specialize gaussian_equal_symmetric (((x4) + (((x) + (x5))))) - L58
specialize gaussian_equal_symmetric (((x5) + (((x1) + (x4)))))
12Use earlier factsL59–68
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L59
specialize gaussian_equal_symmetric (((x6) + (((x2) + (x7))))) - L60
specialize gaussian_equal_symmetric (((x7) + (((x3) + (x6))))) - L61
specialize gaussian_equal_symmetric (x) - L62
specialize gaussian_equal_symmetric (x1) - L63
specialize gaussian_equal_symmetric (x2) - L64
specialize gaussian_equal_symmetric (x3) - L65
apply gaussian_equal_symmetric - L66
specialize gaussian_difference_reconstructs_dividend (x) - L67
specialize gaussian_difference_reconstructs_dividend (x1) - L68
specialize gaussian_difference_reconstructs_dividend (x2)
13Use earlier factsL69–75
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L69
specialize gaussian_difference_reconstructs_dividend (x3) - L70
specialize gaussian_difference_reconstructs_dividend (x4) - L71
specialize gaussian_difference_reconstructs_dividend (x5) - L72
specialize gaussian_difference_reconstructs_dividend (x6) - L73
specialize gaussian_difference_reconstructs_dividend (x7) - L74
apply gaussian_difference_reconstructs_dividend - L75
exact hA_witness_witness_witness_witness
Original defined command ledger · 75 lines
- 0001
intro a - 0002
intro b - 0003
intro ha - 0004
intro hb - 0005
have hA : ∃ rp. ∃ rn. ∃ ip. ∃ inn. ZPairRep(a,rp,rn,ip,inn) - 0006
specialize gaussian_valid_has_representation (a) - 0007
apply gaussian_valid_has_representation - 0008
exact ha - 0009
cases hA - 0010
cases hA_witness - 0011
cases hA_witness_witness - 0012
cases hA_witness_witness_witness - 0013
have hB : ∃ rp. ∃ rn. ∃ ip. ∃ inn. ZPairRep(b,rp,rn,ip,inn) - 0014
specialize gaussian_valid_has_representation (b) - 0015
apply gaussian_valid_has_representation - 0016
exact hb - 0017
cases hB - 0018
cases hB_witness - 0019
cases hB_witness_witness - 0020
cases hB_witness_witness_witness - 0021
have hC : ∃ c. ZPairRep(c,x + x5,x1 + x4,x2 + x7,x3 + x6) - 0022
specialize gaussian_representation_exists (((x) + (x5))) - 0023
specialize gaussian_representation_exists (((x1) + (x4))) - 0024
specialize gaussian_representation_exists (((x2) + (x7))) - 0025
specialize gaussian_representation_exists (((x3) + (x6))) - 0026
apply gaussian_representation_exists - 0027
cases hC - 0028
exists (x8) - 0029
specialize gaussian_add_commutative (b) - 0030
specialize gaussian_add_commutative (x8) - 0031
specialize gaussian_add_commutative (a) - 0032
apply gaussian_add_commutative - 0033
specialize gaussian_add_of_representations (b) - 0034
specialize gaussian_add_of_representations (x8) - 0035
specialize gaussian_add_of_representations (a) - 0036
specialize gaussian_add_of_representations (x4) - 0037
specialize gaussian_add_of_representations (x5) - 0038
specialize gaussian_add_of_representations (x6) - 0039
specialize gaussian_add_of_representations (x7) - 0040
specialize gaussian_add_of_representations (((x) + (x5))) - 0041
specialize gaussian_add_of_representations (((x1) + (x4))) - 0042
specialize gaussian_add_of_representations (((x2) + (x7))) - 0043
specialize gaussian_add_of_representations (((x3) + (x6))) - 0044
apply gaussian_add_of_representations - 0045
exact hB_witness_witness_witness_witness - 0046
exact hC_witness - 0047
specialize gaussian_representation_integer_transport (a) - 0048
specialize gaussian_representation_integer_transport (x) - 0049
specialize gaussian_representation_integer_transport (x1) - 0050
specialize gaussian_representation_integer_transport (x2) - 0051
specialize gaussian_representation_integer_transport (x3) - 0052
specialize gaussian_representation_integer_transport (((x4) + (((x) + (x5))))) - 0053
specialize gaussian_representation_integer_transport (((x5) + (((x1) + (x4))))) - 0054
specialize gaussian_representation_integer_transport (((x6) + (((x2) + (x7))))) - 0055
specialize gaussian_representation_integer_transport (((x7) + (((x3) + (x6))))) - 0056
apply gaussian_representation_integer_transport - 0057
specialize gaussian_equal_symmetric (((x4) + (((x) + (x5))))) - 0058
specialize gaussian_equal_symmetric (((x5) + (((x1) + (x4))))) - 0059
specialize gaussian_equal_symmetric (((x6) + (((x2) + (x7))))) - 0060
specialize gaussian_equal_symmetric (((x7) + (((x3) + (x6))))) - 0061
specialize gaussian_equal_symmetric (x) - 0062
specialize gaussian_equal_symmetric (x1) - 0063
specialize gaussian_equal_symmetric (x2) - 0064
specialize gaussian_equal_symmetric (x3) - 0065
apply gaussian_equal_symmetric - 0066
specialize gaussian_difference_reconstructs_dividend (x) - 0067
specialize gaussian_difference_reconstructs_dividend (x1) - 0068
specialize gaussian_difference_reconstructs_dividend (x2) - 0069
specialize gaussian_difference_reconstructs_dividend (x3) - 0070
specialize gaussian_difference_reconstructs_dividend (x4) - 0071
specialize gaussian_difference_reconstructs_dividend (x5) - 0072
specialize gaussian_difference_reconstructs_dividend (x6) - 0073
specialize gaussian_difference_reconstructs_dividend (x7) - 0074
apply gaussian_difference_reconstructs_dividend - 0075
exact hA_witness_witness_witness_witness