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
∀ n. ∀ q. ∀ s. ∀ e. ∀ c. FloorSqrt(2 · n,s) → CeilDivSix(s · s,e) → q + c = n → Le(2 · n,6 · c) → Le(e,c) ∧ Le(q + e,n)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
5 occurrences
In local proof propositions
3 occurrences
Exact expanded native-PA statement
forall n q s e c. (((exists bcs_sqrt_lower_gap_complement_bridge_floor. bcs_sqrt_lower_gap_complement_bridge_floor + (s) * (s) = (2 * n)) /\ exists bcs_sqrt_upper_gap_complement_bridge_floor. bcs_sqrt_upper_gap_complement_bridge_floor + S (2 * n) = S (s) * S (s))) -> (((exists bcs_lower_gap_complement_bridge_ceil. bcs_lower_gap_complement_bridge_ceil + (s * s) = 6 * (e)) /\ exists bcs_upper_gap_complement_bridge_ceil. bcs_upper_gap_complement_bridge_ceil + S (6 * (e)) = (s * s) + 6)) -> q + c = n -> (exists k. k + 2 * n = 6 * c) -> ((exists bqb_le_gap_complement_bridge_ec. bqb_le_gap_complement_bridge_ec + (e) = (c)) /\ (exists bqb_le_gap_complement_bridge_sum. bqb_le_gap_complement_bridge_sum + (q + e) = (n)))Proof neighborhood
Direct theorem prerequisites
Direct 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 (3)
01Fix variables and assumptionsL1–9
02Separate the logical casesL10–10
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L10
cases hfloor
03Establish hsquareL11–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le trans.
- L11
have hsquare : Le(s · s,6 · c)Definitions: Le(s · s,6 · c)Original native command in the exact edition - L12
specialize le_trans (s * s) - L13
specialize le_trans (2 * n) - L14
specialize le_trans (6 * c) - L15
apply le_trans - L16
exact hfloor_left - L17
exact hbudget
04Establish hecL18–24
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply ceil div six le of upper.
05Establish hsumL25–30
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add le add left.
06Separate the logical casesL31–31
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L31
split
07Use earlier factsL32–32
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L32
exact hec
08Calculate and transport equalitiesL33–33
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L33
rewrite <- hcomp
09Use earlier factsL34–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L34
exact hsum
Original defined command ledger · 34 lines
- 0001
intro n - 0002
intro q - 0003
intro s - 0004
intro e - 0005
intro c - 0006
intro hfloor - 0007
intro hceil - 0008
intro hcomp - 0009
intro hbudget - 0010
cases hfloor - 0011
have hsquare : Le(s · s,6 · c)Exact native replay line
have hsquare : exists k. k + s * s = 6 * c - 0012
specialize le_trans (s * s) - 0013
specialize le_trans (2 * n) - 0014
specialize le_trans (6 * c) - 0015
apply le_trans - 0016
exact hfloor_left - 0017
exact hbudget - 0018
have hec : Le(e,c)Exact native replay line
have hec : exists k. k + e = c - 0019
specialize ceil_div_six_le_of_upper (s * s) - 0020
specialize ceil_div_six_le_of_upper e - 0021
specialize ceil_div_six_le_of_upper c - 0022
apply ceil_div_six_le_of_upper - 0023
exact hceil - 0024
exact hsquare - 0025
have hsum : Le(q + e,q + c)Exact native replay line
have hsum : exists k. k + (q + e) = q + c - 0026
specialize add_le_add_left e - 0027
specialize add_le_add_left c - 0028
specialize add_le_add_left q - 0029
apply add_le_add_left - 0030
exact hec - 0031
split - 0032
exact hec - 0033
rewrite <- hcomp - 0034
exact hsum