math / data /lean /OAI /Analysis /Calculus /Current /ComplexDerivatives.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.88 kB
import OAI.Analysis.Calculus.Current.Coefficients
namespace OAI.Analysis.Calculus.Current
noncomputable section
theorem hasDerivAt_holomorphic_line {d : β„•} (f : (Index d β†’ β„‚) β†’ β„‚)
(z V : Index d β†’ β„‚) (hf : DifferentiableAt β„‚ f z) :
HasDerivAt (fun t : ℝ => f (imaginaryLine z V t)) ((fderiv β„‚ f z) V) 0 := by
have hline : HasDerivAt (fun t : β„‚ => z + t β€’ V) V 0 := by
simpa using ((hasDerivAt_id (0 : β„‚)).smul_const V).const_add z
have hf' : HasFDerivAt f (fderiv β„‚ f z) (z + (0 : β„‚) β€’ V) := by
simpa using hf.hasFDerivAt
have hh := (hf'.comp_hasDerivAt 0 hline).comp_ofReal
convert hh using 1
funext t
congr 1
theorem complexBarDirectional_holomorphic {d : β„•} (f : (Index d β†’ β„‚) β†’ β„‚)
(z V : Index d β†’ β„‚) (hf : DifferentiableAt β„‚ f z) :
complexBarDirectional f z V = 0 := by
unfold complexBarDirectional
rw [(hasDerivAt_holomorphic_line f z V hf).deriv,
(hasDerivAt_holomorphic_line f z (fun a => Complex.I * V a) hf).deriv]
change (fderiv β„‚ f z) V + Complex.I * (fderiv β„‚ f z) (Complex.I β€’ V) = 0
rw [map_smul]
simp only [smul_eq_mul]
rw [← mul_assoc, Complex.I_mul_I]
ring
theorem barD_holomorphic {d : β„•} (f : (Index d β†’ β„‚) β†’ β„‚)
(z : Index d β†’ β„‚) (hf : DifferentiableAt β„‚ f z) (a : Index d) :
barD f z a = 0 := by
have hh := complexBarDirectional_holomorphic f z (Pi.single a 1) hf
have hI : (fun b => Complex.I * (Pi.single a 1 : Index d β†’ β„‚) b) =
Pi.single a Complex.I := by
ext b
by_cases h : b = a
Β· subst b
simp
Β· simp [Pi.single_eq_of_ne h]
simpa only [complexBarDirectional, hI, barD] using hh
theorem barD_tangentField {d : β„•} (v : Fin d β†’ ℝ) (z : Index d β†’ β„‚)
(hY : z none β‰  0) (a b : Index d) :
barD (fun w => tangentField v w b) z a = 0 :=
barD_holomorphic _ z (differentiableAt_tangentField_complex v z hY b) a
/-- The diagonal current's antiholomorphic divergence vanishes. -/
theorem diagonal_current_barD_divergence {d : β„•} (ΞΊ : ℝ) (v : Fin d β†’ ℝ)
(z : Index d β†’ β„‚) (hY : z none β‰  0) (b : Index d) :
(βˆ‘ a, barD (fun w => (star (tangentField v w a) *
(gaussianField ΞΊ ΞΊ v v w : β„‚)) * tangentField v w b) z a) = 0 := by
have hg : DifferentiableAt ℝ (fun w => (gaussianField ΞΊ ΞΊ v v w : β„‚)) z :=
Complex.ofRealCLM.differentiableAt.comp z
(differentiableAt_gaussianField ΞΊ ΞΊ v v z hY)
simp_rw [barD_mul _ _ z
(((differentiableAt_tangentField v z hY _).star).fun_mul hg)
(differentiableAt_tangentField v z hY b), barD_tangentField v z hY,
mul_zero, add_zero]
rw [← Finset.sum_mul, weighted_tangentField_divergence ΞΊ ΞΊ v v z hY]
have ht : βˆ‘ a, phaseRow (fun i => (v i : β„‚)) a * tangentField v z a = 0 :=
phase_tangent _ _
rw [ht]
ring
end
end OAI.Analysis.Calculus.Current