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.
Exact expanded 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 = tStructural proof guide
Witness order on inputs is transported monotonically to floor roots.
Direct prerequisites: le_or_lt, mul_le_mul_right, mul_le_mul_left, le_trans, lt_of_lt_of_le, lt_not_le. The authored body proceeds by case analysis (3), intermediate claims (5).
Proof neighborhood
Direct dependencies
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 dependents
Formal native tactic body
Dependencies are hypotheses of the historical Alpha-v12 body receipt. The complete historical Alpha-v18 proof bundle independently checks every dependency; current Alpha v25 preserves that checked theorem use without changing Stable membership.
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
08Establish htwoL18–20
09Establish hsquareL21–27
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le trans.
10Establish hsyL28–34
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 exact 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 : 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 : exists k. k + s * S t = s * s - 0019
apply mul_le_mul_left - 0020
exact le_or_lt_right - 0021
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 : 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 : 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