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. Dvd(x,y · y + z · z + 1)) → (∀ x. ∀ y. Prime(x) → ¬y = 0 → ¬y = 1 → (∃ z. ∃ n. ∃ m. ∃ k. x · y = z · z + n · n + m · m + k · k) → ∃ z. ¬z = 0 ∧ (Lt(z,y) ∧ (∃ n. ∃ m. ∃ k. ∃ i. x · z = n · n + m · m + k · k + i · i))) → ∀ x. Prime(x) → Mod4Three(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 fsd_seed_prime_universal. ((~(fsd_seed_prime_universal = 1) /\ forall frm_prime_left_fsd_seed_universal frm_prime_right_fsd_seed_universal. fsd_seed_prime_universal = frm_prime_left_fsd_seed_universal * frm_prime_right_fsd_seed_universal -> frm_prime_left_fsd_seed_universal = 1 \/ frm_prime_right_fsd_seed_universal = 1)) -> (exists fsd_seed_residue_universal. fsd_seed_prime_universal = 4 * fsd_seed_residue_universal + 3) -> exists fsd_seed_first_universal fsd_seed_second_universal fsd_seed_multiplier_universal. fsd_seed_first_universal * fsd_seed_first_universal + fsd_seed_second_universal * fsd_seed_second_universal + 1 = fsd_seed_prime_universal * fsd_seed_multiplier_universal) -> (forall fsd_prime_universal fsd_multiplier_universal. ((~(fsd_prime_universal = 1) /\ forall frm_prime_left_fsd_universal_prime frm_prime_right_fsd_universal_prime. fsd_prime_universal = frm_prime_left_fsd_universal_prime * frm_prime_right_fsd_universal_prime -> frm_prime_left_fsd_universal_prime = 1 \/ frm_prime_right_fsd_universal_prime = 1)) -> ~(fsd_multiplier_universal = 0) -> ~(fsd_multiplier_universal = 1) -> (exists fsl_a_fsd_universal_source fsl_b_fsd_universal_source fsl_c_fsd_universal_source fsl_d_fsd_universal_source. (fsd_prime_universal * fsd_multiplier_universal) = fsl_a_fsd_universal_source * fsl_a_fsd_universal_source + fsl_b_fsd_universal_source * fsl_b_fsd_universal_source + fsl_c_fsd_universal_source * fsl_c_fsd_universal_source + fsl_d_fsd_universal_source * fsl_d_fsd_universal_source) -> exists fsd_smaller_universal. (~(fsd_smaller_universal = 0) /\ ((exists fsd_gap_universal. fsd_gap_universal + S fsd_smaller_universal = fsd_multiplier_universal) /\ (exists fsl_a_fsd_universal_target fsl_b_fsd_universal_target fsl_c_fsd_universal_target fsl_d_fsd_universal_target. (fsd_prime_universal * fsd_smaller_universal) = fsl_a_fsd_universal_target * fsl_a_fsd_universal_target + fsl_b_fsd_universal_target * fsl_b_fsd_universal_target + fsl_c_fsd_universal_target * fsl_c_fsd_universal_target + fsl_d_fsd_universal_target * fsl_d_fsd_universal_target)))) -> (forall p. ((~(p = 1) /\ forall frm_prime_left_fsd_bad_prime frm_prime_right_fsd_bad_prime. p = frm_prime_left_fsd_bad_prime * frm_prime_right_fsd_bad_prime -> frm_prime_left_fsd_bad_prime = 1 \/ frm_prime_right_fsd_bad_prime = 1)) -> (exists t. p = 4 * t + 3) -> (exists fsl_a_fsd_bad_result fsl_b_fsd_bad_result fsl_c_fsd_bad_result fsl_d_fsd_bad_result. (p) = fsl_a_fsd_bad_result * fsl_a_fsd_bad_result + fsl_b_fsd_bad_result * fsl_b_fsd_bad_result + fsl_c_fsd_bad_result * fsl_c_fsd_bad_result + fsl_d_fsd_bad_result * fsl_d_fsd_bad_result))Proof neighborhood
Direct theorem prerequisites
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
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–5
02Use earlier factsL6–6
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L6
specialize hseeds p
03Establish hseedL7–10
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hseeds.
- L7
have hseed : ∃ x. ∃ y. Dvd(p,x · x + y · y + 1)Definitions: Dvd(p,x · x + y · y + 1)Original native command in the exact edition - L8
apply hseeds - L9
exact hprime - L10
exact hclass
04Separate the logical casesL11–13
05Establish hseed_descentL14–23
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square descent prime from modular seed and step.
- L14
have hseed_descent : ∀ p. ∀ x. ∀ y. ∀ k. Prime(p) → x · x + y · y + 1 = p · k → ∃ z. ∃ n. ∃ m. ∃ i. p = z · z + n · n + m · m + i · iDefinitions: Prime(p)Original native command in the exact edition - L15
apply four_square_descent_prime_from_modular_seed_and_step - L16
exact hstep - L17
specialize hseed_descent p - L18
specialize hseed_descent x - L19
specialize hseed_descent x1 - L20
specialize hseed_descent x2 - L21
apply hseed_descent - L22
exact hprime - L23
exact hseed_witness_witness_witness
Original defined command ledger · 23 lines
- 0001
intro hseeds - 0002
intro hstep - 0003
intro p - 0004
intro hprime - 0005
intro hclass - 0006
specialize hseeds p - 0007
have hseed : ∃ x. ∃ y. Dvd(p,x · x + y · y + 1)Exact native replay line
have hseed : exists x y k. x * x + y * y + 1 = p * k - 0008
apply hseeds - 0009
exact hprime - 0010
exact hclass - 0011
cases hseed - 0012
cases hseed_witness - 0013
cases hseed_witness_witness - 0014
have hseed_descent : ∀ p. ∀ x. ∀ y. ∀ k. Prime(p) → x · x + y · y + 1 = p · k → ∃ z. ∃ n. ∃ m. ∃ i. p = z · z + n · n + m · m + i · iExact native replay line
have hseed_descent : forall p x y k. ((~(p = 1) /\ forall frm_prime_left_fsd_seed_local_prime frm_prime_right_fsd_seed_local_prime. p = frm_prime_left_fsd_seed_local_prime * frm_prime_right_fsd_seed_local_prime -> frm_prime_left_fsd_seed_local_prime = 1 \/ frm_prime_right_fsd_seed_local_prime = 1)) -> x * x + y * y + 1 = p * k -> (exists fsl_a_fsd_seed_local_result fsl_b_fsd_seed_local_result fsl_c_fsd_seed_local_result fsl_d_fsd_seed_local_result. (p) = fsl_a_fsd_seed_local_result * fsl_a_fsd_seed_local_result + fsl_b_fsd_seed_local_result * fsl_b_fsd_seed_local_result + fsl_c_fsd_seed_local_result * fsl_c_fsd_seed_local_result + fsl_d_fsd_seed_local_result * fsl_d_fsd_seed_local_result) - 0015
apply four_square_descent_prime_from_modular_seed_and_step - 0016
exact hstep - 0017
specialize hseed_descent p - 0018
specialize hseed_descent x - 0019
specialize hseed_descent x1 - 0020
specialize hseed_descent x2 - 0021
apply hseed_descent - 0022
exact hprime - 0023
exact hseed_witness_witness_witness