Download data/lean/OAI/AlgebraicGeometry/ComplexMultiplication/CMComparisonTo.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 14.5 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexMultiplication/CMComparisonTo.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/ComplexMultiplication/CMComparisonTo.lean
-
curl -L -o CMComparisonTo.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexMultiplication/CMComparisonTo.lean
14.5 kB
| import OAI.AlgebraicGeometry.ComplexMultiplication.Definitions | |
| import Mathlib.LinearAlgebra.Basis.VectorSpace | |
| import Mathlib.LinearAlgebra.TensorProduct.Basis | |
| /-! # CM Comparison To -/ | |
| namespace OAI.AlgebraicGeometry.ComplexMultiplication.CMComparisonTo | |
| noncomputable section | |
| open scoped OAI.AlgebraicGeometry.Hodge.Filtration.ComplexPoint | |
| /-! | |
| # Coefficient maps for the CM comparison | |
| Rational coefficients are a direct summand of complex coefficients as rational | |
| vector spaces. The resulting retraction on constant sheaf complexes proves | |
| injectivity of the rational-to-de Rham comparison. | |
| -/ | |
| open _root_.CategoryTheory _root_.AlgebraicGeometry ComplexPoint | |
| open scoped TensorProduct | |
| variable (X : Over (Spec β§β)) | |
| /-- Put a constant additive coefficient sheaf in degree zero. -/ | |
| def coefficientComplexFunctor : | |
| AddCommGrpCat β₯€ CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) β€ := | |
| AlgebraicTopology.Sheaf.Constant.TopCat.constantFunctor β§(ComplexPoint.Basic.ComplexSchemePoint X) β | |
| CochainComplex.singleβ (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) β | |
| ComplexShape.embeddingUpNat.extendFunctor (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) | |
| /-- A rational-linear retraction of the canonical coefficient inclusion. -/ | |
| def rationalCoefficientRetraction : β ββ[β] β := | |
| (Algebra.linearMap β β).leftInverse | |
| theorem rationalCoefficientRetraction_algebraMap (q : β) : | |
| rationalCoefficientRetraction (algebraMap β β q) = q := by | |
| exact LinearMap.leftInverse_apply_of_inj | |
| (LinearMap.ker_eq_bot.mpr (RingHom.injective (algebraMap β β))) q | |
| /-- Retraction from the complex constant sheaf complex to the rational one. -/ | |
| def rationalCoefficientComplexRetraction : | |
| ComplexPoint.Basic.ComplexSchemePoint.constantFieldSheafComplexInt β X βΆ ComplexPoint.Basic.ComplexSchemePoint.constantFieldSheafComplexInt β X := | |
| (coefficientComplexFunctor X).map | |
| (AddCommGrpCat.ofHom rationalCoefficientRetraction.toAddMonoidHom) | |
| theorem rationalCoefficientComplex_leftInverse : | |
| ComplexPoint.Basic.ComplexSchemePoint.fieldToComplexConstantSheafComplexInt β X β« | |
| rationalCoefficientComplexRetraction X = π _ := by | |
| change (coefficientComplexFunctor X).map | |
| (AddCommGrpCat.ofHom (algebraMap β β).toAddMonoidHom) β« | |
| (coefficientComplexFunctor X).map | |
| (AddCommGrpCat.ofHom rationalCoefficientRetraction.toAddMonoidHom) = π _ | |
| rw [β Functor.map_comp] | |
| have h : AddCommGrpCat.ofHom (algebraMap β β).toAddMonoidHom β« | |
| AddCommGrpCat.ofHom rationalCoefficientRetraction.toAddMonoidHom = π _ := by | |
| ext q | |
| exact rationalCoefficientRetraction_algebraMap q | |
| rw [h] | |
| exact CategoryTheory.Functor.map_id _ _ | |
| theorem hypercohomologyMap_id_apply | |
| (K : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) β€) (n : β€) | |
| (z : ComplexPoint.Basic.ComplexSchemePoint.Hypercohomology X K n) : | |
| ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (π K) n z = z := by | |
| exact Localization.SmallShiftedHom.comp_mkβ_id _ _ _ | |
| theorem rationalToComplexHypercohomology_injective (n : β€) : | |
| Function.Injective | |
| (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.fieldToComplexConstantSheafComplexInt β X) n) := by | |
| apply Function.LeftInverse.injective | |
| (g := ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (rationalCoefficientComplexRetraction X) n) | |
| intro z | |
| rw [β ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap_comp_apply, | |
| rationalCoefficientComplex_leftInverse, hypercohomologyMap_id_apply] | |
| /-- An arbitrary rational coordinate functional on the complex coefficients. -/ | |
| def coefficientFunctionalComplex (r : β ββ[β] β) : | |
| ComplexPoint.Basic.ComplexSchemePoint.constantFieldSheafComplexInt β X βΆ ComplexPoint.Basic.ComplexSchemePoint.constantFieldSheafComplexInt β X := | |
| (coefficientComplexFunctor X).map (AddCommGrpCat.ofHom r.toAddMonoidHom) | |
| theorem coefficientFunctionalComplex_scalar (r : β ββ[β] β) (c : β) : | |
| ComplexPoint.Basic.ComplexSchemePoint.fieldToComplexConstantSheafComplexInt β X β« | |
| ComplexPoint.Basic.ComplexSchemePoint.complexScalarComplexInt X c β« coefficientFunctionalComplex X r = | |
| ComplexPoint.Basic.ComplexSchemePoint.fieldScalarComplex β X (r c) := by | |
| change (coefficientComplexFunctor X).map | |
| (AddCommGrpCat.ofHom (algebraMap β β).toAddMonoidHom) β« | |
| (coefficientComplexFunctor X).map | |
| (AddCommGrpCat.ofHom (AddMonoidHom.mulLeft c)) β« | |
| (coefficientComplexFunctor X).map (AddCommGrpCat.ofHom r.toAddMonoidHom) = | |
| (coefficientComplexFunctor X).map | |
| (AddCommGrpCat.ofHom (AddMonoidHom.mulLeft (r c))) | |
| rw [β CategoryTheory.Functor.map_comp, β CategoryTheory.Functor.map_comp] | |
| congr 1 | |
| ext q | |
| change r (c * algebraMap β β q) = r c * q | |
| calc | |
| r (c * algebraMap β β q) = r (q β’ c) := by | |
| congr 1 | |
| simp [Algebra.smul_def, mul_comm] | |
| _ = q β’ r c := r.map_smul q c | |
| _ = r c * q := by simp [smul_eq_mul, mul_comm] | |
| variable [IsIntegral X.left] [Smooth X.hom] | |
| /-- The canonical rational-to-de Rham comparison has no rational kernel. -/ | |
| theorem rationalToDeRham_injective (n : β) : | |
| Function.Injective (ComplexPoint.Basic.ComplexSchemePoint.fieldToDeRhamCohomologyLinear β X n) := by | |
| have hC : Function.Injective | |
| (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplexInt X) (n : β€)) := | |
| (ComplexPoint.Basic.ComplexSchemePoint.complexConstantCohomologyDeRhamEquiv X (n : β€)).injective | |
| intro a b hab | |
| apply (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology β X n).symm.injective | |
| apply rationalToComplexHypercohomology_injective X (n : β€) | |
| apply hC | |
| change ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X | |
| (ComplexPoint.Basic.ComplexSchemePoint.fieldToHolomorphicDeRhamComplexInt β X) (n : β€) | |
| ((ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology β X n).symm a) = | |
| ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X | |
| (ComplexPoint.Basic.ComplexSchemePoint.fieldToHolomorphicDeRhamComplexInt β X) (n : β€) | |
| ((ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology β X n).symm b) at hab | |
| change ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X | |
| (ComplexPoint.Basic.ComplexSchemePoint.fieldToComplexConstantSheafComplexInt β X β« | |
| ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplexInt X) (n : β€) | |
| ((ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology β X n).symm a) = | |
| ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X | |
| (ComplexPoint.Basic.ComplexSchemePoint.fieldToComplexConstantSheafComplexInt β X β« | |
| ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplexInt X) (n : β€) | |
| ((ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology β X n).symm b) at hab | |
| simpa only [ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap_comp_apply] using hab | |
| /-- Scalar extension on a pure tensor is the geometric comparison times its scalar. -/ | |
| theorem h1Comparison_tmul (c : β) (v : H^1(X; β)) : | |
| Definitions.h1Comparison X (c ββ[β] v) = | |
| c β’ ComplexPoint.Basic.ComplexSchemePoint.fieldToDeRhamCohomologyLinear β X 1 v := by | |
| simp [Definitions.h1Comparison, Algebra.lsmul_apply] | |
| theorem h1Comparison_complex_smul (c : β) (z : β β[β] H^1(X; β)) : | |
| Definitions.h1Comparison X (c β’ z) = c β’ Definitions.h1Comparison X z := by | |
| induction z using TensorProduct.inductionOn with | |
| | tmul d v => | |
| change Definitions.h1Comparison X ((c * d) ββ[β] v) = | |
| c β’ Definitions.h1Comparison X (d ββ[β] v) | |
| rw [h1Comparison_tmul X, h1Comparison_tmul X, mul_smul] | |
| | add x y hx hy => simp [smul_add, hx, hy] | |
| /-- The original scalar-extension comparison, with its complex linearity exposed. -/ | |
| def h1ComparisonComplex : β β[β] H^1(X; β) ββ[β] H_dR^1(X) where | |
| toFun := Definitions.h1Comparison X | |
| map_add' := (Definitions.h1Comparison X).map_add | |
| map_smul' := h1Comparison_complex_smul X | |
| theorem complexComparison_scalar (n : β€) (c : β) | |
| (v : ComplexPoint.Basic.ComplexSchemePoint.ComplexConstantCohomology X n) : | |
| ComplexPoint.Basic.ComplexSchemePoint.complexConstantCohomologyDeRhamAddEquiv X n | |
| (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.complexScalarComplexInt X c) n v) = | |
| c β’ ComplexPoint.Basic.ComplexSchemePoint.complexConstantCohomologyDeRhamAddEquiv X n v := by | |
| change ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplexInt X) n | |
| (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.complexScalarComplexInt X c) n v) = | |
| c β’ ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplexInt X) n v | |
| rw [β ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap_comp_apply, | |
| β ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplexInt_scalar, | |
| ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap_comp_apply, ComplexPoint.Basic.ComplexSchemePoint.deRham_complex_smul_eq] | |
| theorem complexComparison_symm_scalar (n : β€) (c : β) (v : H_dR^n(X)) : | |
| (ComplexPoint.Basic.ComplexSchemePoint.complexConstantCohomologyDeRhamAddEquiv X n).symm (c β’ v) = | |
| ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.complexScalarComplexInt X c) n | |
| ((ComplexPoint.Basic.ComplexSchemePoint.complexConstantCohomologyDeRhamAddEquiv X n).symm v) := by | |
| apply (ComplexPoint.Basic.ComplexSchemePoint.complexConstantCohomologyDeRhamAddEquiv X n).injective | |
| rw [AddEquiv.apply_symm_apply, complexComparison_scalar, AddEquiv.apply_symm_apply] | |
| theorem complexComparison_symm_rational (n : β) (v : H^n(X; β)) : | |
| (ComplexPoint.Basic.ComplexSchemePoint.complexConstantCohomologyDeRhamAddEquiv X (n : β€)).symm | |
| (ComplexPoint.Basic.ComplexSchemePoint.fieldToDeRhamCohomologyLinear β X n v) = | |
| ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.fieldToComplexConstantSheafComplexInt β X) (n : β€) | |
| ((ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology β X n).symm v) := by | |
| apply (ComplexPoint.Basic.ComplexSchemePoint.complexConstantCohomologyDeRhamAddEquiv X (n : β€)).injective | |
| rw [AddEquiv.apply_symm_apply] | |
| change ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X | |
| (ComplexPoint.Basic.ComplexSchemePoint.fieldToComplexConstantSheafComplexInt β X β« | |
| ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplexInt X) (n : β€) | |
| ((ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology β X n).symm v) = _ | |
| exact ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap_comp_apply X _ _ _ _ | |
| /-- Extract a rational coefficient after the genuine complex de Rham comparison. -/ | |
| def deRhamCoefficientFunctional (r : β ββ[β] β) (n : β) : | |
| H_dR^(n : β€)(X) β+ H^n(X; β) := | |
| (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology β X n).toAddMonoidHom.comp | |
| ((ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (coefficientFunctionalComplex X r) (n : β€)).comp | |
| (ComplexPoint.Basic.ComplexSchemePoint.complexConstantCohomologyDeRhamAddEquiv X (n : β€)).symm.toAddMonoidHom) | |
| theorem deRhamCoefficientFunctional_scalar_rational (r : β ββ[β] β) | |
| (n : β) (c : β) (v : H^n(X; β)) : | |
| deRhamCoefficientFunctional X r n | |
| (c β’ ComplexPoint.Basic.ComplexSchemePoint.fieldToDeRhamCohomologyLinear β X n v) = r c β’ v := by | |
| change (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology β X n) | |
| (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (coefficientFunctionalComplex X r) (n : β€) | |
| ((ComplexPoint.Basic.ComplexSchemePoint.complexConstantCohomologyDeRhamAddEquiv X (n : β€)).symm | |
| (c β’ ComplexPoint.Basic.ComplexSchemePoint.fieldToDeRhamCohomologyLinear β X n v))) = r c β’ v | |
| rw [complexComparison_symm_scalar, complexComparison_symm_rational, | |
| β ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap_comp_apply, β ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap_comp_apply, | |
| coefficientFunctionalComplex_scalar, | |
| β ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology_symm_smul, AddEquiv.apply_symm_apply] | |
| /-- Contract the scalar factor of a tensor using a rational linear functional. -/ | |
| def tensorCoefficient (r : β ββ[β] β) : | |
| β β[β] H^1(X; β) ββ[β] H^1(X; β) := | |
| (TensorProduct.lid β H^1(X; β)).toLinearMap.comp (r.rTensor H^1(X; β)) | |
| theorem deRhamCoefficientFunctional_h1Comparison (r : β ββ[β] β) | |
| (z : β β[β] H^1(X; β)) : | |
| deRhamCoefficientFunctional X r 1 (Definitions.h1Comparison X z) = tensorCoefficient X r z := by | |
| induction z using TensorProduct.inductionOn with | |
| | tmul c v => | |
| rw [h1Comparison_tmul, deRhamCoefficientFunctional_scalar_rational] | |
| simp [tensorCoefficient] | |
| | add x y hx hy => simp [hx, hy] | |
| /-- The original scalar-extension map is injective, without a CM hypothesis. -/ | |
| theorem h1Comparison_injective : Function.Injective (Definitions.h1Comparison X) := by | |
| classical | |
| apply LinearMap.ker_eq_bot.mp | |
| apply (LinearMap.ker (Definitions.h1Comparison X)).eq_bot_iff.mpr | |
| intro z hz | |
| have hzero : Definitions.h1Comparison X z = 0 := hz | |
| have hc (r : β ββ[β] β) : tensorCoefficient X r z = 0 := by | |
| rw [β deRhamCoefficientFunctional_h1Comparison, hzero, map_zero] | |
| let b := Module.Free.chooseBasis β β | |
| apply (TensorProduct.equivFinsuppOfBasisLeft b).injective | |
| ext i | |
| rw [TensorProduct.equivFinsuppOfBasisLeft_apply] | |
| simpa [tensorCoefficient] using hc (b.coord i) | |
| end | |
| end OAI.AlgebraicGeometry.ComplexMultiplication.CMComparisonTo | |