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. ¬m = 0 → Coprime(a,m) → UnitMultiplierPrefix(a,m,b,c,m) → BoundedPrefix(b,c,m) ∧ InjectivePrefix(b,c,m)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 78 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.
Named ingredients (1)
01Fix variables and assumptionsL1–7
02Separate the logical casesL8–8
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L8
split
03Fix variables and assumptionsL9–10
04Establish 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
05Separate the logical casesL15–17
06Construct an explicit witnessL18–18
Supply the displayed value, then prove that it has the required property.
- L18
exists x
07Separate the logical casesL19–19
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L19
split
08Use earlier factsL20–21
09Fix variables and assumptionsL22–28
10Establish hlL29–38
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply euler multiplier prefix entry.
- L29
have hl : CanonicalModularResidue(m,a · i,v)Definitions: CanonicalModularResidue(m,a · i,v)Original native command in the exact edition - L30
specialize euler_multiplier_prefix_entry (a) - L31
specialize euler_multiplier_prefix_entry (m) - L32
specialize euler_multiplier_prefix_entry (b) - L33
specialize euler_multiplier_prefix_entry (c) - L34
specialize euler_multiplier_prefix_entry (m) - L35
specialize euler_multiplier_prefix_entry (i) - L36
specialize euler_multiplier_prefix_entry (v) - L37
apply euler_multiplier_prefix_entry - L38
exact h
11Use earlier factsL39–40
12Separate the logical casesL41–41
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L41
cases hl
13Establish hrL42–51
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply euler multiplier prefix entry.
- L42
have hr : CanonicalModularResidue(m,a · j,v)Definitions: CanonicalModularResidue(m,a · j,v)Original native command in the exact edition - L43
specialize euler_multiplier_prefix_entry (a) - L44
specialize euler_multiplier_prefix_entry (m) - L45
specialize euler_multiplier_prefix_entry (b) - L46
specialize euler_multiplier_prefix_entry (c) - L47
specialize euler_multiplier_prefix_entry (m) - L48
specialize euler_multiplier_prefix_entry (j) - L49
specialize euler_multiplier_prefix_entry (v) - L50
apply euler_multiplier_prefix_entry - L51
exact h
14Use earlier factsL52–53
15Separate the logical casesL54–54
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L54
cases hr
16Use earlier factsL55–64
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L55
specialize mod_eq_bounded_unique (m) - L56
specialize mod_eq_bounded_unique (i) - L57
specialize mod_eq_bounded_unique (j) - L58
apply mod_eq_bounded_unique - L59
exact hi - L60
exact hj - L61
specialize mod_eq_cancel_coprime (m) - L62
specialize mod_eq_cancel_coprime (a) - L63
specialize mod_eq_cancel_coprime (i) - L64
specialize mod_eq_cancel_coprime (j)
17Use earlier factsL65–74
Instantiate or apply named facts and discharge the corresponding proof obligations.
Original defined command ledger · 78 lines
- 0001
intro a - 0002
intro m - 0003
intro b - 0004
intro c - 0005
intro hm - 0006
intro ha - 0007
intro h - 0008
split - 0009
intro i - 0010
intro hi - 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
cases hp_witness_right - 0018
exists x - 0019
split - 0020
exact hp_witness_left - 0021
exact hp_witness_right_left - 0022
intro i - 0023
intro j - 0024
intro v - 0025
intro hi - 0026
intro hj - 0027
intro hiv - 0028
intro hjv - 0029
have hl : CanonicalModularResidue(m,a · i,v) - 0030
specialize euler_multiplier_prefix_entry (a) - 0031
specialize euler_multiplier_prefix_entry (m) - 0032
specialize euler_multiplier_prefix_entry (b) - 0033
specialize euler_multiplier_prefix_entry (c) - 0034
specialize euler_multiplier_prefix_entry (m) - 0035
specialize euler_multiplier_prefix_entry (i) - 0036
specialize euler_multiplier_prefix_entry (v) - 0037
apply euler_multiplier_prefix_entry - 0038
exact h - 0039
exact hi - 0040
exact hiv - 0041
cases hl - 0042
have hr : CanonicalModularResidue(m,a · j,v) - 0043
specialize euler_multiplier_prefix_entry (a) - 0044
specialize euler_multiplier_prefix_entry (m) - 0045
specialize euler_multiplier_prefix_entry (b) - 0046
specialize euler_multiplier_prefix_entry (c) - 0047
specialize euler_multiplier_prefix_entry (m) - 0048
specialize euler_multiplier_prefix_entry (j) - 0049
specialize euler_multiplier_prefix_entry (v) - 0050
apply euler_multiplier_prefix_entry - 0051
exact h - 0052
exact hj - 0053
exact hjv - 0054
cases hr - 0055
specialize mod_eq_bounded_unique (m) - 0056
specialize mod_eq_bounded_unique (i) - 0057
specialize mod_eq_bounded_unique (j) - 0058
apply mod_eq_bounded_unique - 0059
exact hi - 0060
exact hj - 0061
specialize mod_eq_cancel_coprime (m) - 0062
specialize mod_eq_cancel_coprime (a) - 0063
specialize mod_eq_cancel_coprime (i) - 0064
specialize mod_eq_cancel_coprime (j) - 0065
apply mod_eq_cancel_coprime - 0066
exact hm - 0067
exact ha - 0068
specialize mod_eq_trans (m) - 0069
specialize mod_eq_trans (a*i) - 0070
specialize mod_eq_trans (v) - 0071
specialize mod_eq_trans (a*j) - 0072
apply mod_eq_trans - 0073
exact hl_right - 0074
specialize mod_eq_symm (m) - 0075
specialize mod_eq_symm (a*j) - 0076
specialize mod_eq_symm (v) - 0077
apply mod_eq_symm - 0078
exact hr_right