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 derivative-nonzero criterion supplies no inverse or power witness: both are constructed. Roots may be arbitrary natural representatives of signed integer polynomials. Singular-root classification and p-adic completion are separate milestones.
Exact theorem in conservative defined notation
∀ m. ∀ p. ∀ a. ∀ z. ¬m = 0 → Lt(a,m) → Lt(z,p · m) → ModEq(m,z,a) → ∃ x. Lt(x,p) ∧ z = a + m · x
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 60 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–8
02Establish hdivL9–13
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply division remainder exists.
03Separate the logical casesL14–16
04Establish hrL17–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply canonical remainder from mod.
- L17
have hr : x1 = a - L18
specialize canonical_remainder_from_mod m - L19
specialize canonical_remainder_from_mod z - L20
specialize canonical_remainder_from_mod x - L21
specialize canonical_remainder_from_mod x1 - L22
specialize canonical_remainder_from_mod a - L23
apply canonical_remainder_from_mod - L24
exact hdiv_witness_witness_left - L25
exact hdiv_witness_witness_right - L26
exact ha
05Use earlier factsL27–27
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L27
exact hmod
06Establish hboundL28–30
Establish this local claim before using it. It is not an additional assumption.
07Separate the logical casesL31–32
08Use earlier factsL33–36
09Establish hprodL37–46
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul comm.
10Use earlier factsL47–48
11Calculate and transport equalitiesL49–49
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L49
rewrite hdiv_witness_witness_left
12Use earlier factsL50–53
13Construct an explicit witnessL54–54
Supply the displayed value, then prove that it has the required property.
- L54
exists x
14Separate the logical casesL55–55
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L55
split
15Use earlier factsL56–56
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L56
exact hbound
16Calculate and transport equalitiesL57–57
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L57
trans m * x + x1
17Use earlier factsL58–58
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L58
exact hdiv_witness_witness_left
18Calculate and transport equalitiesL59–59
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L59
rewrite hr
19Use earlier factsL60–60
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L60
apply add_comm
Original defined command ledger · 60 lines
- 0001
intro m - 0002
intro p - 0003
intro a - 0004
intro z - 0005
intro hm - 0006
intro ha - 0007
intro hz - 0008
intro hmod - 0009
have hdiv : ∃ q. ∃ r. z = m · q + r ∧ Lt(r,m) - 0010
specialize division_remainder_exists m - 0011
specialize division_remainder_exists z - 0012
apply division_remainder_exists - 0013
exact hm - 0014
cases hdiv - 0015
cases hdiv_witness - 0016
cases hdiv_witness_witness - 0017
have hr : x1 = a - 0018
specialize canonical_remainder_from_mod m - 0019
specialize canonical_remainder_from_mod z - 0020
specialize canonical_remainder_from_mod x - 0021
specialize canonical_remainder_from_mod x1 - 0022
specialize canonical_remainder_from_mod a - 0023
apply canonical_remainder_from_mod - 0024
exact hdiv_witness_witness_left - 0025
exact hdiv_witness_witness_right - 0026
exact ha - 0027
exact hmod - 0028
have hbound : Lt(x,p) - 0029
specialize le_or_lt p - 0030
specialize le_or_lt x - 0031
cases le_or_lt - 0032
exfalso - 0033
specialize lt_not_le z - 0034
specialize lt_not_le (p * m) - 0035
apply lt_not_le - 0036
exact hz - 0037
have hprod : p * m = m * p - 0038
apply mul_comm - 0039
rewrite hprod - 0040
specialize le_trans (m * p) - 0041
specialize le_trans (m * x) - 0042
specialize le_trans z - 0043
apply le_trans - 0044
specialize mul_le_mul_left p - 0045
specialize mul_le_mul_left x - 0046
specialize mul_le_mul_left m - 0047
apply mul_le_mul_left - 0048
exact le_or_lt_left - 0049
rewrite hdiv_witness_witness_left - 0050
specialize le_add_right (m * x) - 0051
specialize le_add_right x1 - 0052
apply le_add_right - 0053
exact le_or_lt_right - 0054
exists x - 0055
split - 0056
exact hbound - 0057
trans m * x + x1 - 0058
exact hdiv_witness_witness_left - 0059
rewrite hr - 0060
apply add_comm