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.Picard.PoincareBundle.Affine.Classification |
| 2 | import Mathlib.RingTheory.Artinian.Module |
| 3 | |
| 4 | /-! # Affine Line Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.AffineLineFrame |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every line on a finite affine scheme over a field has an actual global frame, including nonreduced schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (k R : Type u) [Field k] [CommRing R] [Algebra k R] [Module.Finite k R] |
| 17 | (L : Line.Bundles.LineBundle (Spec (.of R))) |
| 18 | |
| 19 | include k |
| 20 | |
| 21 | /-- Semilocal triviality of the Picard group gives a genuine global sheaf isomorphism. -/ |
| 22 | theorem exists_frame : Nonempty (L.sheaf ≅ Line.Bundles.unitLine (Spec (.of R))) := by |
| 23 | have : IsArtinianRing R := IsArtinianRing.of_finite k R |
| 24 | let M := (moduleSpecΓFunctor (R := CommRingCat.of R)).obj L.sheaf |
| 25 | have : Module.Invertible R M := Affine.Classification.globalSections_invertible L |
| 26 | have : Module.Free R M := inferInstance |
| 27 | obtain ⟨e⟩ := (Module.Invertible.free_iff_linearEquiv (R := R) (M := M)).mp inferInstance |
| 28 | let eM : M ≅ ModuleCat.of R R := e.toModuleIso |
| 29 | exact ⟨(QuasiCoherent.affineTildeIso L).symm ≪≫ |
| 30 | (tilde.functor (CommRingCat.of R)).mapIso eM ≪≫ tildeSelf⟩ |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.AffineLineFrame |