Buckets:
| import OAI.Geometry.ConjugatePoints.Gluing | |
| namespace OAI | |
| noncomputable section | |
| /-! | |
| # Pullback Riemannian metrics and smooth cylinder coordinates. | |
| -/ | |
| section | |
| open Set Filter Topology Bundle Manifold IsManifold Bornology | |
| open scoped ContDiff | |
| namespace ThreeManifold.MetricConstruction | |
| section | |
| variable {E F M N : Type*} | |
| [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(β,E) β M] | |
| [TopologicalSpace N] [ChartedSpace F N] [IsManifold π(β,F) β N] | |
| abbrev Metric (M : Type*) {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(β,E) β M] := | |
| ContMDiffRiemannianMetric π(β,E) β E (TangentSpace π(β,E) : M β Type _) | |
| def pullBilin (q : F βL[β] F βL[β] β) (L : E βL[β] F) : E βL[β] E βL[β] β := | |
| q.bilinearComp L L | |
| @[simp] lemma pullBilin_apply (q : F βL[β] F βL[β] β) (L : E βL[β] F) (u v : E) : | |
| pullBilin q L u v = q (L u) (L v) := rfl | |
| lemma flip_smoothAt {X G A B C : Type*} | |
| [NormedAddCommGroup X] [NormedSpace β X] [TopologicalSpace G] [ChartedSpace X G] | |
| [NormedAddCommGroup A] [NormedSpace β A] [NormedAddCommGroup B] [NormedSpace β B] | |
| [NormedAddCommGroup C] [NormedSpace β C] | |
| {f : G β A βL[β] B βL[β] C} {x : G} | |
| (hf : ContMDiffAt π(β,X) π(β,A βL[β] B βL[β] C) β f x) : | |
| ContMDiffAt π(β,X) π(β,B βL[β] A βL[β] C) β (fun y => (f y).flip) x := by | |
| let : NormedAddCommGroup (B βL[β] C) := ContinuousLinearMap.toNormedAddCommGroup | |
| let : NormedSpace β (B βL[β] C) := ContinuousLinearMap.toNormedSpace | |
| let : NormedAddCommGroup (A βL[β] B βL[β] C) := ContinuousLinearMap.toNormedAddCommGroup | |
| let : NormedSpace β (A βL[β] B βL[β] C) := ContinuousLinearMap.toNormedSpace | |
| let : NormedAddCommGroup (A βL[β] C) := ContinuousLinearMap.toNormedAddCommGroup | |
| let : NormedSpace β (A βL[β] C) := ContinuousLinearMap.toNormedSpace | |
| let : NormedAddCommGroup (B βL[β] A βL[β] C) := ContinuousLinearMap.toNormedAddCommGroup | |
| let : NormedSpace β (B βL[β] A βL[β] C) := ContinuousLinearMap.toNormedSpace | |
| have hc : ContDiff β β (fun L : A βL[β] B βL[β] C => L.flip) := | |
| (ContinuousLinearMap.flipβα΅’ β A B C).toContinuousLinearEquiv.contDiff | |
| exact hc.comp_contMDiffAt hf | |
| lemma bilin_comp_smoothAt {X G H : Type*} | |
| [NormedAddCommGroup X] [NormedSpace β X] [TopologicalSpace G] [ChartedSpace X G] | |
| [NormedAddCommGroup H] [NormedSpace β H] | |
| {q : G β F βL[β] F βL[β] β} {L : G β H βL[β] F} {x : G} | |
| (hq : ContMDiffAt π(β,X) π(β,F βL[β] F βL[β] β) β q x) | |
| (hL : ContMDiffAt π(β,X) π(β,H βL[β] F) β L x) : | |
| ContMDiffAt π(β,X) π(β,H βL[β] H βL[β] β) β | |
| (fun y => (q y).bilinearComp (L y) (L y)) x := by | |
| exact flip_smoothAt ((flip_smoothAt (hq.clm_comp hL)).clm_comp hL) | |
| def pullInner (g : Metric (E := F) N) (f : M β N) (x : M) : | |
| TangentSpace π(β,E) x βL[β] TangentSpace π(β,E) x βL[β] β := | |
| pullBilin (E := E) (F := F) (g.inner (f x)) (mfderiv π(β,E) π(β,F) f x) | |
| omit [IsManifold π(β,E) β M] in | |
| @[simp] lemma pullInner_apply (g : Metric (E := F) N) (f : M β N) (x : M) | |
| (u v : TangentSpace π(β,E) x) : | |
| pullInner g f x u v = g.inner (f x) (mfderiv π(β,E) π(β,F) f x u) | |
| (mfderiv π(β,E) π(β,F) f x v) := rfl | |
| lemma pullback_coordinates (g : Metric (E := F) N) (f : M β N) (x y : M) | |
| (hx : y β (trivializationAt E (TangentSpace π(β,E)) x).baseSet) | |
| (hy : f y β (trivializationAt F (TangentSpace π(β,F)) (f x)).baseSet) : | |
| ContinuousLinearMap.inCoordinates E (TangentSpace π(β,E)) | |
| (E βL[β] β) (fun y => TangentSpace π(β,E) y βL[β] β) x y x y | |
| (pullInner g f y) = | |
| (ContinuousLinearMap.inCoordinates F (TangentSpace π(β,F)) | |
| (F βL[β] β) (fun z => TangentSpace π(β,F) z βL[β] β) | |
| (f x) (f y) (f x) (f y) (g.inner (f y))).bilinearComp | |
| (inTangentCoordinates π(β,E) π(β,F) id f | |
| (mfderiv π(β,E) π(β,F) f) x y) | |
| (inTangentCoordinates π(β,E) π(β,F) id f | |
| (mfderiv π(β,E) π(β,F) f) x y) := by | |
| ext u v | |
| rw [inCoordinates_apply_eqβ (Fβ := β) (Eβ := fun _ => β) hx hx (mem_univ _)] | |
| simp only [pullInner_apply,ContinuousLinearMap.bilinearComp_apply] | |
| rw [inCoordinates_apply_eqβ (Fβ := β) (Eβ := fun _ => β) hy hy (mem_univ _)] | |
| simp only [inTangentCoordinates,id_eq] | |
| rw [ContinuousLinearMap.inCoordinates_eq hx hy] | |
| simp only [ContinuousLinearMap.comp_apply,ContinuousLinearEquiv.coe_coe] | |
| simp only [Trivialization.symm_continuousLinearEquivAt_eq, | |
| Trivialization.coe_continuousLinearEquivAt_eq] | |
| simp only [Trivialization.symmL_apply _ hx] | |
| simp only [Trivial.fiberBundle_trivializationAt',Trivial.linearMapAt_trivialization, LinearMap.id_coe,id_eq] | |
| apply congrArgβ (fun a b : TangentSpace π(β,F) (f y) => g.inner (f y) a b) | |
| Β· exact ((trivializationAt F (TangentSpace π(β,F)) (f x)).symm_linearMapAt | |
| (R := β) hy _).symm | |
| Β· exact ((trivializationAt F (TangentSpace π(β,F)) (f x)).symm_linearMapAt | |
| (R := β) hy _).symm | |
| lemma pullback_inner_smoothAt (g : Metric (E := F) N) {f : M β N} | |
| {x : M} (hf : ContMDiffAt π(β,E) π(β,F) β f x) : | |
| ContMDiffAt π(β,E) (π(β,E).prod π(β,E βL[β] E βL[β] β)) β | |
| (fun x => TotalSpace.mk' (E βL[β] E βL[β] β) | |
| (E := fun y => TangentSpace π(β,E) y βL[β] TangentSpace π(β,E) y βL[β] β) | |
| x (pullInner g f x)) x := by | |
| rw [contMDiffAt_section] | |
| have hg := g.contMDiff (f x) | |
| rw [contMDiffAt_section] at hg | |
| simp only [hom_trivializationAt_apply] at hg β’ | |
| have hgc := hg.comp x hf | |
| have hL := hf.mfderiv_const (m := β) (by simp) | |
| apply (bilin_comp_smoothAt hgc hL).congr_of_eventuallyEq | |
| filter_upwards [(trivializationAt E (TangentSpace π(β,E)) x).open_baseSet.mem_nhds | |
| (mem_baseSet_trivializationAt E (TangentSpace π(β,E)) x), | |
| hf.continuousAt | |
| ((trivializationAt F (TangentSpace π(β,F)) (f x)).open_baseSet.mem_nhds | |
| (mem_baseSet_trivializationAt F (TangentSpace π(β,F)) (f x)))] with y hy hy' | |
| exact pullback_coordinates g f x y hy hy' | |
| lemma pullback_inner_smooth (g : Metric (E := F) N) {f : M β N} | |
| (hf : ContMDiff π(β,E) π(β,F) β f) : | |
| ContMDiff π(β,E) (π(β,E).prod π(β,E βL[β] E βL[β] β)) β | |
| (fun x => TotalSpace.mk' (E βL[β] E βL[β] β) | |
| (E := fun y => TangentSpace π(β,E) y βL[β] TangentSpace π(β,E) y βL[β] β) | |
| x (pullInner g f x)) := fun x => pullback_inner_smoothAt g (hf x) | |
| variable {P H : Type*} [NormedAddCommGroup H] [NormedSpace β H] | |
| [TopologicalSpace P] [ChartedSpace H P] [IsManifold π(β,H) β P] | |
| omit [IsManifold π(β,E) β M] in | |
| lemma pullInner_comp (g : Metric (E := H) P) {f : M β N} {h : N β P} {x : M} | |
| (hf : MDifferentiableAt π(β,E) π(β,F) f x) | |
| (hh : MDifferentiableAt π(β,F) π(β,H) h (f x)) | |
| (q : Metric (E := F) N) (hq : β u v, pullInner g h (f x) u v = q.inner (f x) u v) : | |
| pullInner (E := E) g (h β f) x = pullInner (E := E) q f x := by | |
| ext u v | |
| simp only [pullInner_apply, Function.comp_apply] | |
| rw [mfderiv_comp x hh hf] | |
| exact hq _ _ | |
| omit [IsManifold π(β,E) β M] in | |
| lemma pullInner_congr (g : Metric (E := F) N) {f h : M β N} {x : M} | |
| (he : f =αΆ [nhds x] h) : pullInner (E := E) g f x = pullInner (E := E) g h x := by | |
| ext u v | |
| simp only [pullInner_apply] | |
| rw [he.mfderiv_eq, he.eq_of_nhds] | |
| rfl | |
| def pullback (g : Metric (E := F) N) {f : M β N} | |
| (hf : ContMDiff π(β,E) π(β,F) β f) | |
| (e : β x, TangentSpace π(β,E) x βL[β] TangentSpace π(β,F) (f x)) | |
| (he : β x, (e x : TangentSpace π(β,E) x βL[β] TangentSpace π(β,F) (f x)) = | |
| mfderiv π(β,E) π(β,F) f x) : Metric (E := E) M where | |
| inner x := pullInner g f x | |
| symm x u v := g.symm (f x) _ _ | |
| pos x u hu := by | |
| rw [pullInner_apply,β he] | |
| apply g.pos | |
| intro hh | |
| apply hu | |
| apply (e x).injective | |
| rw [(e x).map_zero] | |
| exact hh | |
| isVonNBounded x := by | |
| have hb := (g.isVonNBounded (f x)).image (e x).symm.toContinuousLinearMap | |
| apply hb.subset | |
| intro u hu | |
| refine β¨e x u,?_,by simpβ© | |
| change g.inner (f x) (mfderiv π(β,E) π(β,F) f x u) | |
| (mfderiv π(β,E) π(β,F) f x u) < 1 at hu | |
| rw [β he] at hu | |
| exact hu | |
| contMDiff := pullback_inner_smooth g hf | |
| end | |
| open QuotientConstruction | |
| variable {E M Q G : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(β,E) β M] | |
| [TopologicalSpace Q] [ChartedSpace E Q] [IsManifold π(β,E) β Q] | |
| [Group G] [MulAction G M] {p : M β Q} | |
| (hp : IsQuotientCoveringMap p G) | |
| (hps : ContMDiff π(β,E) π(β,E) β p) | |
| (hact : β k : G, ContMDiff π(β,E) π(β,E) β (fun x : M => k β’ x)) | |
| (hls : β (b : M) {q : Q}, q β (hp.isCoveringMap.isLocalHomeomorph.localInverseAt b).source β | |
| ContMDiffAt π(β,E) π(β,E) β (hp.isCoveringMap.isLocalHomeomorph.localInverseAt b) q) | |
| omit [IsManifold π(β,E) β M] [IsManifold π(β,E) β Q] in | |
| include hps hls in | |
| lemma covering_inverse_mdifferentiable (b : M) : | |
| (hp.isCoveringMap.isLocalHomeomorph.localInverseAt b).MDifferentiable π(β,E) π(β,E) := by | |
| constructor | |
| Β· intro q hq | |
| exact (hls b hq).mdifferentiableAt (by simp) |>.mdifferentiableWithinAt | |
| Β· rw [hp.isCoveringMap.isLocalHomeomorph.localInverseAt_symm] | |
| exact hps.mdifferentiable (by simp) |>.mdifferentiableOn | |
| variable (g : Metric (E := E) M) | |
| (hinv : β (k : G) (x : M), pullInner (E := E) g (fun y => k β’ y) x = g.inner x) | |
| {Ο : Q β M} (hΟ : Function.RightInverse Ο p) | |
| omit [IsManifold π(β,E) β Q] in | |
| include hact hls hinv in | |
| lemma inverse_pullInner_independent (a b : M) {q : Q} | |
| (ha : q β (hp.isCoveringMap.isLocalHomeomorph.localInverseAt a).source) | |
| (hb : q β (hp.isCoveringMap.isLocalHomeomorph.localInverseAt b).source) : | |
| pullInner (E := E) g (hp.isCoveringMap.isLocalHomeomorph.localInverseAt a) q = | |
| pullInner (E := E) g (hp.isCoveringMap.isLocalHomeomorph.localInverseAt b) q := by | |
| let l := hp.isCoveringMap.isLocalHomeomorph | |
| let f := l.localInverseAt a | |
| let h := l.localInverseAt b | |
| have he : p (f q) = p (h q) := | |
| (l.apply_localInverseAt_of_mem ha).trans (l.apply_localInverseAt_of_mem hb).symm | |
| obtain β¨k,hkβ© := hp.apply_eq_iff_mem_orbit.mp he | |
| have hsm := (hact k (h q)).comp q (hls b hb) | |
| have heq : (f : Q β M) =αΆ [nhds q] (fun y => k β’ h y) := by | |
| apply lifts_eventuallyEq l (f.continuousAt ha) hsm.continuousAt hk.symm | |
| filter_upwards [f.open_source.mem_nhds ha, h.open_source.mem_nhds hb] with r hr hr' | |
| change p (f r) = p (k β’ h r) | |
| rw [hp.map_smul] | |
| exact (l.apply_localInverseAt_of_mem hr).trans (l.apply_localInverseAt_of_mem hr').symm | |
| rw [pullInner_congr g heq] | |
| apply pullInner_comp g ((hls b hb).mdifferentiableAt (by simp)) | |
| ((hact k _).mdifferentiableAt (by simp)) g | |
| intro u v | |
| exact congrArg (fun L => L u v) (hinv k (h q)) | |
| def descendInner (q : Q) : TangentSpace π(β,E) q βL[β] TangentSpace π(β,E) q βL[β] β := | |
| pullInner g (hp.isCoveringMap.isLocalHomeomorph.localInverseAt (Ο q)) q | |
| include hact hls hinv hΟ in | |
| lemma descendInner_eq (b : M) {q : Q} | |
| (hq : q β (hp.isCoveringMap.isLocalHomeomorph.localInverseAt b).source) : | |
| descendInner hp g (Ο := Ο) q = | |
| pullInner (E := E) g (hp.isCoveringMap.isLocalHomeomorph.localInverseAt b) q := by | |
| let _ : IsManifold π(β, E) β Q := inferInstance | |
| apply inverse_pullInner_independent hp hact hls g hinv _ b _ hq | |
| simpa only [hΟ q] using hp.isCoveringMap.isLocalHomeomorph.apply_self_mem_localInverseAt_source | |
| (x := Ο q) | |
| include hact hls hinv hΟ in | |
| lemma descendInner_smooth : | |
| ContMDiff π(β,E) (π(β,E).prod π(β,E βL[β] E βL[β] β)) β | |
| (fun q => TotalSpace.mk' (E βL[β] E βL[β] β) | |
| (E := fun y => TangentSpace π(β,E) y βL[β] TangentSpace π(β,E) y βL[β] β) | |
| q (descendInner hp g (Ο := Ο) q)) := by | |
| intro q | |
| have hq : q β (hp.isCoveringMap.isLocalHomeomorph.localInverseAt (Ο q)).source := by | |
| simpa only [hΟ q] using hp.isCoveringMap.isLocalHomeomorph.apply_self_mem_localInverseAt_source | |
| (x := Ο q) | |
| apply (pullback_inner_smoothAt g (hls (Ο q) hq)).congr_of_eventuallyEq | |
| filter_upwards [(hp.isCoveringMap.isLocalHomeomorph.localInverseAt (Ο q)).open_source.mem_nhds hq] | |
| with r hr | |
| exact congrArg (TotalSpace.mk' (E βL[β] E βL[β] β) r) | |
| (descendInner_eq hp hact hls g hinv hΟ (Ο q) hr) | |
| omit [IsManifold π(β,E) β Q] in | |
| lemma descendInner_symm (q : Q) (u v : TangentSpace π(β,E) q) : | |
| descendInner hp g (Ο := Ο) q u v = descendInner hp g (Ο := Ο) q v u := by | |
| simp only [descendInner,pullInner_apply] | |
| exact g.symm _ _ _ | |
| omit [IsManifold π(β,E) β Q] in | |
| include hps hls hΟ in | |
| lemma descendInner_pos (q : Q) (u : TangentSpace π(β,E) q) (hu : u β 0) : | |
| 0 < descendInner hp g (Ο := Ο) q u u := by | |
| let l := hp.isCoveringMap.isLocalHomeomorph.localInverseAt (Ο q) | |
| have hq : q β l.source := by | |
| simpa only [hΟ q] using hp.isCoveringMap.isLocalHomeomorph.apply_self_mem_localInverseAt_source | |
| (x := Ο q) | |
| let e := (covering_inverse_mdifferentiable hp hps hls (Ο q)).mfderiv hq | |
| simp only [descendInner,pullInner_apply] | |
| apply g.pos | |
| intro hh | |
| apply hu | |
| exact e.injective (hh.trans e.map_zero.symm) | |
| omit [IsManifold π(β,E) β Q] in | |
| include hps hls hΟ in | |
| lemma descendInner_bounded (q : Q) : | |
| IsVonNBounded β {u : TangentSpace π(β,E) q | descendInner hp g (Ο := Ο) q u u < 1} := by | |
| let l := hp.isCoveringMap.isLocalHomeomorph.localInverseAt (Ο q) | |
| have hq : q β l.source := by | |
| simpa only [hΟ q] using hp.isCoveringMap.isLocalHomeomorph.apply_self_mem_localInverseAt_source | |
| (x := Ο q) | |
| let e := (covering_inverse_mdifferentiable hp hps hls (Ο q)).mfderiv hq | |
| have hb := (g.isVonNBounded (l q)).image e.symm.toContinuousLinearMap | |
| apply hb.subset | |
| intro u hu | |
| exact β¨e u,hu,e.symm_apply_apply uβ© | |
| def descend : Metric (E := E) Q where | |
| inner := descendInner hp g (Ο := Ο) | |
| symm := descendInner_symm hp g | |
| pos := descendInner_pos hp hps hls g hΟ | |
| isVonNBounded := descendInner_bounded hp hps hls g hΟ | |
| contMDiff := descendInner_smooth hp hact hls g hinv hΟ | |
| lemma descend_local (b : M) {q : Q} | |
| (hq : q β (hp.isCoveringMap.isLocalHomeomorph.localInverseAt b).source) : | |
| (descend hp hps hact hls g hinv hΟ).inner q = | |
| pullInner (E := E) g (hp.isCoveringMap.isLocalHomeomorph.localInverseAt b) q := | |
| descendInner_eq hp hact hls g hinv hΟ b hq | |
| lemma descend_projection (x : M) : | |
| pullInner (E := E) (descend hp hps hact hls g hinv hΟ) p x = g.inner x := by | |
| let l := hp.isCoveringMap.isLocalHomeomorph.localInverseAt x | |
| have hq : p x β l.source := hp.isCoveringMap.isLocalHomeomorph.apply_self_mem_localInverseAt_source | |
| have hlx : l (p x) = x := hp.isCoveringMap.isLocalHomeomorph.localInverseAt_apply_self | |
| have he : (fun y => l (p y)) =αΆ [nhds x] id := by | |
| filter_upwards [l.open_target.mem_nhds | |
| hp.isCoveringMap.isLocalHomeomorph.self_mem_localInverseAt_target] with y hy | |
| simpa only [l,hp.isCoveringMap.isLocalHomeomorph.localInverseAt_symm,id_eq] using l.right_inv hy | |
| have hd : (mfderiv π(β,E) π(β,E) l (p x)).comp (mfderiv π(β,E) π(β,E) p x) = | |
| ContinuousLinearMap.id β (TangentSpace π(β,E) x) := by | |
| rw [β mfderiv_comp x ((hls x hq).mdifferentiableAt (by simp)) | |
| ((hps x).mdifferentiableAt (by simp))] | |
| exact he.mfderiv_eq.trans mfderiv_id | |
| ext u v | |
| rw [pullInner_apply, descend_local hp hps hact hls g hinv hΟ x hq,pullInner_apply] | |
| have hdu := congrArg (fun L : E βL[β] E => L u) hd | |
| have hdv := congrArg (fun L : E βL[β] E => L v) hd | |
| calc | |
| _ = g.inner (l (p x)) u v := congrArgβ (fun a b : E => g.inner (l (p x)) a b) hdu hdv | |
| _ = g.inner x u v := congrArg (fun y : M => (g.inner y : E βL[β] E βL[β] β) u v) hlx | |
| end ThreeManifold.MetricConstruction | |
| end | |
| section | |
| open Set Filter Topology Bundle Manifold IsManifold Bornology | |
| open scoped ContDiff RealInnerProductSpace | |
| namespace ThreeManifold.MetricConstruction | |
| variable {E M : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(β,E) β M] | |
| lemma metric_nonneg (g : Metric (E := E) M) (x : M) (v : TangentSpace π(β,E) x) : | |
| 0 β€ g.inner x v v := by | |
| by_cases hv : v = 0 | |
| Β· simp [hv] | |
| Β· exact (g.pos x v hv).le | |
| def scaleSq (g : Metric (E := E) M) (r : M β β) | |
| (hr : ContMDiff π(β,E) π(β,β) β r) (hne : β x, r x β 0) : Metric (E := E) M where | |
| inner x := (r x)^2 β’ g.inner x | |
| symm x v w := by | |
| change (r x)^2 * g.inner x v w = (r x)^2 * g.inner x w v | |
| rw [g.symm x] | |
| pos x v hv := mul_pos (sq_pos_of_ne_zero (hne x)) (g.pos x v hv) | |
| isVonNBounded x := by | |
| have hb := (g.isVonNBounded x).image | |
| ((r x)β»ΒΉ β’ ContinuousLinearMap.id β (TangentSpace π(β,E) x)) | |
| apply hb.subset | |
| intro v hv | |
| refine β¨(r x) β’ v,?_,?_β© | |
| Β· change g.inner x ((r x) β’ v) ((r x) β’ v) < 1 | |
| change (r x)^2 * g.inner x v v < 1 at hv | |
| simpa only [map_smul,_root_.smul_apply,smul_eq_mul,pow_two,mul_assoc] using hv | |
| Β· simp [smul_smul,hne x] | |
| contMDiff := by | |
| let : β x : M, ContinuousAdd (TangentSpace π(β,E) x βL[β] β) := | |
| fun point => inferInstanceAs (ContinuousAdd (E βL[β] β)) | |
| exact (hr.pow 2).smul_section g.contMDiff | |
| variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace β V] | |
| def flatBilin : V βL[β] V βL[β] β := innerSL β (E := V) | |
| def euclideanInner (x : V) : | |
| TangentSpace π(β,V) x βL[β] TangentSpace π(β,V) x βL[β] β := flatBilin | |
| lemma euclidean_inner_smooth : | |
| ContMDiff π(β,V) (π(β,V).prod π(β,V βL[β] V βL[β] β)) β | |
| (fun x : V => TotalSpace.mk' (V βL[β] V βL[β] β) | |
| (E := fun y => TangentSpace π(β,V) y βL[β] TangentSpace π(β,V) y βL[β] β) | |
| x (euclideanInner x)) := by | |
| intro x | |
| rw [contMDiffAt_section] | |
| simp only [hom_trivializationAt_apply] | |
| apply (contMDiffAt_const (c := flatBilin (V := V))).congr_of_eventuallyEq | |
| filter_upwards [] with y | |
| ext u v | |
| have hy : y β (trivializationAt V (TangentSpace π(β,V)) x).baseSet := by | |
| change y β (univ : Set V) | |
| trivial | |
| rw [inCoordinates_apply_eqβ (Fβ := β) (Eβ := fun _ => β) hy hy (mem_univ _)] | |
| rw [β Trivialization.symmL_apply (R := β) _ hy, β Trivialization.symmL_apply (R := β) _ hy] | |
| simp only [TangentBundle.symmL_model_space, | |
| Trivial.fiberBundle_trivializationAt',Trivial.linearMapAt_trivialization, LinearMap.id_coe,id_eq] | |
| rfl | |
| def euclidean : Metric (E := V) V where | |
| inner := euclideanInner | |
| symm x u v := real_inner_comm (v : V) (u : V) | |
| pos _ v hv := real_inner_self_pos.mpr hv | |
| isVonNBounded _ := by | |
| change IsVonNBounded β {v : V | inner β v v < 1} | |
| apply (NormedSpace.isVonNBounded_iff' β).mpr | |
| refine β¨1,fun v hv => ?_β© | |
| change inner β v v < 1 at hv | |
| rw [real_inner_self_eq_norm_sq] at hv | |
| nlinarith [norm_nonneg v] | |
| contMDiff := euclidean_inner_smooth | |
| end ThreeManifold.MetricConstruction | |
| end | |
| section | |
| open Set Filter Topology Bundle Manifold IsManifold Bornology | |
| open scoped ContDiff | |
| namespace ThreeManifold.MetricConstruction | |
| section | |
| open QuotientConstruction CircleConstruction | |
| lemma circle_action_deriv (b : β) (k : Deck b) (r : β) : | |
| mfderiv π(β,β) π(β,β) (fun x : β => k β’ x) r = ContinuousLinearMap.id β β := by | |
| change mfderiv π(β,β) π(β,β) (fun x : β => (Multiplicative.toAdd k).val + x) r = _ | |
| rw [mfderiv_eq_fderiv] | |
| change fderiv β (fun x : β => (Multiplicative.toAdd k).val + x) r = | |
| (ContinuousLinearMap.id β β : β βL[β] β) | |
| simpa using ((hasFDerivAt_id r).const_add (Multiplicative.toAdd k).val).fderiv | |
| lemma circle_action_invariant (b : β) (k : Deck b) (r : β) : | |
| pullInner (E := β) (euclidean (V := β)) (fun x : β => k β’ x) r = | |
| (euclidean (V := β)).inner r := by | |
| change pullBilin (flatBilin (V := β)) | |
| (mfderiv π(β,β) π(β,β) (fun x : β => k β’ x) r) = flatBilin | |
| rw [circle_action_deriv] | |
| rfl | |
| def circle (b : β) : Metric (E := β) (AddCircle b) := | |
| descend (projection_cover b) (projection_smooth b) (action_smooth b) | |
| (fun a _ h => local_lift_smoothAt (projection_cover b) (section_spec b) (action_smooth b) a h) | |
| euclidean (circle_action_invariant b) (section_spec b) | |
| lemma circle_projection (b r : β) : | |
| pullInner (E := β) (circle b) ((β) : β β AddCircle b) r = | |
| (euclidean (V := β)).inner r := | |
| descend_projection (projection_cover b) (projection_smooth b) (action_smooth b) | |
| (fun a _ h => local_lift_smoothAt (projection_cover b) (section_spec b) (action_smooth b) a h) | |
| euclidean (circle_action_invariant b) (section_spec b) r | |
| end | |
| section | |
| variable {E F M N : Type*} | |
| [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(β,E) β M] | |
| [TopologicalSpace N] [ChartedSpace F N] [IsManifold π(β,F) β N] | |
| instance (priority := 50) metricProductCharts : ChartedSpace (E Γ F) (M Γ N) := | |
| prodChartedSpace E M F N | |
| instance (priority := 50) metricProductManifold : IsManifold π(β,E Γ F) β (M Γ N) := by | |
| simpa only [β modelWithCornersSelf_prod] using | |
| (inferInstance : IsManifold ((π(β,E)).prod π(β,F)) β (M Γ N)) | |
| omit [IsManifold π(β,E) β M] [IsManifold π(β,F) β N] in | |
| lemma projection_fst_smooth : ContMDiff π(β,E Γ F) π(β,E) β (Prod.fst : M Γ N β M) := by | |
| simpa only [modelWithCornersSelf_prod] using | |
| (contMDiff_fst (I := π(β,E)) (J := π(β,F)) (n := β)) | |
| omit [IsManifold π(β,E) β M] [IsManifold π(β,F) β N] in | |
| lemma projection_snd_smooth : ContMDiff π(β,E Γ F) π(β,F) β (Prod.snd : M Γ N β N) := by | |
| simpa only [modelWithCornersSelf_prod] using | |
| (contMDiff_snd (I := π(β,E)) (J := π(β,F)) (n := β)) | |
| def productInner (g : Metric (E := E) M) (h : Metric (E := F) N) (x : M Γ N) : | |
| TangentSpace π(β,E Γ F) x βL[β] TangentSpace π(β,E Γ F) x βL[β] β := | |
| pullInner g Prod.fst x + pullInner h Prod.snd x | |
| lemma productInner_apply (g : Metric (E := E) M) (h : Metric (E := F) N) (x : M Γ N) | |
| (u v : TangentSpace π(β,E Γ F) x) : | |
| productInner g h x u v = g.inner x.1 u.1 v.1 + h.inner x.2 u.2 v.2 := by | |
| simp only [productInner,_root_.add_apply,pullInner_apply] | |
| have hf : mfderiv π(β,E Γ F) π(β,E) (Prod.fst : M Γ N β M) x = | |
| ContinuousLinearMap.fst β E F := by | |
| convert! (mfderiv_fst (I := π(β,E)) (I' := π(β,F)) (x := x)) using 1 | |
| have hs : mfderiv π(β,E Γ F) π(β,F) (Prod.snd : M Γ N β N) x = | |
| ContinuousLinearMap.snd β E F := by | |
| convert! (mfderiv_snd (I := π(β,E)) (I' := π(β,F)) (x := x)) using 1 | |
| rw [hf,hs] | |
| rfl | |
| lemma bilin_product_bounded (q : E βL[β] E βL[β] β) (r : F βL[β] F βL[β] β) | |
| (hq : IsVonNBounded β {v | q v v < 1}) (hr : IsVonNBounded β {v | r v v < 1}) | |
| (qp : β v, 0 β€ q v v) (rp : β v, 0 β€ r v v) : | |
| IsVonNBounded β {v : E Γ F | q v.1 v.1 + r v.2 v.2 < 1} := by | |
| obtain β¨C,hCβ© := (NormedSpace.isVonNBounded_iff' β).mp hq | |
| obtain β¨D,hDβ© := (NormedSpace.isVonNBounded_iff' β).mp hr | |
| apply (NormedSpace.isVonNBounded_iff' β).mpr | |
| refine β¨max C D,fun u hu => ?_β© | |
| change q u.1 u.1 + r u.2 u.2 < 1 at hu | |
| change max βu.1β βu.2β β€ max C D | |
| apply max_le_max | |
| Β· exact hC u.1 (show q u.1 u.1 < 1 by linarith [rp u.2]) | |
| Β· exact hD u.2 (show r u.2 u.2 < 1 by linarith [qp u.1]) | |
| def product (g : Metric (E := E) M) (h : Metric (E := F) N) : Metric (E := E Γ F) (M Γ N) where | |
| inner := productInner g h | |
| symm x u v := by | |
| rw [productInner_apply,productInner_apply] | |
| exact congrArgβ (Β· + Β·) (g.symm x.1 u.1 v.1) (h.symm x.2 u.2 v.2) | |
| pos x u hu := by | |
| rw [productInner_apply] | |
| by_cases he : u.1 = 0 | |
| Β· have hn : u.2 β 0 := fun hn => hu (Prod.ext he hn) | |
| have hz : g.inner x.1 u.1 u.1 = 0 := by | |
| calc | |
| _ = g.inner x.1 (0 : TangentSpace π(β,E) x.1) 0 := | |
| congrArg (fun v : TangentSpace π(β,E) x.1 => g.inner x.1 v v) he | |
| _ = 0 := by simp | |
| rw [hz,zero_add] | |
| exact h.pos x.2 u.2 hn | |
| Β· exact add_pos_of_pos_of_nonneg (g.pos x.1 u.1 he) (metric_nonneg h x.2 u.2) | |
| isVonNBounded x := by | |
| have hb := bilin_product_bounded (E := E) (F := F) (g.inner x.1) (h.inner x.2) | |
| (g.isVonNBounded x.1) (h.isVonNBounded x.2) (metric_nonneg g x.1) (metric_nonneg h x.2) | |
| convert! hb using 1 | |
| ext u | |
| exact (congrArg (Β· < 1) (productInner_apply g h x u u)).to_iff | |
| contMDiff := by | |
| let : β x : M Γ N, ContinuousAdd (TangentSpace π(β,E Γ F) x βL[β] β) := | |
| fun x => inferInstanceAs (ContinuousAdd ((E Γ F) βL[β] β)) | |
| exact (pullback_inner_smooth g projection_fst_smooth).add_section | |
| (pullback_inner_smooth h projection_snd_smooth) | |
| end | |
| section | |
| variable {V : Type*} [NormedAddCommGroup V] [NormedSpace β V] | |
| def modelInner (q : V β V βL[β] V βL[β] β) (x : V) : | |
| TangentSpace π(β,V) x βL[β] TangentSpace π(β,V) x βL[β] β := q x | |
| lemma model_inner_smooth {q : V β V βL[β] V βL[β] β} (hq : ContDiff β β q) : | |
| ContMDiff π(β,V) (π(β,V).prod π(β,V βL[β] V βL[β] β)) β | |
| (fun x : V => TotalSpace.mk' (V βL[β] V βL[β] β) | |
| (E := fun y => TangentSpace π(β,V) y βL[β] TangentSpace π(β,V) y βL[β] β) | |
| x (modelInner q x)) := by | |
| intro x | |
| rw [contMDiffAt_section] | |
| simp only [hom_trivializationAt_apply] | |
| apply (hq.contMDiff x).congr_of_eventuallyEq | |
| filter_upwards [] with y | |
| ext u v | |
| have hy : y β (trivializationAt V (TangentSpace π(β,V)) x).baseSet := by | |
| change y β (univ : Set V) | |
| trivial | |
| rw [inCoordinates_apply_eqβ (Fβ := β) (Eβ := fun _ => β) hy hy (mem_univ _)] | |
| rw [β Trivialization.symmL_apply (R := β) _ hy, β Trivialization.symmL_apply (R := β) _ hy] | |
| simp only [TangentBundle.symmL_model_space, | |
| Trivial.fiberBundle_trivializationAt',Trivial.linearMapAt_trivialization, LinearMap.id_coe,id_eq] | |
| rfl | |
| def modelMetric (q : V β V βL[β] V βL[β] β) (hq : ContDiff β β q) | |
| (hs : β x u v, q x u v = q x v u) | |
| (hp : β x u, u β 0 β 0 < q x u u) | |
| (hb : β x, IsVonNBounded β {u : V | q x u u < 1}) : Metric (E := V) V where | |
| inner := modelInner q | |
| symm := hs | |
| pos := hp | |
| isVonNBounded := hb | |
| contMDiff := model_inner_smooth hq | |
| variable {ΞΉ : Type*} [Fintype ΞΉ] | |
| def piBilin : (ΞΉ β β) βL[β] (ΞΉ β β) βL[β] β := | |
| β i, (ContinuousLinearMap.proj i : (ΞΉ β β) βL[β] β).smulRight | |
| (ContinuousLinearMap.proj i : (ΞΉ β β) βL[β] β) | |
| lemma piBilin_apply (u v : ΞΉ β β) : piBilin u v = β i, u i * v i := by | |
| simp [piBilin] | |
| lemma piBilin_symm (u v : ΞΉ β β) : piBilin u v = piBilin v u := by | |
| simp only [piBilin_apply,mul_comm] | |
| lemma piBilin_pos (u : ΞΉ β β) (hu : u β 0) : 0 < piBilin u u := by | |
| rw [piBilin_apply] | |
| obtain β¨i,hiβ© : β i, u i β 0 := by | |
| by_contra hh | |
| apply hu | |
| ext i | |
| exact not_not.mp (not_exists.mp hh i) | |
| exact Finset.sum_pos' (fun _ _ => mul_self_nonneg _) β¨i,Finset.mem_univ i,mul_self_pos.mpr hiβ© | |
| lemma piBilin_bounded : IsVonNBounded β {u : ΞΉ β β | piBilin u u < 1} := by | |
| apply (NormedSpace.isVonNBounded_iff' β).mpr | |
| refine β¨1,fun u hu => ?_β© | |
| apply (pi_norm_le_iff_of_nonneg (by norm_num : (0:β) β€ 1)).mpr | |
| intro i | |
| have his : u i * u i β€ β j, u j * u j := | |
| Finset.single_le_sum (fun _ _ => mul_self_nonneg _) (Finset.mem_univ i) | |
| change piBilin u u < 1 at hu | |
| rw [piBilin_apply] at hu | |
| rw [Real.norm_eq_abs,abs_le] | |
| constructor <;> nlinarith | |
| lemma twistedPi_smooth (K : (ΞΉ β β) β ((ΞΉ β β) βL[β] (ΞΉ β β))) | |
| (hK : ContDiff β β (fun x => (K x : (ΞΉ β β) βL[β] (ΞΉ β β)))) : | |
| ContDiff β β (fun x => pullBilin (piBilin (ΞΉ := ΞΉ)) (K x).toContinuousLinearMap) := by | |
| apply contDiff_clm_apply_iff.mpr | |
| intro u | |
| apply contDiff_clm_apply_iff.mpr | |
| intro v | |
| simp only [pullBilin_apply,piBilin_apply] | |
| apply ContDiff.sum | |
| intro i _ | |
| exact ((contDiff_apply β β i).comp (hK.clm_apply contDiff_const)).mul | |
| ((contDiff_apply β β i).comp (hK.clm_apply contDiff_const)) | |
| lemma twistedPi_bounded (K : (ΞΉ β β) βL[β] (ΞΉ β β)) : | |
| IsVonNBounded β {u : ΞΉ β β | pullBilin (piBilin (ΞΉ := ΞΉ)) K.toContinuousLinearMap u u < 1} := by | |
| apply (piBilin_bounded.image K.symm.toContinuousLinearMap).subset | |
| intro u hu | |
| exact β¨K u,hu,K.symm_apply_apply uβ© | |
| def twistedPi (K : (ΞΉ β β) β ((ΞΉ β β) βL[β] (ΞΉ β β))) | |
| (hK : ContDiff β β (fun x => (K x : (ΞΉ β β) βL[β] (ΞΉ β β)))) : | |
| Metric (E := ΞΉ β β) (ΞΉ β β) := | |
| modelMetric (fun x => pullBilin (piBilin (ΞΉ := ΞΉ)) (K x).toContinuousLinearMap) | |
| (twistedPi_smooth K hK) | |
| (fun _ _ _ => piBilin_symm (ΞΉ := ΞΉ) _ _) | |
| (fun x _ hu => piBilin_pos _ (fun hh => hu ((K x).injective (hh.trans (K x).map_zero.symm)))) | |
| (fun x => twistedPi_bounded (K x)) | |
| end | |
| abbrev V3 := Fin 3 β β | |
| def triangular (r s c : β) (hr : r β 0) (hs : s β 0) : V3 βL[β] V3 := | |
| { toFun := fun v => ![v 0,r * (v 1 - c * v 2),s * v 2] | |
| invFun := fun w => ![w 0,w 1 / r + c * w 2 / s,w 2 / s] | |
| left_inv := by | |
| intro v | |
| funext i | |
| fin_cases i <;> simp | |
| Β· field_simp | |
| ring | |
| Β· field_simp | |
| right_inv := by | |
| intro w | |
| funext i | |
| fin_cases i <;> simp | |
| Β· field_simp | |
| ring | |
| Β· field_simp | |
| map_add' := by intro v w; funext i; fin_cases i <;> simp <;> ring | |
| map_smul' := by intro a v; funext i; fin_cases i <;> simp <;> ring } | |
| @[simp] lemma triangular_apply (r s c : β) (hr : r β 0) (hs : s β 0) (v : V3) : | |
| triangular r s c hr hs v = ![v 0,r * (v 1-c*v 2),s*v 2] := rfl | |
| lemma triangular_smooth {r s c : V3 β β} | |
| (h1 : ContDiff β β r) (h2 : ContDiff β β s) (h3 : ContDiff β β c) | |
| (hr : β x, r x β 0) (hs : β x, s x β 0) : | |
| ContDiff β β (fun x => (triangular (r x) (s x) (c x) (hr x) (hs x) : V3 βL[β] V3)) := by | |
| apply contDiff_clm_apply_iff.mpr | |
| intro v | |
| apply contDiff_pi.mpr | |
| intro i | |
| fin_cases i | |
| Β· exact contDiff_const | |
| Β· exact h1.mul (contDiff_const.sub (h3.mul contDiff_const)) | |
| Β· exact h2.mul contDiff_const | |
| def triangularMetric {r s c : V3 β β} | |
| (h1 : ContDiff β β r) (h2 : ContDiff β β s) (h3 : ContDiff β β c) | |
| (hr : β x, r x β 0) (hs : β x, s x β 0) : Metric (E := V3) V3 := | |
| twistedPi (fun x => triangular (r x) (s x) (c x) (hr x) (hs x)) | |
| (triangular_smooth h1 h2 h3 hr hs) | |
| lemma triangularMetric_apply {r s c : V3 β β} | |
| (h1 : ContDiff β β r) (h2 : ContDiff β β s) (h3 : ContDiff β β c) | |
| (hr : β x, r x β 0) (hs : β x, s x β 0) | |
| (x : V3) (u v : TangentSpace π(β,V3) x) : | |
| (triangularMetric h1 h2 h3 hr hs).inner x u v = | |
| u 0*v 0 + (r x)^2*(u 1-c x*u 2)*(v 1-c x*v 2) + (s x)^2*u 2*v 2 := by | |
| change piBilin (triangular (r x) (s x) (c x) (hr x) (hs x) u) | |
| (triangular (r x) (s x) (c x) (hr x) (hs x) v) = _ | |
| simp only [piBilin_apply,Fin.sum_univ_three] | |
| change u 0*v 0 + (r x*(u 1-c x*u 2))*(r x*(v 1-c x*v 2)) + | |
| (s x*u 2)*(s x*v 2) = _ | |
| ring | |
| open QuotientConstruction | |
| lemma inverse_smooth_of_sections {E M Q G : Type*} | |
| [NormedAddCommGroup E] [NormedSpace β E] | |
| [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(β,E) β M] | |
| [TopologicalSpace Q] [ChartedSpace E Q] [IsManifold π(β,E) β Q] | |
| [Group G] [MulAction G M] {p : M β Q} | |
| (hp : IsQuotientCoveringMap p G) | |
| (hact : β k : G, ContMDiff π(β,E) π(β,E) β (fun x : M => k β’ x)) | |
| (sec : β q : Q, β s : Q β M, ContMDiffAt π(β,E) π(β,E) β s q β§ | |
| (p β s) =αΆ [nhds q] id) | |
| (a : M) {q : Q} (hq : q β (hp.isCoveringMap.isLocalHomeomorph.localInverseAt a).source) : | |
| ContMDiffAt π(β,E) π(β,E) β (hp.isCoveringMap.isLocalHomeomorph.localInverseAt a) q := by | |
| let l := hp.isCoveringMap.isLocalHomeomorph | |
| let f := l.localInverseAt a | |
| obtain β¨s,hs,hpsβ© := sec q | |
| have he : p (f q) = p (s q) := (l.apply_localInverseAt_of_mem hq).trans hps.eq_of_nhds.symm | |
| obtain β¨k,hkβ© := hp.apply_eq_iff_mem_orbit.mp he | |
| have hsm := (hact k (s q)).comp q hs | |
| apply hsm.congr_of_eventuallyEq | |
| apply lifts_eventuallyEq l (f.continuousAt hq) hsm.continuousAt hk.symm | |
| filter_upwards [f.open_source.mem_nhds hq,hps] with y hy hpy | |
| change p (f y) = p (k β’ s y) | |
| rw [l.apply_localInverseAt_of_mem hy,hp.map_smul] | |
| exact hpy.symm | |
| end ThreeManifold.MetricConstruction | |
| namespace ThreeManifold.CylinderConstruction | |
| open QuotientConstruction MetricConstruction | |
| abbrev P := β Γ (β Γ β) | |
| abbrev Cylinder := β Γ (AddCircle (6:β) Γ AddCircle (6:β)) | |
| abbrev Deck := PUnit.{1} Γ (CircleConstruction.Deck 6 Γ CircleConstruction.Deck 6) | |
| instance identity_action : MulAction PUnit.{1} β where | |
| smul _ x := x | |
| one_smul _ := rfl | |
| mul_smul _ _ _ := rfl | |
| lemma identity_cover : IsQuotientCoveringMap (id : β β β) PUnit.{1} where | |
| __ := Homeomorph.refl β |>.isQuotientMap | |
| continuous_const_smul _ := continuous_id | |
| apply_eq_iff_mem_orbit := by | |
| intro x y | |
| constructor | |
| Β· intro h; exact β¨PUnit.unit,h.symmβ© | |
| Β· rintro β¨k,hβ©; exact h.symm | |
| disjoint _ := β¨univ,univ_mem,fun _ _ => Subsingleton.elim _ _β© | |
| instance torus_action : MulAction (CircleConstruction.Deck 6 Γ CircleConstruction.Deck 6) (β Γ β) := | |
| productAction | |
| instance cylinder_action : MulAction Deck P := productAction | |
| def projection (x : P) : Cylinder := (x.1,(x.2.1 : AddCircle (6 : β)),(x.2.2 : AddCircle (6 : β))) | |
| lemma projection_cover : IsQuotientCoveringMap projection Deck := | |
| product_cover identity_cover (product_cover (CircleConstruction.projection_cover 6) | |
| (CircleConstruction.projection_cover 6)) | |
| lemma projection_smooth : ContMDiff π(β,P) π(β,P) β projection := by | |
| have h0 : ContMDiff π(β,P) π(β,β) β (fun x : P => x.1) := | |
| contDiff_fst.contMDiff | |
| have h1 : ContMDiff π(β,P) π(β,β) β (fun x : P => (x.2.1 : AddCircle (6:β))) := | |
| (CircleConstruction.projection_smooth 6).comp | |
| (contDiff_fst.comp contDiff_snd).contMDiff | |
| have h2 : ContMDiff π(β,P) π(β,β) β (fun x : P => (x.2.2 : AddCircle (6:β))) := | |
| (CircleConstruction.projection_smooth 6).comp | |
| (contDiff_snd.comp contDiff_snd).contMDiff | |
| convert! h0.prodMk (h1.prodMk h2) using 1 | |
| simp only [β modelWithCornersSelf_prod] | |
| lemma deck_formula (k : Deck) (x : P) : k β’ x = | |
| x + (0,(Multiplicative.toAdd k.2.1).val,(Multiplicative.toAdd k.2.2).val) := by | |
| apply Prod.ext | |
| Β· change x.1 = x.1 + 0 | |
| ring | |
| Β· apply Prod.ext | |
| Β· change (Multiplicative.toAdd k.2.1).val + x.2.1 = x.2.1 + (Multiplicative.toAdd k.2.1).val | |
| ring | |
| Β· change (Multiplicative.toAdd k.2.2).val + x.2.2 = x.2.2 + (Multiplicative.toAdd k.2.2).val | |
| ring | |
| lemma action_smooth (k : Deck) : ContMDiff π(β,P) π(β,P) β (fun x : P => k β’ x) := by | |
| simp only [deck_formula] | |
| exact contMDiff_id.add contMDiff_const | |
| lemma local_sections (q : Cylinder) : β s : Cylinder β P, | |
| ContMDiffAt π(β,P) π(β,P) β s q β§ (projection β s) =αΆ [nhds q] id := by | |
| let f := CircleConstruction.localLift 6 q.2.1 | |
| let g := CircleConstruction.localLift 6 q.2.2 | |
| refine β¨fun y => (y.1,f y.2.1,g y.2.2),?_,?_β© | |
| Β· have h1 := (CircleConstruction.localLift_smooth 6 q.2.1).comp q | |
| ((contMDiffAt_fst (I := π(β,β)) (J := π(β,β))).comp q | |
| (contMDiffAt_snd (I := π(β,β)) (J := π(β,β).prod π(β,β)))) | |
| have h2 := (CircleConstruction.localLift_smooth 6 q.2.2).comp q | |
| ((contMDiffAt_snd (I := π(β,β)) (J := π(β,β))).comp q | |
| (contMDiffAt_snd (I := π(β,β)) (J := π(β,β).prod π(β,β)))) | |
| convert! ((contMDiffAt_fst (I := π(β,β)) (J := π(β,β).prod π(β,β))).prodMk_space | |
| (h1.prodMk_space h2)) using 1 | |
| simp only [β modelWithCornersSelf_prod] | |
| Β· have h1 := (CircleConstruction.localLift_eventually 6 q.2.1).comp_tendsto | |
| (continuous_fst.comp continuous_snd).continuousAt | |
| have h2 := (CircleConstruction.localLift_eventually 6 q.2.2).comp_tendsto | |
| (continuous_snd.comp continuous_snd).continuousAt | |
| filter_upwards [h1,h2] with y hy1 hy2 | |
| exact Prod.ext rfl (Prod.ext hy1 hy2) | |
| lemma local_inverse_smooth (a : P) {q : Cylinder} | |
| (hq : q β (projection_cover.isCoveringMap.isLocalHomeomorph.localInverseAt a).source) : | |
| ContMDiffAt π(β,P) π(β,P) β | |
| (projection_cover.isCoveringMap.isLocalHomeomorph.localInverseAt a) q := | |
| inverse_smooth_of_sections projection_cover action_smooth local_sections a hq | |
| def coordinates : P βL[β] V3 := | |
| { toFun := fun x => ![x.1,x.2.1,x.2.2] | |
| invFun := fun v => (v 0,v 1,v 2) | |
| left_inv := by intro x; rfl | |
| right_inv := by intro v; ext i; fin_cases i <;> rfl | |
| map_add' := by intro x y; ext i; fin_cases i <;> rfl | |
| map_smul' := by intro a x; ext i; fin_cases i <;> rfl } | |
| def model {r s c : V3 β β} | |
| (h1 : ContDiff β β r) (h2 : ContDiff β β s) (h3 : ContDiff β β c) | |
| (hr : β x, r x β 0) (hs : β x, s x β 0) : Metric (E := P) P := | |
| pullback (triangularMetric h1 h2 h3 hr hs) coordinates.contDiff.contMDiff | |
| (fun _ => coordinates) (fun x => by | |
| rw [mfderiv_eq_fderiv] | |
| exact (coordinates.hasFDerivAt (x := x)).fderiv.symm) | |
| lemma model_apply {r s c : V3 β β} | |
| (h1 : ContDiff β β r) (h2 : ContDiff β β s) (h3 : ContDiff β β c) | |
| (hr : β x, r x β 0) (hs : β x, s x β 0) | |
| (x : P) (u v : TangentSpace π(β,P) x) : | |
| (model h1 h2 h3 hr hs).inner x u v = | |
| u.1*v.1 + (r (coordinates x))^2*(u.2.1-c (coordinates x)*u.2.2)* | |
| (v.2.1-c (coordinates x)*v.2.2) + (s (coordinates x))^2*u.2.2*v.2.2 := by | |
| change (triangularMetric h1 h2 h3 hr hs).inner (coordinates x) | |
| (mfderiv π(β,P) π(β,V3) coordinates x u) | |
| (mfderiv π(β,P) π(β,V3) coordinates x v) = _ | |
| rw [mfderiv_eq_fderiv,(coordinates.hasFDerivAt (x := x)).fderiv] | |
| exact triangularMetric_apply h1 h2 h3 hr hs _ _ _ | |
| lemma deck_deriv (k : Deck) (x : P) : | |
| mfderiv π(β,P) π(β,P) (fun y : P => k β’ y) x = ContinuousLinearMap.id β P := by | |
| simp only [deck_formula,mfderiv_eq_fderiv] | |
| exact ((hasFDerivAt_id x).add_const _).fderiv | |
| variable {r s c : β β β} | |
| (h1 : ContDiff β β r) (h2 : ContDiff β β s) (h3 : ContDiff β β c) | |
| (hr : β t, r t β 0) (hs : β t, s t β 0) | |
| def lifted : Metric (E := P) P := | |
| model (h1.comp (contDiff_apply β β 0)) (h2.comp (contDiff_apply β β 0)) | |
| (h3.comp (contDiff_apply β β 0)) (fun _ => hr _) (fun _ => hs _) | |
| lemma lifted_apply (x : P) (u v : TangentSpace π(β,P) x) : | |
| (lifted h1 h2 h3 hr hs).inner x u v = | |
| u.1*v.1 + (r x.1)^2*(u.2.1-c x.1*u.2.2)*(v.2.1-c x.1*v.2.2) + | |
| (s x.1)^2*u.2.2*v.2.2 := | |
| model_apply _ _ _ _ _ x u v | |
| lemma lifted_invariant (k : Deck) (x : P) : | |
| pullInner (E := P) (lifted h1 h2 h3 hr hs) (fun y : P => k β’ y) x = | |
| (lifted h1 h2 h3 hr hs).inner x := by | |
| ext u v | |
| rw [pullInner_apply,deck_deriv,lifted_apply,lifted_apply] | |
| rfl | |
| def sectionMap (q : Cylinder) : P := | |
| (q.1,CircleConstruction.sectionMap 6 q.2.1,CircleConstruction.sectionMap 6 q.2.2) | |
| lemma section_spec : Function.RightInverse sectionMap projection := by | |
| intro q | |
| exact Prod.ext rfl (Prod.ext (CircleConstruction.section_spec 6 q.2.1) | |
| (CircleConstruction.section_spec 6 q.2.2)) | |
| def metric : Metric (E := P) Cylinder := | |
| descend projection_cover projection_smooth action_smooth local_inverse_smooth | |
| (lifted h1 h2 h3 hr hs) (lifted_invariant h1 h2 h3 hr hs) section_spec | |
| lemma metric_projection (x : P) : | |
| pullInner (E := P) (metric h1 h2 h3 hr hs) projection x = | |
| (lifted h1 h2 h3 hr hs).inner x := | |
| descend_projection projection_cover projection_smooth action_smooth local_inverse_smooth | |
| (lifted h1 h2 h3 hr hs) (lifted_invariant h1 h2 h3 hr hs) section_spec x | |
| end ThreeManifold.CylinderConstruction | |
| namespace ThreeManifold.MetricConstruction | |
| variable {E F M N : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(β,E) β M] | |
| [TopologicalSpace N] [ChartedSpace F N] [IsManifold π(β,F) β N] | |
| def pullbackHomeomorph (g : Metric (E := F) N) (f : M ββ N) | |
| (hf : ContMDiff π(β,E) π(β,F) β f) | |
| (hi : ContMDiff π(β,F) π(β,E) β f.symm) : Metric (E := E) M := | |
| pullback g hf | |
| (fun x => (show f.toOpenPartialHomeomorph.MDifferentiable π(β,E) π(β,F) from | |
| β¨hf.mdifferentiable (by simp) |>.mdifferentiableOn, | |
| hi.mdifferentiable (by simp) |>.mdifferentiableOnβ©).mfderiv (mem_univ x)) | |
| (fun _ => rfl) | |
| omit [IsManifold π(β,E) β M] [IsManifold π(β,F) β N] in | |
| lemma bilin_eq_of_pull_eq {p : M β N} (x : M) | |
| (hp : Function.Surjective (mfderiv π(β,E) π(β,F) p x)) | |
| (g h : TangentSpace π(β,F) (p x) βL[β] TangentSpace π(β,F) (p x) βL[β] β) | |
| (he : pullBilin (E:=E) (F:=F) g (mfderiv π(β,E) π(β,F) p x) = | |
| pullBilin (E:=E) (F:=F) h (mfderiv π(β,E) π(β,F) p x)) : g = h := by | |
| ext u v | |
| obtain β¨a,rflβ© := hp u | |
| obtain β¨b,rflβ© := hp v | |
| exact congrArg (fun L => L a b) he | |
| variable {Q G : Type*} [TopologicalSpace Q] [ChartedSpace E Q] | |
| [IsManifold π(β,E) β Q] [Group G] [MulAction G M] {p : M β Q} | |
| (hp : IsQuotientCoveringMap p G) | |
| (hps : ContMDiff π(β,E) π(β,E) β p) | |
| (hls : β (b : M) {q : Q}, q β (hp.isCoveringMap.isLocalHomeomorph.localInverseAt b).source β | |
| ContMDiffAt π(β,E) π(β,E) β (hp.isCoveringMap.isLocalHomeomorph.localInverseAt b) q) | |
| def coveringDerivative (x : M) : E βL[β] E := | |
| ((covering_inverse_mdifferentiable hp hps hls x).symm).mfderiv | |
| (hp.isCoveringMap.isLocalHomeomorph.self_mem_localInverseAt_target) | |
| omit [IsManifold π(β,E) β M] [IsManifold π(β,E) β Q] in | |
| lemma coveringDerivative_eq (x : M) : | |
| (coveringDerivative hp hps hls x).toContinuousLinearMap = mfderiv π(β,E) π(β,E) p x := by | |
| change mfderiv π(β,E) π(β,E) | |
| (hp.isCoveringMap.isLocalHomeomorph.localInverseAt x).symm x = _ | |
| rw [hp.isCoveringMap.isLocalHomeomorph.localInverseAt_symm] | |
| variable {f : Q β Q} {lift : M β M} | |
| (hf : ContMDiff π(β,E) π(β,E) β f) | |
| (hl : ContMDiff π(β,E) π(β,E) β lift) | |
| (comm : f β p = p β lift) | |
| (dl : M β E βL[β] E) | |
| (hdl : β x, (dl x).toContinuousLinearMap = mfderiv π(β,E) π(β,E) lift x) | |
| {Ο : Q β M} (hΟ : Function.RightInverse Ο p) | |
| def liftedDerivative (q : Q) : E βL[β] E := | |
| ((coveringDerivative hp hps hls (Ο q)).symm.trans (dl (Ο q))).trans | |
| (coveringDerivative hp hps hls (lift (Ο q))) | |
| omit [IsManifold π(β,E) β M] [IsManifold π(β,E) β Q] in | |
| include hf hl comm hdl hΟ in | |
| lemma liftedDerivative_eq (q : Q) : | |
| (liftedDerivative hp hps hls dl (Ο := Ο) (lift := lift) q).toContinuousLinearMap = | |
| mfderiv π(β,E) π(β,E) f q := by | |
| have hc := congrArg (fun w : M β Q => (show E βL[β] E from mfderiv π(β,E) π(β,E) w (Ο q))) comm | |
| rw [mfderiv_comp _ ((hf _).mdifferentiableAt (by simp)) | |
| ((hps _).mdifferentiableAt (by simp)), mfderiv_comp _ | |
| ((hps _).mdifferentiableAt (by simp)) ((hl _).mdifferentiableAt (by simp)), hΟ q] at hc | |
| have hc' (v : E) : mfderiv π(β,E) π(β,E) f q (mfderiv π(β,E) π(β,E) p (Ο q) v) = | |
| mfderiv π(β,E) π(β,E) p (lift (Ο q)) (mfderiv π(β,E) π(β,E) lift (Ο q) v) := | |
| congrArg (fun L : E βL[β] E => L v) hc | |
| apply ContinuousLinearMap.ext | |
| intro u | |
| have hh := hc' ((coveringDerivative hp hps hls (Ο q)).symm u) | |
| rw [β coveringDerivative_eq hp hps hls (Ο q)] at hh | |
| change mfderiv π(β,E) π(β,E) f q | |
| ((coveringDerivative hp hps hls (Ο q)) ((coveringDerivative hp hps hls (Ο q)).symm u)) = _ at hh | |
| rw [ContinuousLinearEquiv.apply_symm_apply] at hh | |
| change (coveringDerivative hp hps hls (lift (Ο q))) | |
| (dl (Ο q) ((coveringDerivative hp hps hls (Ο q)).symm u)) = _ | |
| have hd := congrArg (fun D : E βL[β] E => D | |
| ((coveringDerivative hp hps hls (Ο q)).symm u)) (hdl (Ο q)) | |
| have hd' := congrArg (fun D : E βL[β] E => D | |
| (dl (Ο q) ((coveringDerivative hp hps hls (Ο q)).symm u))) | |
| (coveringDerivative_eq hp hps hls (lift (Ο q))) | |
| exact hd'.trans ((congrArg (fun v : E => | |
| (show E βL[β] E from mfderiv π(β,E) π(β,E) p (lift (Ο q))) v) hd).trans hh.symm) | |
| def pullbackFromLift (g : Metric (E := E) Q) : Metric (E := E) Q := | |
| pullback g hf (liftedDerivative hp hps hls dl (Ο := Ο) (lift := lift)) | |
| (liftedDerivative_eq hp hps hls hf hl comm dl hdl hΟ) | |
| end ThreeManifold.MetricConstruction | |
| end | |
| open Set Filter Topology Bundle Manifold IsManifold Bornology | |
| open scoped ContDiff | |
| namespace ThreeManifold.MetricConstruction | |
| variable {E F H M N Q : Type*} | |
| [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| [NormedAddCommGroup H] [NormedSpace β H] | |
| [TopologicalSpace M] [ChartedSpace E M] | |
| [TopologicalSpace N] [ChartedSpace F N] | |
| [TopologicalSpace Q] [ChartedSpace H Q] [IsManifold π(β,H) β Q] | |
| lemma pull_composition (g : Metric (E := H) Q) {f : M β N} {h : N β Q} {x : M} | |
| (hf : MDifferentiableAt π(β,E) π(β,F) f x) | |
| (hh : MDifferentiableAt π(β,F) π(β,H) h (f x)) : | |
| pullInner (E := E) g (h β f) x = | |
| pullBilin (E := E) (F := F) (pullInner g h (f x)) (mfderiv π(β,E) π(β,F) f x) := by | |
| ext u v | |
| simp only [pullInner_apply,Function.comp_apply] | |
| rw [mfderiv_comp x hh hf] | |
| rfl | |
| end ThreeManifold.MetricConstruction | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 46.9 kB
- Xet hash:
- 25e58e1d0b2ca6bd691dbd5fbeda69e8e8e84ab2ad365fb061b9a3d97c9ba3fb
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.