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. ~(m = 0) -> exists code qp qn r. ((code = 2 * qp /\ qn = 0) \/ exists sd_half_sif_canonical. ((code = 2 * sd_half_sif_canonical + 1 /\ qp = 0) /\ qn = S sd_half_sif_canonical)) /\ (((xp) + (m) * (qn) = ((xn) + (m) * (qp)) + (r) /\ exists sif_gap_canonical. sif_gap_canonical + S (r) = (m)))Constructive proof overview
Generated structural guide
The constructed floor quotient has an actual canonical historic signed-integer code, with its normalized decoder witnesses.
The unchanged tactic script uses 3 declared prerequisites and contains 36 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
GI0002 signed_integer_floor_exists signed_balance_total Alpha theorem; checked-use authorized GI0003 signed_integer_floor_quotient_transportDirect 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.
Named ingredients (2)
01Fix variables and assumptionsL1–4
02Establish hfloorL5–10
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed integer floor exists.
- L5
have hfloor : exists qp qn r. ((xp) + (m) * (qn) = ((xn) + (m) * (qp)) + (r) /\ exists sif_gap_first. sif_gap_first + S (r) = (m)) - L6
specialize signed_integer_floor_exists xp - L7
specialize signed_integer_floor_exists xn - L8
specialize signed_integer_floor_exists m - L9
apply signed_integer_floor_exists - L10
exact hm
03Separate the logical casesL11–13
04Use earlier factsL14–15
05Separate the logical casesL16–19
06Construct an explicit witnessL20–23
07Separate the logical casesL24–24
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L24
split
08Use earlier factsL25–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L25
exact signed_balance_total_witness_witness_witness_left - L26
specialize signed_integer_floor_quotient_transport xp - L27
specialize signed_integer_floor_quotient_transport xn - L28
specialize signed_integer_floor_quotient_transport m - L29
specialize signed_integer_floor_quotient_transport x - L30
specialize signed_integer_floor_quotient_transport x1 - L31
specialize signed_integer_floor_quotient_transport x4 - L32
specialize signed_integer_floor_quotient_transport x5 - L33
specialize signed_integer_floor_quotient_transport x2 - L34
apply signed_integer_floor_quotient_transport
Original exact command ledger · 36 lines
- 0001
intro xp - 0002
intro xn - 0003
intro m - 0004
intro hm - 0005
have hfloor : exists qp qn r. ((xp) + (m) * (qn) = ((xn) + (m) * (qp)) + (r) /\ exists sif_gap_first. sif_gap_first + S (r) = (m)) - 0006
specialize signed_integer_floor_exists xp - 0007
specialize signed_integer_floor_exists xn - 0008
specialize signed_integer_floor_exists m - 0009
apply signed_integer_floor_exists - 0010
exact hm - 0011
cases hfloor - 0012
cases hfloor_witness - 0013
cases hfloor_witness_witness - 0014
specialize signed_balance_total x - 0015
specialize signed_balance_total x1 - 0016
cases signed_balance_total - 0017
cases signed_balance_total_witness - 0018
cases signed_balance_total_witness_witness - 0019
cases signed_balance_total_witness_witness_witness - 0020
exists x3 - 0021
exists x4 - 0022
exists x5 - 0023
exists x2 - 0024
split - 0025
exact signed_balance_total_witness_witness_witness_left - 0026
specialize signed_integer_floor_quotient_transport xp - 0027
specialize signed_integer_floor_quotient_transport xn - 0028
specialize signed_integer_floor_quotient_transport m - 0029
specialize signed_integer_floor_quotient_transport x - 0030
specialize signed_integer_floor_quotient_transport x1 - 0031
specialize signed_integer_floor_quotient_transport x4 - 0032
specialize signed_integer_floor_quotient_transport x5 - 0033
specialize signed_integer_floor_quotient_transport x2 - 0034
apply signed_integer_floor_quotient_transport - 0035
exact signed_balance_total_witness_witness_witness_right - 0036
exact hfloor_witness_witness_witness