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. ∀ c. ∀ t. ZPairAdd(a,b,t) → ZPairAdd(a,c,t) → b = c
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 112 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 (5)
01Fix variables and assumptionsL1–6
02Establish hAL7–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian valid has representation.
- L7
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 - L8
specialize gaussian_valid_has_representation (a) - L9
apply gaussian_valid_has_representation - L10
specialize gaussian_add_input_left_valid (a) - L11
specialize gaussian_add_input_left_valid (b) - L12
specialize gaussian_add_input_left_valid (t) - L13
apply gaussian_add_input_left_valid - L14
exact hAB
03Separate the logical casesL15–18
04Establish hBL19–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian valid has representation.
- L19
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 - L20
specialize gaussian_valid_has_representation (b) - L21
apply gaussian_valid_has_representation - L22
specialize gaussian_add_input_right_valid (a) - L23
specialize gaussian_add_input_right_valid (b) - L24
specialize gaussian_add_input_right_valid (t) - L25
apply gaussian_add_input_right_valid - L26
exact hAB
05Separate the logical casesL27–30
06Establish hCL31–38
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian valid has representation.
- L31
have hC : ∃ rp. ∃ rn. ∃ ip. ∃ inn. ZPairRep(c,rp,rn,ip,inn)Definitions: ZPairRep(c,rp,rn,ip,inn)Original native command in the exact edition - L32
specialize gaussian_valid_has_representation (c) - L33
apply gaussian_valid_has_representation - L34
specialize gaussian_add_input_right_valid (a) - L35
specialize gaussian_add_input_right_valid (c) - L36
specialize gaussian_add_input_right_valid (t) - L37
apply gaussian_add_input_right_valid - L38
exact hAC
07Separate the logical casesL39–42
08Establish hleftL43–52
Establish this local claim before using it. It is not an additional assumption.
- L43
have hleft : ZPairRep(t,x + x4,x1 + x5,x2 + x6,x3 + x7)Definitions: ZPairRep(t,x + x4,x1 + x5,x2 + x6,x3 + x7)Original native command in the exact edition - L44
specialize gaussian_add_for_representations (a) - L45
specialize gaussian_add_for_representations (b) - L46
specialize gaussian_add_for_representations (t) - L47
specialize gaussian_add_for_representations (x) - L48
specialize gaussian_add_for_representations (x1) - L49
specialize gaussian_add_for_representations (x2) - L50
specialize gaussian_add_for_representations (x3) - L51
specialize gaussian_add_for_representations (x4) - L52
specialize gaussian_add_for_representations (x5)
09Use earlier factsL53–58
Instantiate or apply named facts and discharge the corresponding proof obligations.
10Establish hrightL59–68
Establish this local claim before using it. It is not an additional assumption.
- L59
have hright : ZPairRep(t,x + x8,x1 + x9,x2 + x10,x3 + x11)Definitions: ZPairRep(t,x + x8,x1 + x9,x2 + x10,x3 + x11)Original native command in the exact edition - L60
specialize gaussian_add_for_representations (a) - L61
specialize gaussian_add_for_representations (c) - L62
specialize gaussian_add_for_representations (t) - L63
specialize gaussian_add_for_representations (x) - L64
specialize gaussian_add_for_representations (x1) - L65
specialize gaussian_add_for_representations (x2) - L66
specialize gaussian_add_for_representations (x3) - L67
specialize gaussian_add_for_representations (x8) - L68
specialize gaussian_add_for_representations (x9)
11Use earlier factsL69–78
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L69
specialize gaussian_add_for_representations (x10) - L70
specialize gaussian_add_for_representations (x11) - L71
apply gaussian_add_for_representations - L72
exact hA_witness_witness_witness_witness - L73
exact hC_witness_witness_witness_witness - L74
exact hAC - L75
specialize gaussian_codes_equal_of_representations (b) - L76
specialize gaussian_codes_equal_of_representations (c) - L77
specialize gaussian_codes_equal_of_representations (x4) - L78
specialize gaussian_codes_equal_of_representations (x5)
12Use earlier factsL79–88
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L79
specialize gaussian_codes_equal_of_representations (x6) - L80
specialize gaussian_codes_equal_of_representations (x7) - L81
specialize gaussian_codes_equal_of_representations (x8) - L82
specialize gaussian_codes_equal_of_representations (x9) - L83
specialize gaussian_codes_equal_of_representations (x10) - L84
specialize gaussian_codes_equal_of_representations (x11) - L85
apply gaussian_codes_equal_of_representations - L86
exact hB_witness_witness_witness_witness - L87
exact hC_witness_witness_witness_witness - L88
specialize gaussian_ring_raw_add_cancel_left (x)
13Use earlier factsL89–98
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L89
specialize gaussian_ring_raw_add_cancel_left (x1) - L90
specialize gaussian_ring_raw_add_cancel_left (x2) - L91
specialize gaussian_ring_raw_add_cancel_left (x3) - L92
specialize gaussian_ring_raw_add_cancel_left (x4) - L93
specialize gaussian_ring_raw_add_cancel_left (x5) - L94
specialize gaussian_ring_raw_add_cancel_left (x6) - L95
specialize gaussian_ring_raw_add_cancel_left (x7) - L96
specialize gaussian_ring_raw_add_cancel_left (x8) - L97
specialize gaussian_ring_raw_add_cancel_left (x9) - L98
specialize gaussian_ring_raw_add_cancel_left (x10)
14Use earlier factsL99–108
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L99
specialize gaussian_ring_raw_add_cancel_left (x11) - L100
apply gaussian_ring_raw_add_cancel_left - L101
specialize gaussian_representation_equal (t) - L102
specialize gaussian_representation_equal (((x) + (x4))) - L103
specialize gaussian_representation_equal (((x1) + (x5))) - L104
specialize gaussian_representation_equal (((x2) + (x6))) - L105
specialize gaussian_representation_equal (((x3) + (x7))) - L106
specialize gaussian_representation_equal (((x) + (x8))) - L107
specialize gaussian_representation_equal (((x1) + (x9))) - L108
specialize gaussian_representation_equal (((x2) + (x10)))
Original defined command ledger · 112 lines
- 0001
intro a - 0002
intro b - 0003
intro c - 0004
intro t - 0005
intro hAB - 0006
intro hAC - 0007
have hA : ∃ rp. ∃ rn. ∃ ip. ∃ inn. ZPairRep(a,rp,rn,ip,inn) - 0008
specialize gaussian_valid_has_representation (a) - 0009
apply gaussian_valid_has_representation - 0010
specialize gaussian_add_input_left_valid (a) - 0011
specialize gaussian_add_input_left_valid (b) - 0012
specialize gaussian_add_input_left_valid (t) - 0013
apply gaussian_add_input_left_valid - 0014
exact hAB - 0015
cases hA - 0016
cases hA_witness - 0017
cases hA_witness_witness - 0018
cases hA_witness_witness_witness - 0019
have hB : ∃ rp. ∃ rn. ∃ ip. ∃ inn. ZPairRep(b,rp,rn,ip,inn) - 0020
specialize gaussian_valid_has_representation (b) - 0021
apply gaussian_valid_has_representation - 0022
specialize gaussian_add_input_right_valid (a) - 0023
specialize gaussian_add_input_right_valid (b) - 0024
specialize gaussian_add_input_right_valid (t) - 0025
apply gaussian_add_input_right_valid - 0026
exact hAB - 0027
cases hB - 0028
cases hB_witness - 0029
cases hB_witness_witness - 0030
cases hB_witness_witness_witness - 0031
have hC : ∃ rp. ∃ rn. ∃ ip. ∃ inn. ZPairRep(c,rp,rn,ip,inn) - 0032
specialize gaussian_valid_has_representation (c) - 0033
apply gaussian_valid_has_representation - 0034
specialize gaussian_add_input_right_valid (a) - 0035
specialize gaussian_add_input_right_valid (c) - 0036
specialize gaussian_add_input_right_valid (t) - 0037
apply gaussian_add_input_right_valid - 0038
exact hAC - 0039
cases hC - 0040
cases hC_witness - 0041
cases hC_witness_witness - 0042
cases hC_witness_witness_witness - 0043
have hleft : ZPairRep(t,x + x4,x1 + x5,x2 + x6,x3 + x7) - 0044
specialize gaussian_add_for_representations (a) - 0045
specialize gaussian_add_for_representations (b) - 0046
specialize gaussian_add_for_representations (t) - 0047
specialize gaussian_add_for_representations (x) - 0048
specialize gaussian_add_for_representations (x1) - 0049
specialize gaussian_add_for_representations (x2) - 0050
specialize gaussian_add_for_representations (x3) - 0051
specialize gaussian_add_for_representations (x4) - 0052
specialize gaussian_add_for_representations (x5) - 0053
specialize gaussian_add_for_representations (x6) - 0054
specialize gaussian_add_for_representations (x7) - 0055
apply gaussian_add_for_representations - 0056
exact hA_witness_witness_witness_witness - 0057
exact hB_witness_witness_witness_witness - 0058
exact hAB - 0059
have hright : ZPairRep(t,x + x8,x1 + x9,x2 + x10,x3 + x11) - 0060
specialize gaussian_add_for_representations (a) - 0061
specialize gaussian_add_for_representations (c) - 0062
specialize gaussian_add_for_representations (t) - 0063
specialize gaussian_add_for_representations (x) - 0064
specialize gaussian_add_for_representations (x1) - 0065
specialize gaussian_add_for_representations (x2) - 0066
specialize gaussian_add_for_representations (x3) - 0067
specialize gaussian_add_for_representations (x8) - 0068
specialize gaussian_add_for_representations (x9) - 0069
specialize gaussian_add_for_representations (x10) - 0070
specialize gaussian_add_for_representations (x11) - 0071
apply gaussian_add_for_representations - 0072
exact hA_witness_witness_witness_witness - 0073
exact hC_witness_witness_witness_witness - 0074
exact hAC - 0075
specialize gaussian_codes_equal_of_representations (b) - 0076
specialize gaussian_codes_equal_of_representations (c) - 0077
specialize gaussian_codes_equal_of_representations (x4) - 0078
specialize gaussian_codes_equal_of_representations (x5) - 0079
specialize gaussian_codes_equal_of_representations (x6) - 0080
specialize gaussian_codes_equal_of_representations (x7) - 0081
specialize gaussian_codes_equal_of_representations (x8) - 0082
specialize gaussian_codes_equal_of_representations (x9) - 0083
specialize gaussian_codes_equal_of_representations (x10) - 0084
specialize gaussian_codes_equal_of_representations (x11) - 0085
apply gaussian_codes_equal_of_representations - 0086
exact hB_witness_witness_witness_witness - 0087
exact hC_witness_witness_witness_witness - 0088
specialize gaussian_ring_raw_add_cancel_left (x) - 0089
specialize gaussian_ring_raw_add_cancel_left (x1) - 0090
specialize gaussian_ring_raw_add_cancel_left (x2) - 0091
specialize gaussian_ring_raw_add_cancel_left (x3) - 0092
specialize gaussian_ring_raw_add_cancel_left (x4) - 0093
specialize gaussian_ring_raw_add_cancel_left (x5) - 0094
specialize gaussian_ring_raw_add_cancel_left (x6) - 0095
specialize gaussian_ring_raw_add_cancel_left (x7) - 0096
specialize gaussian_ring_raw_add_cancel_left (x8) - 0097
specialize gaussian_ring_raw_add_cancel_left (x9) - 0098
specialize gaussian_ring_raw_add_cancel_left (x10) - 0099
specialize gaussian_ring_raw_add_cancel_left (x11) - 0100
apply gaussian_ring_raw_add_cancel_left - 0101
specialize gaussian_representation_equal (t) - 0102
specialize gaussian_representation_equal (((x) + (x4))) - 0103
specialize gaussian_representation_equal (((x1) + (x5))) - 0104
specialize gaussian_representation_equal (((x2) + (x6))) - 0105
specialize gaussian_representation_equal (((x3) + (x7))) - 0106
specialize gaussian_representation_equal (((x) + (x8))) - 0107
specialize gaussian_representation_equal (((x1) + (x9))) - 0108
specialize gaussian_representation_equal (((x2) + (x10))) - 0109
specialize gaussian_representation_equal (((x3) + (x11))) - 0110
apply gaussian_representation_equal - 0111
exact hleft - 0112
exact hright