import OAI.RepresentationTheory.Theta.Geometric.Dual.TensorPointDiagram import OAI.RepresentationTheory.Theta.Geometric.Dual.TensorLocalHolomorphic import OAI.RepresentationTheory.Theta.Geometric.Dual.SectionEvaluation import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DualOpen.Lifts import Mathlib.CategoryTheory.Monoidal.Cartesian.Over /-! # Affine Base Change Chart -/ namespace OAI.RepresentationTheory.Theta.Geometric.Dual.AffineBaseChangeChart noncomputable section section /-! The tensor chart for a native affine base change evaluates at exactly the actual constant dual-number point, including both projections. -/ open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory open scoped TensorProduct _root_.Manifold def dualConstantPoint (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) (p : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚ ⟢ AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚ βŠ— X := lift (πŸ™ _) (toUnit _ ≫ p) theorem dualConstantPoint_natural {X Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟢ Y) (p : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : dualConstantPoint X p ≫ (πŸ™ (AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚) βŠ—β‚˜ f) = dualConstantPoint Y (p ≫ f) := by apply CartesianMonoidalCategory.hom_ext <;> simp [dualConstantPoint] theorem dualTensorPoint_constant {A : Type} [CommRing A] [Algebra β„‚ A] (p : A →ₐ[β„‚] β„‚) : TensorPointDiagram.dualTensorPoint p ≫ (pullbackSpecIso β„‚ (DualNumber β„‚) A).inv = (dualConstantPoint (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver β„‚ A) (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv A p)).left := by apply pullback.hom_ext Β· exact (Category.assoc _ _ _).trans ((TensorPointDiagram.dualTensorPoint_first p).trans (congrArg Over.Hom.left (lift_fst (πŸ™ (AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚)) (toUnit (AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚) ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv A p))).symm) Β· have H := TensorPointDiagram.dualTensorPoint_second p have hp : Spec.map (CommRingCat.ofHom ((Algebra.ofId β„‚ (DualNumber β„‚)).comp p).toRingHom) = (toUnit (AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚) ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv A p).left := by change Spec.map (CommRingCat.ofHom ((algebraMap β„‚ (DualNumber β„‚)).comp p.toRingHom)) = _ exact Spec.map_comp (CommRingCat.ofHom p.toRingHom) (CommRingCat.ofHom (algebraMap β„‚ (DualNumber β„‚))) exact (Category.assoc _ _ _).trans (H.trans (hp.trans (congrArg Over.Hom.left (lift_snd (πŸ™ (AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚)) (toUnit (AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚) ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv A p))).symm)) def dualAffineBaseChangeChart (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] : Spec (.of (DualNumber β„‚ βŠ—[β„‚] Ξ“(X.left, ⊀))) ⟢ (AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚ βŠ— X).left := (pullbackSpecIso β„‚ (DualNumber β„‚) Ξ“(X.left, ⊀)).inv ≫ (πŸ™ (AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚) βŠ—β‚˜ (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).inv).left theorem dualAffineBaseChangeChart_point (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] (p : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : TensorPointDiagram.dualTensorPoint (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X p) ≫ dualAffineBaseChangeChart X = (dualConstantPoint X p).left := by have H := congrArg (fun f => f ≫ (πŸ™ (AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚) βŠ—β‚˜ (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).inv).left) (dualTensorPoint_constant (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X p)) have hn := congrArg Over.Hom.left (dualConstantPoint_natural (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).inv (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv Ξ“(X.left, ⊀) (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X p))) have hp : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv Ξ“(X.left, ⊀) (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X p) ≫ (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).inv = p := (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X).symm_apply_apply p exact (Category.assoc _ _ _).symm.trans (H.trans (hn.trans (congrArg (fun q => (dualConstantPoint X q).left) hp))) end /-! Actual regular functions on the native affine base change have holomorphic constant and infinitesimal coefficients along period maps. -/ open _root_.CategoryTheory _root_.AlgebraicGeometry open _root_.CategoryTheory.MonoidalCategory open scoped TensorProduct _root_.Manifold theorem dualConstantPoint_sectionValue (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] (p : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (s : Ξ“((AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚ βŠ— X).left, ⊀)) : SectionEvaluation.dualGlobalSectionValue (dualConstantPoint X p).left s = TensorEvaluation.dualTensorEvaluation (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X p) ((Scheme.Ξ“SpecIso (.of (DualNumber β„‚ βŠ—[β„‚] Ξ“(X.left, ⊀)))).hom ((dualAffineBaseChangeChart X).appTop s)) := by have H := congrArg (fun f => SectionEvaluation.dualGlobalSectionValue f s) (dualAffineBaseChangeChart_point X p) exact H.symm.trans ((SectionEvaluation.dualGlobalSectionValue_pullback _ (dualAffineBaseChangeChart X) s).trans (SectionEvaluation.dualGlobalSectionValue_spec _ ((dualAffineBaseChangeChart X).appTop s))) theorem dualConstantPoint_sectionValue_differentiableAt {V : Type*} [NormedAddCommGroup V] [NormedSpace β„‚ V] (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] [IsIntegral X.left] [Smooth X.hom] (p : V β†’ AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (z : V) (hp : MDifferentiableAt (π“˜(β„‚, V)) (π“˜(β„‚, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) β†’ β„‚)) p z) (s : Ξ“((AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest β„‚ βŠ— X).left, ⊀)) : CoefficientHolomorphic.DualCoefficientDifferentiableAt (fun w => SectionEvaluation.dualGlobalSectionValue (dualConstantPoint X (p w)).left s) z := by have heq := funext (fun w => dualConstantPoint_sectionValue X (p w) s) rw [heq] exact TensorLocalHolomorphic.nativeDualTensorEvaluation_coefficients_differentiableAt X p z hp _ end end OAI.RepresentationTheory.Theta.Geometric.Dual.AffineBaseChangeChart