@@ -892,3 +892,43 @@ lemma meromorphicOrderAt_mul_of_ne_zero {f : π β π} (hg : AnalyticAt
892892 meromorphicOrderAt_smul_of_ne_zero hg hg'
893893
894894end smul
895+
896+ /-!
897+ ## Order at a Point of the Derivative
898+ -/
899+
900+ section deriv
901+
902+ /-- The meromorphic order of the derivative is one less than the order of the original function.
903+ This however is not true if the characteristic of the domain field divides the original order,
904+ where the order of the derivative can rise to a larger integer. -/
905+ lemma meromorphicOrderAt_deriv_eq_sub_one [CompleteSpace E] {f : π β E} {x : π} {n : β€}
906+ (hn : (n : π) β 0 ) (hf : meromorphicOrderAt f x = βn) :
907+ meromorphicOrderAt (deriv f) x = β(n - 1 ) := by
908+ have hmero : MeromorphicAt f x := meromorphicAt_of_meromorphicOrderAt_ne_zero (by aesop)
909+ rw [meromorphicOrderAt_eq_int_iff hmero] at hf
910+ rw [meromorphicOrderAt_eq_int_iff hmero.deriv]
911+ obtain β¨g, hga, hg0, (hg : f =αΆ [π[β ] x] fun z β¦ (z - x) ^ n β’ g z)β© := hf
912+ refine β¨fun z β¦ (n : π) β’ g z + (z - x) β’ deriv g z, by fun_prop, by simpa using β¨hn, hg0β©, ?_β©
913+ filter_upwards [hga.eventually_analyticAt.filter_mono (nhdsWithin_le_nhds),
914+ eventually_mem_nhdsWithin, hg.nhdsNE_deriv] with z hgz hmem hz
915+ have hzx : z - x β 0 := by simpa [sub_eq_zero] using hmem
916+ calc
917+ deriv f z = deriv (fun z β¦ (z - x) ^ n β’ g z) z :=
918+ hz
919+ _ = (z - x) ^ n β’ deriv g z + deriv ((Β· ^ n) β (Β· - x)) z β’ g z :=
920+ deriv_fun_smul (by fun_prop (disch := grind)) hgz.differentiableAt
921+ _ = (z - x) ^ n β’ deriv g z + (n * (z - x) ^ (n - 1 )) β’ g z := by
922+ rw [deriv_comp _ (by fun_prop (disch := grind)) (by fun_prop)]
923+ simp [deriv_zpow]
924+ _ = (z - x) ^ (n - 1 ) β’ ((n : π) β’ g z + (z - x) β’ deriv g z) := by
925+ simp [smul_smul, β zpow_add_oneβ hzx, add_comm, mul_comm]
926+
927+ /-- Equivalent to `meromorphicOrderAt_deriv_eq_sub_one` with a slightly different statement so the
928+ conclusion matches more targets -/
929+ lemma meromorphicOrderAt_deriv [CompleteSpace E] {f : π β E} {x : π} {n : β€}
930+ (hn : (β(n + 1 ) : π) β 0 ) (hf : meromorphicOrderAt f x = β(n + 1 )) :
931+ meromorphicOrderAt (deriv f) x = βn := by
932+ simpa using meromorphicOrderAt_deriv_eq_sub_one hn hf
933+
934+ end deriv
0 commit comments