GF0021

gaussian_ring_raw_add_associative

Actual signed-coordinate Gaussian sums associate by proved natural addition identities.

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

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.

Inputs are genuine canonical signed-pair codes, not arbitrary naturals. Products start at the actual Gaussian identity, whose code is six. The factor list uses the proved prime-divisor property; irreducibility alone is not silently renamed primality. Uniqueness supplies equal lengths, a bounded bijection, and an actual unit at each match, including repeated factors. Units have empty factorizations and zero is excluded. Sorted primary representatives, Gaussian prime classification, and Eisenstein factorization are separate targets.

Exact theorem in conservative defined notation

∀ ap. ∀ an. ∀ bp. ∀ bn. ∀ cp. ∀ cn. ∀ dp. ∀ dn. ∀ ep. ∀ en. ∀ fp. ∀ fn. ap + cp + ep + (an + (cn + en)) = ap + (cp + ep) + (an + cn + en) ∧ bp + dp + fp + (bn + (dn + fn)) = bp + (dp + fp) + (bn + dn + fn)

Every linked abbreviation expands hygienically to the identical original native formula.

Definition DAG

none

Actual proof prerequisites

add_assoc · checked external prerequisite
Original expanded first-order statement
forall ap an bp bn cp cn dp dn ep en fp fn. (((((((((ap) + (cp))) + (ep))) + (((an) + (((cn) + (en)))))) = ((((ap) + (((cp) + (ep))))) + (((((an) + (cn))) + (en))))) /\ (((((((bp) + (dp))) + (fp))) + (((bn) + (((dn) + (fn)))))) = ((((bp) + (((dp) + (fp))))) + (((((bn) + (dn))) + (fn)))))))

Complete tactic proof in conservative notation

All 15 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay script.

Read the argument

Proof checkpoints

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

Definition notation is shown below. Open the paired exact edition for the original native formulas. Source pairing is not a new equivalence certificate.

01Fix variables and assumptionsL1–10

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

  1. L1
    intro ap
  2. L2
    intro an
  3. L3
    intro bp
  4. L4
    intro bn
  5. L5
    intro cp
  6. L6
    intro cn
  7. L7
    intro dp
  8. L8
    intro dn
  9. L9
    intro ep
  10. L10
    intro en
02Fix variables and assumptionsL11–12

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

  1. L11
    intro fp
  2. L12
    intro fn
03Separate the logical casesL13–13

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

  1. L13
    split
04Calculate and transport equalitiesL14–15

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

  1. L14
    simp [add_assoc]
  2. L15
    simp [add_assoc]

Library-wide reading audit

Original defined command ledger · 15 lines
  1. 0001intro ap
  2. 0002intro an
  3. 0003intro bp
  4. 0004intro bn
  5. 0005intro cp
  6. 0006intro cn
  7. 0007intro dp
  8. 0008intro dn
  9. 0009intro ep
  10. 0010intro en
  11. 0011intro fp
  12. 0012intro fn
  13. 0013split
  14. 0014simp [add_assoc]
  15. 0015simp [add_assoc]