@@ -516,28 +516,6 @@ theorem countable_compl_analyticAt_inter [SecondCountableTopology π] [Complet
516516 (isDiscrete_of_codiscreteWithin _)
517517 simpa using eventually_codiscreteWithin_analyticAt f h
518518
519- /--
520- The singular set of a meromorphic function is countable.
521- -/
522- theorem countable_compl_analyticAt [SecondCountableTopology π] [CompleteSpace E]
523- (h : MeromorphicOn f Set.univ) :
524- {z | AnalyticAt π f z}αΆ.Countable := by
525- simpa using (countable_compl_analyticAt_inter h)
526-
527- /--
528- Meromorphic functions are measurable.
529- -/
530- theorem measurable [MeasurableSpace π] [SecondCountableTopology π] [BorelSpace π]
531- [MeasurableSpace E] [CompleteSpace E] [BorelSpace E] (h : MeromorphicOn f Set.univ) :
532- Measurable f := by
533- set s := {z : π | AnalyticAt π f z}
534- have hβ : sαΆ.Countable := by simpa using h.countable_compl_analyticAt_inter
535- have hβ' := hβ.to_subtype
536- have hβ : IsOpen s := isOpen_analyticAt π f
537- have hβ : ContinuousOn f s := fun z hz β¦ hz.continuousAt.continuousWithinAt
538- exact .of_union_range_cover (.subtype_coe hβ.measurableSet) (.subtype_coe hβ.measurableSet)
539- (by simp [-mem_compl_iff]) hβ.restrict.measurable (measurable_of_countable _)
540-
541519end MeromorphicOn
542520
543521/-- Meromorphy of a function on all of π. -/
@@ -574,10 +552,17 @@ theorem sum (h : β Ο, Meromorphic (G Ο)) :
574552lemma sub (hf : Meromorphic f) (hg : Meromorphic g) :
575553 Meromorphic (f - g) := fun x β¦ (hf x).sub (hg x)
576554
555+ @ [to_fun (attr := fun_prop)]
556+ lemma smul {f : π β π} (hf : Meromorphic f) (hg : Meromorphic g) :
557+ Meromorphic (f β’ g) := fun x β¦ (hf x).smul (hg x)
558+
577559@ [to_fun (attr := fun_prop)]
578560lemma mul {f g : π β π} (hf : Meromorphic f) (hg : Meromorphic g) :
579561 Meromorphic (f * g) := fun x β¦ (hf x).mul (hg x)
580562
563+ @ [to_fun (attr := fun_prop)]
564+ lemma inv {f : π β π} (hf : Meromorphic f) : Meromorphic fβ»ΒΉ := fun x β¦ (hf x).inv
565+
581566@ [to_fun (attr := fun_prop)]
582567theorem prod (h : β Ο, Meromorphic (F Ο)) :
583568 Meromorphic (β n β s, F n) := fun x β¦ MeromorphicAt.prod (h Β· x)
@@ -600,4 +585,31 @@ protected lemma deriv [CompleteSpace E] (hf : Meromorphic f) : Meromorphic (deri
600585lemma iterated_deriv [CompleteSpace E] {n : β} (hf : Meromorphic f) :
601586 Meromorphic (deriv^[n] f) := fun x β¦ (hf x).iterated_deriv
602587
588+ /--
589+ The singular set of a meromorphic function is countable.
590+ -/
591+ theorem countable_compl_analyticAt [SecondCountableTopology π] [CompleteSpace E]
592+ (h : Meromorphic f) :
593+ {z | AnalyticAt π f z}αΆ.Countable := by
594+ simpa using (h.meromorphicOn (s := univ)).countable_compl_analyticAt_inter
595+
596+ @ [deprecated (since := "2025-12-21" )] alias MeromorphicOn.countable_compl_analyticAt :=
597+ countable_compl_analyticAt
598+
599+ /--
600+ Meromorphic functions are measurable.
601+ -/
602+ theorem measurable [MeasurableSpace π] [SecondCountableTopology π] [BorelSpace π]
603+ [MeasurableSpace E] [CompleteSpace E] [BorelSpace E] (h : Meromorphic f) :
604+ Measurable f := by
605+ set s := {z : π | AnalyticAt π f z}
606+ have hβ : sαΆ.Countable := by simpa using h.countable_compl_analyticAt
607+ have hβ' := hβ.to_subtype
608+ have hβ : IsOpen s := isOpen_analyticAt π f
609+ have hβ : ContinuousOn f s := fun z hz β¦ hz.continuousAt.continuousWithinAt
610+ exact .of_union_range_cover (.subtype_coe hβ.measurableSet) (.subtype_coe hβ.measurableSet)
611+ (by simp [- mem_compl_iff]) hβ.restrict.measurable (measurable_of_countable _)
612+
613+ @ [deprecated (since := "2025-12-21" )] alias MeromorphicOn.measurable := measurable
614+
603615end Meromorphic
0 commit comments