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.ArithmeticGeometry.OrdinaryLocus.Openness.CohomologyTerminal |
| 2 | |
| 3 | /-! # Affine Local Cohomology -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffineLocalCohomology.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Affine quasicoherent vanishing in the local-cohomology API used by Mayer-Vietoris. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 12 | open _root_.CategoryTheory.Abelian |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R : CommRingCat.{u}) |
| 17 | |
| 18 | local instance e40AffineLocalEnoughInjectives : |
| 19 | EnoughInjectives (AbelianSheafInjectives.Construction.AbelianSheaves (TopCat.of (PrimeSpectrum R))) := |
| 20 | AbelianSheafInjectives.Construction.abelianSheaves_enoughInjectives (TopCat.of (PrimeSpectrum R)) |
| 21 | |
| 22 | local instance e40AffineLocalHasExt : HasExt.{u} (AbelianSheafInjectives.Construction.AbelianSheaves (TopCat.of (PrimeSpectrum R))) := |
| 23 | hasExt_of_enoughInjectives _ |
| 24 | |
| 25 | theorem quasicoherent_affine_H'_one_top_subsingleton (N : (Spec R).Modules) [N.IsQuasicoherent] : |
| 26 | Subsingleton (((QuasicoherentAdditiveCech.Construction.moduleSheafToAbelian R (TopCat.of (PrimeSpectrum R))).obj |
| 27 | (modulesSpecToSheaf.obj N)).H' 1 ⊤) := by |
| 28 | let F : AbelianSheafInjectives.Construction.AbelianSheaves (TopCat.of (PrimeSpectrum R)) := |
| 29 | (QuasicoherentAdditiveCech.Construction.moduleSheafToAbelian R (TopCat.of (PrimeSpectrum R))).obj (modulesSpecToSheaf.obj N) |
| 30 | have : Subsingleton (CategoryTheory.Sheaf.H F 1) := |
| 31 | AffineCohomologyOne.Construction.quasicoherent_affine_H_one_subsingleton R N |
| 32 | exact (CohomologyTerminal.Construction.cohomologyAtTerminalIso isTerminalTop _ F 1).addCommGroupIsoToAddEquiv.injective.subsingleton |
| 33 | |
| 34 | theorem quasicoherent_affine_H'_one_top_isZero (N : (Spec R).Modules) [N.IsQuasicoherent] : |
| 35 | IsZero (((QuasicoherentAdditiveCech.Construction.moduleSheafToAbelian R (TopCat.of (PrimeSpectrum R))).obj |
| 36 | (modulesSpecToSheaf.obj N)).H' 1 ⊤) := by |
| 37 | have := quasicoherent_affine_H'_one_top_subsingleton R N |
| 38 | exact AddCommGrpCat.isZero_iff_subsingleton.mpr inferInstance |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffineLocalCohomology.Construction |