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 s e f. (((exists bcs_lower_gap_square_source. bcs_lower_gap_square_source + (s * s) = 6 * (e)) /\ exists bcs_upper_gap_square_source. bcs_upper_gap_square_source + S (6 * (e)) = (s * s) + 6)) -> (((exists bcs_lower_gap_square_target. bcs_lower_gap_square_target + ((s + 6) * (s + 6)) = 6 * (f)) /\ exists bcs_upper_gap_square_target. bcs_upper_gap_square_target + S (6 * (f)) = ((s + 6) * (s + 6)) + 6)) -> f = e + (2 * s + 6)Structural proof guide
Ceil((s+6)^2/6) is exactly Ceil(s^2/6)+2*s+6.
Direct prerequisites: ceil_div_six_shift, square_six_shift_identity, ceil_div_six_functional. The authored body proceeds by intermediate claims (3), equality transport (2).
Proof neighborhood
Direct dependencies
Direct 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 (3)
01Fix variables and assumptionsL1–5
02Establish hshiftL6–11
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply ceil div six shift.
- L6
have hshift : ((exists bcs_lower_gap_square_shifted. bcs_lower_gap_square_shifted + (s * s + 6 * (2 * s + 6)) = 6 * (e + (2 * s + 6))) /\ exists bcs_upper_gap_square_shifted. bcs_upper_gap_square_shifted + S (6 * (e + (2 * s + 6))) = (s * s + 6 * (2 * s + 6)) + 6) - L7
specialize ceil_div_six_shift (s * s) - L8
specialize ceil_div_six_shift e - L9
specialize ceil_div_six_shift (2 * s + 6) - L10
apply ceil_div_six_shift - L11
exact he
03Establish hidL12–14
04Establish hnextL15–24
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply ceil div six functional.
- L15
have hnext : ((exists bcs_lower_gap_square_rewritten. bcs_lower_gap_square_rewritten + ((s + 6) * (s + 6)) = 6 * (e + (2 * s + 6))) /\ exists bcs_upper_gap_square_rewritten. bcs_upper_gap_square_rewritten + S (6 * (e + (2 * s + 6))) = ((s + 6) * (s + 6)) + 6) - L16
rewrite <- hid - L17
rewrite <- hid - L18
exact hshift - L19
specialize ceil_div_six_functional ((s + 6) * (s + 6)) - L20
specialize ceil_div_six_functional f - L21
specialize ceil_div_six_functional (e + (2 * s + 6)) - L22
apply ceil_div_six_functional - L23
exact hf - L24
exact hnext
Original exact command ledger · 24 lines
- 0001
intro s - 0002
intro e - 0003
intro f - 0004
intro he - 0005
intro hf - 0006
have hshift : ((exists bcs_lower_gap_square_shifted. bcs_lower_gap_square_shifted + (s * s + 6 * (2 * s + 6)) = 6 * (e + (2 * s + 6))) /\ exists bcs_upper_gap_square_shifted. bcs_upper_gap_square_shifted + S (6 * (e + (2 * s + 6))) = (s * s + 6 * (2 * s + 6)) + 6) - 0007
specialize ceil_div_six_shift (s * s) - 0008
specialize ceil_div_six_shift e - 0009
specialize ceil_div_six_shift (2 * s + 6) - 0010
apply ceil_div_six_shift - 0011
exact he - 0012
have hid : s * s + 6 * (2 * s + 6) = (s + 6) * (s + 6) - 0013
specialize square_six_shift_identity s - 0014
exact square_six_shift_identity - 0015
have hnext : ((exists bcs_lower_gap_square_rewritten. bcs_lower_gap_square_rewritten + ((s + 6) * (s + 6)) = 6 * (e + (2 * s + 6))) /\ exists bcs_upper_gap_square_rewritten. bcs_upper_gap_square_rewritten + S (6 * (e + (2 * s + 6))) = ((s + 6) * (s + 6)) + 6) - 0016
rewrite <- hid - 0017
rewrite <- hid - 0018
exact hshift - 0019
specialize ceil_div_six_functional ((s + 6) * (s + 6)) - 0020
specialize ceil_div_six_functional f - 0021
specialize ceil_div_six_functional (e + (2 * s + 6)) - 0022
apply ceil_div_six_functional - 0023
exact hf - 0024
exact hnext