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.
The natural-code carrier consists of genuine pairs of the existing signed integers; no new primitive arithmetic is trusted. The theorem constructs quotient, remainder, and actual norm witnesses. Gaussian gcd, unique factorization, and prime classification are separate targets.
Exact theorem in conservative defined notation
∀ xp. ∀ xn. ∀ m. ∀ qp. ∀ qn. ∀ Qp. ∀ Qn. ∀ r. qp + Qn = qn + Qp → SignedFloor(xp,xn,m,qp,qn,r) → SignedFloor(xp,xn,m,Qp,Qn,r)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 24 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay 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.
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 defined 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