EU0018

euler_unit_factor_scaled_congruence

Public research checkpoint, not admitted to Alpha or Stable. Alpha v30 remains 3222 checked-use theorems; Stable remains 432. The on-demand Alpha Lean service does not yet expose these checkpoint theorems; their independently checked literal bundles and unchanged sources are available below.

Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable

A unit index contributes exactly one multiplier factor under the actual residue permutation.

Exact expanded first-order arithmetic statement

forall a m i r u v. (forall eut_divisor_eu_scale_multiplier. (exists eut_left_eu_scale_multiplier. (a) = eut_divisor_eu_scale_multiplier * eut_left_eu_scale_multiplier) -> (exists eut_right_eu_scale_multiplier. (m) = eut_divisor_eu_scale_multiplier * eut_right_eu_scale_multiplier) -> eut_divisor_eu_scale_multiplier = 1) -> (exists eu_mod_left_scale_residue eu_mod_right_scale_residue. (a*i) + (m) * eu_mod_left_scale_residue = (r) + (m) * eu_mod_right_scale_residue) -> ((((forall eut_divisor_eu_scale_source_coprime. (exists eut_left_eu_scale_source_coprime. (i) = eut_divisor_eu_scale_source_coprime * eut_left_eu_scale_source_coprime) -> (exists eut_right_eu_scale_source_coprime. (m) = eut_divisor_eu_scale_source_coprime * eut_right_eu_scale_source_coprime) -> eut_divisor_eu_scale_source_coprime = 1) /\ (u)=(i)) \/ (~(forall eut_divisor_eu_scale_source_coprime. (exists eut_left_eu_scale_source_coprime. (i) = eut_divisor_eu_scale_source_coprime * eut_left_eu_scale_source_coprime) -> (exists eut_right_eu_scale_source_coprime. (m) = eut_divisor_eu_scale_source_coprime * eut_right_eu_scale_source_coprime) -> eut_divisor_eu_scale_source_coprime = 1) /\ (u)=1))) -> ((((forall eut_divisor_eu_scale_target_coprime. (exists eut_left_eu_scale_target_coprime. (r) = eut_divisor_eu_scale_target_coprime * eut_left_eu_scale_target_coprime) -> (exists eut_right_eu_scale_target_coprime. (m) = eut_divisor_eu_scale_target_coprime * eut_right_eu_scale_target_coprime) -> eut_divisor_eu_scale_target_coprime = 1) /\ (v)=(r)) \/ (~(forall eut_divisor_eu_scale_target_coprime. (exists eut_left_eu_scale_target_coprime. (r) = eut_divisor_eu_scale_target_coprime * eut_left_eu_scale_target_coprime) -> (exists eut_right_eu_scale_target_coprime. (m) = eut_divisor_eu_scale_target_coprime * eut_right_eu_scale_target_coprime) -> eut_divisor_eu_scale_target_coprime = 1) /\ (v)=1))) -> (forall eut_divisor_eu_scale_index_unit. (exists eut_left_eu_scale_index_unit. (i) = eut_divisor_eu_scale_index_unit * eut_left_eu_scale_index_unit) -> (exists eut_right_eu_scale_index_unit. (m) = eut_divisor_eu_scale_index_unit * eut_right_eu_scale_index_unit) -> eut_divisor_eu_scale_index_unit = 1) -> (exists eu_mod_left_scale_result eu_mod_right_scale_result. (a*u) + (m) * eu_mod_left_scale_result = (v) + (m) * eu_mod_right_scale_result)

Constructive proof overview

Generated structural guide

A unit index contributes exactly one multiplier factor under the actual residue permutation.

The unchanged tactic script uses 2 declared prerequisites and contains 38 exact native proof lines.

Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable

Proof neighborhood

Direct dependencies

Direct dependents

Formal native tactic body

Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. The literal dependency-closed bundle is checked by original HA and the independently compiled Lean verifier. Public delivery grants no Alpha checked-use authority or Stable membership.

Read the argument

Proof checkpoints

38 script commands · 7 reading checkpoints · 3 local claims

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)

Long local formulas use this family’s existing definitions. Each new abbreviation was expanded back to the identical native formula, including its free-variable context. The original edition is preserved below.

01Fix variables and assumptionsL1–10

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro a
  2. L2
    intro m
  3. L3
    intro i
  4. L4
    intro r
  5. L5
    intro u
  6. L6
    intro v
  7. L7
    intro ha
  8. L8
    intro hmod
  9. L9
    intro hu
  10. L10
    intro hv
02Fix variables and assumptionsL11–11

