import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceOneCovariance import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceDescent /-! # Source Ball Covariance -/ namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceBallCovariance.CM noncomputable section /-! ThetaCycle: the source cotangent identity is the pullback identity for the actual smooth manifold one-form on the ball. -/ open scoped Classical _root_.Manifold ContDiff open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM theorem open_inclusion_mfderiv {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (U : TopologicalSpace.Opens E) (x : U) : mfderiv π“˜(ℝ, E) π“˜(ℝ, E) (Subtype.val : U β†’ E) x = ContinuousLinearMap.id ℝ E := by change mfderiv π“˜(ℝ, E) π“˜(ℝ, E) (chartAt E x) x = _ rw [mfderiv_chartAt_eq_tangentCoordChange (mem_chart_source E x)] apply ContinuousLinearMap.ext intro ΞΎ exact tangentCoordChange_self (I := π“˜(ℝ, E)) (x := x) (z := x) (v := ΞΎ) (mem_extChartAt_source x) variable (K : IntermediateField β„š β„‚) [NumberField K] [NumberField.IsCMField K] (B : HeckeCycles.GeometricSource.CM.BallDatum K) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : βˆ€ x y, HeckeCycles.GeometricSource.CM.hermitian K B.b (g x) (g y) = HeckeCycles.GeometricSource.CM.hermitian K B.b x y) theorem ball_principal_action_mfderiv (z : B.Domain) : mfderiv π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) (BallLineAction.CM.ballPrincipalAction K B g hg) z = (fderiv β„‚ (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g) z.val).restrictScalars ℝ := by have hu : ContMDiff π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) ∞ (Subtype.val : B.Domain β†’ HeckeCycles.GeometricSource.CM.BallChart) := contMDiff_subtype_val have hball := (BallLineAction.CM.ball_principal_action_smooth K B g hg).mdifferentiableAt (by simp) (x := z) have hf : DifferentiableAt β„‚ (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g) z.val := (BallLineAction.CM.ball_line_action_holomorphic K B g hg z.val z.property).differentiableAt (B.domain_isOpen.mem_nhds z.property) have hfr := hf.restrictScalars ℝ have he : (Subtype.val : B.Domain β†’ HeckeCycles.GeometricSource.CM.BallChart) ∘ BallLineAction.CM.ballPrincipalAction K B g hg = HeckeCycles.GeometricSource.CM.BallDatum.lineAction g ∘ (Subtype.val : B.Domain β†’ HeckeCycles.GeometricSource.CM.BallChart) := rfl have hleft := mfderiv_comp z (hu.mdifferentiableAt (by simp)) hball have hright := mfderiv_comp z hfr.mdifferentiableAt (hu.mdifferentiableAt (by simp)) change mfderiv π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) ((Subtype.val : B.Domain β†’ HeckeCycles.GeometricSource.CM.BallChart) ∘ BallLineAction.CM.ballPrincipalAction K B g hg) z = _ at hleft rw [he, hright, open_inclusion_mfderiv, open_inclusion_mfderiv] at hleft have hder : fderiv ℝ (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g) z.val = mfderiv π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) (BallLineAction.CM.ballPrincipalAction K B g hg) z := by simpa only [ContinuousLinearMap.id_comp, ContinuousLinearMap.comp_id, mfderiv_eq_fderiv] using! hleft exact hder.symm.trans (hf.hasFDerivAt.restrictScalars ℝ).fderiv variable {B} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Gal(K/β„š) β†’ Bool} (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) theorem source_ball_pullback_of_cotangent (Ο† Ξ¨ : HeckeCycles.GeometricSource.CM.FiniteInput (HeckeCycles.GeometricSource.CM.Positions K places)) (h : βˆ€ (z : B.Domain) (ΞΎ : HeckeCycles.GeometricSource.CM.BallChart), HeckeCycles.GeometricSource.CM.thetaOneForm K L Ξ¨ (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g z.val) (fderiv β„‚ (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g) z.val ΞΎ) = HeckeCycles.GeometricSource.CM.thetaOneForm K L Ο† z.val ΞΎ) : (BallForms.CM.sourceBallOneForm K L Ξ¨).val.pullback (BallLineAction.CM.ballPrincipalAction K B g hg) = (BallForms.CM.sourceBallOneForm K L Ο†).val := by funext z apply ContinuousAlternatingMap.ext intro v have hv : v = fun _ : Fin 1 => v 0 := funext (fun i => congrArg v (Subsingleton.elim i 0)) rw [hv] change (BallForms.CM.sourceBallOneForm K L Ξ¨).val (BallLineAction.CM.ballPrincipalAction K B g hg z) (fun _ : Fin 1 => mfderiv π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) (BallLineAction.CM.ballPrincipalAction K B g hg) z (v 0)) = _ calc _ = HeckeCycles.GeometricSource.CM.thetaOneForm K L Ξ¨ (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g z.val) (mfderiv π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) (BallLineAction.CM.ballPrincipalAction K B g hg) z (v 0)) := by simpa only using! SourceDescent.CM.source_ball_one_apply K L Ξ¨ (BallLineAction.CM.ballPrincipalAction K B g hg z) (mfderiv π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) π“˜(ℝ, HeckeCycles.GeometricSource.CM.BallChart) (BallLineAction.CM.ballPrincipalAction K B g hg) z (v 0)) _ = HeckeCycles.GeometricSource.CM.thetaOneForm K L Ο† z.val (v 0) := by rw [ball_principal_action_mfderiv] exact h z (v 0) _ = _ := by simpa only using! (SourceDescent.CM.source_ball_one_apply K L Ο† z (v 0)).symm variable [IsGalois β„š K] theorem exists_source_ball_covariant_input (hdet : LinearMap.det g.toLinearMap = 1) (Ο† : HeckeCycles.GeometricSource.CM.FiniteInput (HeckeCycles.GeometricSource.CM.Positions K places)) : βˆƒ Ξ¨ : HeckeCycles.GeometricSource.CM.FiniteInput (HeckeCycles.GeometricSource.CM.Positions K places), (BallForms.CM.sourceBallOneForm K L Ξ¨).val.pullback (BallLineAction.CM.ballPrincipalAction K B g hg) = (BallForms.CM.sourceBallOneForm K L Ο†).val := by obtain ⟨Ψ, hΨ⟩ := SourceOneCovariance.CM.exists_source_one_covariant_input K g hdet L hg Ο† exact ⟨Ψ, source_ball_pullback_of_cotangent K g hg L Ο† Ξ¨ hΨ⟩ end end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceBallCovariance.CM