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.AbelianModuli.HilbertConstruction.QuasiProjectiveImmersions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.ParameterPoints |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | |
| 5 | /-! # Quasi Projective Parameter Cuts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Closed parameter cuts and open subsets retain actual quasi-projective presentations over a noetherian base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {X Y : Over S} |
| 18 | |
| 19 | theorem Projective.ProjectivePresentations.QuasiProjectivePresentation.noetherian (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation X) [IsNoetherian S] : |
| 20 | IsNoetherian X.left := by |
| 21 | have : LocallyOfFiniteType X.hom := Q.locallyFiniteType |
| 22 | have : QuasiCompact X.hom := Q.quasiCompact |
| 23 | have : IsLocallyNoetherian X.left := LocallyOfFiniteType.isLocallyNoetherian X.hom |
| 24 | have : CompactSpace X.left := QuasiCompact.compactSpace_of_compactSpace X.hom |
| 25 | exact ⟨⟩ |
| 26 | |
| 27 | def Projective.ProjectivePresentations.QuasiProjectivePresentation.ofClosedImmersion (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation X) |
| 28 | [IsNoetherian S] (j : Y ⟶ X) [IsClosedImmersion j.left] : Projective.ProjectivePresentations.QuasiProjectivePresentation Y := by |
| 29 | have : IsNoetherian X.left := Q.noetherian |
| 30 | have : NoetherianSpace X.left := IsNoetherian.noetherianSpace |
| 31 | have : QuasiCompact Q.embedding.left := inferInstance |
| 32 | have : IsImmersion (j ≫ Q.embedding).left := |
| 33 | inferInstanceAs (IsImmersion (j.left ≫ Q.embedding.left)) |
| 34 | have : QuasiCompact (j ≫ Q.embedding).left := |
| 35 | inferInstanceAs (QuasiCompact (j.left ≫ Q.embedding.left)) |
| 36 | exact Q.projective.quasiProjectiveImmersion (j ≫ Q.embedding) |
| 37 | |
| 38 | def Projective.ProjectivePresentations.QuasiProjectivePresentation.openParameter (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation X) |
| 39 | [IsNoetherian S] (U : X.left.Opens) : Projective.ProjectivePresentations.QuasiProjectivePresentation (Open.ParameterPoints.openParameterScheme X U) := by |
| 40 | have : IsNoetherian X.left := Q.noetherian |
| 41 | have : NoetherianSpace X.left := IsNoetherian.noetherianSpace |
| 42 | have : NoetherianSpace U.toScheme := NoetherianSpace.set (U : Set X.left) |
| 43 | have : QuasiCompact U.ι := inferInstance |
| 44 | have : LocallyOfFiniteType X.hom := Q.locallyFiniteType |
| 45 | have : QuasiCompact X.hom := Q.quasiCompact |
| 46 | refine |
| 47 | { locallyFiniteType := ?_ |
| 48 | quasiCompact := ?_ |
| 49 | compactification := Q.compactification |
| 50 | projective := Q.projective |
| 51 | embedding := Open.ParameterPoints.openParameterInclusion X U ≫ Q.embedding |
| 52 | openImmersion := ?_ } |
| 53 | · change LocallyOfFiniteType (U.ι ≫ X.hom) |
| 54 | infer_instance |
| 55 | · change QuasiCompact (U.ι ≫ X.hom) |
| 56 | infer_instance |
| 57 | · change IsOpenImmersion (U.ι ≫ Q.embedding.left) |
| 58 | infer_instance |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |