cfahlgren1/math / lean /OAI /Geometry /NodalSets /Charts /IntrinsicChartTensor.lean
cfahlgren1's picture
download
raw
3.98 kB
import OAI.Geometry.NodalSets.Charts.SphereCotangentCoordinates
import OAI.Geometry.NodalSets.Elliptic.IntrinsicAmbientSmooth
namespace OAI
namespace Yau.Target
open Manifold Matrix Yau.Geometry
open scoped RealInnerProductSpace
noncomputable section
attribute [local instance] normedAddCommGroupTangentSpaceVectorSpace normedSpaceTangentSpaceVectorSpace
def sphereCoordinateCovector (p : Base) (z : BaseModel) (v : Fin 4 β†’ ℝ) :
SphereCotangent ((extChartAt (𝓑 4) p).symm z) :=
sphereCovectorRestriction _ (WithLp.toLp 2 ((frameLeftInverse (sphereChartFrame p z)).transpose *α΅₯ v))
lemma sphereCoordinateCovector_apply (p : Base) {z : BaseModel}
(hz : z ∈ (extChartAt (𝓑 4) p).target) (v w : Fin 4 β†’ ℝ) :
sphereCoordinateCovector p z v
(mfderiv π“˜(ℝ,BaseModel) (𝓑 4) (extChartAt (𝓑 4) p).symm z (WithLp.toLp 2 w)) =
v ⬝α΅₯ w := by
change βŸͺWithLp.toLp 2 ((frameLeftInverse (sphereChartFrame p z)).transpose *α΅₯ v),
sphereChartDerivative p z (WithLp.toLp 2 w)⟫ = _
have he : βˆ€ u t : AmbientBase, βŸͺu,t⟫ = (⇑u) ⬝α΅₯ ⇑t := by
intro u t
simp [PiLp.inner_apply,dotProduct,mul_comm]
rw [he]
change ((frameLeftInverse (sphereChartFrame p z)).transpose *α΅₯ v) ⬝α΅₯
(fun i ↦ sphereChartDerivative p z (WithLp.toLp 2 w) i) = _
rw [← sphereChartFrame_mulVec, dotProduct_mulVec, ← mulVec_transpose,
sphereChart_covector_representative p hz]
lemma sphereCoordinateCovector_unique (p : Base) {z : BaseModel}
(hz : z ∈ (extChartAt (𝓑 4) p).target) (v : Fin 4 β†’ ℝ)
(ell : SphereCotangent ((extChartAt (𝓑 4) p).symm z))
(hell : βˆ€ w : Fin 4 β†’ ℝ, ell
(mfderiv π“˜(ℝ,BaseModel) (𝓑 4) (extChartAt (𝓑 4) p).symm z (WithLp.toLp 2 w)) = v ⬝α΅₯ w) :
ell = sphereCoordinateCovector p z v := by
have hs := (isInvertible_mfderivWithin_extChartAt_symm (I := 𝓑 4) hz).surjective
rw [ModelWithCorners.range_eq_univ,mfderivWithin_univ] at hs
ext u
obtain ⟨w,rfl⟩ := hs u
exact (hell (WithLp.ofLp w)).trans (sphereCoordinateCovector_apply p hz v (WithLp.ofLp w)).symm
lemma sphereChart_representative_radial (p : Base) (z : BaseModel) (v : Fin 4 β†’ ℝ) :
βŸͺ((extChartAt (𝓑 4) p).symm z : AmbientBase),
WithLp.toLp 2 ((frameLeftInverse (sphereChartFrame p z)).transpose *α΅₯ v)⟫ = 0 := by
have he : βˆ€ u t : AmbientBase, βŸͺu,t⟫ = (⇑u) ⬝α΅₯ ⇑t := by
intro u t
simp [PiLp.inner_apply,dotProduct,mul_comm]
rw [he, dotProduct_mulVec, ← mulVec_transpose, transpose_transpose,
frameLeftInverse, ← mulVec_mulVec, sphereChartFrame_orthogonal, mulVec_zero, zero_dotProduct]
lemma intrinsicAmbientMatrix_chart_pairing (A : IntrinsicTensor)
(p : Base) (z : BaseModel) (v w : Fin 4 β†’ ℝ) :
v ⬝α΅₯ (sphereChartTensor (intrinsicAmbientMatrix A) p z *α΅₯ w) =
A ((extChartAt (𝓑 4) p).symm z)
(sphereCoordinateCovector p z v) (sphereCoordinateCovector p z w) := by
rw [sphereChartTensor_pairing]
have h := intrinsicAmbientMatrix_tangent A ((extChartAt (𝓑 4) p).symm z)
(WithLp.toLp 2 ((frameLeftInverse (sphereChartFrame p z)).transpose *α΅₯ v))
(WithLp.toLp 2 ((frameLeftInverse (sphereChartFrame p z)).transpose *α΅₯ w))
(sphereChart_representative_radial p z v)
rw [ambientMatrixForm_dot] at h
convert h using 1
rfl
def intrinsicSphereChartTensor (A : IntrinsicTensor) (p : Base) (z : BaseModel) :
Matrix (Fin 4) (Fin 4) ℝ := fun i j ↦
A ((extChartAt (𝓑 4) p).symm z)
(sphereCoordinateCovector p z (Pi.single i 1))
(sphereCoordinateCovector p z (Pi.single j 1))
lemma intrinsicSphereChartTensor_eq (A : IntrinsicTensor) (p : Base) (z : BaseModel) :
intrinsicSphereChartTensor A p z = sphereChartTensor (intrinsicAmbientMatrix A) p z := by
ext i j
have h := intrinsicAmbientMatrix_chart_pairing A p z (Pi.single i 1) (Pi.single j 1)
simpa [intrinsicSphereChartTensor] using h.symm
end
end Yau.Target
end OAI

Xet Storage Details

Size:
3.98 kB
Β·
Xet hash:
e11b4dfc437c2fedc8cc97526c4b9873e6417908534c9465840b5aeafef1ad27

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.