GI0001

natural_mul_swap_right_tail

A checked adjacent natural-product permutation supplies small ordinary-tactic polynomial calculations for both quadratic integer rings.

Alpha v34 checked-use · first admitted v28 · 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.

The natural-code carrier consists of genuine pairs of the existing signed integers; no new primitive arithmetic is trusted. The theorem constructs quotient, remainder, and actual norm witnesses. Gaussian gcd, unique factorization, and prime classification are separate targets.

Exact theorem in conservative defined notation

∀ a. ∀ b. ∀ c. a · (b · c) = b · (a · c)

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

Definition DAG

none

Actual proof prerequisites

mul_assoc · checked external prerequisitemul_comm · checked external prerequisite
Original expanded first-order statement
forall a b c. a * (b * c) = b * (a * c)

Complete tactic proof in conservative notation

All 11 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

11 script commands · 7 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–3

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

  1. L1
    intro a
  2. L2
    intro b
  3. L3
    intro c
02Calculate and transport equalitiesL4–5

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

  1. L4
    trans (a * b) * c
  2. L5
    symm
03Use earlier factsL6–6

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

  1. L6
    apply mul_assoc
04Calculate and transport equalitiesL7–8

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

  1. L7
    trans (b * a) * c
  2. L8
    congr
05Use earlier factsL9–9

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

  1. L9
    apply mul_comm
06Calculate and transport equalitiesL10–10

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

  1. L10
    refl
07Use earlier factsL11–11

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

  1. L11
    apply mul_assoc

Library-wide reading audit

Original defined command ledger · 11 lines
  1. 0001intro a
  2. 0002intro b
  3. 0003intro c
  4. 0004trans (a * b) * c
  5. 0005symm
  6. 0006apply mul_assoc
  7. 0007trans (b * a) * c
  8. 0008congr
  9. 0009apply mul_comm
  10. 0010refl
  11. 0011apply mul_assoc