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.QuasiProjectiveParameterCuts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationAmpleBundle |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.QuasiProjectivePresentation |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.UnramifiedQuasiFinite |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AmpleQuasiFinitePullback |
| 6 | |
| 7 | /-! # Quasi Finite Quasi Projectivity -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A separated quasi-finite finite-type parameter over a supplied |
| 14 | quasi-projective scheme is quasi-projective over the original affine |
| 15 | Noetherian base. The quasi-finite hypothesis concerns the parameter map, |
| 16 | not the structure morphism to that original base. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | universe u |
| 20 | |
| 21 | variable {S : Scheme.{u}} [IsAffine S] [IsNoetherian S] {X Y : Over S} |
| 22 | |
| 23 | def Projective.ProjectivePresentations.QuasiProjectivePresentation.ampleLineBundle (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation X) : |
| 24 | Line.Bundles.LineBundle X.left := Q.projective.ampleLineBundle.pullback Q.embedding.left |
| 25 | |
| 26 | theorem Projective.ProjectivePresentations.QuasiProjectivePresentation.ampleLineBundle_isAmple (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation X) : |
| 27 | Q.ampleLineBundle.IsAmple := by |
| 28 | let : IsNoetherian X.left := Q.noetherian |
| 29 | let : TopologicalSpace.NoetherianSpace X.left := IsNoetherian.noetherianSpace |
| 30 | let : QuasiCompact Q.embedding.left := inferInstance |
| 31 | let : IsProper Q.compactification.hom := Q.projective.proper |
| 32 | let : Q.compactification.left.IsSeparated := ⟨by |
| 33 | rw [← terminal.comp_from Q.compactification.hom] |
| 34 | infer_instance⟩ |
| 35 | exact ReferenceFamily.AmpleQuasiFinitePullback.ample_pullback_openImmersion Q.embedding.left |
| 36 | Q.projective.ampleLineBundle Q.projective.ampleLineBundle_isAmple |
| 37 | |
| 38 | theorem Projective.ProjectivePresentations.QuasiProjectivePresentation.quasiFiniteSource_nonempty |
| 39 | (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation X) (f : Y ⟶ X) |
| 40 | [LocallyOfFiniteType f.left] [LocallyQuasiFinite f.left] |
| 41 | [IsSeparated f.left] [QuasiCompact f.left] : |
| 42 | Nonempty (Projective.ProjectivePresentations.QuasiProjectivePresentation Y) := by |
| 43 | let : LocallyOfFiniteType X.hom := Q.locallyFiniteType |
| 44 | let : IsSeparated X.hom := Q.separated |
| 45 | let : X.left.IsSeparated := ⟨by |
| 46 | rw [← terminal.comp_from X.hom] |
| 47 | infer_instance⟩ |
| 48 | let : LocallyOfFiniteType Y.hom := by |
| 49 | rw [← f.w] |
| 50 | infer_instance |
| 51 | let : IsSeparated Y.hom := by |
| 52 | rw [← f.w] |
| 53 | infer_instance |
| 54 | let : Y.left.IsSeparated := ⟨by |
| 55 | rw [← terminal.comp_from Y.hom] |
| 56 | infer_instance⟩ |
| 57 | exact (ReferenceFamily.AmpleQuasiFinitePullback.ample_pullback_separated_quasiFinite f.left |
| 58 | Q.ampleLineBundle Q.ampleLineBundle_isAmple).exists_quasiProjectivePresentation Y.hom |
| 59 | |
| 60 | def Projective.ProjectivePresentations.QuasiProjectivePresentation.quasiFiniteSource |
| 61 | (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation X) (f : Y ⟶ X) |
| 62 | [LocallyOfFiniteType f.left] [LocallyQuasiFinite f.left] |
| 63 | [IsSeparated f.left] [QuasiCompact f.left] : Projective.ProjectivePresentations.QuasiProjectivePresentation Y := |
| 64 | (Q.quasiFiniteSource_nonempty f).some |
| 65 | |
| 66 | def Projective.ProjectivePresentations.QuasiProjectivePresentation.monomorphismSource |
| 67 | (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation X) (f : Y ⟶ X) |
| 68 | [LocallyOfFiniteType f.left] [QuasiCompact f.left] [Mono f.left] : |
| 69 | Projective.ProjectivePresentations.QuasiProjectivePresentation Y := by |
| 70 | let : LocallyQuasiFinite f.left := UnramifiedQuasiFinite.locallyQuasiFinite_of_unramified f.left |
| 71 | exact Q.quasiFiniteSource f |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |