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. ∀ s. Prime(p) → FloorSqrt(p,s) → Lt(s · s,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 s. ((~(p = 1) /\ forall frm_prime_left_ftsp_prime frm_prime_right_ftsp_prime. p = frm_prime_left_ftsp_prime * frm_prime_right_ftsp_prime -> frm_prime_left_ftsp_prime = 1 \/ frm_prime_right_ftsp_prime = 1)) -> (((exists bcs_sqrt_lower_gap_ftsp_prime_floor. bcs_sqrt_lower_gap_ftsp_prime_floor + (s) * (s) = (p)) /\ exists bcs_sqrt_upper_gap_ftsp_prime_floor. bcs_sqrt_upper_gap_ftsp_prime_floor + S (p) = S (s) * S (s))) -> (exists ftsp_gap_prime_floor_strict. ftsp_gap_prime_floor_strict + S (s * s) = p)Proof neighborhood
Direct theorem prerequisites
TS000C prime_is_not_natural_square le_eq_or_lt · 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–4
02Separate the logical casesL5–5
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L5
cases hfloor
03Establish hsplitL6–10
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le eq or lt.
- L6
have hsplit : s · s = p ∨ Lt(s · s,p)Definitions: Lt(s · s,p)Original native command in the exact edition - L7
specialize le_eq_or_lt (s * s) - L8
specialize le_eq_or_lt p - L9
apply le_eq_or_lt - L10
exact hfloor_left
04Separate the logical casesL11–12
05Use earlier factsL13–16
06Calculate and transport equalitiesL17–17
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L17
symm
Original defined command ledger · 19 lines
- 0001
intro p - 0002
intro s - 0003
intro hprime - 0004
intro hfloor - 0005
cases hfloor - 0006
have hsplit : s · s = p ∨ Lt(s · s,p)Exact native replay line
have hsplit : s * s = p \/ exists k. k + S (s * s) = p - 0007
specialize le_eq_or_lt (s * s) - 0008
specialize le_eq_or_lt p - 0009
apply le_eq_or_lt - 0010
exact hfloor_left - 0011
cases hsplit - 0012
exfalso - 0013
specialize prime_is_not_natural_square p - 0014
specialize prime_is_not_natural_square s - 0015
apply prime_is_not_natural_square - 0016
exact hprime - 0017
symm - 0018
exact hsplit_left - 0019
exact hsplit_right