@@ -3,6 +3,7 @@ Copyright (c) 2022 Oliver Nash. All rights reserved.
33Released under Apache 2.0 license as described in the file LICENSE.
44Authors: Oliver Nash
55-/
6+ import algebra.ring.add_aut
67import group_theory.divisible
78import group_theory.order_of_element
89import ring_theory.int.basic
@@ -110,19 +111,11 @@ end linear_ordered_add_comm_group
110111section linear_ordered_field
111112variables [linear_ordered_field 𝕜] [topological_space 𝕜] [order_topology 𝕜] (p q : 𝕜)
112113
113- /-- An auxiliary definition used only for constructing `add_circle.equiv_add_circle`. -/
114- private def equiv_add_circle_aux (hp : p ≠ 0 ) : add_circle p →+ add_circle q :=
115- quotient_add_group.lift _
116- ((quotient_add_group.mk' (zmultiples q)).comp $ add_monoid_hom.mul_right (p⁻¹ * q))
117- (λ x h, by obtain ⟨z, rfl⟩ := mem_zmultiples_iff.1 h; simp [hp, mul_assoc (z : 𝕜), ← mul_assoc p])
118-
119114/-- The rescaling equivalence between additive circles with different periods. -/
120115def equiv_add_circle (hp : p ≠ 0 ) (hq : q ≠ 0 ) : add_circle p ≃+ add_circle q :=
121- { to_fun := equiv_add_circle_aux p q hp,
122- inv_fun := equiv_add_circle_aux q p hq,
123- left_inv := by { rintros ⟨x⟩, show quotient_add_group.mk _ = _, congr, field_simp [hp, hq], },
124- right_inv := by { rintros ⟨x⟩, show quotient_add_group.mk _ = _, congr, field_simp [hp, hq], },
125- .. equiv_add_circle_aux p q hp }
116+ quotient_add_group.congr _ _ (add_aut.mul_right $ (units.mk0 p hp)⁻¹ * units.mk0 q hq) $
117+ by rw [add_monoid_hom.map_zmultiples, add_monoid_hom.coe_coe, add_aut.mul_right_apply,
118+ units.coe_mul, units.coe_mk0, units.coe_inv, units.coe_mk0, mul_inv_cancel_left₀ hp]
126119
127120@[simp] lemma equiv_add_circle_apply_mk (hp : p ≠ 0 ) (hq : q ≠ 0 ) (x : 𝕜) :
128121 equiv_add_circle p q hp hq (x : 𝕜) = (x * (p⁻¹ * q) : 𝕜) :=
0 commit comments