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.HilbertScheme.Presentations.Has |
| 2 | import Mathlib.AlgebraicGeometry.Limits |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 4 | |
| 5 | /-! # Empty Projective Parameter -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.EmptyProjectiveParameter.Core |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The empty parameter scheme has an actual projective presentation |
| 12 | over every base, including the required closed embedding and base equality. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | def emptyParameterOver (S : Scheme.{u}) : Over S := Over.mk (Scheme.emptyTo S) |
| 19 | |
| 20 | instance emptyParameterOver_isEmpty (S : Scheme.{u}) : IsEmpty (emptyParameterOver S).left := |
| 21 | inferInstanceAs (IsEmpty (∅ : Scheme.{u})) |
| 22 | |
| 23 | def emptyParameterProjectivePresentation (S : Scheme.{u}) : |
| 24 | Has.Core.ProjectivePresentation (emptyParameterOver S) where |
| 25 | dimension := 0 |
| 26 | embedding := Scheme.emptyTo (Has.Core.projectiveSpace S 0) |
| 27 | closed := by |
| 28 | change IsClosedImmersion (Scheme.emptyTo (Has.Core.projectiveSpace S 0) : (∅ : Scheme.{u}) ⟶ _) |
| 29 | infer_instance |
| 30 | over_base := Scheme.empty_ext _ _ |
| 31 | |
| 32 | theorem emptyParameter_isProjectiveOver (S : Scheme.{u}) : |
| 33 | Has.Core.IsProjectiveOver (emptyParameterOver S) := ⟨emptyParameterProjectivePresentation S⟩ |
| 34 | |
| 35 | def emptyTestParameter {S : Scheme.{u}} (T : Over S) [IsEmpty T.left] : |
| 36 | T ⟶ emptyParameterOver S := |
| 37 | Over.homMk (isInitialOfIsEmpty.to _) (isInitialOfIsEmpty.hom_ext _ _) |
| 38 | |
| 39 | theorem emptyParameter_hom_subsingleton {S : Scheme.{u}} (T : Over S) : |
| 40 | Subsingleton (T ⟶ emptyParameterOver S) := by |
| 41 | refine ⟨fun a b => ?_⟩ |
| 42 | let : IsEmpty T.left := a.left.base.hom.1.isEmpty |
| 43 | exact Over.OverMorphism.ext (isInitialOfIsEmpty.hom_ext _ _) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.EmptyProjectiveParameter.Core |