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.
Statement with defined notation
∀ d. ∀ n. ∀ q. ∀ r. DivRem(n,d,q,r) → Lt(n,d) → q = 0Every purple notation token opens its conservative definition. Expanding the displayed statement recovers the exact first-order Peano-arithmetic formula checked by the unchanged kernel.
Definitions used by this theorem
In the theorem statement
2 occurrences
In local proof propositions
0 occurrences
Exact expanded native-PA statement
forall d n q r. (((n) = (d) * (q) + (r) /\ (exists bcf_lt_gap_bdzq_source_bound. bcf_lt_gap_bdzq_source_bound + S (r) = d))) -> (exists bcf_lt_gap_bdzq_bound. bcf_lt_gap_bdzq_bound + S (n) = d) -> q = 0Proof neighborhood
Direct theorem prerequisites
Direct theorem dependents
Definition-aware tactic body
Only local propositions introduced by have or suffices are compacted. Every changed line has an exact-AST conservative-expansion receipt; the kernel still receives the immutable original tactic 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.
Named ingredients (2)
01Fix variables and assumptionsL1–6
02Separate the logical casesL7–7
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L7
cases hdivision
03Establish hzeroL8–12
04Establish huniqueL13–22
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply division remainder unique.
- L13
have hunique : q = 0 /\ r = n - L14
specialize division_remainder_unique d - L15
specialize division_remainder_unique n - L16
specialize division_remainder_unique q - L17
specialize division_remainder_unique r - L18
specialize division_remainder_unique 0 - L19
specialize division_remainder_unique n - L20
apply division_remainder_unique - L21
exact hdivision_left - L22
exact hdivision_right
05Use earlier factsL23–24
06Separate the logical casesL25–25
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L25
cases hunique
07Use earlier factsL26–26
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L26
exact hunique_left
Original defined command ledger · 26 lines
- 0001
intro d - 0002
intro n - 0003
intro q - 0004
intro r - 0005
intro hdivision - 0006
intro hbound - 0007
cases hdivision - 0008
have hzero : n = d * 0 + n - 0009
rewrite PA5 - 0010
symm - 0011
specialize zero_add n - 0012
apply zero_add - 0013
have hunique : q = 0 /\ r = n - 0014
specialize division_remainder_unique d - 0015
specialize division_remainder_unique n - 0016
specialize division_remainder_unique q - 0017
specialize division_remainder_unique r - 0018
specialize division_remainder_unique 0 - 0019
specialize division_remainder_unique n - 0020
apply division_remainder_unique - 0021
exact hdivision_left - 0022
exact hdivision_right - 0023
exact hzero - 0024
exact hbound - 0025
cases hunique - 0026
exact hunique_left