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.InjectiveChainDual |
| 2 | import OAI.AlgebraicTopology.Singular.CohomologyTo |
| 3 | |
| 4 | /-! # Singular Cochain Bridge -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.SingularCochainBridge |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # The two genuine singular-cochain constructions |
| 11 | |
| 12 | Evaluation on actual singular chains identifies opposite-category cochains with |
| 13 | the original framework's linear-dual cochains, including their pullback maps. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | |
| 18 | variable (R : Type) [CommRing R] |
| 19 | |
| 20 | /-- Evaluation identifies the unchanged cochain complexes in every degree. -/ |
| 21 | def singularCochainBridgeIso (X : TopCat.{0}) : |
| 22 | AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of R R) X ≅ |
| 23 | AlgebraicTopology.Singular.CohomologyTo.SingularCochainComplex R X := |
| 24 | HomologicalComplex.Hom.isoOfComponents |
| 25 | (fun n => (AlgebraicTopology.Cohomology.Singular.ChainDual.singularDegreewiseChainDualEquiv |
| 26 | (ModuleCat.of R R) X n).toModuleIso) |
| 27 | (by |
| 28 | intro i j _ |
| 29 | apply ModuleCat.hom_ext |
| 30 | ext c : 1 |
| 31 | change (AlgebraicTopology.Cohomology.Singular.ChainDual.degreewiseChainDualEquiv |
| 32 | (TopCat.toSSet.obj X) (ModuleCat.of R R) i c).comp |
| 33 | ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := R) X).d j i).hom = |
| 34 | AlgebraicTopology.Cohomology.Singular.ChainDual.degreewiseChainDualEquiv |
| 35 | (TopCat.toSSet.obj X) (ModuleCat.of R R) j |
| 36 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of R R) X).d i j c) |
| 37 | exact (AlgebraicTopology.Cohomology.Singular.ChainDual.degreewiseChainDualEquiv_d |
| 38 | (TopCat.toSSet.obj X) (ModuleCat.of R R) i j c).symm) |
| 39 | |
| 40 | /-- The comparison intertwines the actual pullback maps on cochains. -/ |
| 41 | theorem singularCochainBridgeIso_naturality {X Y : TopCat.{0}} (f : X ⟶ Y) : |
| 42 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of R R) f ≫ |
| 43 | (singularCochainBridgeIso R X).hom = |
| 44 | (singularCochainBridgeIso R Y).hom ≫ AlgebraicTopology.Singular.CohomologyTo.singularCochainComplexMap R f := by |
| 45 | apply HomologicalComplex.hom_ext |
| 46 | intro n |
| 47 | apply ModuleCat.hom_ext |
| 48 | ext c : 1 |
| 49 | exact AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.degreewiseChainDualEquiv_pullback |
| 50 | (ModuleCat.of R R) (TopCat.toSSet.map f) n c |
| 51 | |
| 52 | /-- The induced comparison on actual singular cohomology, without finiteness assumptions. -/ |
| 53 | def singularCohomologyBridgeEquiv (X : TopCat.{0}) (n : ℕ) : |
| 54 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X n ≃ₗ[R] |
| 55 | AlgebraicTopology.Singular.CohomologyTo.Cohomology R X n := |
| 56 | ((HomologicalComplex.homologyFunctor (ModuleCat R) (ComplexShape.up ℕ) n).mapIso |
| 57 | (singularCochainBridgeIso R X)).toLinearEquiv |
| 58 | |
| 59 | /-- Equality of the induced pullbacks on cohomology. -/ |
| 60 | theorem singularCohomologyBridgeEquiv_naturality {X Y : TopCat.{0}} |
| 61 | (f : X ⟶ Y) (n : ℕ) |
| 62 | (c : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) Y n) : |
| 63 | singularCohomologyBridgeEquiv R X n |
| 64 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of R R) f n c) = |
| 65 | AlgebraicTopology.Singular.CohomologyTo.cohomologyMap R n f (singularCohomologyBridgeEquiv R Y n c) := by |
| 66 | have h := congrArg (fun g => HomologicalComplex.homologyMap g n) |
| 67 | (singularCochainBridgeIso_naturality R f) |
| 68 | rw [HomologicalComplex.homologyMap_comp, HomologicalComplex.homologyMap_comp] at h |
| 69 | exact ConcreteCategory.congr_hom h c |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.ComplexMultiplication.SingularCochainBridge |