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.PELModuli.IntegralModel.Presentations.Hilbert |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 3 | |
| 4 | /-! # Parameter -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.Parameter |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Geometric finiteness of the actual schemes returned by the full Presentations |
| 11 | inputs. Over a locally noetherian base the open graph locus is quasi-compact. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {S : Scheme.{u}} |
| 20 | |
| 21 | def e34ProjectivePresentationOfNative {X : Over S} (B : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X) : |
| 22 | HilbertScheme.Presentations.Has.Core.ProjectivePresentation X where |
| 23 | dimension := B.dimension |
| 24 | embedding := B.embedding.left |
| 25 | closed := B.closedImmersion |
| 26 | over_base := B.embedding.w |
| 27 | |
| 28 | def nativeProjectivePresentationOfPresentations {X : Over S} (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) : |
| 29 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X where |
| 30 | dimension := B.dimension |
| 31 | embedding := Over.homMk B.embedding B.over_base |
| 32 | closedImmersion := B.closed |
| 33 | |
| 34 | theorem e34ProjectivePresentation_proper {X : Over S} (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) : |
| 35 | IsProper X.hom := (nativeProjectivePresentationOfPresentations B).proper |
| 36 | |
| 37 | variable [IsLocallyNoetherian S] (X Y : Over S) |
| 38 | [Flat X.hom] [IsProper X.hom] [LocallyOfFinitePresentation X.hom] [IsSeparated Y.hom] |
| 39 | {B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (X ⨯ Y)} {n : ℕ} {P : Fin n → Polynomial ℚ} |
| 40 | (L : HilbertScheme.Presentations.Loci.Core.HilbertHomLoci X Y B n P) |
| 41 | |
| 42 | theorem e34HomScheme_finiteType_separated : |
| 43 | LocallyOfFiniteType L.homScheme.hom ∧ QuasiCompact L.homScheme.hom ∧ |
| 44 | IsSeparated L.homScheme.hom := by |
| 45 | have : IsProper L.hilbert.hom := e34ProjectivePresentation_proper (Classical.choice L.projective) |
| 46 | have : IsLocallyNoetherian L.hilbert.left := LocallyOfFiniteType.isLocallyNoetherian L.hilbert.hom |
| 47 | have : IsOpenImmersion L.graphInclusion.left := L.graph_open |
| 48 | refine ⟨L.hom_finiteType, ?_, ?_⟩ <;> |
| 49 | rw [← L.graphInclusion.w] <;> infer_instance |
| 50 | |
| 51 | variable (A : Over S) [GrpObj A] [Flat A.hom] [IsProper A.hom] |
| 52 | [LocallyOfFinitePresentation A.hom] |
| 53 | {BA : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (A ⨯ A)} |
| 54 | {LA : HilbertScheme.Presentations.Loci.Core.HilbertHomLoci A A BA n P} |
| 55 | {R : HilbertScheme.Presentations.Endomorphisms.Core.FiniteEndomorphismEquations A n} |
| 56 | (M : HilbertScheme.Presentations.Loci.Core.EndomorphismEquationLoci A BA n P LA R) |
| 57 | |
| 58 | theorem e34SolutionScheme_finiteType_separated : |
| 59 | LocallyOfFiniteType M.solutionScheme.hom ∧ QuasiCompact M.solutionScheme.hom ∧ |
| 60 | IsSeparated M.solutionScheme.hom := by |
| 61 | obtain ⟨hft, hqc, hsep⟩ := e34HomScheme_finiteType_separated A A LA |
| 62 | have := hft |
| 63 | have := hqc |
| 64 | have := hsep |
| 65 | have : IsClosedImmersion M.forgetGroup.left := M.group_closed |
| 66 | have : IsClosedImmersion M.forgetEquations.left := M.equations_closed |
| 67 | have h : M.solutionScheme.hom = |
| 68 | M.forgetEquations.left ≫ M.forgetGroup.left ≫ LA.homScheme.hom := by |
| 69 | rw [M.forgetGroup.w, M.forgetEquations.w] |
| 70 | rw [h] |
| 71 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.Parameter |