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. ∀ h. ∀ a. ∀ b. p = 2 · h + 1 → Prime(p) → Le(a,h) → Le(b,h) → Lt(a · a + b · b + 1,p · 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 h a b. p = 2 * h + 1 -> ((~(p = 1) /\ forall frm_prime_left_fsbs_prime frm_prime_right_fsbs_prime. p = frm_prime_left_fsbs_prime * frm_prime_right_fsbs_prime -> frm_prime_left_fsbs_prime = 1 \/ frm_prime_right_fsbs_prime = 1)) -> (exists fsbs_le_gap_strict_first. fsbs_le_gap_strict_first + (a) = (h)) -> (exists fsbs_le_gap_strict_second. fsbs_le_gap_strict_second + (b) = (h)) -> (exists fsbs_lt_gap_strict_norm. fsbs_lt_gap_strict_norm + S (a * a + b * b + 1) = (p * p))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 (2)
01Fix variables and assumptionsL1–8
02Establish hpositiveL9–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square odd prime half positive.
03Establish hnormL15–24
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square descent odd half norm strict.
- L15
have hnorm : Lt(a · a + b · b + 1 · 1 + 0 · 0,(2 · h + 1) · (2 · h + 1))Definitions: Lt(a · a + b · b + 1 · 1 + 0 · 0,(2 · h + 1) · (2 · h + 1))Original native command in the exact edition - L16
specialize four_square_descent_odd_half_norm_strict h - L17
specialize four_square_descent_odd_half_norm_strict a - L18
specialize four_square_descent_odd_half_norm_strict b - L19
specialize four_square_descent_odd_half_norm_strict 1 - L20
specialize four_square_descent_odd_half_norm_strict 0 - L21
apply four_square_descent_odd_half_norm_strict - L22
exact ha - L23
exact hb - L24
exact hpositive
04Construct an explicit witnessL25–25
Supply the displayed value, then prove that it has the required property.
- L25
exists h
05Calculate and transport equalitiesL26–26
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L26
simp
Original defined command ledger · 32 lines
- 0001
intro p - 0002
intro h - 0003
intro a - 0004
intro b - 0005
intro hodd - 0006
intro hprime - 0007
intro ha - 0008
intro hb - 0009
have hpositive : Lt(0,h)Exact native replay line
have hpositive : exists gap. gap + 1 = h - 0010
specialize four_square_odd_prime_half_positive p - 0011
specialize four_square_odd_prime_half_positive h - 0012
apply four_square_odd_prime_half_positive - 0013
exact hodd - 0014
exact hprime - 0015
have hnorm : Lt(a · a + b · b + 1 · 1 + 0 · 0,(2 · h + 1) · (2 · h + 1))Exact native replay line
have hnorm : exists gap. gap + S (a * a + b * b + 1 * 1 + 0 * 0) = (2 * h + 1) * (2 * h + 1) - 0016
specialize four_square_descent_odd_half_norm_strict h - 0017
specialize four_square_descent_odd_half_norm_strict a - 0018
specialize four_square_descent_odd_half_norm_strict b - 0019
specialize four_square_descent_odd_half_norm_strict 1 - 0020
specialize four_square_descent_odd_half_norm_strict 0 - 0021
apply four_square_descent_odd_half_norm_strict - 0022
exact ha - 0023
exact hb - 0024
exact hpositive - 0025
exists h - 0026
simp - 0027
have hshape : a * a + b * b + 1 * 1 + 0 * 0 = a * a + b * b + 1 - 0028
simp - 0029
rewrite hshape at hnorm - 0030
rewrite hodd - 0031
rewrite hodd - 0032
exact hnorm