import OAI.ArithmeticGeometry.Descent.CMVariety.LocalExponentialFamily import Mathlib.Analysis.SpecificLimits.Basic /-! # Exponential Scaling -/ namespace OAI.ArithmeticGeometry.Descent.CMVariety.ExponentialScaling.Abelian noncomputable section /-! Rescale the constructed time-dependent exponential to time one, then extend its continuity to arbitrary tangent velocities using continuous power maps on the total space. -/ open Set _root_.Metric Filter open scoped _root_.Manifold ContDiff _root_.Topology NNReal section OneFiber variable {E V G : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup V] [NormedSpace ℝ V] [TopologicalSpace G] [ChartedSpace E G] [Group G] [LieGroup (π“˜(ℝ, E)) ∞ G] omit [LieGroup (π“˜(ℝ, E)) ∞ G] in theorem chartVelocity_smul (c : OpenPartialHomeomorph G V) (a : ℝ) (v : V) : ExponentialChartODE.Abelian.chartVelocity (E := E) c (a β€’ v) = a β€’ ExponentialChartODE.Abelian.chartVelocity (E := E) c v := by exact map_smul (mfderiv (π“˜(ℝ, V)) (π“˜(ℝ, E)) c.symm 0) a v variable [CompleteSpace E] [T2Space G] theorem exp_nat_smul (v : GroupLieAlgebra (π“˜(ℝ, E)) G) (n : β„•) : AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp ((n : ℝ) β€’ v) = AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp v ^ n := by rw [AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp_smul] induction n with | zero => simp only [Nat.cast_zero, AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.curve_zero, pow_zero] | succ n hn => rw [Nat.cast_succ, AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.curve_add, hn, pow_succ] rfl end OneFiber variable {P V X : Type} [NormedAddCommGroup P] [NormedAddCommGroup V] [NormedSpace ℝ V] [TopologicalSpace X] (E G : P β†’ Type) [βˆ€ p, NormedAddCommGroup (E p)] [βˆ€ p, NormedSpace ℝ (E p)] [βˆ€ p, CompleteSpace (E p)] [βˆ€ p, TopologicalSpace (G p)] [βˆ€ p, ChartedSpace (E p) (G p)] [βˆ€ p, Group (G p)] [βˆ€ p, LieGroup (π“˜(ℝ, E p)) ∞ (G p)] [βˆ€ p, T2Space (G p)] /-- A positive time slice and scalar reparametrization give continuity of the actual time-one exponential on an open tangent neighborhood. -/ theorem exists_open_exponential_neighborhood (c : βˆ€ p, OpenPartialHomeomorph (G p) V) (embed : βˆ€ p, G p β†’ X) (pβ‚€ : P) (r : ℝβ‰₯0) (hr : 0 < r) (Ξ΅ : ℝ) (hΞ΅ : 0 < Ξ΅) (hcont : ContinuousOn (fun z : (P Γ— V) Γ— ℝ => embed z.1.1 (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E z.1.1) (z.2 β€’ ExponentialChartODE.Abelian.chartVelocity (E := E z.1.1) (c z.1.1) z.1.2))) (closedBall (pβ‚€, (0 : V)) r Γ—Λ’ Ioo (-Ξ΅) Ξ΅)) : βˆƒ U : Set (P Γ— V), IsOpen U ∧ (pβ‚€, (0 : V)) ∈ U ∧ ContinuousOn (fun q : P Γ— V => embed q.1 (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) q.2))) U := by let t := Ξ΅ / 2 have ht : 0 < t := half_pos hΞ΅ have htΞ΅ : t ∈ Ioo (-Ξ΅) Ξ΅ := by constructor <;> dsimp [t] <;> linarith let scale : P Γ— V β†’ P Γ— V := fun q => (q.1, t⁻¹ β€’ q.2) have hscale : Continuous scale := continuous_fst.prodMk (continuous_const.smul continuous_snd) let U := scale ⁻¹' ball (pβ‚€, (0 : V)) (r : ℝ) have hU : IsOpen U := isOpen_ball.preimage hscale have hcenter : (pβ‚€, (0 : V)) ∈ U := by change (pβ‚€, t⁻¹ β€’ (0 : V)) ∈ ball (pβ‚€, 0) (r : ℝ) simpa only [smul_zero, mem_ball, dist_self] using (show (0 : ℝ) < r from hr) have hc : ContinuousOn (fun q : P Γ— V => embed q.1 (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (t β€’ ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) (t⁻¹ β€’ q.2)))) U := hcont.comp (hscale.prodMk continuous_const).continuousOn (fun _ hq => ⟨ball_subset_closedBall hq, htΡ⟩) refine ⟨U, hU, hcenter, hc.congr ?_⟩ intro q _ dsimp only rw [chartVelocity_smul (E := E q.1), smul_smul, mul_inv_cancelβ‚€ (ne_of_gt ht), one_smul] /-- Continuous algebraic power maps extend exponential continuity from a neighborhood of zero to every tangent velocity over the central base. -/ theorem continuousAt_exponential_of_power_maps (c : βˆ€ p, OpenPartialHomeomorph (G p) V) (embed : βˆ€ p, G p β†’ X) (power : β„• β†’ X β†’ X) (hpower : βˆ€ n, Continuous (power n)) (hcompat : βˆ€ n p (g : G p), power n (embed p g) = embed p (g ^ n)) (pβ‚€ : P) (U : Set (P Γ— V)) (hU : IsOpen U) (hcenter : (pβ‚€, (0 : V)) ∈ U) (hcont : ContinuousOn (fun q : P Γ— V => embed q.1 (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) q.2))) U) (vβ‚€ : V) : ContinuousAt (fun q : P Γ— V => embed q.1 (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) q.2))) (pβ‚€, vβ‚€) := by have hlim : Tendsto (fun n : β„• => (pβ‚€, ((n : ℝ) + 1)⁻¹ β€’ vβ‚€)) atTop (𝓝 (pβ‚€, (0 : V))) := by have h := (tendsto_one_div_add_atTop_nhds_zero_nat (π•œ := ℝ)).smul_const vβ‚€ simpa only [one_div, zero_smul] using tendsto_const_nhds.prodMk_nhds h obtain ⟨n, hn⟩ := (hlim.eventually (hU.mem_nhds hcenter)).exists change (pβ‚€, ((n : ℝ) + 1)⁻¹ β€’ vβ‚€) ∈ U at hn let k := n + 1 have hk : (k : ℝ) β‰  0 := by exact_mod_cast (Nat.succ_ne_zero n) have hmem : (pβ‚€, (k : ℝ)⁻¹ β€’ vβ‚€) ∈ U := by simpa only [k, Nat.cast_add, Nat.cast_one] using hn have hscale : Continuous (fun q : P Γ— V => (q.1, (k : ℝ)⁻¹ β€’ q.2)) := continuous_fst.prodMk (continuous_const.smul continuous_snd) have hlocal := (hcont.continuousAt (hU.mem_nhds hmem)).comp (f := fun q : P Γ— V => (q.1, (k : ℝ)⁻¹ β€’ q.2)) (x := (pβ‚€, vβ‚€)) hscale.continuousAt have heq (q : P Γ— V) : power k (embed q.1 (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) ((k : ℝ)⁻¹ β€’ q.2)))) = embed q.1 (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) q.2)) := by rw [hcompat, ← exp_nat_smul, chartVelocity_smul, smul_smul, mul_inv_cancelβ‚€ hk, one_smul] have hfinal := (hpower k).continuousAt.comp hlocal apply hfinal.congr_of_eventuallyEq exact Eventually.of_forall (fun q => (heq q).symm) end end OAI.ArithmeticGeometry.Descent.CMVariety.ExponentialScaling.Abelian