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. (exists ge_real_positive_norm_total_unique_input ge_real_negative_norm_total_unique_input ge_imaginary_positive_norm_total_unique_input ge_imaginary_negative_norm_total_unique_input. (exists ge_real_code_norm_total_unique_inputdecode ge_imaginary_code_norm_total_unique_inputdecode. (((z) = ((ge_real_code_norm_total_unique_inputdecode) + (ge_imaginary_code_norm_total_unique_inputdecode)) * S ((ge_real_code_norm_total_unique_inputdecode) + (ge_imaginary_code_norm_total_unique_inputdecode)) + ((ge_imaginary_code_norm_total_unique_inputdecode) + (ge_imaginary_code_norm_total_unique_inputdecode))) /\ (((((ge_real_code_norm_total_unique_inputdecode) = 2 * (ge_real_positive_norm_total_unique_input) /\ (ge_real_negative_norm_total_unique_input) = 0) \/ exists ge_signed_half_ge_norm_total_unique_inputdecode_real. (((ge_real_code_norm_total_unique_inputdecode) = 2 * ge_signed_half_ge_norm_total_unique_inputdecode_real + 1 /\ (ge_real_positive_norm_total_unique_input) = 0) /\ (ge_real_negative_norm_total_unique_input) = S ge_signed_half_ge_norm_total_unique_inputdecode_real))) /\ ((((ge_imaginary_code_norm_total_unique_inputdecode) = 2 * (ge_imaginary_positive_norm_total_unique_input) /\ (ge_imaginary_negative_norm_total_unique_input) = 0) \/ exists ge_signed_half_ge_norm_total_unique_inputdecode_imaginary. (((ge_imaginary_code_norm_total_unique_inputdecode) = 2 * ge_signed_half_ge_norm_total_unique_inputdecode_imaginary + 1 /\ (ge_imaginary_positive_norm_total_unique_input) = 0) /\ (ge_imaginary_negative_norm_total_unique_input) = S ge_signed_half_ge_norm_total_unique_inputdecode_imaginary))))))) -> exists N. (((exists ge_norm_rp_norm_total_unique_witness ge_norm_rn_norm_total_unique_witness ge_norm_ip_norm_total_unique_witness ge_norm_in_norm_total_unique_witness. ((exists ge_representation_real_code_norm_total_unique_witnessrepresentation ge_representation_imaginary_code_norm_total_unique_witnessrepresentation. (((z) = ((ge_representation_real_code_norm_total_unique_witnessrepresentation) + (ge_representation_imaginary_code_norm_total_unique_witnessrepresentation)) * S ((ge_representation_real_code_norm_total_unique_witnessrepresentation) + (ge_representation_imaginary_code_norm_total_unique_witnessrepresentation)) + ((ge_representation_imaginary_code_norm_total_unique_witnessrepresentation) + (ge_representation_imaginary_code_norm_total_unique_witnessrepresentation))) /\ ((exists ge_balance_positive_norm_total_unique_witnessrepresentationreal ge_balance_negative_norm_total_unique_witnessrepresentationreal. (((((ge_representation_real_code_norm_total_unique_witnessrepresentation) = 2 * (ge_balance_positive_norm_total_unique_witnessrepresentationreal) /\ (ge_balance_negative_norm_total_unique_witnessrepresentationreal) = 0) \/ exists ge_signed_half_norm_total_unique_witnessrepresentationrealdecode. (((ge_representation_real_code_norm_total_unique_witnessrepresentation) = 2 * ge_signed_half_norm_total_unique_witnessrepresentationrealdecode + 1 /\ (ge_balance_positive_norm_total_unique_witnessrepresentationreal) = 0) /\ (ge_balance_negative_norm_total_unique_witnessrepresentationreal) = S ge_signed_half_norm_total_unique_witnessrepresentationrealdecode))) /\ ((ge_norm_rp_norm_total_unique_witness) + ge_balance_negative_norm_total_unique_witnessrepresentationreal = (ge_norm_rn_norm_total_unique_witness) + ge_balance_positive_norm_total_unique_witnessrepresentationreal))) /\ (exists ge_balance_positive_norm_total_unique_witnessrepresentationimaginary ge_balance_negative_norm_total_unique_witnessrepresentationimaginary. (((((ge_representation_imaginary_code_norm_total_unique_witnessrepresentation) = 2 * (ge_balance_positive_norm_total_unique_witnessrepresentationimaginary) /\ (ge_balance_negative_norm_total_unique_witnessrepresentationimaginary) = 0) \/ exists ge_signed_half_norm_total_unique_witnessrepresentationimaginarydecode. (((ge_representation_imaginary_code_norm_total_unique_witnessrepresentation) = 2 * ge_signed_half_norm_total_unique_witnessrepresentationimaginarydecode + 1 /\ (ge_balance_positive_norm_total_unique_witnessrepresentationimaginary) = 0) /\ (ge_balance_negative_norm_total_unique_witnessrepresentationimaginary) = S ge_signed_half_norm_total_unique_witnessrepresentationimaginarydecode))) /\ ((ge_norm_ip_norm_total_unique_witness) + ge_balance_negative_norm_total_unique_witnessrepresentationimaginary = (ge_norm_in_norm_total_unique_witness) + ge_balance_positive_norm_total_unique_witnessrepresentationimaginary)))))) /\ (exists ge_real_square_norm_total_unique_witnesssquare ge_imaginary_square_norm_total_unique_witnesssquare. ((((((ge_norm_rp_norm_total_unique_witness) * (ge_norm_rp_norm_total_unique_witness))) + (((ge_norm_rn_norm_total_unique_witness) * (ge_norm_rn_norm_total_unique_witness)))) = ((ge_real_square_norm_total_unique_witnesssquare) + (((((ge_norm_rp_norm_total_unique_witness) * (ge_norm_rn_norm_total_unique_witness))) + (((ge_norm_rn_norm_total_unique_witness) * (ge_norm_rp_norm_total_unique_witness))))))) /\ ((((((ge_norm_ip_norm_total_unique_witness) * (ge_norm_ip_norm_total_unique_witness))) + (((ge_norm_in_norm_total_unique_witness) * (ge_norm_in_norm_total_unique_witness)))) = ((ge_imaginary_square_norm_total_unique_witnesssquare) + (((((ge_norm_ip_norm_total_unique_witness) * (ge_norm_in_norm_total_unique_witness))) + (((ge_norm_in_norm_total_unique_witness) * (ge_norm_ip_norm_total_unique_witness))))))) /\ ((N) = ge_real_square_norm_total_unique_witnesssquare + ge_imaginary_square_norm_total_unique_witnesssquare)))))) /\ (forall M. (exists ge_norm_rp_norm_total_unique_compare ge_norm_rn_norm_total_unique_compare ge_norm_ip_norm_total_unique_compare ge_norm_in_norm_total_unique_compare. ((exists ge_representation_real_code_norm_total_unique_comparerepresentation ge_representation_imaginary_code_norm_total_unique_comparerepresentation. (((z) = ((ge_representation_real_code_norm_total_unique_comparerepresentation) + (ge_representation_imaginary_code_norm_total_unique_comparerepresentation)) * S ((ge_representation_real_code_norm_total_unique_comparerepresentation) + (ge_representation_imaginary_code_norm_total_unique_comparerepresentation)) + ((ge_representation_imaginary_code_norm_total_unique_comparerepresentation) + (ge_representation_imaginary_code_norm_total_unique_comparerepresentation))) /\ ((exists ge_balance_positive_norm_total_unique_comparerepresentationreal ge_balance_negative_norm_total_unique_comparerepresentationreal. (((((ge_representation_real_code_norm_total_unique_comparerepresentation) = 2 * (ge_balance_positive_norm_total_unique_comparerepresentationreal) /\ (ge_balance_negative_norm_total_unique_comparerepresentationreal) = 0) \/ exists ge_signed_half_norm_total_unique_comparerepresentationrealdecode. (((ge_representation_real_code_norm_total_unique_comparerepresentation) = 2 * ge_signed_half_norm_total_unique_comparerepresentationrealdecode + 1 /\ (ge_balance_positive_norm_total_unique_comparerepresentationreal) = 0) /\ (ge_balance_negative_norm_total_unique_comparerepresentationreal) = S ge_signed_half_norm_total_unique_comparerepresentationrealdecode))) /\ ((ge_norm_rp_norm_total_unique_compare) + ge_balance_negative_norm_total_unique_comparerepresentationreal = (ge_norm_rn_norm_total_unique_compare) + ge_balance_positive_norm_total_unique_comparerepresentationreal))) /\ (exists ge_balance_positive_norm_total_unique_comparerepresentationimaginary ge_balance_negative_norm_total_unique_comparerepresentationimaginary. (((((ge_representation_imaginary_code_norm_total_unique_comparerepresentation) = 2 * (ge_balance_positive_norm_total_unique_comparerepresentationimaginary) /\ (ge_balance_negative_norm_total_unique_comparerepresentationimaginary) = 0) \/ exists ge_signed_half_norm_total_unique_comparerepresentationimaginarydecode. (((ge_representation_imaginary_code_norm_total_unique_comparerepresentation) = 2 * ge_signed_half_norm_total_unique_comparerepresentationimaginarydecode + 1 /\ (ge_balance_positive_norm_total_unique_comparerepresentationimaginary) = 0) /\ (ge_balance_negative_norm_total_unique_comparerepresentationimaginary) = S ge_signed_half_norm_total_unique_comparerepresentationimaginarydecode))) /\ ((ge_norm_ip_norm_total_unique_compare) + ge_balance_negative_norm_total_unique_comparerepresentationimaginary = (ge_norm_in_norm_total_unique_compare) + ge_balance_positive_norm_total_unique_comparerepresentationimaginary)))))) /\ (exists ge_real_square_norm_total_unique_comparesquare ge_imaginary_square_norm_total_unique_comparesquare. ((((((ge_norm_rp_norm_total_unique_compare) * (ge_norm_rp_norm_total_unique_compare))) + (((ge_norm_rn_norm_total_unique_compare) * (ge_norm_rn_norm_total_unique_compare)))) = ((ge_real_square_norm_total_unique_comparesquare) + (((((ge_norm_rp_norm_total_unique_compare) * (ge_norm_rn_norm_total_unique_compare))) + (((ge_norm_rn_norm_total_unique_compare) * (ge_norm_rp_norm_total_unique_compare))))))) /\ ((((((ge_norm_ip_norm_total_unique_compare) * (ge_norm_ip_norm_total_unique_compare))) + (((ge_norm_in_norm_total_unique_compare) * (ge_norm_in_norm_total_unique_compare)))) = ((ge_imaginary_square_norm_total_unique_comparesquare) + (((((ge_norm_ip_norm_total_unique_compare) * (ge_norm_in_norm_total_unique_compare))) + (((ge_norm_in_norm_total_unique_compare) * (ge_norm_ip_norm_total_unique_compare))))))) /\ ((M) = ge_real_square_norm_total_unique_comparesquare + ge_imaginary_square_norm_total_unique_comparesquare)))))) -> M = N)))Constructive proof overview
Generated structural guide
Every canonical Gaussian integer has one genuinely constructed and uniquely determined natural squared norm.
The unchanged tactic script uses 2 declared prerequisites and contains 18 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
Direct 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.
Named ingredients (2)
01Fix variables and assumptionsL1–2
02Establish hnormL3–6
03Separate the logical casesL7–7
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L7
cases hnorm
04Construct an explicit witnessL8–8
Supply the displayed value, then prove that it has the required property.
- L8
exists x
05Separate the logical casesL9–9
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L9
split
06Use earlier factsL10–10
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L10
exact hnorm_witness
07Fix variables and assumptionsL11–12
Original exact command ledger · 18 lines
- 0001
intro z - 0002
intro hvalid - 0003
have hnorm : exists N. (exists ge_norm_rp_norm_total_unique_construct ge_norm_rn_norm_total_unique_construct ge_norm_ip_norm_total_unique_construct ge_norm_in_norm_total_unique_construct. ((exists ge_representation_real_code_norm_total_unique_constructrepresentation ge_representation_imaginary_code_norm_total_unique_constructrepresentation. (((z) = ((ge_representation_real_code_norm_total_unique_constructrepresentation) + (ge_representation_imaginary_code_norm_total_unique_constructrepresentation)) * S ((ge_representation_real_code_norm_total_unique_constructrepresentation) + (ge_representation_imaginary_code_norm_total_unique_constructrepresentation)) + ((ge_representation_imaginary_code_norm_total_unique_constructrepresentation) + (ge_representation_imaginary_code_norm_total_unique_constructrepresentation))) /\ ((exists ge_balance_positive_norm_total_unique_constructrepresentationreal ge_balance_negative_norm_total_unique_constructrepresentationreal. (((((ge_representation_real_code_norm_total_unique_constructrepresentation) = 2 * (ge_balance_positive_norm_total_unique_constructrepresentationreal) /\ (ge_balance_negative_norm_total_unique_constructrepresentationreal) = 0) \/ exists ge_signed_half_norm_total_unique_constructrepresentationrealdecode. (((ge_representation_real_code_norm_total_unique_constructrepresentation) = 2 * ge_signed_half_norm_total_unique_constructrepresentationrealdecode + 1 /\ (ge_balance_positive_norm_total_unique_constructrepresentationreal) = 0) /\ (ge_balance_negative_norm_total_unique_constructrepresentationreal) = S ge_signed_half_norm_total_unique_constructrepresentationrealdecode))) /\ ((ge_norm_rp_norm_total_unique_construct) + ge_balance_negative_norm_total_unique_constructrepresentationreal = (ge_norm_rn_norm_total_unique_construct) + ge_balance_positive_norm_total_unique_constructrepresentationreal))) /\ (exists ge_balance_positive_norm_total_unique_constructrepresentationimaginary ge_balance_negative_norm_total_unique_constructrepresentationimaginary. (((((ge_representation_imaginary_code_norm_total_unique_constructrepresentation) = 2 * (ge_balance_positive_norm_total_unique_constructrepresentationimaginary) /\ (ge_balance_negative_norm_total_unique_constructrepresentationimaginary) = 0) \/ exists ge_signed_half_norm_total_unique_constructrepresentationimaginarydecode. (((ge_representation_imaginary_code_norm_total_unique_constructrepresentation) = 2 * ge_signed_half_norm_total_unique_constructrepresentationimaginarydecode + 1 /\ (ge_balance_positive_norm_total_unique_constructrepresentationimaginary) = 0) /\ (ge_balance_negative_norm_total_unique_constructrepresentationimaginary) = S ge_signed_half_norm_total_unique_constructrepresentationimaginarydecode))) /\ ((ge_norm_ip_norm_total_unique_construct) + ge_balance_negative_norm_total_unique_constructrepresentationimaginary = (ge_norm_in_norm_total_unique_construct) + ge_balance_positive_norm_total_unique_constructrepresentationimaginary)))))) /\ (exists ge_real_square_norm_total_unique_constructsquare ge_imaginary_square_norm_total_unique_constructsquare. ((((((ge_norm_rp_norm_total_unique_construct) * (ge_norm_rp_norm_total_unique_construct))) + (((ge_norm_rn_norm_total_unique_construct) * (ge_norm_rn_norm_total_unique_construct)))) = ((ge_real_square_norm_total_unique_constructsquare) + (((((ge_norm_rp_norm_total_unique_construct) * (ge_norm_rn_norm_total_unique_construct))) + (((ge_norm_rn_norm_total_unique_construct) * (ge_norm_rp_norm_total_unique_construct))))))) /\ ((((((ge_norm_ip_norm_total_unique_construct) * (ge_norm_ip_norm_total_unique_construct))) + (((ge_norm_in_norm_total_unique_construct) * (ge_norm_in_norm_total_unique_construct)))) = ((ge_imaginary_square_norm_total_unique_constructsquare) + (((((ge_norm_ip_norm_total_unique_construct) * (ge_norm_in_norm_total_unique_construct))) + (((ge_norm_in_norm_total_unique_construct) * (ge_norm_ip_norm_total_unique_construct))))))) /\ ((N) = ge_real_square_norm_total_unique_constructsquare + ge_imaginary_square_norm_total_unique_constructsquare)))))) - 0004
specialize gaussian_norm_exists z - 0005
apply gaussian_norm_exists - 0006
exact hvalid - 0007
cases hnorm - 0008
exists x - 0009
split - 0010
exact hnorm_witness - 0011
intro M - 0012
intro hother - 0013
specialize gaussian_norm_functional z - 0014
specialize gaussian_norm_functional M - 0015
specialize gaussian_norm_functional x - 0016
apply gaussian_norm_functional - 0017
exact hother - 0018
exact hnorm_witness