File tree Expand file tree Collapse file tree
Mathlib/Analysis/Meromorphic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,3 +132,16 @@ theorem eventually_nhdsSet_eventuallyEq_codiscreteWithin (hf : MeromorphicOn f U
132132 exact eventuallyEq_nhdsNE_of_eventuallyEq_codiscreteWithin (hf x hx) (hg x hx) hx (hU x hx) h
133133
134134end MeromorphicAt
135+
136+ /-- If meromorphic `f` and `g` agree on `codiscreteWithin U`, so do their derivatives. -/
137+ theorem MeromorphicOn.deriv_eventuallyEq_codiscreteWithin (hf : MeromorphicOn f U)
138+ (hg : MeromorphicOn g U) (h : f =ᶠ[codiscreteWithin U] g) :
139+ deriv f =ᶠ[codiscreteWithin U] deriv g := by
140+ rw [EventuallyEq, Filter.Eventually, mem_codiscreteWithin_iff_forall_mem_nhdsNE]
141+ intro x hx
142+ by_cases hacc : AccPt x (𝓟 U)
143+ · have h : f =ᶠ[𝓝[≠] x] g :=
144+ (hf x hx).eventuallyEq_nhdsNE_of_eventuallyEq_codiscreteWithin (hg x hx) hx hacc h
145+ filter_upwards [h.nhdsNE_deriv] using by simp +contextual
146+ · rw [accPt_iff_frequently_nhdsNE, not_frequently] at hacc
147+ filter_upwards [hacc] using by grind
You can’t perform that action at this time.
0 commit comments