The exact G014 theorem is proved in this research checkpoint for m>1 and genuinely invertible a. Phi counts coprime residues independently of the conclusion. The broader coprime theorem also handles m=1 by congruence, not by asserting that one is a canonical remainder. No multiplicative-order or RSA theorem is claimed. The published atlas and Alpha membership are unchanged.
Exact theorem in conservative defined notation
∀ a. ∀ m. ∀ i. ∀ r. ∀ u. ∀ v. Coprime(a,m) → ModEq(m,a · i,r) → UnitProductFactor(m,i,u) → UnitProductFactor(m,r,v) → Coprime(i,m) → ModEq(m,a · u,v)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 38 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 (2)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–11
Work with arbitrary variables or the premises of the current implication.
- L11
intro hi
03Establish hequivL12–19
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply euler multiplier coprime iff.
- L12
have hequiv : (Coprime(i,m) → Coprime(r,m)) ∧ (Coprime(r,m) → Coprime(i,m))Definitions: Coprime(i,m)Coprime(r,m)Original native command in the exact edition - L13
specialize euler_multiplier_coprime_iff (a) - L14
specialize euler_multiplier_coprime_iff (m) - L15
specialize euler_multiplier_coprime_iff (i) - L16
specialize euler_multiplier_coprime_iff (r) - L17
apply euler_multiplier_coprime_iff - L18
exact ha - L19
exact hmod
04Separate the logical casesL20–20
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L20
cases hequiv
05Establish heL21–27
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply euler unit product factor unit value.
06Establish hfL28–37
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply euler unit product factor unit value.
07Use earlier factsL38–38
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L38
exact hmod
Original defined command ledger · 38 lines
- 0001
intro a - 0002
intro m - 0003
intro i - 0004
intro r - 0005
intro u - 0006
intro v - 0007
intro ha - 0008
intro hmod - 0009
intro hu - 0010
intro hv - 0011
intro hi - 0012
have hequiv : (Coprime(i,m) → Coprime(r,m)) ∧ (Coprime(r,m) → Coprime(i,m)) - 0013
specialize euler_multiplier_coprime_iff (a) - 0014
specialize euler_multiplier_coprime_iff (m) - 0015
specialize euler_multiplier_coprime_iff (i) - 0016
specialize euler_multiplier_coprime_iff (r) - 0017
apply euler_multiplier_coprime_iff - 0018
exact ha - 0019
exact hmod - 0020
cases hequiv - 0021
have he : u=i - 0022
specialize euler_unit_product_factor_unit_value (m) - 0023
specialize euler_unit_product_factor_unit_value (i) - 0024
specialize euler_unit_product_factor_unit_value (u) - 0025
apply euler_unit_product_factor_unit_value - 0026
exact hi - 0027
exact hu - 0028
have hf : v=r - 0029
specialize euler_unit_product_factor_unit_value (m) - 0030
specialize euler_unit_product_factor_unit_value (r) - 0031
specialize euler_unit_product_factor_unit_value (v) - 0032
apply euler_unit_product_factor_unit_value - 0033
apply hequiv_left - 0034
exact hi - 0035
exact hv - 0036
rewrite he - 0037
rewrite hf - 0038
exact hmod