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.Crystalline.Cohomology.MixedCech.Functor |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ResolutionSheafQuasiIso |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ZariskiColimitsCore |
| 4 | import Mathlib.Algebra.Homology.Embedding.TruncGEHomology |
| 5 | import Mathlib.Algebra.Homology.CochainComplexPlus |
| 6 | |
| 7 | /-! # Complex Resolution -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.MixedCech.ComplexResolution.MixedCechComplexResolution |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! # The actual Čech total resolves complexes of coefficient sheaves in every universe -/ |
| 14 | |
| 15 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] (X : Scheme.{u}) |
| 20 | {ι : Type u} (U : ι → X.Opens) |
| 21 | |
| 22 | abbrev Sheaves := Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u} R) |
| 23 | |
| 24 | local instance : HasCoproducts.{0} (Sheaves R X) := ZariskiColimitsCore.ZariskiColimits.coproducts R X |
| 25 | |
| 26 | variable (K : CochainComplex (Sheaves R X) ℕ) |
| 27 | |
| 28 | def total : CochainComplex (Sheaves R X) ℕ := |
| 29 | NumberTheory.PadicHodge.GeometricComparison.Functor.ResolutionTotal.FunctorResolutionTotal.total (Functor.MixedCechFunctor.sheafFunctor R X U) K |
| 30 | |
| 31 | def edge : K ⟶ total R X U K := |
| 32 | NumberTheory.PadicHodge.GeometricComparison.Functor.ResolutionTotal.FunctorResolutionTotal.edge (Functor.MixedCechFunctor.sheafFunctor R X U) |
| 33 | (Functor.MixedCechFunctor.sheafAugmentation R X U) K |
| 34 | |
| 35 | theorem edge_quasiIso (hU : iSup U = ⊤) : QuasiIso (edge R X U K) := |
| 36 | @ResolutionSheafQuasiIso.FunctorResolutionSheafQuasiIso.quasiIso R _ (TopCat.of X) |
| 37 | (Functor.MixedCechFunctor.sheafFunctor R X U) (Functor.MixedCechFunctor.sheaf_additive R X U) |
| 38 | (Functor.MixedCechFunctor.sheafAugmentation R X U) |
| 39 | (Functor.MixedCechFunctor.sheafAugmentation_quasiIso R X U hU) K |
| 40 | |
| 41 | def integerTotal : CochainComplex (Sheaves R X) ℤ := |
| 42 | (total R X U K).extend ComplexShape.embeddingUpNat |
| 43 | |
| 44 | instance integerTotal_nonnegative : (integerTotal R X U K).IsStrictlyGE 0 := |
| 45 | inferInstanceAs (CochainComplex.IsStrictlyGE |
| 46 | ((total R X U K).extend ComplexShape.embeddingUpNat) 0) |
| 47 | |
| 48 | def integerEdge : K.extend ComplexShape.embeddingUpNat ⟶ integerTotal R X U K := |
| 49 | HomologicalComplex.extendMap (edge R X U K) ComplexShape.embeddingUpNat |
| 50 | |
| 51 | theorem integerEdge_quasiIso (hU : iSup U = ⊤) : QuasiIso (integerEdge R X U K) := |
| 52 | (HomologicalComplex.quasiIso_extendMap_iff _ _).mpr (edge_quasiIso R X U K hU) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.MixedCech.ComplexResolution.MixedCechComplexResolution |