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 p n q d. ((~(p = 1) /\ forall frm_prime_left_lmd_strict_prime frm_prime_right_lmd_strict_prime. p = frm_prime_left_lmd_strict_prime * frm_prime_right_lmd_strict_prime -> frm_prime_left_lmd_strict_prime = 1 \/ frm_prime_right_lmd_strict_prime = 1)) -> ~(q = 0) -> n = p * q + d -> (exists lmd_gap_strict_result. lmd_gap_strict_result + S (q) = (n))Constructive proof overview
Generated structural guide
For a prime base every nonzero successive digit quotient is strictly below its predecessor natural.
The unchanged tactic script uses 5 declared prerequisites and contains 34 exact native proof lines.
dependency-curried kernel-checked theorem body; Alpha enrollment and checked-use authority follow separately sealed release evidence; Stable membership remains unchanged
Historical empty-context replay experiment only; that experiment persisted no certificate and granted no release authority. Current checked use follows separately sealed, independently verified proof bundles; there is no Stable promotion.
Proof neighborhood
Direct dependencies
prime_two_le Alpha theorem; checked-use authorized succ_le_mul_of_two_le_right Alpha theorem; checked-use authorized le_add_right Stable theorem; checked-use authorized mul_comm Stable theorem; checked-use authorized le_trans 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–7
02Establish htwoL8–11
03Establish hscaledL12–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply succ le mul of two le right.
04Establish horderedL18–23
05Establish hupperL24–33
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le trans.
06Use earlier factsL34–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L34
exact hupper
Original exact command ledger · 34 lines
- 0001
intro p - 0002
intro n - 0003
intro q - 0004
intro d - 0005
intro hprime - 0006
intro hnonzero - 0007
intro hdivision - 0008
have htwo : exists gap. gap + 2 = p - 0009
specialize prime_two_le p - 0010
apply prime_two_le - 0011
exact hprime - 0012
have hscaled : exists gap. gap + S q = q * p - 0013
specialize succ_le_mul_of_two_le_right q - 0014
specialize succ_le_mul_of_two_le_right p - 0015
apply succ_le_mul_of_two_le_right - 0016
exact hnonzero - 0017
exact htwo - 0018
have hordered : n = q * p + d - 0019
trans p * q + d - 0020
exact hdivision - 0021
congr - 0022
apply mul_comm - 0023
refl - 0024
have hupper : exists gap. gap + (q * p) = n - 0025
specialize le_add_right (q * p) - 0026
specialize le_add_right d - 0027
rewrite <- hordered at le_add_right - 0028
exact le_add_right - 0029
specialize le_trans (S q) - 0030
specialize le_trans (q * p) - 0031
specialize le_trans n - 0032
apply le_trans - 0033
exact hscaled - 0034
exact hupper