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 Mathlib.AlgebraicGeometry.Properties |
| 2 | import Mathlib.AlgebraicGeometry.Noetherian |
| 3 | import Mathlib.RingTheory.HopkinsLevitzki |
| 4 | |
| 5 | /-! # Artinian Generic Stalk -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ArtinianGenericStalk.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonempty locally Noetherian scheme has an Artinian local ring at |
| 12 | the generic point of each irreducible component, without reducedness. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.Order |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem exists_artinian_stalk (X : Scheme.{u}) [IsLocallyNoetherian X] [Nonempty X] : |
| 19 | ∃ x : X, IsArtinianRing (X.presheaf.stalk x) := by |
| 20 | let z : X := Classical.choice inferInstance |
| 21 | let C : irreducibleComponents X := |
| 22 | ⟨irreducibleComponent z, irreducibleComponent_mem_irreducibleComponents z⟩ |
| 23 | let x : X := irreducibleSetEquivPoints |
| 24 | ⟨C.val, C.property.1, isClosed_of_mem_irreducibleComponents _ C.property⟩ |
| 25 | have hx : coheight x = 0 := by |
| 26 | apply IsMax.coheight_eq_zero |
| 27 | apply (irreducibleSetEquivPoints.isMax_apply).mpr |
| 28 | intro W hW |
| 29 | exact C.property.2 W.isIrreducible hW |
| 30 | have : Ring.KrullDimLE 0 (X.presheaf.stalk x) := krullDimLE_of_coheight_le hx.le |
| 31 | exact ⟨x, IsNoetherianRing.isArtinianRing_of_krullDimLE_zero⟩ |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ArtinianGenericStalk.Construction |