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.
Exact expanded PA statement
forall d q r. (exists k. k + S r = d) -> exists k. k + S (d * q + r) = d * S qStructural proof guide
Generated structural guide
A bounded remainder keeps its decomposition below the next divisor block.
Use the direct prerequisites add_assoc, add_comm as previously established PA formulas.
The proof proceeds by case analysis (1).
Referenced ingredients
Proof neighborhood
Direct dependencies
Direct dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Linked names are exact direct references. This Stable checked-use theorem is independently kernel-checked when replayed.
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–4
02Separate the logical casesL5–5
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L5
cases h
03Construct an explicit witnessL6–6
Supply the displayed value, then prove that it has the required property.
- L6
exists x
04Calculate and transport equalitiesL7–7
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L7
trans S (x + (d * q + r))
05Use earlier factsL8–8
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L8
apply PA4
06Calculate and transport equalitiesL9–11
07Use earlier factsL12–12
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L12
apply add_assoc
08Calculate and transport equalitiesL13–15
09Use earlier factsL16–16
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L16
apply add_comm
10Calculate and transport equalitiesL17–19
11Use earlier factsL20–20
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
apply add_assoc
12Calculate and transport equalitiesL21–22
13Use earlier factsL23–23
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L23
apply PA4
14Calculate and transport equalitiesL24–27
15Use earlier factsL28–28
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L28
apply PA4
16Calculate and transport equalitiesL29–31
17Use earlier factsL32–32
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L32
exact h_witness
18Calculate and transport equalitiesL33–33
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L33
symm
19Use earlier factsL34–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L34
apply PA6
Original exact command ledger · 34 lines
- 0001
intro d - 0002
intro q - 0003
intro r - 0004
intro h - 0005
cases h - 0006
exists x - 0007
trans S (x + (d * q + r)) - 0008
apply PA4 - 0009
trans S ((x + d * q) + r) - 0010
congr - 0011
symm - 0012
apply add_assoc - 0013
trans S ((d * q + x) + r) - 0014
congr - 0015
congr - 0016
apply add_comm - 0017
refl - 0018
trans S (d * q + (x + r)) - 0019
congr - 0020
apply add_assoc - 0021
trans d * q + S (x + r) - 0022
symm - 0023
apply PA4 - 0024
trans d * q + (x + S r) - 0025
congr - 0026
refl - 0027
symm - 0028
apply PA4 - 0029
trans d * q + d - 0030
congr - 0031
refl - 0032
exact h_witness - 0033
symm - 0034
apply PA6