Download data/lean/OAI/AlgebraicGeometry/ComplexMultiplication/CohomologyBaseChange.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 11.8 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexMultiplication/CohomologyBaseChange.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/ComplexMultiplication/CohomologyBaseChange.lean
-
curl -L -o CohomologyBaseChange.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexMultiplication/CohomologyBaseChange.lean
11.8 kB
| import OAI.AlgebraicGeometry.ComplexMultiplication.Coefficient.Duality | |
| import OAI.AlgebraicGeometry.ComplexMultiplication.Coefficient.CoefficientRestriction | |
| import Mathlib.RingTheory.TensorProduct.Basic | |
| import Mathlib.RingTheory.TensorProduct.IsBaseChangeHom | |
| /-! # Cohomology Base Change -/ | |
| namespace OAI.AlgebraicGeometry.ComplexMultiplication.CohomologyBaseChange.CM | |
| noncomputable section | |
| /-! | |
| # Complexifying actual rational singular cohomology | |
| When rational cohomology is finite dimensional, the canonical rational to | |
| complex coefficient map spans ordinary complex cohomology. The argument | |
| uses evaluation on an actual finite homology basis, with the existing | |
| scalar-restriction comparison and coefficient maps throughout. | |
| -/ | |
| open _root_.CategoryTheory | |
| open scoped TensorProduct | |
| /-- A coefficient map sending `1` to `a` becomes `a` times the rational | |
| coefficient inclusion in ordinary complex singular cohomology. -/ | |
| theorem complexCohomologyRestrictionIso_coefficient_span (a : β) | |
| (X : TopCat.{0}) (n : β) | |
| (c : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n) : | |
| (AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCohomologyRestrictionIso X n).hom | |
| (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap (ModuleCat.ofHom (LinearMap.toSpanSingleton β β a)) X n c) = | |
| a β’ AlgebraicTopology.Cohomology.Singular.RationalComplex.rationalToComplexCohomology X n c := by | |
| have h : (ModuleCat.ofHom (LinearMap.toSpanSingleton β β a) : | |
| ModuleCat.of β β βΆ ModuleCat.of β β) = | |
| ModuleCat.ofHom AlgebraicTopology.Cohomology.Singular.RationalRetraction.rationalInclusion β« | |
| ModuleCat.ofHom ((a β’ LinearMap.id : β ββ[β] β).restrictScalars β) := by | |
| apply ModuleCat.hom_ext | |
| apply LinearMap.ext | |
| intro q | |
| change q β’ a = a * (q : β) | |
| rw [Algebra.smul_def, mul_comm] | |
| rfl | |
| rw [h, AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap_comp, ConcreteCategory.comp_apply, | |
| Coefficient.CoefficientRestriction.CM.complexCohomologyRestrictionIso_scalar] | |
| rfl | |
| local instance (X : TopCat.{0}) (n : β) : | |
| Module β (AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n) := | |
| Module.compHom _ (algebraMap β β) | |
| local instance (X : TopCat.{0}) (n : β) : | |
| IsScalarTower β β (AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n) := | |
| IsScalarTower.of_compHom β β _ | |
| /-- The canonical coefficient-extension map, with no chosen comparison data. -/ | |
| def singularCohomologyComplexification (X : TopCat.{0}) (n : β) : | |
| β β[β] AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n ββ[β] | |
| AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n := | |
| (AlgebraicTopology.Cohomology.Singular.RationalComplex.rationalToComplexCohomology X n).hom.liftBaseChange β | |
| theorem singularCohomologyComplexification_tmul (X : TopCat.{0}) (n : β) | |
| (a : β) (c : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n) : | |
| singularCohomologyComplexification X n (a ββ[β] c) = | |
| a β’ AlgebraicTopology.Cohomology.Singular.RationalComplex.rationalToComplexCohomology X n c := rfl | |
| /-- Evaluate ordinary complex cohomology on rational homology, using the | |
| canonical scalar-restriction isomorphism and vector-valued evaluation. -/ | |
| def evaluateComplexOnRationalHomology (X : TopCat.{0}) (n : β) : | |
| AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n ββ[β] | |
| ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := β) X).homology n ββ[β] β) := | |
| (AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of β β) X n).comp | |
| (AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCohomologyRestrictionIso X n).inv.hom | |
| /-- On scalar multiples of rational classes this is the expected pairing. -/ | |
| theorem evaluateComplexOnRationalHomology_smul_rational (X : TopCat.{0}) (n : β) | |
| (a : β) (c : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n) | |
| (z : (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := β) X).homology n) : | |
| evaluateComplexOnRationalHomology X n (a β’ AlgebraicTopology.Cohomology.Singular.RationalComplex.rationalToComplexCohomology X n c) z = | |
| (AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of β β) X n c z) β’ a := by | |
| have h := complexCohomologyRestrictionIso_coefficient_span a X n c | |
| have hi := congrArg (AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCohomologyRestrictionIso X n).inv h | |
| have hi' : (AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCohomologyRestrictionIso X n).inv | |
| (a β’ AlgebraicTopology.Cohomology.Singular.RationalComplex.rationalToComplexCohomology X n c) = | |
| AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap (ModuleCat.ofHom (LinearMap.toSpanSingleton β β a)) X n c := by | |
| exact hi.symm.trans ((AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCohomologyRestrictionIso X n).toLinearEquiv.symm_apply_apply _) | |
| change AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of β β) X n | |
| ((AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCohomologyRestrictionIso X n).inv | |
| (a β’ AlgebraicTopology.Cohomology.Singular.RationalComplex.rationalToComplexCohomology X n c)) z = _ | |
| rw [hi', AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularEvaluation_coefficient] | |
| rfl | |
| /-- Finite-dimensional universal coefficients, followed by the base change | |
| of the linear dual, gives the perfect pairing with rational homology. -/ | |
| def complexifiedEvaluationEquiv (X : TopCat.{0}) (n : β) | |
| [Module.Finite β (AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n)] : | |
| β β[β] AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n ββ[β] | |
| ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := β) X).homology n ββ[β] β) := by | |
| let : Module.Finite β ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := β) X).homology n) := | |
| Coefficient.Duality.CM.finite_homology_of_finite_cohomology X n | |
| exact (LinearEquiv.baseChange β β _ _ (AlgebraicTopology.Cohomology.Singular.UniversalCoefficient.singularUniversalCoefficientEquiv X n)).trans | |
| (IsBaseChange.linearMapRightBaseChangeEquiv _ (IsBaseChange.linearMap β β)) | |
| theorem complexifiedEvaluationEquiv_tmul (X : TopCat.{0}) (n : β) | |
| [Module.Finite β (AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n)] | |
| (a : β) (c : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n) | |
| (z : (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := β) X).homology n) : | |
| complexifiedEvaluationEquiv X n (a ββ[β] c) z = | |
| (AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of β β) X n c z) β’ a := by | |
| change a * algebraMap β β (AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of β β) X n c z) = _ | |
| rw [Algebra.smul_def, mul_comm] | |
| /-- Evaluation intertwines the actual cohomology coefficient map and | |
| base change of its rational evaluation pairing. -/ | |
| theorem evaluateComplexOnRationalHomology_complexification (X : TopCat.{0}) (n : β) | |
| [Module.Finite β (AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n)] | |
| (x : β β[β] AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n) : | |
| evaluateComplexOnRationalHomology X n (singularCohomologyComplexification X n x) = | |
| complexifiedEvaluationEquiv X n x := by | |
| induction x using TensorProduct.inductionOn with | |
| | add x y hx hy => simp only [map_add, hx, hy] | |
| | tmul a c => | |
| ext z | |
| rw [singularCohomologyComplexification_tmul, | |
| evaluateComplexOnRationalHomology_smul_rational, complexifiedEvaluationEquiv_tmul] | |
| /-- The canonical extension has no kernel. This proof uses evaluation, | |
| independently of any decomposition into Hodge types. -/ | |
| theorem singularCohomologyComplexification_injective (X : TopCat.{0}) (n : β) | |
| [Module.Finite β (AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n)] : | |
| Function.Injective (singularCohomologyComplexification X n) := by | |
| intro x y h | |
| apply (complexifiedEvaluationEquiv X n).injective | |
| rw [β evaluateComplexOnRationalHomology_complexification, | |
| β evaluateComplexOnRationalHomology_complexification, h] | |
| /-- Finite-dimensional rational cohomology supplies all ordinary complex | |
| classes by the canonical extension of coefficients. -/ | |
| theorem singularCohomologyComplexification_surjective (X : TopCat.{0}) (n : β) | |
| [Module.Finite β (AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n)] : | |
| Function.Surjective (singularCohomologyComplexification X n) := by | |
| let : Module.Finite β ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := β) X).homology n) := | |
| Coefficient.Duality.CM.finite_homology_of_finite_cohomology X n | |
| let b := Module.finBasis β ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := β) X).homology n) | |
| intro z | |
| let c := (AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCohomologyRestrictionIso X n).inv z | |
| let v (i : Fin (Module.finrank β ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := β) X).homology n))) := | |
| (AlgebraicTopology.Cohomology.Singular.UniversalCoefficient.singularUniversalCoefficientEquiv X n).symm (b.coord i) | |
| let a (i : Fin (Module.finrank β ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := β) X).homology n))) := | |
| AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of β β) X n c (b i) | |
| refine β¨β i, a i ββ[β] v i, ?_β© | |
| have hc := Coefficient.Duality.CM.coefficient_expansion_in_homology_basis (ModuleCat.of β β) X n b c | |
| have hz := congrArg (AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCohomologyRestrictionIso X n).hom hc | |
| have hcz : (AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCohomologyRestrictionIso X n).hom c = z := | |
| (AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCohomologyRestrictionIso X n).toLinearEquiv.apply_symm_apply z | |
| rw [hcz] at hz | |
| rw [map_sum] at hz | |
| simp only [complexCohomologyRestrictionIso_coefficient_span] at hz | |
| simpa only [map_sum, singularCohomologyComplexification_tmul, a, v] using! hz.symm | |
| /-- Extension of coefficients is an isomorphism whenever rational | |
| cohomology in the specified degree is finite dimensional. -/ | |
| def singularCohomologyComplexificationEquiv (X : TopCat.{0}) (n : β) | |
| [Module.Finite β (AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n)] : | |
| β β[β] AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n ββ[β] | |
| AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of β β) X n := | |
| LinearEquiv.ofBijective (singularCohomologyComplexification X n) | |
| β¨singularCohomologyComplexification_injective X n, | |
| singularCohomologyComplexification_surjective X nβ© | |
| end | |
| end OAI.AlgebraicGeometry.ComplexMultiplication.CohomologyBaseChange.CM | |