Skip to content

Commit 324e878

Browse files
committed
feat(Analysis): two codiscrete-equal meromorphic functions have codiscrete-equal derivatives (leanprover-community#41093)
1 parent 6c0d6d2 commit 324e878

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Mathlib/Analysis/Meromorphic/IsolatedZeros.lean

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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

134134
end 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

0 commit comments

Comments
 (0)