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.NumberTheory.PadicHodge.IntegralComparison.IntrinsicOrdered.TopSingleEdge |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ProjectionCoefficients |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CoefficientNaturality |
| 4 | |
| 5 | /-! # Top Coefficient Edge -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicOrdered.TopCoefficientEdge.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original signed top-form edge after exact coefficient change, |
| 12 | with the ordinary native target coordinates and projection retained. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe uD vD |
| 17 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 18 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 19 | {ι : Type} [LinearOrder ι] [Finite ι] (U : ι → X.left.Opens) |
| 20 | |
| 21 | def nativeMap : IntrinsicDeRham.TopEdge.Intrinsic.source R X U g ⟶ |
| 22 | (IntrinsicDeRham.CechComplex.Intrinsic.total R X U).homology (g+g) := |
| 23 | ModuleCat.ofHom (IntrinsicDeRham.TopEdge.Intrinsic.map R X U g) |
| 24 | |
| 25 | def topCoordinates := |
| 26 | homologyMap (OrderedCech.Projection.map U |
| 27 | (IntrinsicDeRham.TopSingleCoordinates.Intrinsic.module R X g)) g ≫ |
| 28 | (TopSingle.Intrinsic.sourceIso R X g U g).inv |
| 29 | |
| 30 | omit [Finite ι] in |
| 31 | theorem native_comparison : |
| 32 | topCoordinates R X g U ≫ homologyMap (TopSingle.Intrinsic.map R X g U) (g+g) = |
| 33 | (((ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) g g : ℤˣ) : ℤ) • |
| 34 | (nativeMap R X g U ≫ |
| 35 | homologyMap (TopSingle.Intrinsic.targetProjection R X U) (g+g))) := by |
| 36 | apply ModuleCat.hom_ext |
| 37 | apply LinearMap.ext |
| 38 | intro x |
| 39 | exact TopSingleEdge.Intrinsic.map_apply R X g U x |
| 40 | |
| 41 | variable {D : Type uD} [Category.{vD} D] [Abelian D] |
| 42 | [HasProducts.{0} D] [HasCoproducts.{0} D] |
| 43 | (G : ModuleCat R ⥤ D) [G.Additive] [PreservesLimitsOfSize.{0,0} G] [G.PreservesHomology] |
| 44 | |
| 45 | def mappedTopMap := OrderedCech.CoefficientNaturality.Total.totalMap U |
| 46 | (OrderedCech.CoefficientNaturality.Total.mappedComplexMap G |
| 47 | (IntrinsicDeRham.TopSingle.Intrinsic.presheafMap R X g)) |
| 48 | |
| 49 | def sourceCoordinates := G.map (topCoordinates R X g U) ≫ |
| 50 | (OrderedCech.CoefficientTotal.homologyIso U G |
| 51 | (TopSingle.Intrinsic.source R X g) (g+g)).hom |
| 52 | |
| 53 | omit [Finite ι] in |
| 54 | theorem mapped_naturality : |
| 55 | G.map (homologyMap (TopSingle.Intrinsic.map R X g U) (g+g)) ≫ |
| 56 | (OrderedCech.CoefficientTotal.homologyIso U G |
| 57 | (IntrinsicDeRham.CechComplex.Intrinsic.presheafComplex R X) (g+g)).hom = |
| 58 | (OrderedCech.CoefficientTotal.homologyIso U G |
| 59 | (TopSingle.Intrinsic.source R X g) (g+g)).hom ≫ |
| 60 | homologyMap (mappedTopMap R X g U G) (g+g) := |
| 61 | Functor.HomologySquare.naturality G |
| 62 | (TopSingle.Intrinsic.map R X g U) (mappedTopMap R X g U G) |
| 63 | (OrderedCech.CoefficientTotal.totalIso U G (TopSingle.Intrinsic.source R X g)) |
| 64 | (OrderedCech.CoefficientTotal.totalIso U G (IntrinsicDeRham.CechComplex.Intrinsic.presheafComplex R X)) |
| 65 | (OrderedCech.CoefficientNaturality.Total.totalIso_naturality U G |
| 66 | (IntrinsicDeRham.TopSingle.Intrinsic.presheafMap R X g)) (g+g) |
| 67 | |
| 68 | theorem comparison : |
| 69 | sourceCoordinates R X g U G ≫ homologyMap (mappedTopMap R X g U G) (g+g) = |
| 70 | (((ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) g g : ℤˣ) : ℤ) • |
| 71 | (G.map (nativeMap R X g U) ≫ |
| 72 | (OrderedCech.ProjectionCoefficients.ordinaryHomologyIso U G |
| 73 | (IntrinsicDeRham.CechComplex.Intrinsic.presheafComplex R X) (g+g)).hom ≫ |
| 74 | homologyMap (OrderedCech.TotalProjection.map U |
| 75 | (OrderedCech.CoefficientTotal.mapped G |
| 76 | (IntrinsicDeRham.CechComplex.Intrinsic.presheafComplex R X))) (g+g))) := by |
| 77 | unfold sourceCoordinates |
| 78 | rw [Category.assoc, ← mapped_naturality, ← Category.assoc, ← G.map_comp, |
| 79 | native_comparison, G.map_zsmul, Preadditive.zsmul_comp, G.map_comp, Category.assoc] |
| 80 | erw [OrderedCech.ProjectionCoefficients.homology_natural U G |
| 81 | (IntrinsicDeRham.CechComplex.Intrinsic.presheafComplex R X) (g+g)] |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicOrdered.TopCoefficientEdge.Intrinsic |