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.
This branch proves the finite determinant/rank/span substrate. It does not claim Smith or Hermite normal form, lattice index equals determinant, determinant multiplicativity, lattice reduction, or geometry-of-numbers theorems.
Exact theorem in conservative defined notation
∀ a. ∀ b. ∀ c. ∀ d. ∀ e. ∀ f. a + d = c + b → c + f = e + d → a + f = e + b
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 25 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–8
02Use earlier factsL9–12
03Calculate and transport equalitiesL13–13
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L13
trans (a + d) + f
04Use earlier factsL14–14
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L14
apply four_square_euler_add_swap_last
05Calculate and transport equalitiesL15–16
06Use earlier factsL17–17
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L17
exact hfirst
07Calculate and transport equalitiesL18–19
08Use earlier factsL20–20
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
apply four_square_euler_add_swap_last
09Calculate and transport equalitiesL21–22
10Use earlier factsL23–23
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L23
exact hsecond
11Calculate and transport equalitiesL24–24
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L24
refl
12Use earlier factsL25–25
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L25
apply four_square_euler_add_swap_last
Original defined command ledger · 25 lines
- 0001
intro a - 0002
intro b - 0003
intro c - 0004
intro d - 0005
intro e - 0006
intro f - 0007
intro hfirst - 0008
intro hsecond - 0009
specialize add_right_cancel (a + f) - 0010
specialize add_right_cancel (e + b) - 0011
specialize add_right_cancel (d) - 0012
apply add_right_cancel - 0013
trans (a + d) + f - 0014
apply four_square_euler_add_swap_last - 0015
trans (c + b) + f - 0016
congr - 0017
exact hfirst - 0018
refl - 0019
trans (c + f) + b - 0020
apply four_square_euler_add_swap_last - 0021
trans (e + d) + b - 0022
congr - 0023
exact hsecond - 0024
refl - 0025
apply four_square_euler_add_swap_last