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 a b c d. exists z. (exists ge_representation_real_code_representation_total ge_representation_imaginary_code_representation_total. (((z) = ((ge_representation_real_code_representation_total) + (ge_representation_imaginary_code_representation_total)) * S ((ge_representation_real_code_representation_total) + (ge_representation_imaginary_code_representation_total)) + ((ge_representation_imaginary_code_representation_total) + (ge_representation_imaginary_code_representation_total))) /\ ((exists ge_balance_positive_representation_totalreal ge_balance_negative_representation_totalreal. (((((ge_representation_real_code_representation_total) = 2 * (ge_balance_positive_representation_totalreal) /\ (ge_balance_negative_representation_totalreal) = 0) \/ exists ge_signed_half_representation_totalrealdecode. (((ge_representation_real_code_representation_total) = 2 * ge_signed_half_representation_totalrealdecode + 1 /\ (ge_balance_positive_representation_totalreal) = 0) /\ (ge_balance_negative_representation_totalreal) = S ge_signed_half_representation_totalrealdecode))) /\ ((a) + ge_balance_negative_representation_totalreal = (b) + ge_balance_positive_representation_totalreal))) /\ (exists ge_balance_positive_representation_totalimaginary ge_balance_negative_representation_totalimaginary. (((((ge_representation_imaginary_code_representation_total) = 2 * (ge_balance_positive_representation_totalimaginary) /\ (ge_balance_negative_representation_totalimaginary) = 0) \/ exists ge_signed_half_representation_totalimaginarydecode. (((ge_representation_imaginary_code_representation_total) = 2 * ge_signed_half_representation_totalimaginarydecode + 1 /\ (ge_balance_positive_representation_totalimaginary) = 0) /\ (ge_balance_negative_representation_totalimaginary) = S ge_signed_half_representation_totalimaginarydecode))) /\ ((c) + ge_balance_negative_representation_totalimaginary = (d) + ge_balance_positive_representation_totalimaginary))))))Constructive proof overview
Generated structural guide
Every pair of arbitrary represented integers has an actually constructed canonical natural Gaussian code.
The unchanged tactic script uses 1 declared prerequisite and contains 22 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
signed_balance_total 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–4
02Establish hrealL5–8
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance total.
- L5
have hreal : ∃ rc. SignedBalance(rc,a,b)Definitions: SignedBalance - L6
specialize signed_balance_total a - L7
specialize signed_balance_total b - L8
apply signed_balance_total
03Separate the logical casesL9–9
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L9
cases hreal
04Establish himaginaryL10–13
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance total.
- L10
have himaginary : ∃ ic. SignedBalance(ic,c,d)Definitions: SignedBalance - L11
specialize signed_balance_total c - L12
specialize signed_balance_total d - L13
apply signed_balance_total
05Separate the logical casesL14–14
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L14
cases himaginary
06Construct an explicit witnessL15–17
07Separate the logical casesL18–18
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L18
split
08Calculate and transport equalitiesL19–19
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L19
refl
09Separate the logical casesL20–20
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L20
split
Original exact command ledger · 22 lines
- 0001
intro a - 0002
intro b - 0003
intro c - 0004
intro d - 0005
have hreal : exists rc. (exists ge_balance_positive_representation_real_exists ge_balance_negative_representation_real_exists. (((((rc) = 2 * (ge_balance_positive_representation_real_exists) /\ (ge_balance_negative_representation_real_exists) = 0) \/ exists ge_signed_half_representation_real_existsdecode. (((rc) = 2 * ge_signed_half_representation_real_existsdecode + 1 /\ (ge_balance_positive_representation_real_exists) = 0) /\ (ge_balance_negative_representation_real_exists) = S ge_signed_half_representation_real_existsdecode))) /\ ((a) + ge_balance_negative_representation_real_exists = (b) + ge_balance_positive_representation_real_exists))) - 0006
specialize signed_balance_total a - 0007
specialize signed_balance_total b - 0008
apply signed_balance_total - 0009
cases hreal - 0010
have himaginary : exists ic. (exists ge_balance_positive_representation_imaginary_exists ge_balance_negative_representation_imaginary_exists. (((((ic) = 2 * (ge_balance_positive_representation_imaginary_exists) /\ (ge_balance_negative_representation_imaginary_exists) = 0) \/ exists ge_signed_half_representation_imaginary_existsdecode. (((ic) = 2 * ge_signed_half_representation_imaginary_existsdecode + 1 /\ (ge_balance_positive_representation_imaginary_exists) = 0) /\ (ge_balance_negative_representation_imaginary_exists) = S ge_signed_half_representation_imaginary_existsdecode))) /\ ((c) + ge_balance_negative_representation_imaginary_exists = (d) + ge_balance_positive_representation_imaginary_exists))) - 0011
specialize signed_balance_total c - 0012
specialize signed_balance_total d - 0013
apply signed_balance_total - 0014
cases himaginary - 0015
exists ((x) + (x1)) * S ((x) + (x1)) + ((x1) + (x1)) - 0016
exists x - 0017
exists x1 - 0018
split - 0019
refl - 0020
split - 0021
exact hreal_witness - 0022
exact himaginary_witness