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.GeometricComparison.Intrinsic.SectionCochainAdjoint |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.LinearExact |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.LinearCoefficient |
| 4 | |
| 5 | /-! # Section Complex Pullback -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.SectionComplexPullback.IntrinsicSectionComplexPullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual section-complex pullback is the coefficient-Hom pullback under the native section identifications. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | variable {R : Type} [CommRing R] {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 16 | |
| 17 | local instance : (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)).Additive where |
| 18 | map_add := rfl |
| 19 | local instance : (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left)).Additive where |
| 20 | map_add := rfl |
| 21 | |
| 22 | variable {K : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y) ℤ} |
| 23 | {L : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) ℤ} |
| 24 | (a : ((DeRham.Int.inverseImage f).mapHomologicalComplex (.up ℤ)).obj K ⟶ L) |
| 25 | |
| 26 | def map : Section.Hypercohomology.SectionHypercohomology.sectionComplex R (TopCat.of Y.left) K ⟶ |
| 27 | Section.Hypercohomology.SectionHypercohomology.sectionComplex R (TopCat.of X.left) L := |
| 28 | (NatTrans.mapHomologicalComplex (SectionCochainAdjoint.IntrinsicSectionPullback.map f) (.up ℤ)).app K ≫ |
| 29 | ((Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)).mapHomologicalComplex (.up ℤ)).map a |
| 30 | |
| 31 | def homMap : AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomComplex (R := R) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R Y) K ⟶ |
| 32 | AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomComplex (R := R) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R X) L := |
| 33 | LinearExact.LinearExactFunctorNaturality.complexMap R (DeRham.Int.inverseImage f) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R Y) a ≫ |
| 34 | LinearCoefficient.LinearCoefficientNaturality.complexMap R (DeRham.Int.inverseImageConstantIso f).inv L |
| 35 | |
| 36 | theorem square : homMap f a ≫ (Section.Hypercohomology.SectionHypercohomology.homSectionsIso R (TopCat.of X.left) L).hom = |
| 37 | (Section.Hypercohomology.SectionHypercohomology.homSectionsIso R (TopCat.of Y.left) K).hom ≫ IntrinsicSectionComplexPullback.map f a := by |
| 38 | ext n : 1 |
| 39 | apply ModuleCat.hom_ext |
| 40 | apply LinearMap.ext |
| 41 | intro z |
| 42 | change AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R Y ⟶ K.X n at z |
| 43 | exact (congrArg (ConstantSheaf.ConstantSheafSections.linearEquiv R (TopCat.of X.left) (L.X n)) |
| 44 | (Category.assoc (DeRham.Int.inverseImageConstantIso f).inv ((DeRham.Int.inverseImage f).map z) (a.f n)).symm).trans |
| 45 | ((ConstantSheaf.ConstantSheafSections.naturality R (TopCat.of X.left) |
| 46 | ((DeRham.Int.inverseImageConstantIso f).inv ≫ (DeRham.Int.inverseImage f).map z) (a.f n)).trans |
| 47 | (congrArg ((a.f n).hom.app (op ⊤)) (SectionCochainAdjoint.IntrinsicSectionPullback.coefficient_sections f (K.X n) z))) |
| 48 | |
| 49 | theorem homologyEquiv (n : ℤ) (x : (Section.Hypercohomology.SectionHypercohomology.sectionComplex R (TopCat.of Y.left) K).homology n) : |
| 50 | Section.Hypercohomology.SectionHypercohomology.homologyEquiv R (TopCat.of X.left) L n |
| 51 | (HomologicalComplex.homologyMap (IntrinsicSectionComplexPullback.map f a) n x) = |
| 52 | HomologicalComplex.homologyMap (homMap f a) n |
| 53 | (Section.Hypercohomology.SectionHypercohomology.homologyEquiv R (TopCat.of Y.left) K n x) := |
| 54 | Section.Hypercohomology.SectionHypercohomology.map_inverse_square_apply (HomologicalComplex.homologyFunctor (ModuleCat R) (.up ℤ) n) |
| 55 | (Section.Hypercohomology.SectionHypercohomology.homSectionsIso R (TopCat.of Y.left) K) |
| 56 | (Section.Hypercohomology.SectionHypercohomology.homSectionsIso R (TopCat.of X.left) L) _ _ (square f a) x |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.SectionComplexPullback.IntrinsicSectionComplexPullback |