Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicTopology.Cohomology.Singular.RationalComplex |
| 2 | |
| 3 | /-! # Concrete Rational Coefficient Cochains -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.ConcreteRationalCoefficientCochains |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # Actual rational-to-complex coefficients on genuine singular cochains |
| 10 | |
| 11 | Scalar restriction retains evaluation on every continuous singular simplex. |
| 12 | The cochain map below induces the existing rational-to-complex cohomology map. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | open scoped Simplicial |
| 17 | |
| 18 | open OAI.AlgebraicTopology.Cohomology.Singular.RationalComplex |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false in |
| 21 | /-- Restricting scalars leaves the value on each actual singular simplex unchanged. -/ |
| 22 | theorem singularCochainsRestriction_hom_evaluation |
| 23 | {R S : Type} [CommRing R] [CommRing S] (f : R →+* S) |
| 24 | (M : ModuleCat.{0} S) (Y : TopCat.{0}) {n : ℕ} (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices Y n) : |
| 25 | (AlgebraicTopology.Cohomology.Singular.Chains.singularCochainsRestrictScalarsIso f M Y).hom.f n ≫ |
| 26 | AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj Y) |
| 27 | ((ModuleCat.restrictScalars f).obj M) s = |
| 28 | (ModuleCat.restrictScalars f).map |
| 29 | (AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj Y) M s) := by |
| 30 | exact congrArg Quiver.Hom.unop |
| 31 | (ι_comp_sigmaComparison (ModuleCat.restrictScalars f).op |
| 32 | (fun _ : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices Y n => op M) s) |
| 33 | |
| 34 | set_option backward.isDefEq.respectTransparency false in |
| 35 | /-- The inverse restriction comparison also retains each simplex value. -/ |
| 36 | theorem singularCochainsRestriction_inv_evaluation |
| 37 | {R S : Type} [CommRing R] [CommRing S] (f : R →+* S) |
| 38 | (M : ModuleCat.{0} S) (Y : TopCat.{0}) {n : ℕ} (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices Y n) : |
| 39 | (AlgebraicTopology.Cohomology.Singular.Chains.singularCochainsRestrictScalarsIso f M Y).inv.f n ≫ |
| 40 | (ModuleCat.restrictScalars f).map |
| 41 | (AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj Y) M s) = |
| 42 | AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj Y) |
| 43 | ((ModuleCat.restrictScalars f).obj M) s := by |
| 44 | rw [← singularCochainsRestriction_hom_evaluation f M Y s, ← Category.assoc] |
| 45 | have h := congrArg (fun k => k.f n) |
| 46 | (AlgebraicTopology.Cohomology.Singular.Chains.singularCochainsRestrictScalarsIso f M Y).inv_hom_id |
| 47 | simp only [HomologicalComplex.comp_f, HomologicalComplex.id_f] at h |
| 48 | rw [h, Category.id_comp] |
| 49 | |
| 50 | /-- The literal coefficient inclusion, followed by the actual scalar-restriction comparison. -/ |
| 51 | def actualRationalToComplexCochainMap (Y : TopCat.{0}) : |
| 52 | AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) Y ⟶ |
| 53 | ((ModuleCat.restrictScalars (algebraMap ℚ ℂ)).mapHomologicalComplex |
| 54 | (ComplexShape.up ℕ)).obj (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℂ ℂ) Y) := |
| 55 | AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap (ModuleCat.ofHom AlgebraicTopology.Cohomology.Singular.RationalRetraction.rationalInclusion) Y ≫ |
| 56 | AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCoefficientsRestrictionIso.hom Y ≫ |
| 57 | (AlgebraicTopology.Cohomology.Singular.Chains.singularCochainsRestrictScalarsIso (algebraMap ℚ ℂ) (ModuleCat.of ℂ ℂ) Y).inv |
| 58 | |
| 59 | set_option backward.isDefEq.respectTransparency false in |
| 60 | /-- This coefficient inclusion casts the rational value on every simplex into ℂ. -/ |
| 61 | theorem actualRationalToComplexCochainMap_evaluation (Y : TopCat.{0}) |
| 62 | {n : ℕ} (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices Y n) : |
| 63 | (actualRationalToComplexCochainMap Y).f n ≫ |
| 64 | (ModuleCat.restrictScalars (algebraMap ℚ ℂ)).map |
| 65 | (AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj Y) (ModuleCat.of ℂ ℂ) s) = |
| 66 | AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj Y) (ModuleCat.of ℚ ℚ) s ≫ |
| 67 | ModuleCat.ofHom AlgebraicTopology.Cohomology.Singular.RationalRetraction.rationalInclusion ≫ AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCoefficientsRestrictionIso.hom := by |
| 68 | simp only [actualRationalToComplexCochainMap, HomologicalComplex.comp_f, Category.assoc] |
| 69 | rw [singularCochainsRestriction_inv_evaluation] |
| 70 | rw [AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap_evaluation, |
| 71 | ← Category.assoc, AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap_evaluation] |
| 72 | exact Category.assoc _ _ _ |
| 73 | |
| 74 | set_option backward.isDefEq.respectTransparency false in |
| 75 | /-- The induced cohomology map is the existing ordinary rational-to-complex map. -/ |
| 76 | theorem actualRationalToComplexCochainMap_homology (Y : TopCat.{0}) (n : ℕ) : |
| 77 | HomologicalComplex.homologyMap (actualRationalToComplexCochainMap Y) n ≫ |
| 78 | (((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℂ ℂ) Y).sc n).mapHomologyIso |
| 79 | (ModuleCat.restrictScalars (algebraMap ℚ ℂ))).hom = |
| 80 | AlgebraicTopology.Cohomology.Singular.RationalComplex.rationalToComplexCohomology Y n := by |
| 81 | simp only [actualRationalToComplexCochainMap, HomologicalComplex.homologyMap_comp, |
| 82 | AlgebraicTopology.Cohomology.Singular.RationalComplex.rationalToComplexCohomology, AlgebraicTopology.Cohomology.Singular.RationalInjection.rationalComplexCoefficientMap, AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap, |
| 83 | AlgebraicTopology.Cohomology.Singular.RationalComplex.complexCohomologyRestrictionIso, AlgebraicTopology.Cohomology.Singular.Chains.singularCohomologyRestrictScalarsIso, |
| 84 | Functor.mapIso_hom, Iso.trans_hom, Iso.symm_hom, Category.assoc] |
| 85 | rfl |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.ComplexMultiplication.ConcreteRationalCoefficientCochains |