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 m a. ~(m = 0) -> exists r. ((exists hpl_gap_bound. hpl_gap_bound + S (r) = (m)) /\ (exists hgcrt_mod_left_hpl_mod hgcrt_mod_right_hpl_mod. a + m * hgcrt_mod_left_hpl_mod = r + m * hgcrt_mod_right_hpl_mod))Constructive proof overview
Generated structural guide
Every unrestricted natural input has a constructed canonical residue at every nonzero modulus.
The unchanged tactic script uses 2 declared prerequisites and contains 21 exact native proof lines.
Alpha v34 checked-use · first admitted v27 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
division_remainder_exists Stable theorem; checked-use authorized add_comm Stable 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–3
02Establish hdivL4–8
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply division remainder exists.
03Separate the logical casesL9–11
04Construct an explicit witnessL12–12
Supply the displayed value, then prove that it has the required property.
- L12
exists x1
05Separate the logical casesL13–13
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L13
split
06Use earlier factsL14–14
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L14
exact hdiv_witness_witness_right
07Construct an explicit witnessL15–16
08Calculate and transport equalitiesL17–19
Original exact command ledger · 21 lines
- 0001
intro m - 0002
intro a - 0003
intro hm - 0004
have hdiv : exists q r. a = m * q + r /\ S r <= m - 0005
specialize division_remainder_exists m - 0006
specialize division_remainder_exists a - 0007
apply division_remainder_exists - 0008
exact hm - 0009
cases hdiv - 0010
cases hdiv_witness - 0011
cases hdiv_witness_witness - 0012
exists x1 - 0013
split - 0014
exact hdiv_witness_witness_right - 0015
exists 0 - 0016
exists x - 0017
trans a - 0018
simp - 0019
trans m * x + x1 - 0020
exact hdiv_witness_witness_left - 0021
apply add_comm