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
(∀ x. Prime(x) → Mod4Three(x) → ∃ y. ∃ z. ∃ n. ∃ m. x = y · y + z · z + n · n + m · m) → ∀ x. Prime(x) → ∃ y. ∃ z. ∃ n. ∃ m. x = y · y + z · z + n · n + m · mEvery 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 fsl_three_prime_universal. ((~(fsl_three_prime_universal = 1) /\ forall frm_prime_left_fsl_three_universal frm_prime_right_fsl_three_universal. fsl_three_prime_universal = frm_prime_left_fsl_three_universal * frm_prime_right_fsl_three_universal -> frm_prime_left_fsl_three_universal = 1 \/ frm_prime_right_fsl_three_universal = 1)) -> (exists fsl_three_residue_universal. fsl_three_prime_universal = 4 * fsl_three_residue_universal + 3) -> (exists fsl_a_three_universal fsl_b_three_universal fsl_c_three_universal fsl_d_three_universal. (fsl_three_prime_universal) = fsl_a_three_universal * fsl_a_three_universal + fsl_b_three_universal * fsl_b_three_universal + fsl_c_three_universal * fsl_c_three_universal + fsl_d_three_universal * fsl_d_three_universal)) -> (forall fsl_prime_universal. ((~(fsl_prime_universal = 1) /\ forall frm_prime_left_fsl_all_universal frm_prime_right_fsl_all_universal. fsl_prime_universal = frm_prime_left_fsl_all_universal * frm_prime_right_fsl_all_universal -> frm_prime_left_fsl_all_universal = 1 \/ frm_prime_right_fsl_all_universal = 1)) -> (exists fsl_a_all_universal fsl_b_all_universal fsl_c_all_universal fsl_d_all_universal. (fsl_prime_universal) = fsl_a_all_universal * fsl_a_all_universal + fsl_b_all_universal * fsl_b_all_universal + fsl_c_all_universal * fsl_c_all_universal + fsl_d_all_universal * fsl_d_all_universal))Proof neighborhood
Direct theorem prerequisites
FS003E four_square_prime_two_or_one_mod_fourDirect 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–3
02Establish hclassesL4–7
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime mod four good or three.
- L4
have hclasses : p = 2 ∨ Mod4One(p) ∨ Mod4Three(p)Definitions: Mod4One(p)Mod4Three(p)Original native command in the exact edition - L5
specialize prime_mod_four_good_or_three p - L6
apply prime_mod_four_good_or_three - L7
exact hprime
03Separate the logical casesL8–8
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L8
cases hclasses
04Use earlier factsL9–16
Original defined command ledger · 16 lines
- 0001
intro hthree - 0002
intro p - 0003
intro hprime - 0004
have hclasses : p = 2 ∨ Mod4One(p) ∨ Mod4Three(p)Exact native replay line
have hclasses : ((p = 2 \/ exists k. p = 4 * k + 1) \/ exists k. p = 4 * k + 3) - 0005
specialize prime_mod_four_good_or_three p - 0006
apply prime_mod_four_good_or_three - 0007
exact hprime - 0008
cases hclasses - 0009
specialize four_square_prime_two_or_one_mod_four p - 0010
apply four_square_prime_two_or_one_mod_four - 0011
exact hprime - 0012
exact hclasses_left - 0013
specialize hthree p - 0014
apply hthree - 0015
exact hprime - 0016
exact hclasses_right