Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
Each statement retains its explicit modulus, coprimality and divisibility assumptions. These twelve arithmetic laws do not assert all order, primitive-root, Carmichael, exponential or simultaneous-polynomial congruence goals are finished.
Exact theorem in conservative defined notation
∀ b. ∀ x. (ModEq(0,0 · x,b) → b = 0) ∧ (b = 0 → ModEq(0,0 · x,b))
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 23 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–2
02Establish h0L3–4
03Establish hcL5–8
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq zero iff eq.
- L5
have hc : (ModEq(0,0 · x,b) → 0 · x = b) ∧ (0 · x = b → ModEq(0,0 · x,b))Definitions: ModEq(0,0 · x,b)Original native command in the exact edition - L6
specialize mod_eq_zero_iff_eq (0*x) - L7
specialize mod_eq_zero_iff_eq (b) - L8
apply mod_eq_zero_iff_eq
04Separate the logical casesL9–10
05Fix variables and assumptionsL11–11
Work with arbitrary variables or the premises of the current implication.
- L11
intro h
06Calculate and transport equalitiesL12–14
07Use earlier factsL15–17
08Fix variables and assumptionsL18–18
Work with arbitrary variables or the premises of the current implication.
- L18
intro h
09Use earlier factsL19–19
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L19
apply hc_right
10Calculate and transport equalitiesL20–20
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L20
trans 0
11Use earlier factsL21–21
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
exact h0
12Calculate and transport equalitiesL22–22
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L22
symm
13Use earlier factsL23–23
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L23
exact h
Original defined command ledger · 23 lines
- 0001
intro b - 0002
intro x - 0003
have h0 : 0*x=0 - 0004
apply mul_zero_left - 0005
have hc : (ModEq(0,0 · x,b) → 0 · x = b) ∧ (0 · x = b → ModEq(0,0 · x,b)) - 0006
specialize mod_eq_zero_iff_eq (0*x) - 0007
specialize mod_eq_zero_iff_eq (b) - 0008
apply mod_eq_zero_iff_eq - 0009
cases hc - 0010
split - 0011
intro h - 0012
symm - 0013
trans 0*x - 0014
symm - 0015
exact h0 - 0016
apply hc_left - 0017
exact h - 0018
intro h - 0019
apply hc_right - 0020
trans 0 - 0021
exact h0 - 0022
symm - 0023
exact h