Skip to content

Commit 43127ac

Browse files
committed
feat(Topology/Algebra/GroupWithZero): add ContinuousOn.comp_mul_left_div and Cont...right_div
1 parent c2504cb commit 43127ac

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Mathlib/Topology/Algebra/GroupWithZero.lean

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,16 @@ nonrec theorem ContinuousWithinAt.div (hf : ContinuousWithinAt f s a)
210210
theorem ContinuousOn.div (hf : ContinuousOn f s) (hg : ContinuousOn g s) (h₀ : ∀ x ∈ s, g x ≠ 0) :
211211
ContinuousOn (f / g) s := fun x hx => (hf x hx).div (hg x hx) (h₀ x hx)
212212

213+
theorem ContinuousOn.comp_mul_left_div {f g : G₀ → G₀} {s t : Set G₀} {c : G₀}
214+
(hf : ContinuousOn f t) (hg : ContinuousOn g s) (hct : Set.MapsTo (fun x ↦ c * x) s t)
215+
(hne : ∀ x ∈ s, g x ≠ 0) : ContinuousOn (fun x ↦ f (c * x) / g x) s :=
216+
(hf.comp_mul_left hct).div hg hne
217+
218+
theorem ContinuousOn.comp_mul_right_div {f g : G₀ → G₀} {s t : Set G₀} {c : G₀}
219+
(hf : ContinuousOn f t) (hg : ContinuousOn g s) (hct : Set.MapsTo (fun x ↦ x * c) s t)
220+
(hne : ∀ x ∈ s, g x ≠ 0) : ContinuousOn (fun x ↦ f (x * c) / g x) s :=
221+
(hf.comp_mul_right hct).div hg hne
222+
213223
/-- Continuity at a point of the result of dividing two functions continuous at that point, where
214224
the denominator is nonzero. -/
215225
nonrec theorem ContinuousAt.div (hf : ContinuousAt f a) (hg : ContinuousAt g a) (h₀ : g a ≠ 0) :

0 commit comments

Comments
 (0)