Skip to content

Commit 511b4e0

Browse files
committed
feat(Topology/Algebra/Monoid): add ContinuousOn.comp_mul_left and ContinuousOn.comp_mul_right
1 parent 599f160 commit 511b4e0

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Mathlib/Topology/Algebra/Monoid.lean

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,18 @@ 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
75+
{β : Type*} [TopologicalSpace β] {f : M → β} {s t : Set M} {c : M} (hf : ContinuousOn f t)
76+
(hct : Set.MapsTo (fun x : M => c * x) s t) : ContinuousOn (fun x => f (c * x)) s :=
77+
hf.comp (continuous_mul_left c).continuousOn hct
78+
79+
@[to_additive]
80+
theorem ContinuousOn.comp_mul_right
81+
{β : Type*} [TopologicalSpace β] {f : M → β} {s t : Set M} {c : M} (hf : ContinuousOn f t)
82+
(hct : Set.MapsTo (fun x : M => x * c) s t) : ContinuousOn (fun x => f (x * c)) s :=
83+
hf.comp (continuous_mul_right c).continuousOn hct
84+
7385
@[to_additive]
7486
theorem tendsto_mul {a b : M} : Tendsto (fun p : M × M => p.fst * p.snd) (𝓝 (a, b)) (𝓝 (a * b)) :=
7587
continuous_iff_continuousAt.mp ContinuousMul.continuous_mul (a, b)

0 commit comments

Comments
 (0)