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 n. exists q r. n = S d * q + r /\ S r <= S dStructural proof guide
Every dividend has a quotient and bounded remainder for a successor divisor.
Direct prerequisites: zero_add, add_succ_left, zero_or_succ. The authored body proceeds by structural induction (1), case analysis (6), intermediate claims (1), equality transport (7).
Proof neighborhood
Direct dependencies
Direct dependents
Formal native tactic body
Dependencies are hypotheses of the historical Alpha-v12 body receipt. The complete historical Alpha-v18 proof bundle independently checks every dependency; current Alpha v25 preserves that checked theorem use without changing Stable membership.
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–1
Work with arbitrary variables or the premises of the current implication.
- L1
intro d
02Induction on nL2–2
Split the argument into the base and successor obligations. The induction hypothesis is available only in the successor branch.
- L2
induction n
03Construct an explicit witnessL3–4
04Separate the logical casesL5–5
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L5
split
05Calculate and transport equalitiesL6–6
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L6
simp
06Construct an explicit witnessL7–7
Supply the displayed value, then prove that it has the required property.
- L7
exists d
07Calculate and transport equalitiesL8–8
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L8
simp
08Separate the logical casesL9–12
09Use earlier factsL13–13
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L13
specialize zero_or_succ x2
10Separate the logical casesL14–14
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L14
cases zero_or_succ
11Calculate and transport equalitiesL15–15
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L15
rewrite zero_or_succ_left at IH_witness_witness_right_witness
12Use earlier factsL16–16
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L16
specialize zero_add S x1
13Calculate and transport equalitiesL17–17
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L17
rewrite zero_add at IH_witness_witness_right_witness
14Establish hrdL18–20
15Construct an explicit witnessL21–22
16Separate the logical casesL23–23
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L23
split
17Calculate and transport equalitiesL24–26
18Construct an explicit witnessL27–27
Supply the displayed value, then prove that it has the required property.
- L27
exists d
19Calculate and transport equalitiesL28–28
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L28
simp
20Separate the logical casesL29–29
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L29
cases zero_or_succ_right
21Construct an explicit witnessL30–31
22Separate the logical casesL32–32
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L32
split
23Calculate and transport equalitiesL33–34
24Construct an explicit witnessL35–35
Supply the displayed value, then prove that it has the required property.
- L35
exists x3
Original exact command ledger · 38 lines
- 0001
intro d - 0002
induction n - 0003
exists 0 - 0004
exists 0 - 0005
split - 0006
simp - 0007
exists d - 0008
simp - 0009
cases IH - 0010
cases IH_witness - 0011
cases IH_witness_witness - 0012
cases IH_witness_witness_right - 0013
specialize zero_or_succ x2 - 0014
cases zero_or_succ - 0015
rewrite zero_or_succ_left at IH_witness_witness_right_witness - 0016
specialize zero_add S x1 - 0017
rewrite zero_add at IH_witness_witness_right_witness - 0018
have hrd : x1 = d - 0019
apply PA2 - 0020
exact IH_witness_witness_right_witness - 0021
exists S x - 0022
exists 0 - 0023
split - 0024
rewrite IH_witness_witness_left - 0025
rewrite hrd - 0026
simp - 0027
exists d - 0028
simp - 0029
cases zero_or_succ_right - 0030
exists x - 0031
exists S x1 - 0032
split - 0033
rewrite IH_witness_witness_left - 0034
simp - 0035
exists x3 - 0036
rewrite <- IH_witness_witness_right_witness - 0037
rewrite zero_or_succ_right_witness - 0038
simp [add_succ_left]