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. ∀ a. Prime(p) → FloorSqrt(p,s) → Le(a,s) → Lt(a · a,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 a. ((~(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_weak_coordinate_bound. ftsp_weak_coordinate_bound + (a) = s) -> (exists ftsp_gap_coordinate_square_bound. ftsp_gap_coordinate_square_bound + S (a * a) = p)Proof neighborhood
Direct theorem prerequisites
TS000D natural_square_monotone_expanded TS000E prime_floor_square_strictly_below_prime lt_of_le_of_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 (2)
01Fix variables and assumptionsL1–6
02Establish hsquareL7–11
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply natural square monotone expanded.
- L7
have hsquare : Le(a · a,s · s)Definitions: Le(a · a,s · s)Original native command in the exact edition - L8
specialize natural_square_monotone_expanded a - L9
specialize natural_square_monotone_expanded s - L10
apply natural_square_monotone_expanded - L11
exact hbound
03Establish hprimeboundL12–21
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime floor square strictly below prime.
- L12
- L13
specialize prime_floor_square_strictly_below_prime p - L14
specialize prime_floor_square_strictly_below_prime s - L15
apply prime_floor_square_strictly_below_prime - L16
exact hprime - L17
exact hfloor - L18
specialize lt_of_le_of_lt (a * a) - L19
specialize lt_of_le_of_lt (s * s) - L20
specialize lt_of_le_of_lt p - L21
apply lt_of_le_of_lt
Original defined command ledger · 23 lines
- 0001
intro p - 0002
intro s - 0003
intro a - 0004
intro hprime - 0005
intro hfloor - 0006
intro hbound - 0007
have hsquare : Le(a · a,s · s)Exact native replay line
have hsquare : exists k. k + a * a = s * s - 0008
specialize natural_square_monotone_expanded a - 0009
specialize natural_square_monotone_expanded s - 0010
apply natural_square_monotone_expanded - 0011
exact hbound - 0012
have hprimebound : Lt(s · s,p)Exact native replay line
have hprimebound : exists k. k + S (s * s) = p - 0013
specialize prime_floor_square_strictly_below_prime p - 0014
specialize prime_floor_square_strictly_below_prime s - 0015
apply prime_floor_square_strictly_below_prime - 0016
exact hprime - 0017
exact hfloor - 0018
specialize lt_of_le_of_lt (a * a) - 0019
specialize lt_of_le_of_lt (s * s) - 0020
specialize lt_of_le_of_lt p - 0021
apply lt_of_le_of_lt - 0022
exact hsquare - 0023
exact hprimebound