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
∀ a. ∀ m. ∀ b. ∀ c. ∀ l. ∀ i. ∀ r. UnitMultiplierPrefix(a,m,b,c,l) → Lt(i,l) → BetaAt(b,c,i,r) → CanonicalModularResidue(m,a · i,r)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 28 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–10
02Establish hpL11–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply h.
- L11
have hp : ∃ v. BetaAt(b,c,i,v) ∧ CanonicalModularResidue(m,a · i,v)Definitions: BetaAt(b,c,i,v)CanonicalModularResidue(m,a · i,v)Original native command in the exact edition - L12
specialize h (i) - L13
apply h - L14
exact hi
03Separate the logical casesL15–16
04Establish heL17–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at unique.
05Calculate and transport equalitiesL27–27
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L27
rewrite he at hp_witness_right
06Use earlier factsL28–28
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L28
exact hp_witness_right
Original defined command ledger · 28 lines
- 0001
intro a - 0002
intro m - 0003
intro b - 0004
intro c - 0005
intro l - 0006
intro i - 0007
intro r - 0008
intro h - 0009
intro hi - 0010
intro hr - 0011
have hp : ∃ v. BetaAt(b,c,i,v) ∧ CanonicalModularResidue(m,a · i,v) - 0012
specialize h (i) - 0013
apply h - 0014
exact hi - 0015
cases hp - 0016
cases hp_witness - 0017
have he : x=r - 0018
specialize beta_at_unique (b) - 0019
specialize beta_at_unique (c) - 0020
specialize beta_at_unique (i) - 0021
specialize beta_at_unique (x) - 0022
specialize beta_at_unique (r) - 0023
apply beta_at_unique - 0024
exact hp_witness_left - 0025
exact hr - 0026
rewrite he at hp_witness_right - 0027
rewrite he at hp_witness_right - 0028
exact hp_witness_right