Download data/lean/OAI/Analysis/Calculus/Current/ComplexDerivatives.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.88 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Current/ComplexDerivatives.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Calculus/Current/ComplexDerivatives.lean
-
curl -L -o ComplexDerivatives.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Current/ComplexDerivatives.lean
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 | |