import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleComparison import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ComparisonJets /-! # Single Comparison Jets -/ namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleComparisonJets.CM noncomputable section /-! All Taylor tensors of the retained source input agree with the native tensors through the exact Jacobi coordinate map. No projection or selected Taylor coefficient is used in this comparison. -/ open scoped Classical _root_.NumberField _root_.Matrix.Norms.Elementwise open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta open OAI.RepresentationTheory.Theta.Adelic.GeometricGaussians open OAI.RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz attribute [local instance] BallArithmetic.CM.directNativeRealNumberField variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} (d : Fin 2 → Gal(K/ℚ) → Bool) (Q : Lagrangians.CM.LagrangianPair K B places (fun j v => d j (places.representative v))) (hμ : ∀ j, d j (places.representative places.distinguished) = true) (j : Fin 2) (N : RepresentationTheory.Theta.Adelic.DataTheta.ComparisonData _ _ _ (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j)) (hN : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification N (SingleLineComponents.CM.directSingleLineFrames K Q j)) (hG : RepresentationTheory.Theta.Adelic.DataTheta.GeometryIdentification N) (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) (hL : L.coordinates.a = Q.a j ∧ L.coordinates.delta = Q.delta) include hG in theorem single_comparison_completed_theta_jets (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) (z : B.Domain) (a : ℕ) (v : Fin a → HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : let γ := SingleComparisonCoordinates.CM.singleComparisonSymplecticTransition K Q hμ j N hN L.coordinates hL let Z := L.period z.val iteratedFDeriv ℂ a (RepresentationTheory.Theta.Adelic.DataTheta.completedTheta N (SingleComparison.CM.singleComparisonFiniteInput K Q hμ j N hN L.coordinates hL φ) (N.period (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).matrix) 0 (fun i j => (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).jacobiChange Z (v i) ((SingleLineFrame.CM.sourceSingleIndexEquiv K places).symm j)) = IndexedCovariance.CM.indexedThetaMultiplier γ Z * iteratedFDeriv ℂ a (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ Z) 0 v := by let γ := SingleComparisonCoordinates.CM.singleComparisonSymplecticTransition K Q hμ j N hN L.coordinates hL let Z := L.period z.val let Ψ := IndexedCovariance.CM.indexedFiniteOscillatorInput γ φ let W := N.period (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) let v' := fun i => (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).jacobiChange Z (v i) have hn := ComparisonJets.CM.comparison_input_completed_theta_jets N (ReindexTheta.CM.finiteInputReindex (SingleLineFrame.CM.sourceSingleIndexEquiv K places) Ψ) W a (fun i j => v' i ((SingleLineFrame.CM.sourceSingleIndexEquiv K places).symm j)) have hr := SourceIntrinsicComparison.CM.reindexed_completed_theta_jets (SingleLineFrame.CM.sourceSingleIndexEquiv K places) Ψ W a v' have hp := congrArg (fun U => iteratedFDeriv ℂ a (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed Ψ U) 0 v') (SingleComparisonPeriod.CM.single_comparison_period_transform K d Q hμ j N hN hG L hL z) have hi := IndexedCovariance.CM.indexed_completed_jet_covariance γ φ Z a v exact hn.trans (hr.trans (hp.trans hi)) include hG in theorem single_comparison_completed_tensor (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) (z₀ z : B.Domain) (a : ℕ) (v : Fin a → HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : let γ := SingleComparisonCoordinates.CM.singleComparisonSymplecticTransition K Q hμ j N hN L.coordinates hL let Z := L.period z.val RepresentationTheory.Theta.Adelic.DataTheta.completedTensor N (SingleComparison.CM.singleComparisonFiniteInput K Q hμ j N hN L.coordinates hL φ) a (N.period (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).matrix (fun i j => (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).jacobiChange Z (v i) ((SingleLineFrame.CM.sourceSingleIndexEquiv K places).symm j)) = ((Nat.factorial a : ℂ)⁻¹) * (SingleComparisonHalfRatio.CM.singleComparisonHalfRatio K d Q hμ j N hN L hL z₀ * (N.halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * (L.halfDet z.val : ℂ))) * iteratedFDeriv ℂ a (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ Z) 0 v := by dsimp only have ht := single_comparison_completed_theta_jets K d Q hμ j N hN hG L hL φ z a v have hm := SingleComparison.CM.single_comparison_multiplier_factor K d Q hμ j N hN hG L hL z₀ z have he := ht.trans (congrArg (fun c => c * iteratedFDeriv ℂ a (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ (L.period z.val)) 0 v) hm) have h := congrArg (fun c : ℂ => ((Nat.factorial a : ℂ)⁻¹) * c) he simpa only [RepresentationTheory.Theta.Adelic.DataTheta.completedTensor, _root_.smul_apply, smul_eq_mul, mul_assoc] using! h end end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleComparisonJets.CM