import OAI.AlgebraicGeometry.AbelianVariety.AveragingDerivative import OAI.AlgebraicTopology.DeRham.Comparison.NormedManifoldPullback /-! # Log Derivative -/ namespace OAI.AlgebraicGeometry.AbelianVariety.LogDerivative.Constructions.ExteriorCohomology noncomputable section /-! # Smooth translation coefficients of pullbacks for ExteriorCohomology A smooth map into a Lie group has a smooth left logarithmic derivative. This identifies translated pullbacks with smooth invariant-frame coefficients and proves the joint continuity needed for period averaging. -/ open scoped _root_.Manifold ContDiff _root_.Topology open Set Filter variable {E G V : Type*} [NormedAddCommGroup E] [NormedSpace โ„ E] [NormedAddCommGroup V] [NormedSpace โ„ V] [Group G] [TopologicalSpace G] [ChartedSpace E G] [LieGroup ๐“˜(โ„, E) โˆž G] def leftLogDerivative (ฯƒ : V โ†’ G) (t : V) : V โ†’L[โ„] E := (mfderiv ๐“˜(โ„, E) ๐“˜(โ„, E) (fun h : G => (ฯƒ t)โปยน * h) (ฯƒ t)).comp (mfderiv ๐“˜(โ„, V) ๐“˜(โ„, E) ฯƒ t) theorem leftLogDerivative_inChart (ฯƒ : V โ†’ G) (hฯƒ : ContMDiff ๐“˜(โ„, V) ๐“˜(โ„, E) โˆž ฯƒ) (d : OpenPartialHomeomorph G E) (hd : d โˆˆ atlas E G) (h1 : (1 : G) โˆˆ d.source) (t : V) : leftLogDerivative (E := E) (G := G) ฯƒ t = (Analysis.DifferentialForms.Manifold.Charts.chartInverseTangentMap d (d 1)).comp (fderiv โ„ (fun w => d ((ฯƒ t)โปยน * ฯƒ w)) t) := by have hi : MDifferentiableAt ๐“˜(โ„, E) ๐“˜(โ„, E) (fun h : G => (ฯƒ t)โปยน * h) (ฯƒ t) := (contMDiff_mul_left (I := ๐“˜(โ„, E)) (n := โˆž)).mdifferentiableAt (by simp) have hs := hฯƒ.mdifferentiableAt (x := t) (by simp) have hm := mfderiv_comp (I := ๐“˜(โ„, V)) (I' := ๐“˜(โ„, E)) (I'' := ๐“˜(โ„, E)) t hi hs have hc : MDifferentiableAt ๐“˜(โ„, E) ๐“˜(โ„, E) d ((ฯƒ t)โปยน * ฯƒ t) := by rw [inv_mul_cancel] exact mdifferentiableAt_atlas hd h1 have hdt := mfderiv_comp (I := ๐“˜(โ„, V)) (I' := ๐“˜(โ„, E)) (I'' := ๐“˜(โ„, E)) t hc (hi.comp t hs) rw [mfderiv_eq_fderiv, hm] at hdt simp only [Function.comp_apply] at hdt rw [inv_mul_cancel] at hdt change fderiv โ„ (fun w => d ((ฯƒ t)โปยน * ฯƒ w)) t = (Analysis.DifferentialForms.Manifold.Charts.chartTangentMap d 1).comp (leftLogDerivative (E := E) (G := G) ฯƒ t) at hdt rw [hdt] ext v change leftLogDerivative (E := E) (G := G) ฯƒ t v = Analysis.DifferentialForms.Manifold.Charts.chartInverseTangentMap d (d 1) (Analysis.DifferentialForms.Manifold.Charts.chartTangentMap d 1 (leftLogDerivative (E := E) (G := G) ฯƒ t v)) exact (congrArg (fun L : E โ†’L[โ„] E => L (leftLogDerivative (E := E) (G := G) ฯƒ t v)) (Analysis.DifferentialForms.Manifold.Charts.chartInverseTangentMap_comp d hd h1)).symm theorem leftLogDerivative_contDiff (ฯƒ : V โ†’ G) (hฯƒ : ContMDiff ๐“˜(โ„, V) ๐“˜(โ„, E) โˆž ฯƒ) : ContDiff โ„ โˆž (leftLogDerivative (E := E) (G := G) ฯƒ) := by rw [contDiff_iff_contDiffAt] intro t let d := chartAt E (1 : G) have hd : d โˆˆ atlas E G := chart_mem_atlas E (1 : G) have h1 : (1 : G) โˆˆ d.source := mem_chart_source E (1 : G) have hm : ContMDiffAt ๐“˜(โ„, V ร— V) ๐“˜(โ„, E) โˆž (fun p : V ร— V => (ฯƒ p.1)โปยน * ฯƒ p.2) (t, t) := ((hฯƒ.contMDiffAt.comp (t, t) contDiffAt_fst.contMDiffAt).inv).mul (hฯƒ.contMDiffAt.comp (t, t) contDiffAt_snd.contMDiffAt) have hd' : ContMDiffAt ๐“˜(โ„, E) ๐“˜(โ„, E) โˆž d ((ฯƒ t)โปยน * ฯƒ t) := by rw [inv_mul_cancel] exact contMDiffAt_of_mem_maximalAtlas (IsManifold.subset_maximalAtlas hd) h1 have ht : ContDiffAt โ„ โˆž (fun p : V ร— V => d ((ฯƒ p.1)โปยน * ฯƒ p.2)) (t, t) := (hd'.comp (t, t) hm).contDiffAt have hder : ContDiffAt โ„ โˆž (fun z => fderiv โ„ (fun w => d ((ฯƒ z)โปยน * ฯƒ w)) z) t := ht.fderiv contDiffAt_id (by simp) let L : E โ†’L[โ„] E := Analysis.DifferentialForms.Manifold.Charts.chartInverseTangentMap d (d 1) have hL : ContDiffAt โ„ โˆž (fun _ : V => L) t := contDiffAt_const apply (hL.clm_comp hder).congr_of_eventuallyEq exact Eventually.of_forall (leftLogDerivative_inChart ฯƒ hฯƒ d hd h1) variable {n : โ„•} def translatedPullbackValue (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E G n) (ฯƒ : V โ†’ G) (g : G) (t : V) : V [โ‹€^Fin n]โ†’L[โ„] โ„‚ := (((form : Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm E G n).pullback (E := E) (fun h : G => g * h)).pullback (E := V) ฯƒ).toNormedSpace t theorem translatedPullbackValue_eq_coefficient (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E G n) (ฯƒ : V โ†’ G) (g : G) (t : V) : translatedPullbackValue form ฯƒ g t = (Averaging.Constructions.ExteriorCohomology.leftCoefficient form (g * ฯƒ t)).compContinuousLinearMap (leftLogDerivative (E := E) (G := G) ฯƒ t) := by change ((AveragingDerivative.Constructions.ExteriorCohomology.translatedValue form g (ฯƒ t)).compContinuousLinearMap (mfderiv ๐“˜(โ„, V) ๐“˜(โ„, E) ฯƒ t)).compContinuousLinearMap (NormedSpace.fromTangentSpace (๐•œ := โ„) t).symm.toContinuousLinearMap = _ rw [AveragingDerivative.Constructions.ExteriorCohomology.translatedValue_eq_coefficient] ext v rfl theorem translatedPullbackValue_continuous (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E G n) (ฯƒ : V โ†’ G) (hฯƒ : ContMDiff ๐“˜(โ„, V) ๐“˜(โ„, E) โˆž ฯƒ) : Continuous (fun p : G ร— V => translatedPullbackValue form ฯƒ p.1 p.2) := by let : IsTopologicalGroup G := topologicalGroup_of_lieGroup (I := ๐“˜(โ„, E)) (n := โˆž) have hc : Continuous (fun p : G ร— V => Averaging.Constructions.ExteriorCohomology.leftCoefficient form (p.1 * ฯƒ p.2)) := (Averaging.Constructions.ExteriorCohomology.leftCoefficient_contMDiff form).continuous.comp (continuous_fst.mul (hฯƒ.continuous.comp continuous_snd)) have hl : Continuous (fun p : G ร— V => leftLogDerivative (E := E) (G := G) ฯƒ p.2) := (leftLogDerivative_contDiff ฯƒ hฯƒ).continuous.comp continuous_snd have hL := ContinuousAlternatingMap.continuous_compContinuousLinearMapCLM (ฮน := Fin n) (๐•œ := โ„) (G := โ„‚) |>.comp hl exact (hL.clm_apply hc).congr (fun p => (translatedPullbackValue_eq_coefficient form ฯƒ p.1 p.2).symm) end end OAI.AlgebraicGeometry.AbelianVariety.LogDerivative.Constructions.ExteriorCohomology