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
∀ l. ∀ p. Prime(p) ∧ Lt(l,p) ∨ ¬(Prime(p) ∧ Lt(l,p))Every 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
4 occurrences
In local proof propositions
0 occurrences
Exact expanded native-PA statement
forall l p. ((((~(p = 1) /\ forall frm_prime_left_bpi_above_decidable_prime frm_prime_right_bpi_above_decidable_prime. p = frm_prime_left_bpi_above_decidable_prime * frm_prime_right_bpi_above_decidable_prime -> frm_prime_left_bpi_above_decidable_prime = 1 \/ frm_prime_right_bpi_above_decidable_prime = 1)) /\ (exists frm_gap_bpi_above_decidable_lower. frm_gap_bpi_above_decidable_lower + S l = p))) \/ ~((((~(p = 1) /\ forall frm_prime_left_bpi_above_decidable_prime frm_prime_right_bpi_above_decidable_prime. p = frm_prime_left_bpi_above_decidable_prime * frm_prime_right_bpi_above_decidable_prime -> frm_prime_left_bpi_above_decidable_prime = 1 \/ frm_prime_right_bpi_above_decidable_prime = 1)) /\ (exists frm_gap_bpi_above_decidable_lower. frm_gap_bpi_above_decidable_lower + S l = p)))Proof 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 (5)
01Fix variables and assumptionsL1–2
02Use earlier factsL3–3
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L3
specialize prime_decidable p
03Separate the logical casesL4–4
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L4
cases prime_decidable
04Use earlier factsL5–6
05Separate the logical casesL7–8
06Fix variables and assumptionsL9–9
Work with arbitrary variables or the premises of the current implication.
- L9
intro habove
07Separate the logical casesL10–10
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L10
cases habove
08Use earlier factsL11–13
09Calculate and transport equalitiesL14–14
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L14
rewrite lt_trichotomy_left at habove_right
10Use earlier factsL15–17
11Separate the logical casesL18–20
12Use earlier factsL21–22
13Separate the logical casesL23–23
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L23
right
14Fix variables and assumptionsL24–24
Work with arbitrary variables or the premises of the current implication.
- L24
intro habove
15Separate the logical casesL25–25
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L25
cases habove
16Use earlier factsL26–33
17Separate the logical casesL34–34
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L34
right
18Fix variables and assumptionsL35–35
Work with arbitrary variables or the premises of the current implication.
- L35
intro habove
19Separate the logical casesL36–36
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L36
cases habove
Original defined command ledger · 38 lines
- 0001
intro l - 0002
intro p - 0003
specialize prime_decidable p - 0004
cases prime_decidable - 0005
specialize lt_trichotomy l - 0006
specialize lt_trichotomy p - 0007
cases lt_trichotomy - 0008
right - 0009
intro habove - 0010
cases habove - 0011
specialize lt_not_le p - 0012
specialize lt_not_le p - 0013
apply lt_not_le - 0014
rewrite lt_trichotomy_left at habove_right - 0015
exact habove_right - 0016
specialize le_refl p - 0017
exact le_refl - 0018
cases lt_trichotomy_right - 0019
left - 0020
split - 0021
exact prime_decidable_left - 0022
exact lt_trichotomy_right_left - 0023
right - 0024
intro habove - 0025
cases habove - 0026
specialize lt_not_le p - 0027
specialize lt_not_le l - 0028
apply lt_not_le - 0029
exact lt_trichotomy_right_right - 0030
specialize lt_to_le l - 0031
specialize lt_to_le p - 0032
apply lt_to_le - 0033
exact habove_right - 0034
right - 0035
intro habove - 0036
cases habove - 0037
apply prime_decidable_right - 0038
exact habove_left