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. ∀ r. ∀ s. ∀ e. FloorSqrt(2 · n,s) → CeilDivSix(s · s,e) → DivRem(2 · n,3,q,r) → ∃ x. q + x = n ∧ Le(2 · n,6 · x) ∧ (Le(e,x) ∧ Le(q + e,n)) ∧ Lt(r,3)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
7 occurrences
In local proof propositions
4 occurrences
Exact expanded native-PA statement
forall n q r s e. (((exists bcs_sqrt_lower_gap_division_bridge_floor. bcs_sqrt_lower_gap_division_bridge_floor + (s) * (s) = (2 * n)) /\ exists bcs_sqrt_upper_gap_division_bridge_floor. bcs_sqrt_upper_gap_division_bridge_floor + S (2 * n) = S (s) * S (s))) -> (((exists bcs_lower_gap_division_bridge_ceil. bcs_lower_gap_division_bridge_ceil + (s * s) = 6 * (e)) /\ exists bcs_upper_gap_division_bridge_ceil. bcs_upper_gap_division_bridge_ceil + S (6 * (e)) = (s * s) + 6)) -> (((2 * (n) = 3 * (q) + (r)) /\ exists bqb_remainder_gap_division_bridge_source. bqb_remainder_gap_division_bridge_source + S (r) = 3)) -> exists c. ((((((q) + (c) = (n)) /\ exists bqb_budget_gap_division_bridge_result. bqb_budget_gap_division_bridge_result + 2 * (n) = 6 * (c))) /\ ((exists bqb_le_gap_division_bridge_ec. bqb_le_gap_division_bridge_ec + (e) = (c)) /\ (exists bqb_le_gap_division_bridge_sum. bqb_le_gap_division_bridge_sum + (q + e) = (n)))) /\ exists bqb_remainder_gap_division_bridge_preserved. bqb_remainder_gap_division_bridge_preserved + S r = 3)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 (2)
01Fix variables and assumptionsL1–8
02Establish hdataL9–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply canonical double triple remainder complement budget.
- L9
have hdata : ∃ c. q + c = n ∧ Le(2 · n,6 · c) ∧ Lt(r,3)Definitions: Le(2 · n,6 · c)Lt(r,3)Original native command in the exact edition - L10
specialize canonical_double_triple_remainder_complement_budget n - L11
specialize canonical_double_triple_remainder_complement_budget q - L12
specialize canonical_double_triple_remainder_complement_budget r - L13
apply canonical_double_triple_remainder_complement_budget - L14
exact hcanonical
03Separate the logical casesL15–17
04Establish hbridgeL18–27
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply floor ceil complement budget.
- L18
have hbridge : Le(e,x) ∧ Le(q + e,n)Definitions: Le(e,x)Le(q + e,n)Original native command in the exact edition - L19
specialize floor_ceil_complement_budget n - L20
specialize floor_ceil_complement_budget q - L21
specialize floor_ceil_complement_budget s - L22
specialize floor_ceil_complement_budget e - L23
specialize floor_ceil_complement_budget x - L24
apply floor_ceil_complement_budget - L25
exact hfloor - L26
exact hceil - L27
exact hdata_witness_left_left
05Use earlier factsL28–28
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L28
exact hdata_witness_left_right
06Construct an explicit witnessL29–29
Supply the displayed value, then prove that it has the required property.
- L29
exists x
07Separate the logical casesL30–31
Original defined command ledger · 34 lines
- 0001
intro n - 0002
intro q - 0003
intro r - 0004
intro s - 0005
intro e - 0006
intro hfloor - 0007
intro hceil - 0008
intro hcanonical - 0009
have hdata : ∃ c. q + c = n ∧ Le(2 · n,6 · c) ∧ Lt(r,3)Exact native replay line
have hdata : exists c. (((((q) + (c) = (n)) /\ exists bqb_budget_gap_division_bridge_data. bqb_budget_gap_division_bridge_data + 2 * (n) = 6 * (c))) /\ exists bqb_remainder_gap_division_bridge_data. bqb_remainder_gap_division_bridge_data + S r = 3) - 0010
specialize canonical_double_triple_remainder_complement_budget n - 0011
specialize canonical_double_triple_remainder_complement_budget q - 0012
specialize canonical_double_triple_remainder_complement_budget r - 0013
apply canonical_double_triple_remainder_complement_budget - 0014
exact hcanonical - 0015
cases hdata - 0016
cases hdata_witness - 0017
cases hdata_witness_left - 0018
have hbridge : Le(e,x) ∧ Le(q + e,n)Exact native replay line
have hbridge : (exists k. k + e = x) /\ exists k. k + (q + e) = n - 0019
specialize floor_ceil_complement_budget n - 0020
specialize floor_ceil_complement_budget q - 0021
specialize floor_ceil_complement_budget s - 0022
specialize floor_ceil_complement_budget e - 0023
specialize floor_ceil_complement_budget x - 0024
apply floor_ceil_complement_budget - 0025
exact hfloor - 0026
exact hceil - 0027
exact hdata_witness_left_left - 0028
exact hdata_witness_left_right - 0029
exists x - 0030
split - 0031
split - 0032
exact hdata_witness_left - 0033
exact hbridge - 0034
exact hdata_witness_right