cfahlgren1/math / lean /OAI /Geometry /SmoothYau /Smoothness /PinningTensorSpace.lean
cfahlgren1's picture
download
raw
4.1 kB
import Mathlib
import OAI.Geometry.SmoothYau.Smoothness.PulledGradient
namespace OAI
noncomputable section
open Set Filter Function Manifold Bundle
open scoped Topology ContDiff BoundedContinuousFunction
namespace YauCounterexamples
variable {E M : Type*} [NormedAddCommGroup E] [InnerProductSpace โ„ E]
[FiniteDimensional โ„ E] [TopologicalSpace M] [ChartedSpace E M]
[IsManifold ๐“˜(โ„,E) โˆž M]
def pinningTensorSpace (g : SmoothMetric E M) (u : M โ†’ โ„) (U : Set M) :
Submodule โ„ (โˆ€ x : M, TangentSpace ๐“˜(โ„,E) x โ†’L[โ„] TangentSpace ๐“˜(โ„,E) x) where
carrier := {K | ContMDiff ๐“˜(โ„,E) (๐“˜(โ„,E).prod ๐“˜(โ„,E โ†’L[โ„] E)) โˆž
(fun x => TotalSpace.mk' (E โ†’L[โ„] E) x (K x)) โˆง
(โˆ€ x a b, g.inner x (K x a) b = g.inner x a (K x b)) โˆง
(โˆ€ x, LinearMap.trace โ„ E (show E โ†’L[โ„] E from K x).toLinearMap = 0) โˆง
(โˆ€ x, K x (metricGradient g u x) = 0) โˆง (โˆ€ x, x โˆ‰ U โ†’ K x = 0)}
zero_mem' := by
refine โŸจcontMDiff_zeroSection โ„ _,?_,?_,?_,?_โŸฉ
ยท intros; simp
ยท intro x
change LinearMap.trace โ„ E (0 : E โ†’โ‚—[โ„] E) = 0
exact map_zero _
ยท intros; simp
ยท intros; rfl
add_mem' := by
rintro K L โŸจhK,hKs,hKt,hKu,hKUโŸฉ โŸจhL,hLs,hLt,hLu,hLUโŸฉ
refine โŸจhK.add_section hL,?_,?_,?_,?_โŸฉ
ยท intro x a b
simp only [Pi.add_apply,add_apply,map_add,hKs,hLs]
ยท intro x
change LinearMap.trace โ„ E ((show E โ†’L[โ„] E from K x).toLinearMap +
(show E โ†’L[โ„] E from L x).toLinearMap) = 0
rw [map_add,hKt,hLt,add_zero]
ยท intro x
simp only [Pi.add_apply,add_apply,hKu,hLu,add_zero]
ยท intro x hx
simp only [Pi.add_apply,hKU x hx,hLU x hx,add_zero]
smul_mem' := by
rintro c K โŸจhK,hKs,hKt,hKu,hKUโŸฉ
refine โŸจcontMDiff_const.smul_section hK,?_,?_,?_,?_โŸฉ
ยท intro x a b
simp only [Pi.smul_apply,smul_apply,map_smul,hKs]
ยท intro x
change LinearMap.trace โ„ E (c โ€ข (show E โ†’L[โ„] E from K x).toLinearMap) = 0
rw [map_smul,hKt,smul_zero]
ยท intro x
simp only [Pi.smul_apply,smul_apply,hKu,smul_zero]
ยท intro x hx
simp only [Pi.smul_apply,hKU x hx,smul_zero]
abbrev RealSmoothFunctions (E M : Type*) [NormedAddCommGroup E] [NormedSpace โ„ E]
[TopologicalSpace M] [ChartedSpace E M] := C^โˆžโŸฎ๐“˜(โ„,E),M;๐“˜(โ„,โ„),โ„โŸฏ
def smoothMetricGradientLM (g : SmoothMetric E M) (x : M) :
RealSmoothFunctions E M โ†’โ‚—[โ„] E where
toFun u := metricGradient g u x
map_add' u v := by
symm
apply metricGradient_unique
intro w
change g.inner x (metricGradient g u x + metricGradient g v x) w =
mfderiv ๐“˜(โ„,E) ๐“˜(โ„,โ„) ((u : M โ†’ โ„)+(v : M โ†’ โ„)) x w
rw [mfderiv_add (u.contMDiff.mdifferentiable (by simp) x)
(v.contMDiff.mdifferentiable (by simp) x)]
simp only [map_add,add_apply,metricGradient_pairing]
rfl
map_smul' c u := by
symm
apply metricGradient_unique
intro w
have hh := ((u.contMDiff.mdifferentiable (by simp) x).hasMFDerivAt.const_smul c).mfderiv
change g.inner x (c โ€ข metricGradient g u x) w =
mfderiv ๐“˜(โ„,E) ๐“˜(โ„,โ„) (c โ€ข (u : M โ†’ โ„)) x w
rw [hh]
simp only [map_smul,smul_apply,metricGradient_pairing]
rfl
lemma contMDiff_tensorEnergy (g : SmoothMetric E M)
(K : โˆ€ x : M, TangentSpace ๐“˜(โ„,E) x โ†’L[โ„] TangentSpace ๐“˜(โ„,E) x)
(hK : ContMDiff ๐“˜(โ„,E) (๐“˜(โ„,E).prod ๐“˜(โ„,E โ†’L[โ„] E)) โˆž
(fun x => TotalSpace.mk' (E โ†’L[โ„] E) x (K x)))
{u v : M โ†’ โ„} (hu : ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž u)
(hv : ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž v) :
ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž
(fun x => g.inner x (metricGradient g u x) (K x (metricGradient g v x))) := by
intro x
have hh := (g.contMDiff x).clm_bundle_applyโ‚‚ (Fโ‚ƒ := โ„) (Eโ‚ƒ := fun _ : M => โ„)
(contMDiff_metricGradient g hu x) ((hK x).clm_bundle_apply (contMDiff_metricGradient g hv x))
rw [contMDiffAt_totalSpace] at hh
exact hh.2
end YauCounterexamples
end
end OAI

Xet Storage Details

Size:
4.1 kB
ยท
Xet hash:
0392894c38cd9712f8a42befad1f5b5d58e38d61856ff221b0372a2301d63142

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