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.AffineOpenFormsUnit |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.CechBicomplex |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationComplex |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.TermwiseIso |
| 5 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.Cochains |
| 6 | |
| 7 | /-! # Affine Cech Coordinate Unit -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.AffineCechCoordinateUnit.IntrinsicAffineCechCoordinateUnit |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! On an affine cover, the actual coordinate-form Čech bicomplex is identified by the native sheafification unit with the sheaf Čech calculation. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (R : Type) [CommRing R] [Algebra ℚ R] |
| 18 | (X : Over (Spec (CommRingCat.of R))) [IsSeparated X.hom] |
| 19 | {ι : Type} (U : ι → X.left.Opens) |
| 20 | |
| 21 | local instance : (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U).Additive := by |
| 22 | change (FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).Additive |
| 23 | infer_instance |
| 24 | |
| 25 | def bicomplex : HomologicalComplex₂ (ModuleCat.{0} R) (.up ℕ) (.up ℕ) := |
| 26 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U).mapHomologicalComplex (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 27 | |
| 28 | def map : bicomplex R X U ⟶ |
| 29 | IntrinsicCech.CechBicomplex.IntrinsicCechBicomplex.bicomplex R X U (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) := |
| 30 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U).mapHomologicalComplex (.up ℕ)).map |
| 31 | (SheafificationComplex.SheafificationComplexUnit.unit (Opens.grothendieckTopology X.left) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X)) |
| 32 | |
| 33 | theorem row_isIso (hU : ∀ i, IsAffineOpen (U i)) (q : ℕ) : IsIso ((IntrinsicAffineCechCoordinateUnit.map R X U).f q) := by |
| 34 | have : X.left.IsSeparated := by |
| 35 | constructor |
| 36 | rw [← terminal.comp_from X.hom] |
| 37 | infer_instance |
| 38 | apply Cech.TermwiseIso.CechTermwiseIso.isIso (FormalCoproduct.mk ι U).cech |
| 39 | (toSheafify (Opens.grothendieckTopology X.left) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X q)) |
| 40 | intro p t |
| 41 | exact AffineOpenFormsUnit.IntrinsicAffineOpenFormsUnit.on_open R X (∏ᶜ (U ∘ t)) |
| 42 | (AlgebraicGeometry.SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U hU p t) q |
| 43 | |
| 44 | theorem isIso (hU : ∀ i, IsAffineOpen (U i)) : IsIso (IntrinsicAffineCechCoordinateUnit.map R X U) := by |
| 45 | have (q : ℕ) : IsIso ((IntrinsicAffineCechCoordinateUnit.map R X U).f q) := row_isIso R X U hU q |
| 46 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 47 | |
| 48 | def iso (hU : ∀ i, IsAffineOpen (U i)) : bicomplex R X U ≅ |
| 49 | IntrinsicCech.CechBicomplex.IntrinsicCechBicomplex.bicomplex R X U (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) := by |
| 50 | have : IsIso (IntrinsicAffineCechCoordinateUnit.map R X U) := isIso R X U hU |
| 51 | exact asIso (IntrinsicAffineCechCoordinateUnit.map R X U) |
| 52 | |
| 53 | def integerTotal : CochainComplex (ModuleCat.{0} R) ℤ := |
| 54 | ((bicomplex R X U).total (.up ℕ)).extend ComplexShape.embeddingUpNat |
| 55 | |
| 56 | def totalIso (hU : ∀ i, IsAffineOpen (U i)) : |
| 57 | integerTotal R X U ≅ IntrinsicCech.Terms.IntrinsicCechComparison.sections R X.left U (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) := |
| 58 | (ComplexShape.embeddingUpNat.extendFunctor (ModuleCat.{0} R)).mapIso |
| 59 | (HomologicalComplex₂.total.mapIso (iso R X U hU) (.up ℕ)) ≪≫ |
| 60 | IntrinsicCech.CechBicomplex.IntrinsicCechBicomplex.iso R X U (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.AffineCechCoordinateUnit.IntrinsicAffineCechCoordinateUnit |