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.LocalizingPresheafSheaf |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BasisSheafificationComposition |
| 3 | import Mathlib.CategoryTheory.Sites.Abelian |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.MixedCech.Presheaf |
| 5 | |
| 6 | /-! # Localizing Presheaf Sheafification -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.LocalizingPresheafSheafification.LocalizingPresheafBasis |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Sheafifying a localizing affine presheaf gives the actual associated module sheaf, also after a sheaf-preserving coefficient change. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | variable (A : CommRingCat.{u}) |
| 19 | (P : (Spec A).Opensᵒᵖ ⥤ ModuleCat.{u} A) |
| 20 | (hP : ∀ a : A, IsLocalizedModule (Submonoid.powers a) |
| 21 | (P.map (PrimeSpectrum.basicOpen a).leTop.op).hom) |
| 22 | |
| 23 | def sheafIso : (presheafToSheaf (Opens.grothendieckTopology (Spec A)) (ModuleCat.{u} A)).obj P ≅ |
| 24 | LocalizingPresheafSheaf.LocalizingPresheafBasis.associatedSheaf A P := |
| 25 | BasisSheafificationTo.BasisSheafification.iso (fun a : A => (PrimeSpectrum.basicOpen a : (Spec A).Opens)) |
| 26 | PrimeSpectrum.isBasis_basic_opens P (LocalizingPresheafSheaf.LocalizingPresheafBasis.associatedSheaf A P) (LocalizingPresheafSheaf.LocalizingPresheafBasis.iso A P hP) |
| 27 | |
| 28 | variable {D : Type v} [Category.{w} D] (G : ModuleCat.{u} A ⥤ D) |
| 29 | [(Opens.grothendieckTopology (Spec A)).HasSheafCompose G] |
| 30 | [HasWeakSheafify (Opens.grothendieckTopology (Spec A)) D] |
| 31 | |
| 32 | def sheafIsoComp : (presheafToSheaf (Opens.grothendieckTopology (Spec A)) D).obj (P ⋙ G) ≅ |
| 33 | (sheafCompose (Opens.grothendieckTopology (Spec A)) G).obj (LocalizingPresheafSheaf.LocalizingPresheafBasis.associatedSheaf A P) := |
| 34 | BasisSheafificationComposition.BasisSheafification.compIso (fun a : A => (PrimeSpectrum.basicOpen a : (Spec A).Opens)) |
| 35 | PrimeSpectrum.isBasis_basic_opens P (LocalizingPresheafSheaf.LocalizingPresheafBasis.associatedSheaf A P) (LocalizingPresheafSheaf.LocalizingPresheafBasis.iso A P hP) G |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.NumberTheory.PadicHodge.GeometricComparison.LocalizingPresheafSheafification.LocalizingPresheafBasis |