import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Imports import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.RoundProductConnection import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.RoundSurfaceParallel /-! # The parallel unit direction on an actual positive-curvature product Horizontal restriction uses the actual factor connection. Positive sphere curvature removes that component, and the actual product connection makes the remaining axial component constant on a connected chart. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set Filter open scoped Manifold ContDiff Bundle Topology namespace PoincareMT.M35 local notation "V" => EuclideanSpace โ„ (Fin 3) local notation "E2" => EuclideanSpace โ„ (Fin 2) /-- Restriction of an actual parallel germ to the positive-curvature factor has zero horizontal component. -/ theorem product_parallel_horizontal_zero {g : RiemannianMetric 3 V} {h : RiemannianMetric 2 E2} (D : LeviCivitaData g) (Dh : LeviCivitaData h) {x : V} (hmetric : โˆ€แถ  y in ๐“ x, โˆ€ u v : V, g.inner y u v = h.inner (cylinderCoordinateEquiv y).1 (cylinderCoordinateEquiv u).1 (cylinderCoordinateEquiv v).1 + (cylinderCoordinateEquiv u).2 * (cylinderCoordinateEquiv v).2) {Z : V โ†’ V} (hZ : ContDiffAt โ„ โˆž Z x) (hparallel : โˆ€แถ  y in ๐“ x, โˆ€ v : V, D.connection Z y v = 0) (hpos : โˆ€ u v : E2, h.inner (cylinderCoordinateEquiv x).1 u u = 1 โ†’ h.inner (cylinderCoordinateEquiv x).1 v v = 1 โ†’ h.inner (cylinderCoordinateEquiv x).1 u v = 0 โ†’ 0 < Dh.sectionalCurvature (cylinderCoordinateEquiv x).1 u v) : (cylinderCoordinateEquiv (Z x)).1 = 0 := by let L := (ContinuousLinearMap.fst โ„ E2 โ„).comp cylinderCoordinateEquiv.toContinuousLinearMap let phi : E2 โ†’ V := fun y => cylinderCoordinateEquiv.symm (y, (cylinderCoordinateEquiv x).2) let Y : E2 โ†’ E2 := fun y => L (Z (phi y)) have hphi : ContDiff โ„ โˆž phi := cylinderCoordinateEquiv.symm.contDiff.comp (contDiff_id.prodMk contDiff_const) have hphi0 : phi (cylinderCoordinateEquiv x).1 = x := cylinderCoordinateEquiv.symm_apply_apply x have hZphi : ContDiffAt โ„ โˆž Z (phi (cylinderCoordinateEquiv x).1) := by simpa only [hphi0] using hZ have hY : ContDiffAt โ„ โˆž Y (cylinderCoordinateEquiv x).1 := L.contDiff.contDiffAt.comp _ (hZphi.comp _ hphi.contDiffAt) have hdiff : โˆ€แถ  y in ๐“ x, DifferentiableAt โ„ Z y := ((hZ.of_le (by norm_cast : (1 : โ„•โˆžฯ‰) โ‰ค โˆž)).eventually (by simp)).mono fun _ hy => hy.differentiableAt (by simp) have ht : Tendsto phi (๐“ (cylinderCoordinateEquiv x).1) (๐“ x) := by have hc : ContinuousAt phi (cylinderCoordinateEquiv x).1 := hphi.continuous.continuousAt simpa only [hphi0] using hc.tendsto have hYparallel : โˆ€แถ  y in ๐“ (cylinderCoordinateEquiv x).1, โˆ€ v : E2, Dh.connection Y y v = 0 := by filter_upwards [ht.eventually hmetric.eventually_nhds, ht.eventually hparallel, ht.eventually hdiff] with y hmy hpy hdy v have hc := product_connection_horizontal D Dh hmy hdy v have hz := hpy (cylinderCoordinateEquiv.symm (v, 0)) have hcz := congrArg (fun a : V => (cylinderCoordinateEquiv a).1) hz have he := hc.trans hcz change @Eq E2 _ _ at he simp only [phi, ContinuousLinearEquiv.apply_symm_apply, map_zero, Prod.fst_zero] at he have hbase : (cylinderCoordinateEquiv (phi y)).1 = y := by dsimp only [phi] rw [ContinuousLinearEquiv.apply_symm_apply] change (Dh.connection Y (cylinderCoordinateEquiv (phi y)).1 v : E2) = 0 at he exact (congrArg (fun a : E2 => (Dh.connection Y a v : E2)) hbase).symm.trans he have hz := positive_surface_parallel_germ Dh hY hYparallel hpos change L (Z (phi (cylinderCoordinateEquiv x).1)) = 0 at hz rw [hphi0] at hz exact hz /-- The actual axial component of a parallel product field is constant on a connected open chart. -/ theorem product_parallel_axial_constant {g : RiemannianMetric 3 V} {h : RiemannianMetric 2 E2} (D : LeviCivitaData g) (Dh : LeviCivitaData h) {ฮฉ : Set V} (hฮฉ : IsOpen ฮฉ) (hconnected : IsPreconnected ฮฉ) (hmetric : โˆ€ x โˆˆ ฮฉ, โˆ€ u v : V, g.inner x u v = h.inner (cylinderCoordinateEquiv x).1 (cylinderCoordinateEquiv u).1 (cylinderCoordinateEquiv v).1 + (cylinderCoordinateEquiv u).2 * (cylinderCoordinateEquiv v).2) {Z : V โ†’ V} (hZ : ContDiffOn โ„ โˆž Z ฮฉ) (hparallel : โˆ€ x โˆˆ ฮฉ, โˆ€ v : V, D.connection Z x v = 0) {x y : V} (hx : x โˆˆ ฮฉ) (hy : y โˆˆ ฮฉ) : (cylinderCoordinateEquiv (Z x)).2 = (cylinderCoordinateEquiv (Z y)).2 := by let L := (ContinuousLinearMap.snd โ„ E2 โ„).comp cylinderCoordinateEquiv.toContinuousLinearMap have hs z hz := (hZ z hz).contDiffAt (hฮฉ.mem_nhds hz) have hd z hz : DifferentiableAt โ„ Z z := (hs z hz).differentiableAt (by simp) have hf : DifferentiableOn โ„ (fun z => L (Z z)) ฮฉ := fun z hz => (L.differentiableAt.comp z (hd z hz)).differentiableWithinAt have hder : ฮฉ.EqOn (fderiv โ„ (fun z => L (Z z))) 0 := by intro z hz apply ContinuousLinearMap.ext intro w have hm : โˆ€แถ  q in ๐“ z, โˆ€ u v : V, g.inner q u v = h.inner (cylinderCoordinateEquiv q).1 (cylinderCoordinateEquiv u).1 (cylinderCoordinateEquiv v).1 + (cylinderCoordinateEquiv u).2 * (cylinderCoordinateEquiv v).2 := Filter.mem_of_superset (hฮฉ.mem_nhds hz) fun q hq => hmetric q hq have he := product_connection_axial D Dh hm (hd z hz) w have hp := congrArg (fun a : V => (cylinderCoordinateEquiv a).2) (hparallel z hz w) change fderiv โ„ (fun y => (cylinderCoordinateEquiv (Z y)).2) z w = 0 simpa only [map_zero, Prod.snd_zero] using he.trans hp exact hฮฉ.is_const_of_fderiv_eq_zero hconnected hf hder hx hy /-- A parallel unit product field cannot satisfy the literal reflected axial identity at two points in the same connected chart. -/ theorem product_parallel_reflection_false {g : RiemannianMetric 3 V} {h : RiemannianMetric 2 E2} (D : LeviCivitaData g) (Dh : LeviCivitaData h) {ฮฉ : Set V} (hฮฉ : IsOpen ฮฉ) (hconnected : IsPreconnected ฮฉ) (hmetric : โˆ€ x โˆˆ ฮฉ, โˆ€ u v : V, g.inner x u v = h.inner (cylinderCoordinateEquiv x).1 (cylinderCoordinateEquiv u).1 (cylinderCoordinateEquiv v).1 + (cylinderCoordinateEquiv u).2 * (cylinderCoordinateEquiv v).2) {Z : V โ†’ V} (hZ : ContDiffOn โ„ โˆž Z ฮฉ) (hparallel : โˆ€ x โˆˆ ฮฉ, โˆ€ v : V, D.connection Z x v = 0) {x y : V} (hx : x โˆˆ ฮฉ) (hy : y โˆˆ ฮฉ) (hunit : g.inner x (Z x) (Z x) = 1) (hpos : โˆ€ u v : E2, h.inner (cylinderCoordinateEquiv x).1 u u = 1 โ†’ h.inner (cylinderCoordinateEquiv x).1 v v = 1 โ†’ h.inner (cylinderCoordinateEquiv x).1 u v = 0 โ†’ 0 < Dh.sectionalCurvature (cylinderCoordinateEquiv x).1 u v) (hodd : (cylinderCoordinateEquiv (Z y)).2 = -(cylinderCoordinateEquiv (Z x)).2) : False := by have hh := product_parallel_horizontal_zero D Dh (Filter.mem_of_superset (hฮฉ.mem_nhds hx) fun z hz => hmetric z hz) ((hZ x hx).contDiffAt (hฮฉ.mem_nhds hx)) (Filter.mem_of_superset (hฮฉ.mem_nhds hx) fun z hz => hparallel z hz) hpos have hc := product_parallel_axial_constant D Dh hฮฉ hconnected hmetric hZ hparallel hx hy have hz : (cylinderCoordinateEquiv (Z x)).2 = 0 := by linarith only [hc, hodd] have he := hmetric x hx (Z x) (Z x) rw [hh, hz, map_zero, zero_mul, add_zero] at he exact zero_ne_one (he.symm.trans hunit) end PoincareMT.M35