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.AlgebraicGeometry.ComplexMultiplication.CMComparisonTo |
| 2 | import OAI.AlgebraicGeometry.Cohomology.SingularComparison |
| 3 | import OAI.Algebra.Homology.Notation |
| 4 | |
| 5 | /-! # Scalars -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.Coefficient.Scalars |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # Scalar maps on the actual singular-cochain resolution -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits OAI.AlgebraicTopology.Singular _root_.AlgebraicGeometry ComplexPoint |
| 14 | |
| 15 | variable (R : Type) [CommRing R] (Y : TopCat.{0}) (q : R) |
| 16 | |
| 17 | /-- Multiply the values of every original singular cochain by the given coefficient. -/ |
| 18 | def singularCochainPresheafScalar (n : ℕ) : |
| 19 | AlgebraicTopology.Singular.SheafCochain.singularCochainPresheaf R Y n ⟶ AlgebraicTopology.Singular.SheafCochain.singularCochainPresheaf R Y n where |
| 20 | app U := AddCommGrpCat.ofHom |
| 21 | (DistribSMul.toAddMonoidHom (AlgebraicTopology.Singular.SheafCochain.OpenCochains R Y U n) q) |
| 22 | naturality {U V} i := by |
| 23 | apply AddCommGrpCat.hom_ext |
| 24 | ext φ |
| 25 | change AlgebraicTopology.Singular.SheafCochain.OpenCochains R Y U n at φ |
| 26 | apply LinearMap.ext |
| 27 | intro c |
| 28 | rfl |
| 29 | |
| 30 | /-- Scalar multiplication commutes with the original singular coboundary. -/ |
| 31 | def singularCochainPresheafComplexScalar : |
| 32 | AlgebraicTopology.Singular.SheafCochain.singularCochainPresheafComplex R Y ⟶ AlgebraicTopology.Singular.SheafCochain.singularCochainPresheafComplex R Y where |
| 33 | f n := singularCochainPresheafScalar R Y q n |
| 34 | comm' i j hij := by |
| 35 | obtain rfl := hij |
| 36 | rw [AlgebraicTopology.Singular.SheafCochain.singularCochainPresheafComplex_d] |
| 37 | apply NatTrans.ext |
| 38 | funext U |
| 39 | apply AddCommGrpCat.hom_ext |
| 40 | ext φ |
| 41 | change AlgebraicTopology.Singular.SheafCochain.OpenCochains R Y U i at φ |
| 42 | apply LinearMap.ext |
| 43 | intro c |
| 44 | rfl |
| 45 | |
| 46 | /-- Sheafification of the same scalar chain map. -/ |
| 47 | def singularCochainSheafComplexScalar : |
| 48 | AlgebraicTopology.Singular.SheafCochain.singularCochainSheafComplex R Y ⟶ AlgebraicTopology.Singular.SheafCochain.singularCochainSheafComplex R Y := |
| 49 | ((presheafToSheaf (Opens.grothendieckTopology Y) AddCommGrpCat).mapHomologicalComplex |
| 50 | (ComplexShape.up ℕ)).map |
| 51 | (singularCochainPresheafComplexScalar R Y q) |
| 52 | |
| 53 | /-- The scalar map on the original integer-indexed singular-cochain sheaf complex. -/ |
| 54 | def singularCochainSheafComplexIntScalar (X : Over (Spec ↧ℂ)) : |
| 55 | ComplexPoint.Basic.ComplexSchemePoint.singularCochainSheafComplexInt X R ⟶ ComplexPoint.Basic.ComplexSchemePoint.singularCochainSheafComplexInt X R := |
| 56 | HomologicalComplex.extendMap |
| 57 | (singularCochainSheafComplexScalar R ↧(ComplexPoint.Basic.ComplexSchemePoint X) q) ComplexShape.embeddingUpNat |
| 58 | |
| 59 | /-- The constant zero-cochain construction is coefficient-linear. -/ |
| 60 | lemma constantsToSingularCochainZero_scalar : |
| 61 | ((Functor.const (TopologicalSpace.Opens Y)ᵒᵖ).map |
| 62 | (AddCommGrpCat.ofHom (DistribSMul.toAddMonoidHom R q))) ≫ |
| 63 | AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainZero R Y = |
| 64 | AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainZero R Y ≫ singularCochainPresheafScalar R Y q 0 := by |
| 65 | apply NatTrans.ext |
| 66 | funext U |
| 67 | apply AddCommGrpCat.hom_ext |
| 68 | ext r |
| 69 | change R at r |
| 70 | apply LinearMap.ext |
| 71 | intro c |
| 72 | change (q * r) * (AlgebraicTopology.Singular.SheafCochain.openZeroAugmentation R Y U).hom c = |
| 73 | q * (r * (AlgebraicTopology.Singular.SheafCochain.openZeroAugmentation R Y U).hom c) |
| 74 | exact mul_assoc _ _ _ |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.ComplexMultiplication.Coefficient.Scalars |