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. Prime(p) → p = 2 ∨ (Mod4One(p) ∨ Mod4Three(p))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. ((~(p = 1) /\ forall frm_prime_left_ftsc_prime frm_prime_right_ftsc_prime. p = frm_prime_left_ftsc_prime * frm_prime_right_ftsc_prime -> frm_prime_left_ftsc_prime = 1 \/ frm_prime_right_ftsc_prime = 1)) -> (p = 2 \/ ((exists ftsc_four_one_ftsc_prime. (p) = 4 * ftsc_four_one_ftsc_prime + 1) \/ (exists ftsc_four_three_ftsc_prime. (p) = 4 * ftsc_four_three_ftsc_prime + 3)))Proof neighborhood
Direct theorem prerequisites
TS0020 prime_is_two_or_odd odd_mod4_cases · Stable closedDirect 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.
Named ingredients (1)
01Fix variables and assumptionsL1–2
02Establish hparityL3–6
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime is two or odd.
03Separate the logical casesL7–8
04Use earlier factsL9–9
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L9
exact hparity_left
05Separate the logical casesL10–10
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L10
right
Original defined command ledger · 13 lines
- 0001
intro p - 0002
intro hprime - 0003
have hparity : p = 2 ∨ Odd(p)Exact native replay line
have hparity : p = 2 \/ (exists ftsc_odd_ftsc_prime. (p) = 2 * ftsc_odd_ftsc_prime + 1) - 0004
specialize prime_is_two_or_odd p - 0005
apply prime_is_two_or_odd - 0006
exact hprime - 0007
cases hparity - 0008
left - 0009
exact hparity_left - 0010
right - 0011
specialize odd_mod4_cases p - 0012
apply odd_mod4_cases - 0013
exact hparity_right