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.AdditiveCech |
| 2 | |
| 3 | /-! # Quasicoherent Additive Cech -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.QuasicoherentAdditiveCech.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The affine quasicoherent cocycle theorem after forgetting scalar multiplication. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable (R : CommRingCat.{u}) |
| 16 | |
| 17 | abbrev moduleSheafToAbelian (X : TopCat.{u}) : ModuleSheafInjectives.Construction.ModuleSheaves R X ⥤ |
| 18 | CategoryTheory.Sheaf (_root_.Opens.grothendieckTopology X) AddCommGrpCat.{u} := |
| 19 | sheafCompose _ (forget₂ (ModuleCat.{u} R) AddCommGrpCat.{u}) |
| 20 | |
| 21 | theorem additiveAffine_exact_of_localizing |
| 22 | (F : ModuleSheafInjectives.Construction.ModuleSheaves R (TopCat.of (PrimeSpectrum R))) (hF : IsLocalizing (R := R) F) |
| 23 | {ι : Type v} [Fintype ι] [DecidableEq ι] (f : ι → R) |
| 24 | (hf : Ideal.span (Set.range f) = ⊤) : |
| 25 | Function.Exact |
| 26 | (AdditiveCech.Construction.additiveAffineD0 R ((moduleSheafToAbelian R _).obj F) f) |
| 27 | (AdditiveCech.Construction.additiveAffineD1 R ((moduleSheafToAbelian R _).obj F) f) := by |
| 28 | change Function.Exact (AffineCech.Construction.affineCechD0 R F f) (AffineCech.Construction.affineCechD1 R F f) |
| 29 | exact AffineCech.Construction.affineCech_exact_degreeOne R F hF f hf |
| 30 | |
| 31 | theorem quasicoherent_additiveAffine_exact (N : (Spec R).Modules) [N.IsQuasicoherent] |
| 32 | {ι : Type v} [Fintype ι] [DecidableEq ι] (f : ι → R) |
| 33 | (hf : Ideal.span (Set.range f) = ⊤) : |
| 34 | Function.Exact |
| 35 | (AdditiveCech.Construction.additiveAffineD0 R ((moduleSheafToAbelian R _).obj (modulesSpecToSheaf.obj N)) f) |
| 36 | (AdditiveCech.Construction.additiveAffineD1 R ((moduleSheafToAbelian R _).obj (modulesSpecToSheaf.obj N)) f) := by |
| 37 | apply additiveAffine_exact_of_localizing R _ _ f hf |
| 38 | exact (isIso_fromTildeΓ_iff_isLocalizing N).mp inferInstance |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.QuasicoherentAdditiveCech.Construction |