Skip to content

Commit c2504cb

Browse files
committed
feat(Topology/Algebra/Monoid): add ContinuousOn.comp_mul_left and Cont...right
1 parent 599f160 commit c2504cb

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Mathlib/Topology/Algebra/Monoid.lean

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@ theorem continuous_mul_left (a : M) : Continuous fun b : M => a * b := by fun_pr
7070
@[to_additive (attr := continuity)]
7171
theorem continuous_mul_right (a : M) : Continuous fun b : M => b * a := by fun_prop
7272

73+
@[to_additive]
74+
theorem ContinuousOn.comp_mul_left {f : M → X} {s t : Set M} {c : M} (hf : ContinuousOn f t)
75+
(hct : Set.MapsTo (fun x : M => c * x) s t) : ContinuousOn (fun x => f (c * x)) s :=
76+
hf.comp (continuous_mul_left c).continuousOn hct
77+
78+
@[to_additive]
79+
theorem ContinuousOn.comp_mul_right {f : M → X} {s t : Set M} {c : M} (hf : ContinuousOn f t)
80+
(hct : Set.MapsTo (fun x : M => x * c) s t) : ContinuousOn (fun x => f (x * c)) s :=
81+
hf.comp (continuous_mul_right c).continuousOn hct
82+
7383
@[to_additive]
7484
theorem tendsto_mul {a b : M} : Tendsto (fun p : M × M => p.fst * p.snd) (𝓝 (a, b)) (𝓝 (a * b)) :=
7585
continuous_iff_continuousAt.mp ContinuousMul.continuous_mul (a, b)

0 commit comments

Comments
 (0)