FS003E · theorem body

four_square_prime_two_or_one_mod_four

dependency-curried kernel-checked candidate body; not enrolled in Alpha or Stable

The exceptional prime two and every prime congruent to one modulo four already have explicit four-square witnesses.

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) → ∃ x. ∃ y. ∃ z. ∃ n. p = x · x + y · y + z · z + n · n

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

none
Exact expanded first-order statement
forall p. ((~(p = 1) /\ forall frm_prime_left_fsl_prime frm_prime_right_fsl_prime. p = frm_prime_left_fsl_prime * frm_prime_right_fsl_prime -> frm_prime_left_fsl_prime = 1 \/ frm_prime_right_fsl_prime = 1)) -> (p = 2 \/ exists k. p = 4 * k + 1) -> (exists fsl_a_prime fsl_b_prime fsl_c_prime fsl_d_prime. (p) = fsl_a_prime * fsl_a_prime + fsl_b_prime * fsl_b_prime + fsl_c_prime * fsl_c_prime + fsl_d_prime * fsl_d_prime)

Proof neighborhood

Direct theorem prerequisites

prime_two_or_one_mod_four_is_sum_of_two_squares · Alpha closed FS003D four_square_two_square_embedding

Direct 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

8 script commands · 2 reading checkpoints · 0 local claims

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.

Definition notation is shown below. Open the paired exact edition for the original native formulas. Source pairing is not a new equivalence certificate.

Named ingredients (1)
01Fix variables and assumptionsL1–3

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro p
  2. L2
    intro hprime
  3. L3
    intro hclass
02Use earlier factsL4–8

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L4
    apply four_square_two_square_embedding
  2. L5
    specialize prime_two_or_one_mod_four_is_sum_of_two_squares p
  3. L6
    apply prime_two_or_one_mod_four_is_sum_of_two_squares
  4. L7
    exact hprime
  5. L8
    exact hclass

Library-wide reading audit

Original defined command ledger · 8 lines
  1. 0001intro p
  2. 0002intro hprime
  3. 0003intro hclass
  4. 0004apply four_square_two_square_embedding
  5. 0005specialize prime_two_or_one_mod_four_is_sum_of_two_squares p
  6. 0006apply prime_two_or_one_mod_four_is_sum_of_two_squares
  7. 0007exact hprime
  8. 0008exact hclass