Buckets:
| import OAI.Analysis.NodalLength.MetricFlux | |
| namespace OAI | |
| noncomputable section | |
| open scoped ContDiff Bundle ENNReal | |
| open Bundle Manifold MeasureTheory | |
| open scoped ContDiff ENNReal Topology | |
| open MeasureTheory Filter Set | |
| open scoped Topology ENNReal | |
| open MeasureTheory Filter Set | |
| open scoped Topology ENNReal ContDiff | |
| open MeasureTheory Filter Set | |
| open scoped Topology ENNReal ContDiff | |
| open MeasureTheory Filter Set | |
| open scoped Topology ENNReal ContDiff | |
| open MeasureTheory Filter Set | |
| open scoped Topology ContDiff | |
| open Filter Set | |
| open scoped Topology ContDiff | |
| open Filter Set | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory TopologicalSpace | |
| open scoped Topology ContDiff | |
| open Filter Set | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory TopologicalSpace | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory TopologicalSpace | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory Laplacian | |
| open scoped Topology ENNReal ContDiff ComplexConjugate | |
| open Filter Set MeasureTheory Laplacian | |
| open scoped Topology ENNReal ContDiff ComplexConjugate | |
| open Filter Set MeasureTheory Laplacian | |
| open scoped Topology ENNReal NNReal | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal | |
| open Set MeasureTheory Filter | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff Laplacian | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff CompactlySupported | |
| open Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff CompactlySupported | |
| open Set MeasureTheory | |
| open scoped Topology ENNReal ContDiff CompactlySupported | |
| open Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff Laplacian | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff Convolution | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff Convolution | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff Convolution | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff Convolution | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff Convolution | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff Convolution ENNReal | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff ENNReal | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff ENNReal | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff ENNReal | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff ENNReal | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff ENNReal | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory Function | |
| open scoped Topology | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped BigOperators | |
| open Filter Set MeasureTheory | |
| open scoped BigOperators | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff Convolution | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal ContDiff BigOperators | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped Topology ENNReal ContDiff BigOperators | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped BigOperators | |
| open MeasureTheory | |
| open scoped BigOperators | |
| open Set MeasureTheory | |
| open scoped BigOperators | |
| open scoped Classical | |
| open scoped BigOperators Topology ENNReal | |
| open Set MeasureTheory | |
| open scoped BigOperators | |
| open scoped Topology ENNReal ContDiff | |
| open Filter Set MeasureTheory InnerProductSpace | |
| open scoped BigOperators Classical Topology | |
| open Filter Set MeasureTheory | |
| open scoped BigOperators Classical Topology | |
| open Filter Set MeasureTheory | |
| open scoped BigOperators | |
| open Set | |
| open scoped BigOperators Topology | |
| open Set MeasureTheory | |
| open scoped BigOperators | |
| open Set | |
| open scoped BigOperators symmDiff | |
| open Set | |
| open scoped BigOperators | |
| open Set | |
| open scoped BigOperators symmDiff | |
| open Set | |
| open scoped BigOperators Classical | |
| open Set | |
| open scoped BigOperators | |
| open Set | |
| open scoped BigOperators Classical | |
| open Set | |
| open scoped BigOperators Classical | |
| open Set | |
| open scoped Topology ContDiff Convolution | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff Convolution | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff BigOperators | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff BigOperators | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff BigOperators | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory ComplexConjugate | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory ComplexConjugate | |
| open scoped Topology NNReal BoundedContinuousFunction | |
| open Filter Set Metric | |
| open scoped Topology ContDiff | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff BigOperators | |
| open Filter Set MeasureTheory | |
| open scoped Topology ContDiff BigOperators | |
| open Filter Set MeasureTheory | |
| open scoped Topology ComplexConjugate BigOperators | |
| open Filter Set Metric Complex MeromorphicOn | |
| open scoped Topology ComplexConjugate BigOperators | |
| open Filter Set Metric Complex MeromorphicOn | |
| open scoped Topology ComplexConjugate BigOperators | |
| open Filter Set Metric Complex | |
| open scoped Topology ContDiff ENNReal | |
| open Set MeasureTheory Metric | |
| open scoped Topology | |
| open Set Metric | |
| open scoped Topology ComplexConjugate BigOperators | |
| open Filter Set Metric Complex MeromorphicOn | |
| open scoped Topology | |
| open Set Metric Complex | |
| open scoped Topology | |
| open Set Metric | |
| open scoped Topology ContDiff ENNReal | |
| open Set MeasureTheory Metric | |
| open scoped Topology | |
| open Set Metric Complex MeasureTheory | |
| open scoped ENNReal Topology | |
| open Set Metric MeasureTheory TopologicalSpace Function | |
| open scoped Topology ENNReal | |
| open Set Metric MeasureTheory Filter | |
| open scoped Topology ENNReal | |
| open Set Metric MeasureTheory Filter | |
| open scoped Topology ENNReal | |
| open Set Metric MeasureTheory | |
| open scoped Topology ComplexConjugate BigOperators ENNReal | |
| open Filter Set Metric Complex MeasureTheory MeromorphicOn | |
| open scoped Topology ContDiff Convolution ENNReal | |
| open Filter Set MeasureTheory Metric | |
| open scoped Topology ContDiff NNReal ENNReal | |
| open Filter Set Metric MeasureTheory | |
| open scoped Topology ContDiff NNReal ENNReal | |
| open Filter Set Metric MeasureTheory | |
| open scoped Topology ContDiff ENNReal | |
| open Filter Set MeasureTheory Metric | |
| open scoped Topology ContDiff ENNReal | |
| open Filter Set Metric MeasureTheory | |
| open scoped Topology ContDiff ENNReal | |
| open Filter Set Metric MeasureTheory | |
| open scoped Topology ContDiff Convolution | |
| open Filter Set Metric MeasureTheory | |
| open scoped Topology ContDiff Convolution | |
| open Filter Set Metric MeasureTheory | |
| open scoped Topology ContDiff | |
| open Filter Set Metric | |
| open scoped Matrix | |
| open scoped Topology ContDiff | |
| open Filter Set Metric | |
| open scoped Topology ContDiff Bundle | |
| open Filter Set Metric Bundle Manifold | |
| namespace SharpNodal.Geometry | |
| variable {M : Type*} [MetricSpace M] [ChartedSpace Plane M] | |
| [IsManifold π(β, Plane) β M] | |
| [RiemannianBundle (fun x : M=>TangentSpace π(β,Plane) x)] | |
| [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] | |
| lemma smoothOn_pullback_metric {f : Plane β M} {s : Set Plane} (hs : IsOpen s) | |
| (hf : ContMDiffOn π(β,Plane) π(β,Plane) β f s) (v w : Plane) : | |
| ContDiffOn β β (fun y=>inner β | |
| (mfderiv π(β,Plane) π(β,Plane) f y v) | |
| (mfderiv π(β,Plane) π(β,Plane) f y w)) s := by | |
| have hc (a : Plane) : ContMDiff π(β,Plane) (π(β,Plane)).tangent β | |
| (fun y:Plane=>(β¨y,aβ© : TangentBundle π(β,Plane) Plane)) := by | |
| intro y | |
| exact contMDiffAt_vectorSpace_iff_contDiffAt.mpr contDiffAt_const | |
| have ht:=hf.contMDiffOn_tangentMapWithin (m:=β) (by simp) hs.uniqueMDiffOn | |
| have hv (a : Plane) : ContMDiffOn π(β,Plane) (π(β,Plane)).tangent β | |
| (fun y=> (β¨f y,mfderiv π(β,Plane) π(β,Plane) f y aβ© : TangentBundle π(β,Plane) M)) s := by | |
| have hh:=ht.comp (hc a).contMDiffOn (show MapsTo (fun y:Plane=>(β¨y,aβ© : TangentBundle π(β,Plane) Plane)) s (Bundle.TotalSpace.proj β»ΒΉ' s) from fun _ hy=>hy) | |
| apply hh.congr | |
| intro y hy | |
| simp only [Function.comp_apply,tangentMapWithin, | |
| mfderivWithin_of_mem_nhds (I:=π(β,Plane)) (I':=π(β,Plane)) (f:=f) (hs.mem_nhds hy)] | |
| exact ((hv v).inner_bundle (hv w)).contDiffOn | |
| lemma smoothOn_coordinateMetric (x : M) (i j : Fin 2) : | |
| ContDiffOn β β (fun y=>coordinateMetric x y i j) (chartAt Plane x).target := | |
| smoothOn_pullback_metric (chartAt Plane x).open_target contMDiffOn_chart_symm _ _ | |
| lemma gram_two_positive {F : Type*} [NormedAddCommGroup F] [InnerProductSpace β F] | |
| (D : Plane βL[β] F) (hi : Function.Injective D) : | |
| 0 < inner β (D (EuclideanSpace.single 0 1)) (D (EuclideanSpace.single 0 1)) β§ | |
| 0 < inner β (D (EuclideanSpace.single 0 1)) (D (EuclideanSpace.single 0 1))* | |
| inner β (D (EuclideanSpace.single 1 1)) (D (EuclideanSpace.single 1 1))- | |
| (inner β (D (EuclideanSpace.single 0 1)) (D (EuclideanSpace.single 1 1)))^2 := by | |
| let v:=D (EuclideanSpace.single 0 1) | |
| let w:=D (EuclideanSpace.single 1 1) | |
| let a:=inner β v v | |
| let b:=inner β v w | |
| let c:=inner β w w | |
| have hv : vβ 0 := by | |
| intro hz | |
| have hh:=hi (hz.trans D.map_zero.symm) | |
| have := congrArg (fun z:Plane=>z 0) hh | |
| norm_num at this | |
| have ha : 0<a:=real_inner_self_pos.mpr hv | |
| have hw : a β’ w-b β’ vβ 0 := by | |
| intro hz | |
| have he : D (a β’ EuclideanSpace.single 1 1-b β’ EuclideanSpace.single 0 1)=D 0 := by | |
| simpa only [map_sub,map_smul,map_zero] using hz | |
| have hh:=congrArg (fun z:Plane=>z 1) (hi he) | |
| norm_num at hh | |
| exact ha.ne' hh | |
| have hp:=real_inner_self_pos.mpr hw | |
| have hab : inner β w v=b:=real_inner_comm _ _ | |
| have he : inner β (a β’ w-b β’ v) (a β’ w-b β’ v)=a*(a*c-b^2) := by | |
| simp only [inner_sub_left,inner_sub_right,inner_smul_left,inner_smul_right, | |
| RCLike.conj_to_real,hab] | |
| dsimp [a,b,c]; ring | |
| rw [he] at hp | |
| exact β¨ha,(mul_pos_iff.mp hp).resolve_right (fun h=>not_lt_of_ge ha.le h.1) |>.2β© | |
| omit [IsManifold π(β,Plane) β M] | |
| [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] in | |
| lemma coordinateMetric_symm (x : M) (y : Plane) (i j : Fin 2) : | |
| coordinateMetric x y i j=coordinateMetric x y j i := real_inner_comm _ _ | |
| omit [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] in | |
| lemma coordinateMetric_positive (x : M) {y : Plane} (hy : yβ(chartAt Plane x).target) : | |
| 0<coordinateMetric x y 0 0 β§ 0<(coordinateMetric x y).det := by | |
| have hh:=gram_two_positive (mfderiv π(β,Plane) π(β,Plane) (chartAt Plane x).symm y) | |
| ((mdifferentiable_chart (I:=π(β,Plane)) x).symm.mfderiv_injective hy) | |
| refine β¨hh.1,?_β© | |
| rw [Matrix.det_fin_two,coordinateMetric_symm x y 1 0] | |
| convert hh.2 using 1 | |
| simp only [coordinateMetric,pow_two] | |
| rfl | |
| def pullMetric (f : Plane β M) (y : Plane) : Matrix (Fin 2) (Fin 2) β := | |
| fun i j=>inner β (mfderiv π(β,Plane) π(β,Plane) f y (EuclideanSpace.single i 1)) | |
| (mfderiv π(β,Plane) π(β,Plane) f y (EuclideanSpace.single j 1)) | |
| def ChartSmooth (e : OpenPartialHomeomorph M Plane) : Prop := | |
| ContMDiffOn π(β,Plane) π(β,Plane) β (e : M β Plane) e.source β§ | |
| ContMDiffOn π(β,Plane) π(β,Plane) β (e.symm : Plane β M) e.target | |
| omit [RiemannianBundle (fun x : M=>TangentSpace π(β,Plane) x)] | |
| [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] in | |
| lemma chartSmooth_chartAt (x : M) : ChartSmooth (chartAt Plane x) := | |
| β¨contMDiffOn_chart,contMDiffOn_chart_symmβ© | |
| omit [IsManifold π(β,Plane) β M] | |
| [RiemannianBundle (fun x : M=>TangentSpace π(β,Plane) x)] | |
| [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] in | |
| lemma ChartSmooth.mdiff {e : OpenPartialHomeomorph M Plane} (he : ChartSmooth e) : | |
| e.MDifferentiable π(β,Plane) π(β,Plane) := | |
| β¨he.1.mdifferentiableOn (by simp),he.2.mdifferentiableOn (by simp)β© | |
| lemma ChartSmooth.metric_smooth {e : OpenPartialHomeomorph M Plane} (he : ChartSmooth e) | |
| (i j : Fin 2) : ContDiffOn β β (fun y=>pullMetric (e.symm : Plane β M) y i j) e.target := | |
| smoothOn_pullback_metric e.open_target he.2 _ _ | |
| omit [IsManifold π(β,Plane) β M] | |
| [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] in | |
| lemma ChartSmooth.metric_positive {e : OpenPartialHomeomorph M Plane} (he : ChartSmooth e) | |
| {y : Plane} (hy : yβe.target) : 0<pullMetric (e.symm : Plane β M) y 0 0 β§ | |
| 0<(pullMetric (e.symm : Plane β M) y).det := by | |
| have hh:=gram_two_positive (mfderiv π(β,Plane) π(β,Plane) e.symm y) | |
| (he.mdiff.symm.mfderiv_injective hy) | |
| refine β¨hh.1,?_β© | |
| have hp : 0<pullMetric (e.symm : Plane β M) y 0 0*pullMetric (e.symm : Plane β M) y 1 1- | |
| (pullMetric (e.symm : Plane β M) y 0 1)^2:=hh.2 | |
| have hc : pullMetric (e.symm : Plane β M) y 1 0=pullMetric (e.symm : Plane β M) y 0 1 := | |
| real_inner_comm _ _ | |
| rw [Matrix.det_fin_two,hc] | |
| nlinarith [hp] | |
| omit [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] in | |
| lemma exists_normalized_chart (x : M) : βe : OpenPartialHomeomorph M Plane, | |
| xβe.source β§ e x=0 β§ ChartSmooth e β§ pullMetric (e.symm : Plane β M) 0=1 := by | |
| let c:=chartAt Plane x | |
| have hx : xβc.source:=mem_chart_source Plane x | |
| let yβ:=c x | |
| have hy : yββc.target:=c.map_source hx | |
| let D : Plane βL[β] TangentSpace π(β,Plane) (c.symm yβ):= | |
| (mdifferentiable_chart (I:=π(β,Plane)) x).symm.mfderiv hy | |
| let : FiniteDimensional β (TangentSpace π(β,Plane) (c.symm yβ)):=D.toLinearEquiv.finiteDimensional | |
| have hdim : Module.finrank β (TangentSpace π(β,Plane) (c.symm yβ))=2 := by | |
| rw [β D.toLinearEquiv.finrank_eq] | |
| simp [Plane] | |
| let B : OrthonormalBasis (Fin 2) β (TangentSpace π(β,Plane) (c.symm yβ)):= | |
| (stdOrthonormalBasis β _).reindex (finCongr hdim) | |
| let L : Plane βL[β] Plane:=B.repr.symm.toContinuousLinearEquiv.trans D.symm | |
| let a : Plane ββ Plane:=L.toHomeomorph.trans (Homeomorph.addLeft yβ) | |
| have ha (y : Plane) : a y=yβ+L y:=rfl | |
| have hai (y : Plane) : a.symm y=L.symm (y-yβ):=by | |
| change L.symm (-yβ+y)=L.symm (y-yβ) | |
| congr 1; abel | |
| have haC : ContDiff β β (a : Plane β Plane):=contDiff_const.add L.contDiff | |
| have haiC : ContDiff β β (a.symm : Plane β Plane):=by | |
| have hh : ContDiff β β (fun y:Plane=>L.symm (y-yβ)):= | |
| L.symm.contDiff.comp (contDiff_id.sub contDiff_const) | |
| rw [show (a.symm : Plane β Plane)=(fun y=>L.symm (y-yβ)) from funext hai] | |
| exact hh | |
| have haiM : ContMDiff π(β,Plane) π(β,Plane) β (a.symm : Plane β Plane):=haiC.contMDiff | |
| have haM : ContMDiff π(β,Plane) π(β,Plane) β (a : Plane β Plane):=haC.contMDiff | |
| let e:=c.trans a.symm.toOpenPartialHomeomorph | |
| have he (z : M) : e z=a.symm (c z):=rfl | |
| have hei (y : Plane) : e.symm y=c.symm (a y):=rfl | |
| have heS : e.source=c.source:=by simp [e] | |
| have heT : e.target=a β»ΒΉ' c.target:=by simp [e] | |
| refine β¨e,by rwa [heS],?_,?_,?_β© | |
| Β· simp only [he,hai,yβ,sub_self,map_zero] | |
| Β· constructor | |
| Β· rw [heS] | |
| exact haiM.comp_contMDiffOn (chartSmooth_chartAt x).1 | |
| Β· have hh := (chartSmooth_chartAt x).2.comp haM.contMDiffOn | |
| (show MapsTo (a : Plane β Plane) e.target c.target from fun _ hy=>by rwa [heT] at hy) | |
| exact hh | |
| Β· have hdc : MDifferentiableAt π(β,Plane) π(β,Plane) (c.symm : Plane β M) (a 0) := by | |
| simpa only [ha,map_zero,add_zero] using (mdifferentiable_chart (I:=π(β,Plane)) x).mdifferentiableAt_symm hy | |
| have hda : HasFDerivAt (a : Plane β Plane) (L : Plane βL[β] Plane) 0 := | |
| L.hasFDerivAt.const_add yβ | |
| have hd : mfderiv π(β,Plane) π(β,Plane) (e.symm : Plane β M) 0= | |
| (mfderiv π(β,Plane) π(β,Plane) (c.symm : Plane β M) (a 0)).comp (L : Plane βL[β] Plane) := by | |
| change mfderiv π(β,Plane) π(β,Plane) ((c.symm : Plane β M) β (a : Plane β Plane)) 0=_ | |
| have hh:=mfderiv_comp 0 hdc ((haM.mdifferentiable (by simp)).mdifferentiableAt) | |
| rw [mfderiv_eq_fderiv,hda.fderiv] at hh | |
| exact hh | |
| ext i j | |
| unfold pullMetric | |
| rw [hd] | |
| change inner β ((mfderiv π(β,Plane) π(β,Plane) (c.symm : Plane β M) (a 0)) (L (EuclideanSpace.single i 1))) | |
| ((mfderiv π(β,Plane) π(β,Plane) (c.symm : Plane β M) (a 0)) (L (EuclideanSpace.single j 1)))=_ | |
| erw [ha,map_zero,add_zero] | |
| change inner β (D (L (EuclideanSpace.single i 1))) (D (L (EuclideanSpace.single j 1)))= _ | |
| have hh (v : Plane) : D (L v)=B.repr.symm v:=by simp [L] | |
| rw [hh,hh] | |
| calc | |
| _ = inner β (EuclideanSpace.single i 1) (EuclideanSpace.single j 1) := | |
| B.repr.symm.inner_map_map _ _ | |
| _ = (1 : Matrix (Fin 2) (Fin 2) β) i j := by simp [EuclideanSpace.inner_single_left,Matrix.one_apply] | |
| end SharpNodal.Geometry | |
| noncomputable section | |
| open scoped Topology ContDiff Bundle | |
| open Filter Set Metric Bundle Manifold | |
| namespace SharpNodal.Geometry | |
| open Carleman Profiles.Elliptic | |
| lemma partial_eventuallyEq {f g : Plane β β} {x : Plane} (h : f=αΆ [π x]g) (i : Fin 2) : | |
| coordPartial f i=αΆ [π x]coordPartial g i := by | |
| filter_upwards [h.fderiv (π:=β)] with y hy | |
| exact congrArg (fun L:Plane βL[β] β=>L (EuclideanSpace.single i 1)) hy | |
| lemma scalarLaplace_congr {a b c U a' b' c' U' : Plane β β} {x : Plane} | |
| (ha : a=αΆ [π x]a') (hb : b=αΆ [π x]b') (hc : c=αΆ [π x]c') (hU : U=αΆ [π x]U') : | |
| scalarLaplace a b c U x=scalarLaplace a' b' c' U' x := by | |
| have hΟ : scalarDensity a b c=αΆ [π x]scalarDensity a' b' c' := by | |
| filter_upwards [ha,hb,hc] with y hy0 hy1 hy2; simp only [scalarDensity,hy0,hy1,hy2] | |
| have hf0 : scalarFlux0 a b c U=αΆ [π x]scalarFlux0 a' b' c' U' := by | |
| filter_upwards [hb,hc,hΟ,partial_eventuallyEq hU 0,partial_eventuallyEq hU 1] with y hy0 hy1 hy2 hy3 hy4 | |
| simp only [scalarFlux0,hy0,hy1,hy2,hy3,hy4] | |
| have hf1 : scalarFlux1 a b c U=αΆ [π x]scalarFlux1 a' b' c' U' := by | |
| filter_upwards [ha,hb,hΟ,partial_eventuallyEq hU 0,partial_eventuallyEq hU 1] with y hy0 hy1 hy2 hy3 hy4 | |
| simp only [scalarFlux1,hy0,hy1,hy2,hy3,hy4] | |
| simp only [scalarLaplace,partial_congr_nhds hf0,partial_congr_nhds hf1,hΟ.self_of_nhds] | |
| variable {M : Type*} [MetricSpace M] [ChartedSpace Plane M] | |
| [IsManifold π(β, Plane) β M] | |
| [RiemannianBundle (fun x : M=>TangentSpace π(β,Plane) x)] | |
| [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] | |
| omit [IsManifold π(β,Plane) β M] | |
| [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] in | |
| lemma pullMetric_symm (F : Plane β M) (y : Plane) (i j : Fin 2) : | |
| pullMetric F y i j=pullMetric F y j i := real_inner_comm _ _ | |
| omit [IsManifold π(β,Plane) β M] | |
| [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] in | |
| lemma pullMetric_congr {F G : Plane β M} {x : Plane} (h : F=αΆ [π x]G) : | |
| pullMetric F x=pullMetric G x := by | |
| have he:=h.self_of_nhds | |
| have hd:=h.mfderiv_eq (I:=π(β,Plane)) (I':=π(β,Plane)) | |
| ext i j | |
| unfold pullMetric | |
| rw [he] at hd β’ | |
| rw [hd] | |
| rfl | |
| omit [IsManifold π(β,Plane) β M] | |
| [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] in | |
| lemma pullMetric_transform {F : Plane β M} {f g : Plane β β} {x : Plane} | |
| (hF : MDifferentiableAt π(β,Plane) π(β,Plane) F (coordMap f g x)) | |
| (hf : DifferentiableAt β f x) (hg : DifferentiableAt β g x) (i j : Fin 2) : | |
| pullMetric (fun y=>F (coordMap f g y)) x i j= | |
| pullMetric F (coordMap f g x) 0 0*coordPartial f i x*coordPartial f j x+ | |
| pullMetric F (coordMap f g x) 0 1*(coordPartial f i x*coordPartial g j x+ | |
| coordPartial f j x*coordPartial g i x)+ | |
| pullMetric F (coordMap f g x) 1 1*coordPartial g i x*coordPartial g j x := by | |
| have hp : MDifferentiableAt π(β,Plane) π(β,Plane) (coordMap f g) x:= | |
| (differentiableAt_coordMap hf hg).mdifferentiableAt | |
| have hd:=mfderiv_comp x hF hp | |
| rw [mfderiv_eq_fderiv,(hasFDerivAt_coordMap hf hg).fderiv] at hd | |
| have he (k : Fin 2) : mfderiv π(β,Plane) π(β,Plane) (fun y=>F (coordMap f g y)) x (EuclideanSpace.single k 1)= | |
| coordPartial f k x β’ mfderiv π(β,Plane) π(β,Plane) F (coordMap f g x) (EuclideanSpace.single 0 1)+ | |
| coordPartial g k x β’ mfderiv π(β,Plane) π(β,Plane) F (coordMap f g x) (EuclideanSpace.single 1 1) := by | |
| erw [hd] | |
| change mfderiv π(β,Plane) π(β,Plane) F (coordMap f g x) (_ + _) = _ | |
| erw [map_add, map_smul, map_smul] | |
| rfl | |
| unfold pullMetric | |
| erw [he i,he j] | |
| simp only [inner_add_left,inner_add_right,inner_smul_left,inner_smul_right,RCLike.conj_to_real] | |
| have hs:=real_inner_comm | |
| (mfderiv π(β,Plane) π(β,Plane) F (coordMap f g x) (EuclideanSpace.single 1 1)) | |
| (mfderiv π(β,Plane) π(β,Plane) F (coordMap f g x) (EuclideanSpace.single 0 1)) | |
| rw [hs]; ring | |
| omit [IsManifold π(β,Plane) β M] | |
| [IsContMDiffRiemannianBundle π(β,Plane) β Plane (fun x:M=>TangentSpace π(β,Plane) x)] in | |
| lemma pullMetric_transform_three {F : Plane β M} {f g : Plane β β} {x : Plane} | |
| (hF : MDifferentiableAt π(β,Plane) π(β,Plane) F (coordMap f g x)) | |
| (hf : DifferentiableAt β f x) (hg : DifferentiableAt β g x) : | |
| let a:=fun y=>pullMetric F y 0 0 | |
| let b:=fun y=>pullMetric F y 0 1 | |
| let c:=fun y=>pullMetric F y 1 1 | |
| pullMetric (fun y=>F (coordMap f g y)) x 0 0=transformA a b c f g x β§ | |
| pullMetric (fun y=>F (coordMap f g y)) x 0 1=transformB a b c f g x β§ | |
| pullMetric (fun y=>F (coordMap f g y)) x 1 1=transformC a b c f g x := by | |
| dsimp | |
| rw [pullMetric_transform hF hf hg 0 0,pullMetric_transform hF hf hg 0 1, | |
| pullMetric_transform hF hf hg 1 1] | |
| unfold transformA transformB transformC | |
| exact β¨by ring,by ring,by ringβ© | |
| end SharpNodal.Geometry | |
| noncomputable section | |
| open scoped Topology ContDiff | |
| open Filter Set Metric | |
| namespace SharpNodal.Geometry | |
| lemma smooth_mul_of_support {f a : Plane β β} {s : Set Plane} (hs : IsOpen s) | |
| (hf : ContDiff β β f) (ha : ContDiffOn β β a s) (hsupp : tsupport fβs) : | |
| ContDiff β β (fun y=>f y*a y) := by | |
| rw [contDiff_iff_contDiffAt] | |
| intro x | |
| by_cases hx : xβtsupport f | |
| Β· exact hf.contDiffAt.mul (ha.contDiffAt (hs.mem_nhds (hsupp hx))) | |
| Β· apply (show ContDiffAt β β (fun _ : Plane => (0:β)) x from contDiffAt_const).congr_of_eventuallyEq | |
| have hh : βαΆ y in π x,yβtsupport f:=(isClosed_tsupport f).isOpen_compl.mem_nhds hx | |
| filter_upwards [hh] with y hy | |
| simp only [image_eq_zero_of_notMem_tsupport hy,zero_mul] | |
| lemma exists_smooth_local_extension {ΞΉ : Type*} (a : ΞΉ β Plane β β) {s : Set Plane} | |
| (hs : IsOpen s) (h0 : (0:Plane)βs) (ha : βi,ContDiffOn β β (a i) s) : | |
| βr : β,βA : ΞΉ β Plane β β,0<r β§ r<1 β§ closedBall (0:Plane) rβs β§ | |
| (βi,ContDiff β β (A i)) β§ (βi,EqOn (A i) (a i) (closedBall (0:Plane) r)) := by | |
| obtain β¨d,hd,hdsubβ©:=Metric.mem_nhds_iff.mp (hs.mem_nhds h0) | |
| let R:=min (d/2) (1/2) | |
| have hR : 0<R:=lt_min (half_pos hd) (by norm_num) | |
| let Ο : ContDiffBump (0:Plane):=β¨R/2,R,half_pos hR,half_lt_self hRβ© | |
| let A:=fun i y=>Ο y*a i y | |
| refine β¨R/2,A,half_pos hR,?_,?_,?_,?_β© | |
| Β· exact lt_of_le_of_lt (by dsimp [R]; linarith [min_le_right (d/2) (1/2:β)]) (by norm_num : (1/2:β)<1) | |
| Β· intro y hy | |
| exact hdsub (mem_ball_zero_iff.mpr ((mem_closedBall_zero_iff.mp hy).trans_lt (by change R/2 < d; dsimp [R]; linarith [min_le_left (d/2) (1/2:β)]))) | |
| Β· intro i | |
| apply smooth_mul_of_support hs Ο.contDiff (ha i) | |
| rw [Ο.tsupport_eq] | |
| intro y hy | |
| exact hdsub (mem_ball_zero_iff.mpr (lt_of_le_of_lt (mem_closedBall_zero_iff.mp hy) (by change R < d; dsimp [R]; linarith [min_le_left (d/2) (1/2:β)]))) | |
| Β· intro i y hy | |
| dsimp [A] | |
| rw [Ο.one_of_mem_closedBall hy,one_mul] | |
| end SharpNodal.Geometry | |
| end | |
| end | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 28.1 kB
- Xet hash:
- d8c5d722a777aab05ab00b50bede8c77eb00f25a19dcf4e5cc7df424be5138cd
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.