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.
Every successor is the globally least prime above its predecessor. This is not a sparse Bertrand chain. The bound theorem constructs the list and both power witnesses from k≠0 alone; the separate total-list theorem includes k=0.
Exact theorem in conservative defined notation
∀ a. ∀ n. (∃ x. NextPrime(a,x)) ∨ (∀ x. Prime(x) → Lt(a,x) → Lt(a + n,x))
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 57 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–1
Work with arbitrary variables or the premises of the current implication.
- L1
intro a
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
03Separate the logical casesL3–3
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L3
right
04Fix variables and assumptionsL4–6
05Establish hzL7–10
06Separate the logical casesL11–12
07Use earlier factsL13–13
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L13
exact IH_left
08Establish hdecL14–16
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime decidable.
- L14
have hdec : Prime(S (a + n)) ∨ ¬Prime(S (a + n))Definitions: Prime(S (a + n))Original native command in the exact edition - L15
specialize prime_decidable (S (a + n)) - L16
apply prime_decidable
09Separate the logical casesL17–18
10Construct an explicit witnessL19–19
Supply the displayed value, then prove that it has the required property.
- L19
exists S (a + n)
11Separate the logical casesL20–20
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L20
split
12Use earlier factsL21–21
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
exact hdec_left
13Separate the logical casesL22–22
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L22
split
14Construct an explicit witnessL23–23
Supply the displayed value, then prove that it has the required property.
- L23
exists n
15Calculate and transport equalitiesL24–25
16Use earlier factsL26–26
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L26
apply add_comm
17Fix variables and assumptionsL27–29
18Use earlier factsL30–33
19Separate the logical casesL34–34
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L34
right
20Fix variables and assumptionsL35–37
21Establish hprevL38–42
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply IH right.
22Establish hcaseL43–47
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le eq or lt.
- L43
have hcase : S (a + n) = q ∨ Lt(S (a + n),q)Definitions: Lt(S (a + n),q)Original native command in the exact edition - L44
specialize le_eq_or_lt (S (a + n)) - L45
specialize le_eq_or_lt q - L46
apply le_eq_or_lt - L47
exact hprev
23Separate the logical casesL48–49
24Use earlier factsL50–50
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L50
apply hdec_right
25Calculate and transport equalitiesL51–52
26Use earlier factsL53–53
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L53
exact hp
Original defined command ledger · 57 lines
- 0001
intro a - 0002
induction n - 0003
right - 0004
intro q - 0005
intro hp - 0006
intro ha - 0007
have hz : a + 0 = a - 0008
apply PA3 - 0009
rewrite hz - 0010
exact ha - 0011
cases IH - 0012
left - 0013
exact IH_left - 0014
have hdec : Prime(S (a + n)) ∨ ¬Prime(S (a + n)) - 0015
specialize prime_decidable (S (a + n)) - 0016
apply prime_decidable - 0017
cases hdec - 0018
left - 0019
exists S (a + n) - 0020
split - 0021
exact hdec_left - 0022
split - 0023
exists n - 0024
rewrite PA4 - 0025
congr - 0026
apply add_comm - 0027
intro q - 0028
intro hp - 0029
intro ha - 0030
specialize IH_right q - 0031
apply IH_right - 0032
exact hp - 0033
exact ha - 0034
right - 0035
intro q - 0036
intro hp - 0037
intro ha - 0038
have hprev : Lt(a + n,q) - 0039
specialize IH_right q - 0040
apply IH_right - 0041
exact hp - 0042
exact ha - 0043
have hcase : S (a + n) = q ∨ Lt(S (a + n),q) - 0044
specialize le_eq_or_lt (S (a + n)) - 0045
specialize le_eq_or_lt q - 0046
apply le_eq_or_lt - 0047
exact hprev - 0048
cases hcase - 0049
exfalso - 0050
apply hdec_right - 0051
rewrite hcase_left - 0052
rewrite hcase_left - 0053
exact hp - 0054
have hsucc : a + S n = S (a + n) - 0055
apply PA4 - 0056
rewrite hsucc - 0057
exact hcase_right