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
∀ p. ∀ n. ∀ D. ¬D = 0 → p = n + D ∨ n = p + D → ¬p = n
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 31 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–7
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L7
apply habsolute
03Separate the logical casesL8–8
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L8
cases hgap
04Use earlier factsL9–12
05Calculate and transport equalitiesL13–14
06Use earlier factsL15–15
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L15
exact hgap_left
07Calculate and transport equalitiesL16–16
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L16
trans n
08Use earlier factsL17–17
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L17
exact hpair
09Calculate and transport equalitiesL18–18
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L18
symm
10Use earlier factsL19–23
11Calculate and transport equalitiesL24–25
12Use earlier factsL26–26
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L26
exact hgap_right
13Calculate and transport equalitiesL27–28
14Use earlier factsL29–29
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L29
exact hpair
15Calculate and transport equalitiesL30–30
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L30
symm
16Use earlier factsL31–31
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L31
apply PA3
Original defined command ledger · 31 lines
- 0001
intro p - 0002
intro n - 0003
intro D - 0004
intro habsolute - 0005
intro hgap - 0006
intro hpair - 0007
apply habsolute - 0008
cases hgap - 0009
specialize add_left_cancel (n) - 0010
specialize add_left_cancel (D) - 0011
specialize add_left_cancel (0) - 0012
apply add_left_cancel - 0013
trans p - 0014
symm - 0015
exact hgap_left - 0016
trans n - 0017
exact hpair - 0018
symm - 0019
apply PA3 - 0020
specialize add_left_cancel (p) - 0021
specialize add_left_cancel (D) - 0022
specialize add_left_cancel (0) - 0023
apply add_left_cancel - 0024
trans n - 0025
symm - 0026
exact hgap_right - 0027
trans p - 0028
symm - 0029
exact hpair - 0030
symm - 0031
apply PA3