Skip to content

Commit 71bf6f4

Browse files
committed
feat(Topology/Algebra/Ring): ContinuousAddEquiv.mulLeft, mulRight (leanprover-community#34193)
The additive homeomorphism from a topological ring to itself, induced by left/right multiplication by a unit. From FLT. Co-authored-by: bwangpj <70694994+bwangpj@users.noreply.github.com>
1 parent f22a626 commit 71bf6f4

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Mathlib/Topology/Algebra/Ring/Basic.lean

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public import Mathlib.Algebra.Order.AbsoluteValue.Basic
99
public import Mathlib.Algebra.Ring.Opposite
1010
public import Mathlib.Algebra.Ring.Prod
1111
public import Mathlib.Algebra.Ring.Subring.Basic
12+
public import Mathlib.Topology.Algebra.ContinuousMonoidHom
1213
public import Mathlib.Topology.Algebra.Group.GroupTopology
1314

1415
/-!
@@ -374,6 +375,30 @@ theorem mulRight_continuous (x : R) : Continuous (AddMonoidHom.mulRight x) :=
374375

375376
end
376377

378+
namespace ContinuousAddEquiv
379+
380+
variable [Semiring R] [IsTopologicalSemiring R]
381+
382+
/-- The additive homeomorphism from a topological ring to itself,
383+
induced by left multiplication by a unit. -/
384+
@[simps! apply]
385+
def mulLeft (r : Rˣ) : R ≃ₜ+ R where
386+
__ := r.mulLeft
387+
map_add' x₁ x₂ := left_distrib ↑r x₁ x₂
388+
continuous_toFun := continuous_const_mul _
389+
continuous_invFun := continuous_const_mul _
390+
391+
/-- The additive homeomorphism from a topological ring to itself,
392+
induced by right multiplication by a unit. -/
393+
@[simps! apply]
394+
def mulRight (r : Rˣ) : R ≃ₜ+ R where
395+
__ := r.mulRight
396+
map_add' x₁ x₂ := right_distrib x₁ x₂ r
397+
continuous_toFun := continuous_mul_const _
398+
continuous_invFun := continuous_mul_const _
399+
400+
end ContinuousAddEquiv
401+
377402
namespace NonUnitalSubring
378403

379404
variable [NonUnitalRing R]

0 commit comments

Comments
 (0)