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.
A floor quotient in the fundamental parallelogram already gives the required strict norm decrease; global nearest-point optimality is not asserted. The shared carrier is identical to the Gaussian carrier, but the multiplication law and norm are different. Eisenstein gcd, factorization, and prime classification remain separate targets.
Exact theorem in conservative defined notation
∀ a. ∀ b. ∀ c. ∀ d. ∀ e. ∀ f. ∀ g. ∀ h. ∀ i. ∀ j. ∀ k. ∀ l. a · (f + i) + b · (e + j) + (c · (g + l) + d · (h + k)) = a · f + b · e + (c · g + d · h) + (a · i + b · j + (c · l + d · k))
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 44 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
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–10
02Fix variables and assumptionsL11–12
03Calculate and transport equalitiesL13–18
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L13
trans ((((a) * (f))) + ((((a) * (i))) + ((((b) * (e))) + ((((b) * (j))) + ((((c) * (g))) + ((((c) * (l))) + ((((d) * (h))) + (((d) * (k)))))))))) - L14
simp [add_mul, mul_add, mul_assoc, add_assoc] - L15
trans ((((a) * (f))) + ((((b) * (e))) + ((((c) * (g))) + ((((d) * (h))) + ((((a) * (i))) + ((((b) * (j))) + ((((c) * (l))) + (((d) * (k)))))))))) - L16
congr - L17
refl - L18
trans ((((b) * (e))) + ((((a) * (i))) + ((((b) * (j))) + ((((c) * (g))) + ((((c) * (l))) + ((((d) * (h))) + (((d) * (k)))))))))
04Use earlier factsL19–19
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L19
apply four_square_add_swap_right_tail
05Calculate and transport equalitiesL20–25
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
06Use earlier factsL26–27
07Calculate and transport equalitiesL28–36
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L28
congr - L29
refl - L30
trans ((((d) * (h))) + ((((a) * (i))) + ((((b) * (j))) + ((((c) * (l))) + (((d) * (k))))))) - L31
trans ((((a) * (i))) + ((((d) * (h))) + ((((b) * (j))) + ((((c) * (l))) + (((d) * (k))))))) - L32
congr - L33
refl - L34
trans ((((b) * (j))) + ((((d) * (h))) + ((((c) * (l))) + (((d) * (k)))))) - L35
congr - L36
refl
08Use earlier factsL37–39
Original defined command ledger · 44 lines
- 0001
intro a - 0002
intro b - 0003
intro c - 0004
intro d - 0005
intro e - 0006
intro f - 0007
intro g - 0008
intro h - 0009
intro i - 0010
intro j - 0011
intro k - 0012
intro l - 0013
trans ((((a) * (f))) + ((((a) * (i))) + ((((b) * (e))) + ((((b) * (j))) + ((((c) * (g))) + ((((c) * (l))) + ((((d) * (h))) + (((d) * (k)))))))))) - 0014
simp [add_mul, mul_add, mul_assoc, add_assoc] - 0015
trans ((((a) * (f))) + ((((b) * (e))) + ((((c) * (g))) + ((((d) * (h))) + ((((a) * (i))) + ((((b) * (j))) + ((((c) * (l))) + (((d) * (k)))))))))) - 0016
congr - 0017
refl - 0018
trans ((((b) * (e))) + ((((a) * (i))) + ((((b) * (j))) + ((((c) * (g))) + ((((c) * (l))) + ((((d) * (h))) + (((d) * (k))))))))) - 0019
apply four_square_add_swap_right_tail - 0020
congr - 0021
refl - 0022
trans ((((c) * (g))) + ((((a) * (i))) + ((((b) * (j))) + ((((c) * (l))) + ((((d) * (h))) + (((d) * (k)))))))) - 0023
trans ((((a) * (i))) + ((((c) * (g))) + ((((b) * (j))) + ((((c) * (l))) + ((((d) * (h))) + (((d) * (k)))))))) - 0024
congr - 0025
refl - 0026
apply four_square_add_swap_right_tail - 0027
apply four_square_add_swap_right_tail - 0028
congr - 0029
refl - 0030
trans ((((d) * (h))) + ((((a) * (i))) + ((((b) * (j))) + ((((c) * (l))) + (((d) * (k))))))) - 0031
trans ((((a) * (i))) + ((((d) * (h))) + ((((b) * (j))) + ((((c) * (l))) + (((d) * (k))))))) - 0032
congr - 0033
refl - 0034
trans ((((b) * (j))) + ((((d) * (h))) + ((((c) * (l))) + (((d) * (k)))))) - 0035
congr - 0036
refl - 0037
apply four_square_add_swap_right_tail - 0038
apply four_square_add_swap_right_tail - 0039
apply four_square_add_swap_right_tail - 0040
congr - 0041
refl - 0042
refl - 0043
symm - 0044
simp [add_mul, mul_add, mul_assoc, add_assoc]