Download data/lean/OAI/Geometry/Immersion/ClosedSurface/ChartModel.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.56 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Immersion/ClosedSurface/ChartModel.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/Immersion/ClosedSurface/ChartModel.lean
-
curl -L -o ChartModel.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Immersion/ClosedSurface/ChartModel.lean
4.56 kB
| import OAI.Geometry.Immersion.ClosedSurface.RealModes | |
| namespace OAI | |
| noncomputable section | |
| open Set Complex Bundle Manifold | |
| open scoped ContDiff Matrix Topology Manifold BigOperators | |
| namespace ClosedSurfaceR4 | |
| open SmallModes RealModes Set Bundle Manifold | |
| def planeCoordinates : Plane βL[β] Base := | |
| (EuclideanSpace.equiv (Fin 2) β).trans | |
| (ContinuousLinearEquiv.piFinTwo β (fun _ => β)) | |
| def spaceCoordinates : Space βL[β] RVec 4 := EuclideanSpace.equiv (Fin 4) β | |
| variable {M : Type*} [TopologicalSpace M] [ChartedSpace Plane M] | |
| def coordinateDomain (p : M) : Set Base := | |
| planeCoordinates.symm β»ΒΉ' (extChartAt planeModel p).target | |
| def coordinateCenter (p : M) : Base := planeCoordinates (extChartAt planeModel p p) | |
| def coordinateMap (F : M β Space) (p : M) : RField 4 := | |
| spaceCoordinates β F β (extChartAt planeModel p).symm β planeCoordinates.symm | |
| lemma coordinateDomain_open (p : M) : IsOpen (coordinateDomain p) := by | |
| apply IsOpen.preimage planeCoordinates.symm.continuous | |
| simpa [extChartAt_target, planeModel] using (chartAt Plane p).open_target | |
| lemma coordinateCenter_mem (p : M) : coordinateCenter p β coordinateDomain p := by | |
| simp [coordinateCenter, coordinateDomain] | |
| lemma coordinateMap_at_center (F : M β Space) (p : M) : | |
| coordinateMap F p (coordinateCenter p) = spaceCoordinates (F p) := by | |
| simp [coordinateMap, coordinateCenter] | |
| lemma coordinateMap_smoothOn [IsManifold planeModel β M] {F : M β Space} | |
| (hF : ContMDiff planeModel spaceModel β F) (p : M) : | |
| ContDiffOn β β (coordinateMap F p) (coordinateDomain p) := by | |
| apply ContMDiffOn.contDiffOn | |
| have hChart := contMDiffOn_extChartAt_symm (I := planeModel) (n := (β : ββΟ)) p | |
| have h1 := hF.comp_contMDiffOn hChart | |
| have h2 := spaceCoordinates.contDiff.contMDiff.comp_contMDiffOn h1 | |
| exact h2.comp planeCoordinates.symm.contDiff.contMDiff.contMDiffOn | |
| (fun x hx => hx) | |
| lemma mfderiv_coordinateMap_center {F : M β Space} | |
| (hF : ContMDiff planeModel spaceModel β F) (p : M) : | |
| fderiv β (coordinateMap F p) (coordinateCenter p) = | |
| spaceCoordinates.toContinuousLinearMap.comp | |
| ((mfderiv planeModel spaceModel F p).comp | |
| planeCoordinates.symm.toContinuousLinearMap) := by | |
| have hd := (hF p).mdifferentiableAt (by simp) | |
| have heq : mfderiv planeModel spaceModel F p = | |
| fderiv β (F β (extChartAt planeModel p).symm) (extChartAt planeModel p p) := by | |
| simpa [writtenInExtChartAt, planeModel, spaceModel, chartAt_self_eq, | |
| differentiableWithinAt_univ] using hd.mfderiv_abuse | |
| have h0 : DifferentiableAt β (F β (extChartAt planeModel p).symm) | |
| (extChartAt planeModel p p) := by | |
| simpa [writtenInExtChartAt, planeModel, spaceModel, chartAt_self_eq, | |
| differentiableWithinAt_univ] using | |
| hd.differentiableWithinAt_writtenInExtChartAt | |
| have h1 : HasFDerivAt (spaceCoordinates β F β (extChartAt planeModel p).symm) | |
| (spaceCoordinates.toContinuousLinearMap.comp | |
| (fderiv β (F β (extChartAt planeModel p).symm) (extChartAt planeModel p p))) | |
| (planeCoordinates.symm (coordinateCenter p)) := by | |
| simpa [coordinateCenter] using spaceCoordinates.hasFDerivAt.comp | |
| (extChartAt planeModel p p) h0.hasFDerivAt | |
| have hc := h1.comp (coordinateCenter p) planeCoordinates.symm.hasFDerivAt | |
| rw [heq] | |
| have hc' := hc.fderiv | |
| simp only [coordinateMap, Function.comp_assoc, ContinuousLinearMap.comp_assoc] at hc' β’ | |
| exact hc' | |
| lemma coordinateMap_immersion_center {F : M β Space} | |
| (hF : ContMDiff planeModel spaceModel β F) (p : M) | |
| (hImm : Function.Injective (mfderiv planeModel spaceModel F p)) : | |
| Function.Injective (fderiv β (coordinateMap F p) (coordinateCenter p)) := by | |
| rw [mfderiv_coordinateMap_center hF p] | |
| exact spaceCoordinates.injective.comp (hImm.comp planeCoordinates.symm.injective) | |
| lemma spaceCoordinates_dot (v w : Space) : | |
| spaceCoordinates v β¬α΅₯ spaceCoordinates w = inner β v w := by | |
| simp [spaceCoordinates, dotProduct, PiLp.inner_apply, mul_comm] | |
| lemma coordinateMetric_at_center {F : M β Space} | |
| (hF : ContMDiff planeModel spaceModel β F) (p : M) (v w : Base) : | |
| (fderiv β (coordinateMap F p) (coordinateCenter p) v) β¬α΅₯ | |
| (fderiv β (coordinateMap F p) (coordinateCenter p) w) = | |
| inner β (mfderiv planeModel spaceModel F p (planeCoordinates.symm v)) | |
| (mfderiv planeModel spaceModel F p (planeCoordinates.symm w)) := by | |
| rw [mfderiv_coordinateMap_center hF p] | |
| exact spaceCoordinates_dot _ _ | |
| end ClosedSurfaceR4 | |
| end | |
| end OAI | |