import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialLocal import Mathlib.Geometry.Manifold.VectorBundle.Basic /-! # Exponential Smooth -/ namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialSmooth.Constructions.Exponential noncomputable section /-! # DegreeTwo: smoothness of the constructed exponential The invariant vector field is smooth because it is obtained by differentiating group multiplication. The integral-curve equation then improves the curve's regularity one derivative at a time. The finite-coordinate exponential formula transfers that smoothness to the exponential itself. -/ open _root_.Manifold open scoped _root_.Manifold ContDiff _root_.Topology variable {E G : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [TopologicalSpace G] [ChartedSpace E G] [Group G] [LieGroup (π“˜(ℝ, E)) ∞ G] local instance : LieGroup (π“˜(ℝ, E)) (minSmoothness ℝ 3) G := by rw [minSmoothness_of_isRCLikeNormedField] infer_instance set_option backward.defeqAttrib.useBackward true in set_option backward.isDefEq.respectTransparency false in /-- The actual invariant field is smooth to every order. -/ theorem invariant_contMDiff (v : GroupLieAlgebra (π“˜(ℝ, E)) G) : ContMDiff (π“˜(ℝ, E)) (π“˜(ℝ, E)).tangent ∞ (fun g => (mulInvariantVectorField v g : TangentBundle (π“˜(ℝ, E)) G)) := by let I := π“˜(ℝ, E) let fg : G β†’ TangentBundle I G := fun g => Bundle.TotalSpace.mk' E g 0 have sfg : ContMDiff I I.tangent ∞ fg := Bundle.contMDiff_zeroSection _ _ let fv : G β†’ TangentBundle I G := fun _ => Bundle.TotalSpace.mk' E 1 v have sfv : ContMDiff I I.tangent ∞ fv := contMDiff_const let F₁ : G β†’ TangentBundle I G Γ— TangentBundle I G := fun g => (fg g, fv g) have S₁ : ContMDiff I (I.tangent.prod I.tangent) ∞ F₁ := sfg.prodMk sfv let Fβ‚‚ : TangentBundle I G Γ— TangentBundle I G β†’ TangentBundle (I.prod I) (G Γ— G) := (equivTangentBundleProd I G I G).symm have Sβ‚‚ : ContMDiff (I.tangent.prod I.tangent) (I.prod I).tangent ∞ Fβ‚‚ := contMDiff_equivTangentBundleProd_symm let F₃ : TangentBundle (I.prod I) (G Γ— G) β†’ TangentBundle I G := tangentMap (I.prod I) I (fun p : G Γ— G => p.1 * p.2) have S₃ : ContMDiff (I.prod I).tangent I.tangent ∞ F₃ := by apply ContMDiff.contMDiff_tangentMap _ (m := ∞) le_rfl simpa using contMDiff_mul I (n := ∞) (G := G) let S := (S₃.comp Sβ‚‚).comp S₁ convert! S with g Β· simp [F₁, Fβ‚‚, F₃, fg, fv] Β· simp only [Function.comp_apply, tangentMap, F₃, Fβ‚‚, F₁, fg, fv] rw [mfderiv_prod_eq_add_apply ((contMDiff_mul I (n := ∞) (G := G)).mdifferentiableAt (by simp))] simp +instances [mulInvariantVectorField, I] variable [CompleteSpace E] [T2Space G] /-- The integral-curve equation inductively supplies every finite derivative. -/ theorem curve_contMDiff_nat (v : GroupLieAlgebra (π“˜(ℝ, E)) G) (n : β„•) : ContMDiff (π“˜(ℝ, ℝ)) (π“˜(ℝ, E)) n (ExponentialM.Constructions.Exponential.curve v) := by induction n with | zero => exact contMDiff_zero_iff.mpr (ExponentialM.Constructions.Exponential.curve_continuous v) | succ n ih => intro tβ‚€ let S : ℝ β†’ TangentBundle (π“˜(ℝ, E)) G := fun t => ⟨ExponentialM.Constructions.Exponential.curve v t, mulInvariantVectorField v (ExponentialM.Constructions.Exponential.curve v t)⟩ let T := trivializationAt E (TangentSpace (π“˜(ℝ, E))) (ExponentialM.Constructions.Exponential.curve v tβ‚€) let U : Set ℝ := S ⁻¹' T.source let Ο† : ℝ β†’ E := fun t => (T (S t)).2 have hS : ContMDiff (π“˜(ℝ, ℝ)) (π“˜(ℝ, E)).tangent n S := ((invariant_contMDiff v).of_le (ENat.natCast_le_of_coe_top_le_withTop le_rfl n)).comp ih have hU : IsOpen U := T.open_source.preimage hS.continuous have htβ‚€ : tβ‚€ ∈ U := by change S tβ‚€ ∈ T.source simp [T, S, TangentBundle.trivializationAt_source] have hΟ† : ContDiffAt ℝ n Ο† tβ‚€ := ((T.contMDiffAt_iff htβ‚€).mp (hS tβ‚€)).2.contDiffAt have hder (t : ℝ) (ht : t ∈ U) : HasDerivAt (extChartAt (π“˜(ℝ, E)) (ExponentialM.Constructions.Exponential.curve v tβ‚€) ∘ ExponentialM.Constructions.Exponential.curve v) (Ο† t) t := by have hsrc : ExponentialM.Constructions.Exponential.curve v t ∈ (extChartAt (π“˜(ℝ, E)) (ExponentialM.Constructions.Exponential.curve v tβ‚€)).source := by simpa only [U, S, T, Set.mem_preimage, TangentBundle.trivializationAt_source, extChartAt_source] using ht exact (((ExponentialM.Constructions.Exponential.curve_integral v).isMIntegralCurveOn Set.univ).hasDerivWithinAt (tβ‚€ := tβ‚€) (Set.mem_univ t) hsrc).hasDerivAt Filter.univ_mem have hchart : ContDiffAt ℝ (n + 1) (extChartAt (π“˜(ℝ, E)) (ExponentialM.Constructions.Exponential.curve v tβ‚€) ∘ ExponentialM.Constructions.Exponential.curve v) tβ‚€ := by apply contDiffAt_succ_iff_hasFDerivAt.mpr refine ⟨fun t => (1 : ℝ β†’L[ℝ] ℝ).smulRight (Ο† t), ⟨U, hU.mem_nhds htβ‚€, fun t ht => (hder t ht).hasFDerivAt⟩, ?_⟩ exact (ContinuousLinearMap.smulRightL ℝ ℝ E (1 : ℝ β†’L[ℝ] ℝ)).contDiff.contDiffAt.comp tβ‚€ hΟ† exact contMDiffAt_iff_target.mpr ⟨(ExponentialM.Constructions.Exponential.curve_continuous v).continuousAt, hchart.contMDiffAt⟩ theorem curve_contMDiff (v : GroupLieAlgebra (π“˜(ℝ, E)) G) : ContMDiff (π“˜(ℝ, ℝ)) (π“˜(ℝ, E)) ∞ (ExponentialM.Constructions.Exponential.curve v) := contMDiff_infty.mpr (curve_contMDiff_nat v) variable {C : Type*} [TopologicalSpace C] [ChartedSpace E C] [CommGroup C] [LieGroup (π“˜(ℝ, E)) ∞ C] [T2Space C] /-- The constructed exponential is smooth in all tangent directions. -/ theorem expMap_contMDiff [FiniteDimensional ℝ E] : ContMDiff (π“˜(ℝ, E)) (π“˜(ℝ, E)) ∞ (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C)) := by let b := Module.finBasis ℝ E have he : ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) = fun x => ∏ i, ExponentialM.Constructions.Exponential.curve (G := C) (show GroupLieAlgebra (π“˜(ℝ, E)) C from b i) (b.repr x i) := funext (ExponentialM.Constructions.Exponential.expMap_basis b) rw [he] apply ContMDiff.prod intro i _ exact (curve_contMDiff (G := C) (show GroupLieAlgebra (π“˜(ℝ, E)) C from b i)).comp (b.coord i).toContinuousLinearMap.contDiff.contMDiff end end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialSmooth.Constructions.Exponential