Download data/lean/OAI/Geometry/Kahler/BaseChartNormalization.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.5 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Kahler/BaseChartNormalization.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/Kahler/BaseChartNormalization.lean
-
curl -L -o BaseChartNormalization.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Kahler/BaseChartNormalization.lean
5.5 kB
| import OAI.Geometry.Kahler.BaseChartUniform | |
| namespace OAI | |
| open Complex | |
| open scoped ContDiff Matrix Matrix.Norms.Elementwise | |
| open scoped ContDiff Matrix Matrix.Norms.Elementwise ComplexOrder | |
| open scoped ContDiff ComplexOrder | |
| open scoped ContDiff ENNReal | |
| open Set Filter Topology MeasureTheory | |
| open scoped ContDiff ENNReal Pointwise | |
| open Set Filter Topology | |
| open scoped ContDiff | |
| noncomputable section | |
| open Set Filter Topology | |
| open scoped ContDiff | |
| namespace PinchedHartogs.BaseConstruction | |
| lemma iteratedFDeriv_add_mul {f g : Base β β} {z : Base} | |
| (hf : ContDiffAt β β f z) (hg : ContDiffAt β β g z) (L : β) (n : β) : | |
| iteratedFDeriv β n (fun x => f x+L*g x) z = | |
| iteratedFDeriv β n f z + L β’ iteratedFDeriv β n g z := by | |
| have hfn : ContDiffAt β n f z := hf.of_le (by exact_mod_cast (le_top : (n:ββ) β€ β€)) | |
| have hgn : ContDiffAt β n g z := hg.of_le (by exact_mod_cast (le_top : (n:ββ) β€ β€)) | |
| change iteratedFDeriv β n (f + L β’ g) z = _ | |
| rw [iteratedFDeriv_add_apply hfn (by simpa only [Pi.smul_def,smul_eq_mul] using contDiffAt_const.mul hgn), | |
| iteratedFDeriv_const_smul_apply hgn] | |
| lemma baseHessian_add_mul {f g : Base β β} {z : Base} | |
| (hf : ContDiffAt β β f z) (hg : ContDiffAt β β g z) (L : β) (i j : Fin 2) : | |
| baseHessian (fun x => f x+L*g x) z i j = baseHessian f z i j + (L:β)*baseHessian g z i j := by | |
| rw [baseHessian_eq_jet (hf.add (contDiffAt_const.mul hg)),iteratedFDeriv_add_mul hf hg, | |
| map_add,map_smul,β baseHessian_eq_jet hf,β baseHessian_eq_jet hg] | |
| simp only [Complex.real_smul] | |
| lemma psi_baseHessian_chart_eventually {r : β} (hr : 0 β€ r) (hr1 : r < 1) | |
| (U : Base ββα΅’[β] Base) : | |
| baseHessian (psi β centeredChart r U) =αΆ [π (0:Base)] baseHessian psi := by | |
| have he := (psi_chart_hessian_eventually hr hr1 U (0:β)).comp_tendsto | |
| (continuousAt_id.prodMk continuousAt_const : ContinuousAt (fun z : Base => (z,(0:β))) 0).tendsto | |
| filter_upwards [he,isOpen_ball.mem_nhds zero_mem_ball] with z hz hzb | |
| have hΟ := psi_contDiffAt hzb | |
| have hf := (psi_contDiffAt (centeredChart_mapsTo hr hr1 U hzb)).comp z | |
| ((centeredChart_analyticAt U (centeredChart_den_ne_zero hr hr1 hzb)).contDiffAt.restrict_scalars β) | |
| ext i j | |
| have hh := congrArg (fun A => A i.castSucc j.castSucc) hz | |
| change liftedHessian (psi β centeredChart r U) (z,0) i.castSucc j.castSucc = | |
| liftedHessian psi (z,0) i.castSucc j.castSucc at hh | |
| rw [liftedHessian_horizontal (hf.of_le (WithTop.coe_le_coe.mpr le_top)), | |
| liftedHessian_horizontal (hΟ.of_le (WithTop.coe_le_coe.mpr le_top))] at hh | |
| exact hh | |
| lemma psi_baseHessian_center (i j : Fin 2) : baseHessian psi 0 i j = if i=j then 1 else 0 := by | |
| rw [β liftedHessian_horizontal (q := (0,(0:β))) ((psi_contDiffAt zero_mem_ball).of_le (WithTop.coe_le_coe.mpr le_top)) i j] | |
| change complexHessian (fun q : Ambient => psi q.1) (0,0) i.castSucc j.castSucc = _ | |
| rw [psi_hessian_center] | |
| fin_cases i <;> fin_cases j <;> norm_num [horizontalIdentity] | |
| lemma psi_baseHessian_value (v : Base) : | |
| (β i, β j, baseHessian psi 0 i j*v i*star (v j)).re = βvβ^2 := by | |
| simp only [psi_baseHessian_center] | |
| simp only [Fin.sum_univ_two,Fin.reduceEq,ite_true,ite_false,one_mul,zero_mul,zero_add,add_zero] | |
| simp only [Complex.star_def,Complex.mul_conj,Complex.add_re,Complex.ofReal_re,Complex.normSq_eq_norm_sq] | |
| rw [EuclideanSpace.norm_sq_eq,Fin.sum_univ_two] | |
| lemma baseHessian_chart_normalize {f : Base β β} (hf : ContDiffOn β β f ball) | |
| (L : β) {r : β} (hr : 0 β€ r) (hr1 : r < 1) (U : Base ββα΅’[β] Base) : | |
| baseHessian ((fun x => psi x+L*f x) β centeredChart r U) =αΆ [π (0:Base)] | |
| baseHessian (fun z => psi z+L*f (centeredChart r U z)) := by | |
| filter_upwards [psi_baseHessian_chart_eventually hr hr1 U,isOpen_ball.mem_nhds zero_mem_ball] with z hz hzb | |
| have hT : ContDiffAt β β (centeredChart r U) z := (centeredChart_analyticAt U (centeredChart_den_ne_zero hr hr1 hzb)).contDiffAt.restrict_scalars β | |
| have hfc := (hf.contDiffAt (isOpen_ball.mem_nhds (centeredChart_mapsTo hr hr1 U hzb))).comp z hT | |
| have hΟc := (psi_contDiffAt (centeredChart_mapsTo hr hr1 U hzb)).comp z hT | |
| ext i j | |
| change baseHessian (fun x => psi (centeredChart r U x)+L*f (centeredChart r U x)) z i j = _ | |
| erw [baseHessian_add_mul hΟc hfc L i j,baseHessian_add_mul (psi_contDiffAt hzb) hfc L i j] | |
| exact congrArg (fun A => A i j + (L:β)*baseHessian (f β centeredChart r U) z i j) hz | |
| lemma baseHessian_congr_derivatives {f g : Base β β} {z : Base} | |
| (h : baseHessian f =αΆ [π z] baseHessian g) (i j k l : Fin 2) : | |
| dzBase (fun x => baseHessian f x i j) z k = dzBase (fun x => baseHessian g x i j) z k β§ | |
| dbarBase (fun x => baseHessian f x i j) z l = dbarBase (fun x => baseHessian g x i j) z l β§ | |
| dzBase (fun x => dbarBase (fun y => baseHessian f y i j) x l) z k = | |
| dzBase (fun x => dbarBase (fun y => baseHessian g y i j) x l) z k := by | |
| have he : (fun x => baseHessian f x i j) =αΆ [π z] (fun x => baseHessian g x i j) := h.fun_comp (fun A => A i j) | |
| have hd : (fun x => dbarBase (fun y => baseHessian f y i j) x l) =αΆ [π z] | |
| (fun x => dbarBase (fun y => baseHessian g y i j) x l) := by | |
| filter_upwards [he.fderiv (π := β)] with x hx | |
| simp only [dbarBase,hx] | |
| exact β¨by simp only [dzBase,he.fderiv_eq],by simp only [dbarBase,he.fderiv_eq],by simp only [dzBase,hd.fderiv_eq]β© | |
| end PinchedHartogs.BaseConstruction | |
| end | |
| end OAI | |