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 first-order arithmetic statement
forall xp xn m qp qn Qp Qn r. qp + Qn = qn + Qp -> (((xp) + (m) * (qn) = ((xn) + (m) * (qp)) + (r) /\ exists sif_gap_source. sif_gap_source + S (r) = (m))) -> (((xp) + (m) * (Qn) = ((xn) + (m) * (Qp)) + (r) /\ exists sif_gap_target. sif_gap_target + S (r) = (m)))Constructive proof overview
Generated structural guide
Replacing a quotient pair by any equal integer preserves the exact floor equation and the same strict remainder.
The unchanged tactic script uses 5 declared prerequisites and contains 24 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
add_left_cancel Stable theorem; checked-use authorized mul_add Stable theorem; checked-use authorized add_assoc Stable theorem; checked-use authorized add_comm Stable theorem; checked-use authorized four_square_add_swap_right_tail Alpha theorem; checked-use authorizedDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply 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.
01Fix variables and assumptionsL1–10
02Separate the logical casesL11–12
03Use earlier factsL13–16
04Calculate and transport equalitiesL17–23
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
05Use earlier factsL24–24
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L24
exact hfloor_right
Original exact command ledger · 24 lines
- 0001
intro xp - 0002
intro xn - 0003
intro m - 0004
intro qp - 0005
intro qn - 0006
intro Qp - 0007
intro Qn - 0008
intro r - 0009
intro hbalance - 0010
intro hfloor - 0011
cases hfloor - 0012
split - 0013
specialize add_left_cancel (m * qp) - 0014
specialize add_left_cancel (xp + m * Qn) - 0015
specialize add_left_cancel ((xn + m * Qp) + r) - 0016
apply add_left_cancel - 0017
trans xp + m * (qp + Qn) - 0018
simp [mul_add, add_assoc, add_comm, four_square_add_swap_right_tail] - 0019
rewrite hbalance - 0020
trans (xp + m * qn) + m * Qp - 0021
simp [mul_add, add_assoc] - 0022
rewrite hfloor_left - 0023
simp [add_assoc, add_comm, four_square_add_swap_right_tail] - 0024
exact hfloor_right