GF0001

gaussian_valid_has_representation

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

Every valid canonical Gaussian code has actual signed-coordinate representatives.

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_ring_valid ge_real_negative_ring_valid ge_imaginary_positive_ring_valid ge_imaginary_negative_ring_valid. (exists ge_real_code_ring_validdecode ge_imaginary_code_ring_validdecode. (((z) = ((ge_real_code_ring_validdecode) + (ge_imaginary_code_ring_validdecode)) * S ((ge_real_code_ring_validdecode) + (ge_imaginary_code_ring_validdecode)) + ((ge_imaginary_code_ring_validdecode) + (ge_imaginary_code_ring_validdecode))) /\ (((((ge_real_code_ring_validdecode) = 2 * (ge_real_positive_ring_valid) /\ (ge_real_negative_ring_valid) = 0) \/ exists ge_signed_half_ge_ring_validdecode_real. (((ge_real_code_ring_validdecode) = 2 * ge_signed_half_ge_ring_validdecode_real + 1 /\ (ge_real_positive_ring_valid) = 0) /\ (ge_real_negative_ring_valid) = S ge_signed_half_ge_ring_validdecode_real))) /\ ((((ge_imaginary_code_ring_validdecode) = 2 * (ge_imaginary_positive_ring_valid) /\ (ge_imaginary_negative_ring_valid) = 0) \/ exists ge_signed_half_ge_ring_validdecode_imaginary. (((ge_imaginary_code_ring_validdecode) = 2 * ge_signed_half_ge_ring_validdecode_imaginary + 1 /\ (ge_imaginary_positive_ring_valid) = 0) /\ (ge_imaginary_negative_ring_valid) = S ge_signed_half_ge_ring_validdecode_imaginary))))))) -> exists ap an bp bn. (exists ge_representation_real_code_ring_representation ge_representation_imaginary_code_ring_representation. (((z) = ((ge_representation_real_code_ring_representation) + (ge_representation_imaginary_code_ring_representation)) * S ((ge_representation_real_code_ring_representation) + (ge_representation_imaginary_code_ring_representation)) + ((ge_representation_imaginary_code_ring_representation) + (ge_representation_imaginary_code_ring_representation))) /\ ((exists ge_balance_positive_ring_representationreal ge_balance_negative_ring_representationreal. (((((ge_representation_real_code_ring_representation) = 2 * (ge_balance_positive_ring_representationreal) /\ (ge_balance_negative_ring_representationreal) = 0) \/ exists ge_signed_half_ring_representationrealdecode. (((ge_representation_real_code_ring_representation) = 2 * ge_signed_half_ring_representationrealdecode + 1 /\ (ge_balance_positive_ring_representationreal) = 0) /\ (ge_balance_negative_ring_representationreal) = S ge_signed_half_ring_representationrealdecode))) /\ ((ap) + ge_balance_negative_ring_representationreal = (an) + ge_balance_positive_ring_representationreal))) /\ (exists ge_balance_positive_ring_representationimaginary ge_balance_negative_ring_representationimaginary. (((((ge_representation_imaginary_code_ring_representation) = 2 * (ge_balance_positive_ring_representationimaginary) /\ (ge_balance_negative_ring_representationimaginary) = 0) \/ exists ge_signed_half_ring_representationimaginarydecode. (((ge_representation_imaginary_code_ring_representation) = 2 * ge_signed_half_ring_representationimaginarydecode + 1 /\ (ge_balance_positive_ring_representationimaginary) = 0) /\ (ge_balance_negative_ring_representationimaginary) = S ge_signed_half_ring_representationimaginarydecode))) /\ ((bp) + ge_balance_negative_ring_representationimaginary = (bn) + ge_balance_positive_ring_representationimaginary))))))

Constructive proof overview

Generated structural guide

Every valid canonical Gaussian code has actual signed-coordinate representatives.

The unchanged tactic script uses 1 declared prerequisite and contains 17 exact native proof lines.

Alpha v34 checked-use · first admitted v30 · independently kernel and Lean verified; not Stable

Proof neighborhood

Direct dependencies

gaussian_decode_representation 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

17 script commands · 4 reading checkpoints · 0 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.

01Fix variables and assumptionsL1–2

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

  1. L1
    intro z
  2. L2
    intro h
02Separate the logical casesL3–6

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

  1. L3
    cases h
  2. L4
    cases h_witness
  3. L5
    cases h_witness_witness
  4. L6
    cases h_witness_witness_witness
03Construct an explicit witnessL7–10

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

  1. L7
    exists (x)
  2. L8
    exists (x1)
  3. L9
    exists (x2)
  4. L10
    exists (x3)
04Use earlier factsL11–17

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

  1. L11
    specialize gaussian_decode_representation (z)
  2. L12
    specialize gaussian_decode_representation (x)
  3. L13
    specialize gaussian_decode_representation (x1)
  4. L14
    specialize gaussian_decode_representation (x2)
  5. L15
    specialize gaussian_decode_representation (x3)
  6. L16
    apply gaussian_decode_representation
  7. L17
    exact h_witness_witness_witness_witness

Library-wide reading audit

Original exact command ledger · 17 lines
  1. 0001intro z
  2. 0002intro h
  3. 0003cases h
  4. 0004cases h_witness
  5. 0005cases h_witness_witness
  6. 0006cases h_witness_witness_witness
  7. 0007exists (x)
  8. 0008exists (x1)
  9. 0009exists (x2)
  10. 0010exists (x3)
  11. 0011specialize gaussian_decode_representation (z)
  12. 0012specialize gaussian_decode_representation (x)
  13. 0013specialize gaussian_decode_representation (x1)
  14. 0014specialize gaussian_decode_representation (x2)
  15. 0015specialize gaussian_decode_representation (x3)
  16. 0016apply gaussian_decode_representation
  17. 0017exact h_witness_witness_witness_witness