Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
The exact G014 theorem covers m>1 and genuinely invertible a. Phi counts coprime residues independently of the conclusion. The broader coprime theorem handles m=1 by congruence, not by asserting that one is a canonical remainder. Multiplicative-order and RSA statements are not claimed.
Exact theorem in conservative defined notation
∀ m. ∀ P. ∀ w. ¬m = 0 → Coprime(P,m) → ModEq(m,w · P,P) → ModEq(m,w,1)
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–6
02Use earlier factsL7–13
03Establish hleftL14–17
Original defined command ledger · 23 lines
- 0001
intro m - 0002
intro P - 0003
intro w - 0004
intro hm - 0005
intro hP - 0006
intro hmod - 0007
specialize mod_eq_cancel_coprime (m) - 0008
specialize mod_eq_cancel_coprime (P) - 0009
specialize mod_eq_cancel_coprime (w) - 0010
specialize mod_eq_cancel_coprime (1) - 0011
apply mod_eq_cancel_coprime - 0012
exact hm - 0013
exact hP - 0014
have hleft : P*w=w*P - 0015
specialize mul_comm (P) - 0016
specialize mul_comm (w) - 0017
apply mul_comm - 0018
have hright : P*1=P - 0019
specialize mul_one (P) - 0020
apply mul_one - 0021
rewrite hleft - 0022
rewrite hright - 0023
exact hmod