Work with arbitrary variables or the premises of the current implication.

  1. 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.

  1. L12
    have hequiv : (Coprime(i,m) → Coprime(r,m)) ∧ (Coprime(r,m) → Coprime(i,m))Definitions: Coprime
  2. L13
    specialize euler_multiplier_coprime_iff (a)
  3. L14
    specialize euler_multiplier_coprime_iff (m)
  4. L15
    specialize euler_multiplier_coprime_iff (i)
  5. L16
    specialize euler_multiplier_coprime_iff (r)
  6. L17
    apply euler_multiplier_coprime_iff
  7. L18
    exact ha
  8. L19
    exact hmod
04Separate the logical casesL20–20

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. 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.

  1. L21
    have he : u=i
  2. L22
    specialize euler_unit_product_factor_unit_value (m)
  3. L23
    specialize euler_unit_product_factor_unit_value (i)
  4. L24
    specialize euler_unit_product_factor_unit_value (u)
  5. L25
    apply euler_unit_product_factor_unit_value
  6. L26
    exact hi
  7. L27
    exact hu
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.

  1. L28
    have hf : v=r
  2. L29
    specialize euler_unit_product_factor_unit_value (m)
  3. L30
    specialize euler_unit_product_factor_unit_value (r)
  4. L31
    specialize euler_unit_product_factor_unit_value (v)
  5. L32
    apply euler_unit_product_factor_unit_value
  6. L33
    apply hequiv_left
  7. L34
    exact hi
  8. L35
    exact hv
  9. L36
    rewrite he
  10. L37
    rewrite hf
07Use earlier factsL38–38

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L38
    exact hmod

Library-wide reading audit

Original exact command ledger · 38 lines
  1. 0001intro a
  2. 0002intro m
  3. 0003intro i
  4. 0004intro r
  5. 0005intro u
  6. 0006intro v
  7. 0007intro ha
  8. 0008intro hmod
  9. 0009intro hu
  10. 0010intro hv
  11. 0011intro hi
  12. 0012have hequiv : ((forall eut_divisor_eu_scale_left. (exists eut_left_eu_scale_left. (i) = eut_divisor_eu_scale_left * eut_left_eu_scale_left) -> (exists eut_right_eu_scale_left. (m) = eut_divisor_eu_scale_left * eut_right_eu_scale_left) -> eut_divisor_eu_scale_left = 1) -> (forall eut_divisor_eu_scale_right. (exists eut_left_eu_scale_right. (r) = eut_divisor_eu_scale_right * eut_left_eu_scale_right) -> (exists eut_right_eu_scale_right. (m) = eut_divisor_eu_scale_right * eut_right_eu_scale_right) -> eut_divisor_eu_scale_right = 1)) /\ ((forall eut_divisor_eu_scale_right_back. (exists eut_left_eu_scale_right_back. (r) = eut_divisor_eu_scale_right_back * eut_left_eu_scale_right_back) -> (exists eut_right_eu_scale_right_back. (m) = eut_divisor_eu_scale_right_back * eut_right_eu_scale_right_back) -> eut_divisor_eu_scale_right_back = 1) -> (forall eut_divisor_eu_scale_left_back. (exists eut_left_eu_scale_left_back. (i) = eut_divisor_eu_scale_left_back * eut_left_eu_scale_left_back) -> (exists eut_right_eu_scale_left_back. (m) = eut_divisor_eu_scale_left_back * eut_right_eu_scale_left_back) -> eut_divisor_eu_scale_left_back = 1))
  13. 0013specialize euler_multiplier_coprime_iff (a)
  14. 0014specialize euler_multiplier_coprime_iff (m)
  15. 0015specialize euler_multiplier_coprime_iff (i)
  16. 0016specialize euler_multiplier_coprime_iff (r)
  17. 0017apply euler_multiplier_coprime_iff
  18. 0018exact ha
  19. 0019exact hmod
  20. 0020cases hequiv
  21. 0021have he : u=i
  22. 0022specialize euler_unit_product_factor_unit_value (m)
  23. 0023specialize euler_unit_product_factor_unit_value (i)
  24. 0024specialize euler_unit_product_factor_unit_value (u)
  25. 0025apply euler_unit_product_factor_unit_value
  26. 0026exact hi
  27. 0027exact hu
  28. 0028have hf : v=r
  29. 0029specialize euler_unit_product_factor_unit_value (m)
  30. 0030specialize euler_unit_product_factor_unit_value (r)
  31. 0031specialize euler_unit_product_factor_unit_value (v)
  32. 0032apply euler_unit_product_factor_unit_value
  33. 0033apply hequiv_left
  34. 0034exact hi
  35. 0035exact hv
  36. 0036rewrite he
  37. 0037rewrite hf
  38. 0038exact hmod