Download data/lean/OAI/Geometry/PrescribedPotential/CalabiCoordinateBound.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.45 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/PrescribedPotential/CalabiCoordinateBound.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/PrescribedPotential/CalabiCoordinateBound.lean
-
curl -L -o CalabiCoordinateBound.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/PrescribedPotential/CalabiCoordinateBound.lean
7.45 kB
| import Mathlib | |
| import OAI.Geometry.PrescribedPotential.CalabiCoordinateCoercivity | |
| import OAI.Geometry.PrescribedPotential.CircleRadialCalculus | |
| import OAI.Geometry.PrescribedPotential.HolomorphicDirection | |
| import OAI.Geometry.PrescribedPotential.TracePositivity | |
| namespace OAI | |
| /-! Calabi Coordinate Bound. -/ | |
| section | |
| noncomputable section | |
| open Set Filter Topology Matrix | |
| open scoped ContDiff ComplexOrder Matrix.Norms.Elementwise | |
| namespace KaehlerCalculus | |
| variable {n : β} | |
| lemma matrix_mul_elementwise_bound (M N : Matrix (Fin n) (Fin n) β) : | |
| βM*Nβ β€ n*βMβ*βNβ := by | |
| apply (Matrix.norm_le_iff (by positivity)).mpr | |
| intro i j | |
| rw [Matrix.mul_apply] | |
| calc | |
| _ β€ β k, βM i k*N k jβ := norm_sum_le _ _ | |
| _ β€ β _k : Fin n, βMβ*βNβ := by | |
| apply Finset.sum_le_sum | |
| intro k _ | |
| rw [norm_mul] | |
| exact mul_le_mul (Matrix.norm_entry_le_entrywise_sup_norm M) | |
| (Matrix.norm_entry_le_entrywise_sup_norm N) (norm_nonneg _) (norm_nonneg _) | |
| _ = _ := by simp [mul_assoc] | |
| lemma hol_matrix_stencil_bound (v : V n) (T : ConnectionTensor n) : | |
| ββ i, v i β’ T iβ β€ n*βvβ*βTβ := by | |
| calc | |
| _ β€ β i, βv i β’ T iβ := norm_sum_le _ _ | |
| _ β€ β _i : Fin n, βvβ*βTβ := by | |
| apply Finset.sum_le_sum | |
| intro i _ | |
| rw [norm_smul] | |
| exact mul_le_mul (norm_le_pi_norm v i) (norm_le_pi_norm T i) (norm_nonneg _) (norm_nonneg _) | |
| _ = _ := by simp [mul_assoc] | |
| namespace LocalKaehlerField | |
| variable (K : LocalKaehlerField n) | |
| lemma holDerivative_connection {z : V n} (hz : z β K.domain) (i : Fin n) : | |
| mderiv (-Complex.I) (e i) K.matrix z = K.matrix z*K.connection i z := by | |
| rw [connection,β mul_assoc,Matrix.mul_nonsing_inv _ | |
| (isUnit_iff_ne_zero.mpr (ne_of_gt (K.positive z hz).det_pos)),one_mul] | |
| lemma fderiv_eq_hol_add_star {z : V n} (hz : z β K.domain) (v : V n) : | |
| fderiv β K.matrix z v = mderiv (-Complex.I) v K.matrix z + | |
| (mderiv (-Complex.I) v K.matrix z)α΄΄ := by | |
| rw [β mderiv_bar_eq_conjTranspose K.isOpen K.smooth | |
| (fun y hy => (K.positive y hy).isHermitian) hz v] | |
| have hd := (K.smooth.contDiffAt (K.isOpen.mem_nhds hz)).differentiableAt (by simp) | |
| ext i j | |
| have he : fderiv β K.matrix z v i j = fderiv β (fun y => K.matrix y i j) z v := by | |
| change fderiv β (fun y a b => K.matrix y a b) z v i j = _ | |
| rw [fderiv_pi (fun a => differentiableAt_pi.mp hd a)] | |
| simp only [ContinuousLinearMap.pi_apply] | |
| rw [fderiv_pi (fun b => differentiableAt_pi.mp (differentiableAt_pi.mp hd i) b)] | |
| rfl | |
| rw [he] | |
| change _ = wderiv (-Complex.I) v (fun y => K.matrix y i j) z + | |
| wderiv Complex.I v (fun y => K.matrix y i j) z | |
| unfold wderiv | |
| ring | |
| lemma matrix_fderiv_bound {z : V n} (hz : z β K.domain) : | |
| βfderiv β (fun y i j => K.matrix y i j) zβ β€ 2*n^2*βK.matrix zβ*βfun i => K.connection i zβ := by | |
| apply ContinuousLinearMap.opNorm_le_bound _ (by positivity) | |
| intro v | |
| have he : fderiv β (fun y i j => K.matrix y i j) z v = | |
| (fun i j => (mderiv (-Complex.I) v K.matrix z + | |
| (mderiv (-Complex.I) v K.matrix z)α΄΄) i j) := K.fderiv_eq_hol_add_star hz v | |
| rw [he] | |
| change βmderiv (-Complex.I) v K.matrix z + (mderiv (-Complex.I) v K.matrix z)α΄΄β β€ _ | |
| have ht : mderiv (-Complex.I) v K.matrix z = | |
| K.matrix z*(β i, v i β’ K.connection i z) := by | |
| rw [mderiv_hol_coordinates,Matrix.mul_sum] | |
| apply Finset.sum_congr rfl | |
| intro i _ | |
| rw [K.holDerivative_connection hz,Matrix.mul_smul] | |
| have hb := (matrix_mul_elementwise_bound (K.matrix z) (β i, v i β’ K.connection i z)).trans | |
| (mul_le_mul_of_nonneg_left (hol_matrix_stencil_bound v (fun i => K.connection i z)) (by positivity)) | |
| rw [β ht] at hb | |
| calc | |
| _ β€ βmderiv (-Complex.I) v K.matrix zβ + β(mderiv (-Complex.I) v K.matrix z)α΄΄β := norm_add_le _ _ | |
| _ β€ 2*(n*βK.matrix zβ*(n*βvβ*βfun i => K.connection i zβ)) := by | |
| rw [Matrix.norm_conjTranspose] | |
| linarith | |
| _ = _ := by ring | |
| end LocalKaehlerField | |
| theorem calabi_coordinate_connection_uniform {X : Type*} [TopologicalSpace X] | |
| {L : Set X} (hL : IsCompact L) (G : X β Matrix (Fin n) (Fin n) β) | |
| (hG : ContinuousOn G L) (hp : β x β L, (G x).PosDef) | |
| {R H C : β} (hR : 0 β€ R) (hH : 0 β€ H) (hC : 0 β€ C) : | |
| β B : β, 0 β€ B β§ β x β L, β (K : LocalKaehlerField n) z, z β K.domain β | |
| ((R:β) β’ K.matrix z-G x).PosSemidef β ((H:β) β’ G x-K.matrix z).PosSemidef β | |
| K.calabiNorm z β€ C β βK.matrix zβ β€ B β§ βfun i => K.connection i zβ β€ B := by | |
| obtain β¨b,hb,hframeβ© := compact_normalizing_frames hL G hG hp hR hH | |
| obtain β¨Ξ΄,hΞ΄,hcoerciveβ© := boundedFrame_tensor_coercivity (n := n) b | |
| let M := (n:β)*b^2 | |
| let T := C/Ξ΄+1 | |
| let B := max M T | |
| have hM : 0 β€ M := by dsimp [M]; positivity | |
| have hT : 0 β€ T := by dsimp [T]; positivity | |
| refine β¨B,hM.trans (le_max_left _ _),?_β© | |
| intro x hx K z hz hlow hupp hcal | |
| obtain β¨F,hF,hNβ© := whitening (K.matrix z) (K.positive z hz) | |
| have hFI : F*Fβ»ΒΉ=1 := Matrix.mul_nonsing_inv _ ((Matrix.isUnit_iff_isUnit_det _).mp hF) | |
| have hIF : Fβ»ΒΉ*F=1 := Matrix.nonsing_inv_mul _ ((Matrix.isUnit_iff_isUnit_det _).mp hF) | |
| obtain β¨hf,hfiβ© := hframe x hx (K.matrix z) F Fβ»ΒΉ hlow hupp hFI hN | |
| have hpair : (F,Fβ»ΒΉ) β boundedFramePairs b := β¨hf,hfi,hFI,hIFβ© | |
| have hcoer : β U : ConnectionTensor n, Ξ΄*βUβ^2 β€ tensorSquare (tensorTransport F Fβ»ΒΉ U) := | |
| hcoercive (F,Fβ»ΒΉ) hpair | |
| have hc : Ξ΄*βfun i => K.connection i zβ^2 β€ C := | |
| (connection_norm_bound_of_frame (K := K) (z := z) (C := F) (D := Fβ»ΒΉ) | |
| (Ξ΄ := Ξ΄) hz hFI hIF hN hΞ΄ hcoer).trans hcal | |
| have hconn : βfun i => K.connection i zβ β€ T := by | |
| have hsq : βfun i => K.connection i zβ^2 β€ C/Ξ΄ := | |
| (le_div_iffβ hΞ΄).mpr (by simpa only [mul_comm] using hc) | |
| dsimp [T] | |
| nlinarith only [hsq, sq_nonneg (βfun i => K.connection i zβ-1)] | |
| have hm : βK.matrix zβ β€ M := by | |
| rw [unnormalize_matrix hFI hN] | |
| have hh := matrix_mul_elementwise_bound (Fβ»ΒΉ)α΄΄ Fβ»ΒΉ | |
| rw [Matrix.norm_conjTranspose] at hh | |
| have hs := (sq_le_sqβ (norm_nonneg _) hb).mpr hfi | |
| dsimp [M] | |
| nlinarith only [hh,hs,Nat.cast_nonneg (Ξ± := β) n] | |
| exact β¨hm.trans (le_max_left _ _),hconn.trans (le_max_right _ _)β© | |
| theorem calabi_coordinate_C1_uniform {X : Type*} [TopologicalSpace X] | |
| {L : Set X} (hL : IsCompact L) (G : X β Matrix (Fin n) (Fin n) β) | |
| (hG : ContinuousOn G L) (hp : β x β L, (G x).PosDef) | |
| {R H C : β} (hR : 0 β€ R) (hH : 0 β€ H) (hC : 0 β€ C) : | |
| β B : β, 0 β€ B β§ β x β L, β (K : LocalKaehlerField n) z, z β K.domain β | |
| ((R:β) β’ K.matrix z-G x).PosSemidef β ((H:β) β’ G x-K.matrix z).PosSemidef β | |
| K.calabiNorm z β€ C β βK.matrix zβ β€ B β§ | |
| βfderiv β (fun y i j => K.matrix y i j) zβ β€ B := by | |
| obtain β¨B,hB,hboundβ© := calabi_coordinate_connection_uniform hL G hG hp hR hH hC | |
| refine β¨max B (2*n^2*B*B),hB.trans (le_max_left _ _),?_β© | |
| intro x hx K z hz hl hu hs | |
| obtain β¨hm,hcβ© := hbound x hx K z hz hl hu hs | |
| refine β¨hm.trans (le_max_left _ _),?_β© | |
| exact (K.matrix_fderiv_bound hz).trans ((mul_le_mul | |
| (mul_le_mul_of_nonneg_left hm (by positivity)) hc (norm_nonneg _) (by positivity)).trans | |
| (le_max_right _ _)) | |
| end KaehlerCalculus | |
| end | |
| end | |
| end OAI | |