Buckets:
| import Mathlib.LinearAlgebra.Matrix.PosDef | |
| import OAI.Geometry.NodalSets.Charts.MetricCoercivity | |
| import OAI.Geometry.NodalSets.Elliptic.CoordinateNorm | |
| namespace OAI | |
| namespace Yau.Geometry | |
| open Yau.Jets Matrix | |
| noncomputable section | |
| attribute [local instance] clmTopology clmAdd clmModule | |
| def coordMatrixForm (B : Matrix (Fin 4) (Fin 4) ℝ) : Coord →L[ℝ] Coord →L[ℝ] ℝ := | |
| ∑ i, ∑ j, B i j • ((ContinuousLinearMap.proj i).smulRight (ContinuousLinearMap.proj j)) | |
| lemma coordMatrixForm_apply (B : Matrix (Fin 4) (Fin 4) ℝ) (v w : Coord) : | |
| coordMatrixForm B v w = ∑ i, ∑ j, v i*B i j*w j := by | |
| simp [coordMatrixForm,mul_comm,mul_left_comm] | |
| lemma coordMatrixForm_positive (B : Matrix (Fin 4) (Fin 4) ℝ) (hB : B.PosDef) | |
| (v : Coord) (hv : v ≠ 0) : 0 < coordMatrixForm B v v := by | |
| rw [coordMatrixForm_apply] | |
| simpa [dotProduct,mulVec,Finset.mul_sum,mul_assoc] using hB.dotProduct_mulVec_pos hv | |
| lemma coordMatrixForm_continuous {T : Type*} [TopologicalSpace T] | |
| (B : T → Matrix (Fin 4) (Fin 4) ℝ) | |
| (hB : ∀ i j, Continuous (fun x ↦ B x i j)) : | |
| Continuous (fun x ↦ coordMatrixForm (B x)) := by | |
| unfold coordMatrixForm | |
| exact continuous_finsetSum _ (fun i _ ↦ continuous_finsetSum _ | |
| (fun j _ ↦ (hB i j).smul continuous_const)) | |
| lemma coord_norm_sq_le_sum_sq (v : Coord) : ‖v‖^2 ≤ ∑ i, v i^2 := by | |
| have h := norm_le_sourceEuclideanNorm v | |
| have he : sourceEuclideanNorm v ^ 2 = ∑ i, v i^2 := | |
| Real.sq_sqrt (Finset.sum_nonneg (fun i _ ↦ sq_nonneg (v i))) | |
| nlinarith [norm_nonneg v,sourceEuclideanNorm_nonneg v] | |
| lemma coord_sum_sq_le_four_norm_sq (v : Coord) : (∑ i, v i^2) ≤ 4*‖v‖^2 := by | |
| have h := sourceEuclideanNorm_le v | |
| have he : sourceEuclideanNorm v ^ 2 = ∑ i, v i^2 := | |
| Real.sq_sqrt (Finset.sum_nonneg (fun i _ ↦ sq_nonneg (v i))) | |
| nlinarith [norm_nonneg v,sourceEuclideanNorm_nonneg v] | |
| theorem compact_matrix_uniform_ellipticity (B : Coord → Matrix (Fin 4) (Fin 4) ℝ) | |
| (hB : ∀ i j, Continuous (fun x ↦ B x i j)) | |
| (hp : ∀ x, (B x).PosDef) {K : Set Coord} (hK : IsCompact K) : | |
| ∃ c > 0, ∃ C > 0, ∀ x ∈ K, ∀ v : Coord, | |
| c*(∑ i, v i^2) ≤ (∑ i, ∑ j, v i*B x i j*v j) ∧ | |
| (∑ i, ∑ j, v i*B x i j*v j) ≤ C*(∑ i, v i^2) := by | |
| let : CompactSpace K := isCompact_iff_compactSpace.mp hK | |
| let g : K → Coord →L[ℝ] Coord →L[ℝ] ℝ := fun x ↦ coordMatrixForm (B x) | |
| obtain ⟨c,hc,C,hC,hbound⟩ := uniform_metric_coercivity g | |
| ((coordMatrixForm_continuous B hB).comp continuous_subtype_val) | |
| (fun x v hv ↦ coordMatrixForm_positive (B x) (hp x) v hv) | |
| refine ⟨c/4,by positivity,C,hC,?_⟩ | |
| intro x hx v | |
| have hb := hbound ⟨x,hx⟩ | |
| have hlo := hb.2 v | |
| have hhi : g ⟨x,hx⟩ v v ≤ C*‖v‖^2 := calc | |
| g ⟨x,hx⟩ v v ≤ |g ⟨x,hx⟩ v v| := le_abs_self _ | |
| _ ≤ ‖g ⟨x,hx⟩‖*‖v‖*‖v‖ := bilinear_pairing_bound _ v v | |
| _ ≤ C*‖v‖^2 := by nlinarith [mul_le_mul_of_nonneg_right hb.1 (sq_nonneg ‖v‖)] | |
| change c*‖v‖^2 ≤ coordMatrixForm (B x) v v at hlo | |
| change coordMatrixForm (B x) v v ≤ C*‖v‖^2 at hhi | |
| rw [coordMatrixForm_apply] at hlo hhi | |
| constructor | |
| · nlinarith [mul_le_mul_of_nonneg_left (coord_sum_sq_le_four_norm_sq v) hc.le] | |
| · exact hhi.trans (mul_le_mul_of_nonneg_left (coord_norm_sq_le_sum_sq v) hC.le) | |
| end | |
| end Yau.Geometry | |
| end OAI | |
Xet Storage Details
- Size:
- 3.38 kB
- Xet hash:
- 4a67dd5533ba104222646edda1452de1b39783ba59fa4050e4f74308b1ac95e3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.