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
∀ p. ∀ n. ∀ q0. ∀ d0. ∀ q1. ∀ d1. DivRem(n,p,q0,d0) → DivRem(q0,p,q1,d1) → n = p · p · q1 + (p · d1 + d0)Every purple notation token opens its conservative definition. This reading surface never changes the unchanged intuitionistic kernel or confers checked-use authority.
Definitions used by this theorem
In the theorem statement
In local proof propositions
Exact expanded first-order statement
forall p n q0 d0 q1 d1. (((n) = (p) * (q0) + (d0)) /\ (exists ldc_lt_first_bound. ldc_lt_first_bound + S (d0) = p)) -> (((q0) = (p) * (q1) + (d1)) /\ (exists ldc_lt_second_bound. ldc_lt_second_bound + S (d1) = p)) -> n = (p * p) * q1 + (p * d1 + d0)Proof neighborhood
Direct theorem prerequisites
Direct theorem dependents
Definition-aware tactic body
Only propositions whose conservative expansion has been checked for exact first-order equivalence are compacted. Every changed line retains its immutable exact replay command.
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
02Separate the logical casesL9–10
03Calculate and transport equalitiesL11–12
04Use earlier factsL13–13
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L13
exact hfirst_left
05Calculate and transport equalitiesL14–15
06Use earlier factsL16–16
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L16
apply mul_add
07Calculate and transport equalitiesL17–21
08Use earlier factsL22–22
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L22
apply mul_assoc
09Calculate and transport equalitiesL23–24
10Use earlier factsL25–25
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L25
apply add_assoc
Original defined command ledger · 25 lines
- 0001
intro p - 0002
intro n - 0003
intro q0 - 0004
intro d0 - 0005
intro q1 - 0006
intro d1 - 0007
intro hfirst - 0008
intro hsecond - 0009
cases hfirst - 0010
cases hsecond - 0011
rewrite hsecond_left at hfirst_left - 0012
trans p * (p * q1 + d1) + d0 - 0013
exact hfirst_left - 0014
trans (p * (p * q1) + p * d1) + d0 - 0015
congr - 0016
apply mul_add - 0017
refl - 0018
trans ((p * p) * q1 + p * d1) + d0 - 0019
congr - 0020
congr - 0021
symm - 0022
apply mul_assoc - 0023
refl - 0024
refl - 0025
apply add_assoc