@@ -416,6 +416,21 @@ protected theorem inv [Inv β] [ContinuousInv β] (hf : StronglyMeasurable f) :
416416 StronglyMeasurable f⁻¹ :=
417417 ⟨fun n => (hf.approx n)⁻¹, fun x => (hf.tendsto_approx x).inv⟩
418418
419+ @[fun_prop]
420+ protected theorem inv₀ [GroupWithZero β] [ContinuousInv₀ β] [MetrizableSpace β]
421+ (hf : StronglyMeasurable f) : StronglyMeasurable f⁻¹ := by
422+ borelize β
423+ refine ⟨fun n => ((hf.approx n).restrict {x | f x ≠ 0 })⁻¹, fun x => ?_⟩
424+ have : MeasurableSet {x | f x ≠ 0 } := ((MeasurableSet.singleton 0 ).preimage hf.measurable).compl
425+ by_cases h : f x = 0
426+ · simp_all only [ne_eq, measurableSet_setOf, SimpleFunc.coe_inv, SimpleFunc.coe_restrict,
427+ Pi.inv_apply, mem_setOf_eq, not_true_eq_false, not_false_eq_true, indicator_of_notMem,
428+ _root_.inv_zero]
429+ exact tendsto_const_nhds
430+ · simp_all only [ne_eq, measurableSet_setOf, SimpleFunc.coe_inv, SimpleFunc.coe_restrict,
431+ Pi.inv_apply, mem_setOf_eq, not_false_eq_true, indicator_of_mem]
432+ apply (hf.tendsto_approx x).inv₀ h
433+
419434@ [to_additive (attr := fun_prop) sub]
420435protected theorem div' [Div β] [ContinuousDiv β] (hf : StronglyMeasurable f)
421436 (hg : StronglyMeasurable g) : StronglyMeasurable (f / g) :=
@@ -428,10 +443,10 @@ theorem div₀ [GroupWithZero β] [ContinuousMul β] [ContinuousInv₀ β] (hf :
428443 fun x => (hf.tendsto_approx x).div (hg.tendsto_approx x) (h₀ x)⟩
429444
430445@[fun_prop]
431- theorem div [GroupWithZero β] [ContinuousMul β] [ContinuousInv₀ β] [PseudoMetrizableSpace β]
432- [MeasurableSpace β] [BorelSpace β] [MeasurableSingletonClass β] (hf : StronglyMeasurable f)
433- (hg : StronglyMeasurable g) :
446+ theorem div [GroupWithZero β] [ContinuousMul β] [ContinuousInv₀ β] [MetrizableSpace β]
447+ (hf : StronglyMeasurable f) (hg : StronglyMeasurable g) :
434448 StronglyMeasurable (f / g) := by
449+ borelize β
435450 refine ⟨fun n => hf.approx n / (hg.approx n).restrict {x | g x ≠ 0 }, fun x => ?_⟩
436451 have : MeasurableSet {x | g x ≠ 0 } := ((MeasurableSet.singleton 0 ).preimage hg.measurable).compl
437452 by_cases h : g x = 0
0 commit comments