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. ∀ y. ∀ s. ∀ t. FloorSqrt(x,s) → FloorSqrt(y,t) → Le(x,y) → Le(s,t)Every purple notation token opens its conservative definition. Expanding the displayed statement recovers the exact first-order Peano-arithmetic formula checked by the unchanged kernel.
Definitions used by this theorem
In the theorem statement
4 occurrences
In local proof propositions
5 occurrences
Exact expanded native-PA statement
forall x y s t. (((exists bcs_sqrt_lower_gap_monotone_left. bcs_sqrt_lower_gap_monotone_left + (s) * (s) = (x)) /\ exists bcs_sqrt_upper_gap_monotone_left. bcs_sqrt_upper_gap_monotone_left + S (x) = S (s) * S (s))) -> (((exists bcs_sqrt_lower_gap_monotone_right. bcs_sqrt_lower_gap_monotone_right + (t) * (t) = (y)) /\ exists bcs_sqrt_upper_gap_monotone_right. bcs_sqrt_upper_gap_monotone_right + S (y) = S (t) * S (t))) -> (exists k. k + x = y) -> exists k. k + s = tProof neighborhood
Direct theorem prerequisites
BT001G le_or_lt BT001M mul_le_mul_right BT001L mul_le_mul_left BT000F le_trans BT001D lt_of_lt_of_le BT001I lt_not_leDirect theorem dependents
Definition-aware tactic body
Only local propositions introduced by have or suffices are compacted. Every changed line has an exact-AST conservative-expansion receipt; the kernel still receives the immutable original tactic script.
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 (6)
01Fix variables and assumptionsL1–7
02Separate the logical casesL8–9
03Use earlier factsL10–11
04Separate the logical casesL12–12
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L12
cases le_or_lt
05Use earlier factsL13–13
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L13
exact le_or_lt_left
06Separate the logical casesL14–14
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L14
exfalso
07Establish honeL15–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul le mul right.
- L15
have hone : Le(S t · S t,s · S t)Definitions: Le(S t · S t,s · S t)Original native command in the exact edition - L16
apply mul_le_mul_right - L17
exact le_or_lt_right
08Establish htwoL18–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul le mul left.
- L18
have htwo : Le(s · S t,s · s)Definitions: Le(s · S t,s · s)Original native command in the exact edition - L19
apply mul_le_mul_left - L20
exact le_or_lt_right
09Establish hsquareL21–27
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le trans.
- L21
have hsquare : Le(S t · S t,s · s)Definitions: Le(S t · S t,s · s)Original native command in the exact edition - L22
specialize le_trans (S t * S t) - L23
specialize le_trans (s * S t) - L24
specialize le_trans (s * s) - L25
apply le_trans - L26
exact hone - L27
exact htwo
10Establish hsyL28–34
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le trans.
11Establish hyltL35–44
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply lt of lt of le.
Original defined command ledger · 46 lines
- 0001
intro x - 0002
intro y - 0003
intro s - 0004
intro t - 0005
intro hs - 0006
intro ht - 0007
intro hxy - 0008
cases hs - 0009
cases ht - 0010
specialize le_or_lt s - 0011
specialize le_or_lt t - 0012
cases le_or_lt - 0013
exact le_or_lt_left - 0014
exfalso - 0015
have hone : Le(S t · S t,s · S t)Exact native replay line
have hone : exists k. k + S t * S t = s * S t - 0016
apply mul_le_mul_right - 0017
exact le_or_lt_right - 0018
have htwo : Le(s · S t,s · s)Exact native replay line
have htwo : exists k. k + s * S t = s * s - 0019
apply mul_le_mul_left - 0020
exact le_or_lt_right - 0021
have hsquare : Le(S t · S t,s · s)Exact native replay line
have hsquare : exists k. k + S t * S t = s * s - 0022
specialize le_trans (S t * S t) - 0023
specialize le_trans (s * S t) - 0024
specialize le_trans (s * s) - 0025
apply le_trans - 0026
exact hone - 0027
exact htwo - 0028
have hsy : Le(s · s,y)Exact native replay line
have hsy : exists k. k + s * s = y - 0029
specialize le_trans (s * s) - 0030
specialize le_trans x - 0031
specialize le_trans y - 0032
apply le_trans - 0033
exact hs_left - 0034
exact hxy - 0035
have hylt : Lt(y,s · s)Exact native replay line
have hylt : exists k. k + S y = s * s - 0036
specialize lt_of_lt_of_le y - 0037
specialize lt_of_lt_of_le (S t * S t) - 0038
specialize lt_of_lt_of_le (s * s) - 0039
apply lt_of_lt_of_le - 0040
exact ht_right - 0041
exact hsquare - 0042
specialize lt_not_le y - 0043
specialize lt_not_le (s * s) - 0044
apply lt_not_le - 0045
exact hylt - 0046
exact hsy