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.
Exact expanded first-order arithmetic statement
forall z w a b c d. (exists ge_representation_real_code_representation_first ge_representation_imaginary_code_representation_first. (((z) = ((ge_representation_real_code_representation_first) + (ge_representation_imaginary_code_representation_first)) * S ((ge_representation_real_code_representation_first) + (ge_representation_imaginary_code_representation_first)) + ((ge_representation_imaginary_code_representation_first) + (ge_representation_imaginary_code_representation_first))) /\ ((exists ge_balance_positive_representation_firstreal ge_balance_negative_representation_firstreal. (((((ge_representation_real_code_representation_first) = 2 * (ge_balance_positive_representation_firstreal) /\ (ge_balance_negative_representation_firstreal) = 0) \/ exists ge_signed_half_representation_firstrealdecode. (((ge_representation_real_code_representation_first) = 2 * ge_signed_half_representation_firstrealdecode + 1 /\ (ge_balance_positive_representation_firstreal) = 0) /\ (ge_balance_negative_representation_firstreal) = S ge_signed_half_representation_firstrealdecode))) /\ ((a) + ge_balance_negative_representation_firstreal = (b) + ge_balance_positive_representation_firstreal))) /\ (exists ge_balance_positive_representation_firstimaginary ge_balance_negative_representation_firstimaginary. (((((ge_representation_imaginary_code_representation_first) = 2 * (ge_balance_positive_representation_firstimaginary) /\ (ge_balance_negative_representation_firstimaginary) = 0) \/ exists ge_signed_half_representation_firstimaginarydecode. (((ge_representation_imaginary_code_representation_first) = 2 * ge_signed_half_representation_firstimaginarydecode + 1 /\ (ge_balance_positive_representation_firstimaginary) = 0) /\ (ge_balance_negative_representation_firstimaginary) = S ge_signed_half_representation_firstimaginarydecode))) /\ ((c) + ge_balance_negative_representation_firstimaginary = (d) + ge_balance_positive_representation_firstimaginary)))))) -> (exists ge_representation_real_code_representation_second ge_representation_imaginary_code_representation_second. (((w) = ((ge_representation_real_code_representation_second) + (ge_representation_imaginary_code_representation_second)) * S ((ge_representation_real_code_representation_second) + (ge_representation_imaginary_code_representation_second)) + ((ge_representation_imaginary_code_representation_second) + (ge_representation_imaginary_code_representation_second))) /\ ((exists ge_balance_positive_representation_secondreal ge_balance_negative_representation_secondreal. (((((ge_representation_real_code_representation_second) = 2 * (ge_balance_positive_representation_secondreal) /\ (ge_balance_negative_representation_secondreal) = 0) \/ exists ge_signed_half_representation_secondrealdecode. (((ge_representation_real_code_representation_second) = 2 * ge_signed_half_representation_secondrealdecode + 1 /\ (ge_balance_positive_representation_secondreal) = 0) /\ (ge_balance_negative_representation_secondreal) = S ge_signed_half_representation_secondrealdecode))) /\ ((a) + ge_balance_negative_representation_secondreal = (b) + ge_balance_positive_representation_secondreal))) /\ (exists ge_balance_positive_representation_secondimaginary ge_balance_negative_representation_secondimaginary. (((((ge_representation_imaginary_code_representation_second) = 2 * (ge_balance_positive_representation_secondimaginary) /\ (ge_balance_negative_representation_secondimaginary) = 0) \/ exists ge_signed_half_representation_secondimaginarydecode. (((ge_representation_imaginary_code_representation_second) = 2 * ge_signed_half_representation_secondimaginarydecode + 1 /\ (ge_balance_positive_representation_secondimaginary) = 0) /\ (ge_balance_negative_representation_secondimaginary) = S ge_signed_half_representation_secondimaginarydecode))) /\ ((c) + ge_balance_negative_representation_secondimaginary = (d) + ge_balance_positive_representation_secondimaginary)))))) -> z = wConstructive proof overview
Generated structural guide
The canonical Gaussian natural code representing two specified integer differences is unique.
The unchanged tactic script uses 1 declared prerequisite and contains 42 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
signed_balance_functional Alpha theorem; checked-use authorizedDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
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–8
02Separate the logical casesL9–16
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
03Establish hrealL17–24
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance functional.
- L17
have hreal : x = x2 - L18
specialize signed_balance_functional a - L19
specialize signed_balance_functional b - L20
specialize signed_balance_functional x - L21
specialize signed_balance_functional x2 - L22
apply signed_balance_functional - L23
exact hfirst_witness_witness_right_left - L24
exact hsecond_witness_witness_right_left
04Establish himaginaryL25–34
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance functional.
- L25
have himaginary : x1 = x3 - L26
specialize signed_balance_functional c - L27
specialize signed_balance_functional d - L28
specialize signed_balance_functional x1 - L29
specialize signed_balance_functional x3 - L30
apply signed_balance_functional - L31
exact hfirst_witness_witness_right_right - L32
exact hsecond_witness_witness_right_right - L33
rewrite hreal at hfirst_witness_witness_left - L34
rewrite hreal at hfirst_witness_witness_left
05Calculate and transport equalitiesL35–39
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
06Use earlier factsL40–40
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L40
exact hfirst_witness_witness_left
07Calculate and transport equalitiesL41–41
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L41
symm
08Use earlier factsL42–42
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L42
exact hsecond_witness_witness_left
Original exact command ledger · 42 lines
- 0001
intro z - 0002
intro w - 0003
intro a - 0004
intro b - 0005
intro c - 0006
intro d - 0007
intro hfirst - 0008
intro hsecond - 0009
cases hfirst - 0010
cases hfirst_witness - 0011
cases hfirst_witness_witness - 0012
cases hfirst_witness_witness_right - 0013
cases hsecond - 0014
cases hsecond_witness - 0015
cases hsecond_witness_witness - 0016
cases hsecond_witness_witness_right - 0017
have hreal : x = x2 - 0018
specialize signed_balance_functional a - 0019
specialize signed_balance_functional b - 0020
specialize signed_balance_functional x - 0021
specialize signed_balance_functional x2 - 0022
apply signed_balance_functional - 0023
exact hfirst_witness_witness_right_left - 0024
exact hsecond_witness_witness_right_left - 0025
have himaginary : x1 = x3 - 0026
specialize signed_balance_functional c - 0027
specialize signed_balance_functional d - 0028
specialize signed_balance_functional x1 - 0029
specialize signed_balance_functional x3 - 0030
apply signed_balance_functional - 0031
exact hfirst_witness_witness_right_right - 0032
exact hsecond_witness_witness_right_right - 0033
rewrite hreal at hfirst_witness_witness_left - 0034
rewrite hreal at hfirst_witness_witness_left - 0035
rewrite himaginary at hfirst_witness_witness_left - 0036
rewrite himaginary at hfirst_witness_witness_left - 0037
rewrite himaginary at hfirst_witness_witness_left - 0038
rewrite himaginary at hfirst_witness_witness_left - 0039
trans ((x2) + (x3)) * S ((x2) + (x3)) + ((x3) + (x3)) - 0040
exact hfirst_witness_witness_left - 0041
symm - 0042
exact hsecond_witness_witness_left