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
∀ q. ∀ k. ∀ r. ∀ s. k = q · r + s → Lt(k,q · q) → Lt(r,q)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 30 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–6
02Use earlier factsL7–8
03Separate the logical casesL9–10
04Establish hreverseL11–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le trans.
05Use earlier factsL21–30
Instantiate or apply named facts and discharge the corresponding proof obligations.
Original defined command ledger · 30 lines
- 0001
intro q - 0002
intro k - 0003
intro r - 0004
intro s - 0005
intro hk - 0006
intro hbound - 0007
specialize le_or_lt q - 0008
specialize le_or_lt r - 0009
cases le_or_lt - 0010
exfalso - 0011
have hreverse : Le(q · q,k) - 0012
rewrite hk - 0013
specialize le_trans (q * q) - 0014
specialize le_trans (q * r) - 0015
specialize le_trans (q * r + s) - 0016
apply le_trans - 0017
specialize mul_le_mul_left (q) - 0018
specialize mul_le_mul_left (r) - 0019
specialize mul_le_mul_left (q) - 0020
apply mul_le_mul_left - 0021
exact le_or_lt_left - 0022
specialize le_add_right (q * r) - 0023
specialize le_add_right (s) - 0024
apply le_add_right - 0025
specialize lt_not_le (k) - 0026
specialize lt_not_le (q * q) - 0027
apply lt_not_le - 0028
exact hbound - 0029
exact hreverse - 0030
exact le_or_lt_right