import PoincareLib.Geometry.RicciFlow.Soliton.ThreeDimensional.Models import PoincareLib.Geometry.RicciFlow.CanonicalNeighborhood.Projective import PoincareLib.Geometry.RicciFlow.CanonicalNeighborhood.Models /-! # Refined shrinking-soliton model certificates Ported from Mapher `Definitions/M24ModelCertificates.lean` at `49331b7d7ecad38f53e4300c3b35d6a84b2cc648`, with declaration bodies unchanged. Refine the actual M20 shrinking-flow models. The quotient normal forms are outputs on the supplied quotient, with its literal product metric and maps. No projective applicability or orientability premise is required. Quantitative canonical neighborhoods and the original ancient flow at zero remain M26--M27. -/ set_option autoImplicit false open scoped Manifold ContDiff Bundle ENNReal Topology universe u namespace PoincareMT variable {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] [IsManifold (𝓑 3) ∞ M] [MeasurableSpace M] [BorelSpace M] [T2Space M] [T3Space M] [SecondCountableTopology M] [ConnectedSpace M] /-- Local covering geometry and curvature transports for the actual quotient. One fixed flow identification is used at every negative time. -/ structure M24QuotientFlowTransport {S : GradientShrinkingSolitonData 3 M} {G : ShrinkingSolitonFlow S} (q : QuotientSphereLineCertificate G) where quotient_map_local_diffeomorph : letI : TopologicalSpace q.cover := q.cover_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.cover := q.cover_charted letI : IsManifold (𝓑 3) ∞ q.cover := q.cover_manifold letI : TopologicalSpace q.product.surface := q.product.surface_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) (q.product.surface Γ— ℝ) := q.product.product_charted letI : TopologicalSpace q.quotient_carrier := q.quotient_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.quotient_carrier := q.quotient_charted IsLocalDiffeomorph (𝓑 3) (𝓑 3) ∞ q.quotient_map flow_identification : letI : TopologicalSpace q.quotient_carrier := q.quotient_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.quotient_carrier := q.quotient_charted Diffeomorph (𝓑 3) (𝓑 3) M q.quotient_carrier ∞ flow_metric_transport : letI : TopologicalSpace q.quotient_carrier := q.quotient_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.quotient_carrier := q.quotient_charted letI : IsManifold (𝓑 3) ∞ q.quotient_carrier := q.quotient_manifold βˆ€ t : ℝ, t < 0 β†’ βˆ€ x : M, βˆ€ v w : TangentSpace (𝓑 3) x, (G.flow.metric t).inner x v w = (q.quotient_metric t).inner (flow_identification x) (mfderiv (𝓑 3) (𝓑 3) flow_identification x v) (mfderiv (𝓑 3) (𝓑 3) flow_identification x w) product_curvature_transport : letI : TopologicalSpace q.cover := q.cover_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.cover := q.cover_charted letI : IsManifold (𝓑 3) ∞ q.cover := q.cover_manifold letI : TopologicalSpace q.product.surface := q.product.surface_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) (q.product.surface Γ— ℝ) := q.product.product_charted letI : IsManifold (𝓑 3) ∞ (q.product.surface Γ— ℝ) := q.product.product_manifold letI : TopologicalSpace q.quotient_carrier := q.quotient_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.quotient_carrier := q.quotient_charted letI : IsManifold (𝓑 3) ∞ q.quotient_carrier := q.quotient_manifold βˆ€ t : ℝ, t < 0 β†’ βˆ€ x : q.product.surface Γ— ℝ, βˆ€ v w : TangentSpace (𝓑 3) x, (q.product.product_connection t).sectionalCurvature x v w = (q.quotient_connection t).sectionalCurvature (q.quotient_map x) (mfderiv (𝓑 3) (𝓑 3) q.quotient_map x v) (mfderiv (𝓑 3) (𝓑 3) q.quotient_map x w) flow_curvature_transport : letI : TopologicalSpace q.quotient_carrier := q.quotient_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.quotient_carrier := q.quotient_charted letI : IsManifold (𝓑 3) ∞ q.quotient_carrier := q.quotient_manifold βˆ€ t : ℝ, t < 0 β†’ βˆ€ x : M, βˆ€ v w : TangentSpace (𝓑 3) x, (G.flow.connection t).sectionalCurvature x v w = (q.quotient_connection t).sectionalCurvature (flow_identification x) (mfderiv (𝓑 3) (𝓑 3) flow_identification x v) (mfderiv (𝓑 3) (𝓑 3) flow_identification x w) /-- The literal antipodal-times-identity quotient, including its commuting projective product coordinates. Its metric is the one already stored in q. -/ structure M24ProjectivePlaneLineCertificate {S : GradientShrinkingSolitonData 3 M} {G : ShrinkingSolitonFlow S} (q : QuotientSphereLineCertificate G) where involution_formula : letI : TopologicalSpace q.cover := q.cover_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.cover := q.cover_charted letI : IsManifold (𝓑 3) ∞ q.cover := q.cover_manifold letI : TopologicalSpace q.product.surface := q.product.surface_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 2)) q.product.surface := q.product.surface_charted βˆ€ x : q.product.surface Γ— ℝ, q.involution x = (q.product.surface_sphere.symm (-(q.product.surface_sphere x.1)), x.2) product_homeomorph : letI : TopologicalSpace q.quotient_carrier := q.quotient_topology q.quotient_carrier β‰ƒβ‚œ (RealProjectiveTwo Γ— ℝ) product_coordinates : letI : TopologicalSpace q.cover := q.cover_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.cover := q.cover_charted letI : IsManifold (𝓑 3) ∞ q.cover := q.cover_manifold βˆ€ x : q.product.surface Γ— ℝ, product_homeomorph (q.quotient_map x) = (Quotient.mk' (q.product.surface_sphere x.1), x.2) /-- The literal antipodal-times-reflection quotient. The reflection center is fixed, and the punctured standard RP3 model uses the same quotient carrier. -/ structure M24TwistedSphereLineCertificate {S : GradientShrinkingSolitonData 3 M} {G : ShrinkingSolitonFlow S} (q : QuotientSphereLineCertificate G) where center : ℝ involution_formula : letI : TopologicalSpace q.cover := q.cover_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.cover := q.cover_charted letI : IsManifold (𝓑 3) ∞ q.cover := q.cover_manifold letI : TopologicalSpace q.product.surface := q.product.surface_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 2)) q.product.surface := q.product.surface_charted βˆ€ x : q.product.surface Γ— ℝ, q.involution x = (q.product.surface_sphere.symm (-(q.product.surface_sphere x.1)), 2 * center - x.2) puncture : RealProjectiveThree projective_homeomorph : letI : TopologicalSpace q.quotient_carrier := q.quotient_topology q.quotient_carrier β‰ƒβ‚œ PuncturedRealProjectiveThree puncture projective_smooth_cover : letI : TopologicalSpace q.quotient_carrier := q.quotient_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.quotient_carrier := q.quotient_charted StandardPuncturedProjectiveCover q.quotient_carrier puncture Set.univ projective_coordinates : letI : TopologicalSpace q.quotient_carrier := q.quotient_topology letI : ChartedSpace (EuclideanSpace ℝ (Fin 3)) q.quotient_carrier := q.quotient_charted βˆ€ (x : UnitThreeSphere) (hx : Quotient.mk' x β‰  puncture), projective_homeomorph (projective_smooth_cover.cover x) = ⟨Quotient.mk' x, hx⟩ /-- M24 produces this dichotomy from every actual M20 quotient. -/ inductive M24QuotientNormalForm {S : GradientShrinkingSolitonData 3 M} {G : ShrinkingSolitonFlow S} (q : QuotientSphereLineCertificate G) : Type u where | projectivePlaneLine : M24ProjectivePlaneLineCertificate q β†’ M24QuotientNormalForm q | twistedSphereLine : M24TwistedSphereLineCertificate q β†’ M24QuotientNormalForm q /-- A fixed finite free SO(4) quotient realizing every negative-time slice. The round metric is exactly (-4t) times the unit three-sphere metric. -/ structure M24SphericalSpaceFormCertificate {S : GradientShrinkingSolitonData 3 M} (G : ShrinkingSolitonFlow S) where group : Type u group_finite : Fintype group group_structure : Group group representation : group β†’ Matrix (Fin 4) (Fin 4) ℝ representation_identity : representation 1 = (1 : Matrix (Fin 4) (Fin 4) ℝ) representation_comp : βˆ€ a b, representation (a * b) = representation a * representation b representation_orthogonal : βˆ€ a, Matrix.transpose (representation a) * representation a = (1 : Matrix (Fin 4) (Fin 4) ℝ) representation_orientation : βˆ€ a, Matrix.det (representation a) = 1 action : group β†’ UnitThreeSphere β†’ UnitThreeSphere action_identity : βˆ€ x, action 1 x = x action_comp : βˆ€ a b x, action (a * b) x = action a (action b x) action_representation : βˆ€ a x, (action a x).1 = Matrix.mulVec (representation a) x.1 action_free : βˆ€ a x, action a x = x β†’ a = 1 action_smooth : βˆ€ a, ContMDiff (𝓑 3) (𝓑 3) ∞ (action a) action_distance_preserving : βˆ€ a x y, dist (action a x) (action a y) = dist x y compact : CompactSpace M quotient_map : UnitThreeSphere β†’ M quotient_map_surjective : Function.Surjective quotient_map quotient_map_smooth : ContMDiff (𝓑 3) (𝓑 3) ∞ quotient_map quotient_map_local_diffeomorph : IsLocalDiffeomorph (𝓑 3) (𝓑 3) ∞ quotient_map quotient_fiber : βˆ€ x y : UnitThreeSphere, quotient_map x = quotient_map y ↔ βˆƒ a : group, action a x = y roundMetric : βˆ€ (_t : ℝ), RiemannianMetric 3 UnitThreeSphere roundConnection : βˆ€ t : ℝ, LeviCivitaData (roundMetric t) round : βˆ€ t : ℝ, t < 0 β†’ ConstantPositiveSectionalCurvature (roundMetric t) (roundConnection t) round_inner : βˆ€ t : ℝ, t < 0 β†’ βˆ€ x : UnitThreeSphere, βˆ€ v w : TangentSpace (𝓑 3) x, (roundMetric t).inner x v w = (-4 * t) * inner ℝ (mfderiv (𝓑 3) (𝓑 4) (fun y : UnitThreeSphere => y.1) x v) (mfderiv (𝓑 3) (𝓑 4) (fun y : UnitThreeSphere => y.1) x w) quotient_metric : βˆ€ (_t : ℝ), RiemannianMetric 3 M quotient_connection : βˆ€ t : ℝ, LeviCivitaData (quotient_metric t) quotient_metric_transport : βˆ€ t : ℝ, t < 0 β†’ βˆ€ x u v, (quotient_metric t).inner (quotient_map x) (mfderiv (𝓑 3) (𝓑 3) quotient_map x u) (mfderiv (𝓑 3) (𝓑 3) quotient_map x v) = (roundMetric t).inner x u v flow_metric_transport : βˆ€ t : ℝ, t < 0 β†’ βˆ€ x : M, βˆ€ u v, (G.flow.metric t).inner x u v = (quotient_metric t).inner x u v flow_connection_transport : βˆ€ t : ℝ, t < 0 β†’ βˆ€ x u v, (G.flow.connection t).sectionalCurvature x u v = (quotient_connection t).sectionalCurvature x u v /-- The three geometric inputs produced by M20. -/ inductive M24ModelInput {S : GradientShrinkingSolitonData 3 M} (G : ShrinkingSolitonFlow S) : Type (u + 2) where | compactRound : CompactRoundShrinkingModel G β†’ M24ModelInput G | sphereLine : SphereLineProductCertificate G β†’ M24ModelInput G | quotientSphereLine : QuotientSphereLineCertificate G β†’ M24ModelInput G /-- Forward the actual M20 branch with its soliton, flow and certificate. -/ def M24ModelInput.ofM20Model {S : GradientShrinkingSolitonData 3 M} {G : ShrinkingSolitonFlow S} (model : ThreeDimensionalSolitonModel S G) : M24ModelInput G := match model with | .compactRound certificate => .compactRound certificate | .sphereLine certificate => .sphereLine certificate | .quotientSphereLine certificate => .quotientSphereLine certificate /-- Refined models of the same shrinking flow. The quotient branch contains its produced projective-or-twisted normal form, not an applicability premise. -/ inductive RepairedKappaModelCertificate {S : GradientShrinkingSolitonData 3 M} (G : ShrinkingSolitonFlow S) : Type (u + 2) where | sphericalSpaceForm : M24SphericalSpaceFormCertificate G β†’ RepairedKappaModelCertificate G | sphereLine : SphereLineProductCertificate G β†’ RepairedKappaModelCertificate G | quotientSphereLine (q : QuotientSphereLineCertificate G) : M24QuotientFlowTransport q β†’ M24QuotientNormalForm q β†’ RepairedKappaModelCertificate G /-- Preserve the exact supplied product/quotient while producing refinements. -/ def M24CertificateMatches {S : GradientShrinkingSolitonData 3 M} {G : ShrinkingSolitonFlow S} (input : M24ModelInput G) (certificate : RepairedKappaModelCertificate G) : Prop := match input, certificate with | .compactRound _, .sphericalSpaceForm _ => True | .sphereLine model, .sphereLine certificate => certificate = model | .quotientSphereLine model, .quotientSphereLine certificate _ _ => certificate = model | _, _ => False end PoincareMT