Skip to main content
AlexKontorovich/PrimeNumberTheoremAnd
Source indexedtheorem · leanprover/lean4:v4.32.0

Complex.HasDerivAt.const_mul_ofReal_cpow_neg_sub_one

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Pow.Deriv · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Pow/Deriv.lean:46 to 61

Mathematical statement

Exact Lean statement

theorem HasDerivAt.const_mul_ofReal_cpow_neg_sub_one (a : ℂ) {u : ℝ} (hu : 0 < u) (z : ℂ) :
    HasDerivAt (fun w => a * (u : ℂ) ^ (-w - 1))
      (-a * (Complex.log u) * (u : ℂ) ^ (-z - 1)) z

Complete declaration

Lean source

Canonical source
Full Lean sourceLean 4
theorem HasDerivAt.const_mul_ofReal_cpow_neg_sub_one (a : ℂ) {u : } (hu : 0 < u) (z : ℂ) :    HasDerivAt (fun w => a * (u : ℂ) ^ (-w - 1))      (-a * (Complex.log u) * (u : ℂ) ^ (-z - 1)) z := by  set huC : (u : ℂ)  0 := ofReal_ne_zero.mpr hu.ne'  have hf : HasDerivAt (fun w => -w - 1) (-1) z := by    simpa [sub_eq_add_neg, add_comm, add_left_comm, add_assoc] using      (hasDerivAt_id z).neg.sub_const (1 : ℂ)  have hbase : HasDerivAt (fun w => (u : ℂ) ^ (-w - 1))      ((u : ℂ) ^ (-z - 1) * Complex.log (u : ℂ) * (-1)) z :=    HasDerivAt.const_cpow (c := (u : ℂ)) hf (Or.inl huC)  have hbase' : HasDerivAt (fun w => (u : ℂ) ^ (-w - 1))      (-(Complex.log (u : ℂ)) * (u : ℂ) ^ (-z - 1)) z := by    simpa [mul_comm, mul_left_comm, mul_assoc] using hbase  have hlog : (Real.log u : ℂ) = Complex.log (u : ℂ) := by    simpa using (ofReal_log (x := u) (hx := le_of_lt hu))  simpa [hlog, mul_comm, mul_left_comm, mul_assoc] using hbase'.const_mul a