GI003F

gaussian_representation_exists

Alpha v34 independently verified · alpha_closed; checked-use authorized; not Stable

Every pair of arbitrary represented integers has an actually constructed canonical natural Gaussian code.

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 authorized

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

22 script commands · 10 reading checkpoints · 2 local claims

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.

Long local formulas use this family’s existing definitions. Each new abbreviation was expanded back to the identical native formula, including its free-variable context. The original edition is preserved below.

01Fix variables and assumptionsL1–4

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro a
  2. L2
    intro b
  3. L3
    intro c
  4. L4
    intro d
02Establish hrealL5–8

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance total.

  1. L5
    have hreal : ∃ rc. SignedBalance(rc,a,b)Definitions: SignedBalance
  2. L6
    specialize signed_balance_total a
  3. L7
    specialize signed_balance_total b
  4. L8
    apply signed_balance_total
03Separate the logical casesL9–9

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. 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.

  1. L10
    have himaginary : ∃ ic. SignedBalance(ic,c,d)Definitions: SignedBalance
  2. L11
    specialize signed_balance_total c
  3. L12
    specialize signed_balance_total d
  4. L13
    apply signed_balance_total
05Separate the logical casesL14–14

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L14
    cases himaginary
06Construct an explicit witnessL15–17

Supply the displayed value, then prove that it has the required property.

  1. L15
    exists ((x) + (x1)) * S ((x) + (x1)) + ((x1) + (x1))
  2. L16
    exists x
  3. L17
    exists x1
07Separate the logical casesL18–18

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L18
    split
08Calculate and transport equalitiesL19–19

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L19
    refl
09Separate the logical casesL20–20

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L20
    split
10Use earlier factsL21–22

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L21
    exact hreal_witness
  2. L22
    exact himaginary_witness

Library-wide reading audit

Original exact command ledger · 22 lines
  1. 0001intro a
  2. 0002intro b
  3. 0003intro c
  4. 0004intro d
  5. 0005have 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)))
  6. 0006specialize signed_balance_total a
  7. 0007specialize signed_balance_total b
  8. 0008apply signed_balance_total
  9. 0009cases hreal
  10. 0010have 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)))
  11. 0011specialize signed_balance_total c
  12. 0012specialize signed_balance_total d
  13. 0013apply signed_balance_total
  14. 0014cases himaginary
  15. 0015exists ((x) + (x1)) * S ((x) + (x1)) + ((x1) + (x1))
  16. 0016exists x
  17. 0017exists x1
  18. 0018split
  19. 0019refl
  20. 0020split
  21. 0021exact hreal_witness
  22. 0022exact himaginary_witness