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.
Sets are complete characteristic-bit codes with actual finite cardinality witnesses. The proof constructs translations and the sumset; no finite-choice oracle, supplied cardinality conclusion, or unproved polynomial-method premise is used.
Exact theorem in conservative defined notation
∀ p. ∀ a. ¬p = 0 → ∃ x. Lt(x,p) ∧ ModEq(p,a,x)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 26 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–3
02Establish hdL4–8
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply division remainder exists.
03Separate the logical casesL9–11
04Construct an explicit witnessL12–12
Supply the displayed value, then prove that it has the required property.
- L12
exists x1
05Separate the logical casesL13–13
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L13
split
06Use earlier factsL14–19
Instantiate or apply named facts and discharge the corresponding proof obligations.
07Calculate and transport equalitiesL20–20
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L20
trans p*x+x1
08Use earlier factsL21–21
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
exact hd_witness_witness_left
09Calculate and transport equalitiesL22–22
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L22
congr
10Use earlier factsL23–25
11Calculate and transport equalitiesL26–26
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L26
refl
Original defined command ledger · 26 lines
- 0001
intro p - 0002
intro a - 0003
intro hp - 0004
have hd : ∃ q. ∃ r. a = p · q + r ∧ Lt(r,p) - 0005
specialize division_remainder_exists p - 0006
specialize division_remainder_exists a - 0007
apply division_remainder_exists - 0008
exact hp - 0009
cases hd - 0010
cases hd_witness - 0011
cases hd_witness_witness - 0012
exists x1 - 0013
split - 0014
exact hd_witness_witness_right - 0015
specialize remainder_decomposition_to_mod_eq p - 0016
specialize remainder_decomposition_to_mod_eq a - 0017
specialize remainder_decomposition_to_mod_eq x - 0018
specialize remainder_decomposition_to_mod_eq x1 - 0019
apply remainder_decomposition_to_mod_eq - 0020
trans p*x+x1 - 0021
exact hd_witness_witness_left - 0022
congr - 0023
specialize mul_comm p - 0024
specialize mul_comm x - 0025
apply mul_comm - 0026
refl