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.Projective.NegativeTwistCover |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.QuasicoherentKernels |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Properness |
| 4 | import Mathlib.CategoryTheory.Abelian.Exact |
| 5 | |
| 6 | /-! # Negative Twist Relations -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The constructed negative-twist quotient has an actual quasicoherent finite-type relation sheaf and a short exact sequence. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Properness.GradedHilbert |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 20 | {I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)} {M : (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient I).Modules} |
| 21 | |
| 22 | def NegativeTwistCover.ProjectiveNegativeTwistCover.relations (D : NegativeTwistCover.ProjectiveNegativeTwistCover I M) : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules := |
| 23 | kernel D.projection |
| 24 | |
| 25 | theorem NegativeTwistCover.ProjectiveNegativeTwistCover.relations_quasicoherent (D : NegativeTwistCover.ProjectiveNegativeTwistCover I M) [M.IsQuasicoherent] : |
| 26 | D.relations.IsQuasicoherent := by |
| 27 | rename_i hMq |
| 28 | change (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules at M |
| 29 | dsimp only [HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient] at * |
| 30 | let : M.IsQuasicoherent := hMq |
| 31 | let : D.source.IsQuasicoherent := D.source_quasicoherent |
| 32 | exact Quasicoherent.Kernels.module_quasicoherent_kernel D.projection |
| 33 | |
| 34 | theorem NegativeTwistCover.ProjectiveNegativeTwistCover.relations_finiteType [IsNoetherianRing R] |
| 35 | (D : NegativeTwistCover.ProjectiveNegativeTwistCover I M) [M.IsQuasicoherent] : D.relations.IsFiniteType := by |
| 36 | rename_i hMq |
| 37 | change (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules at M |
| 38 | dsimp only [HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient] at * |
| 39 | let : M.IsQuasicoherent := hMq |
| 40 | let : D.source.IsQuasicoherent := D.source_quasicoherent |
| 41 | let : D.source.IsFiniteType := D.source_finiteType |
| 42 | let : IsProper (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) := HilbertScheme.Presentations.Projective.Properness.GradedHilbert.projectiveQuotient_proper I |
| 43 | let : IsLocallyNoetherian (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) := |
| 44 | LocallyOfFiniteType.isLocallyNoetherian (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 45 | exact Noetherian.QuasicoherentKernels.noetherian_quasicoherent_kernel_finiteType D.projection |
| 46 | |
| 47 | def NegativeTwistCover.ProjectiveNegativeTwistCover.relationSequence (D : NegativeTwistCover.ProjectiveNegativeTwistCover I M) : |
| 48 | ShortComplex (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules := |
| 49 | ShortComplex.mk (kernel.ι D.projection) D.projection (kernel.condition D.projection) |
| 50 | |
| 51 | theorem NegativeTwistCover.ProjectiveNegativeTwistCover.relationSequence_shortExact (D : NegativeTwistCover.ProjectiveNegativeTwistCover I M) : |
| 52 | D.relationSequence.ShortExact := by |
| 53 | change (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules at M |
| 54 | have hm : Mono (kernel.ι D.projection) := inferInstance |
| 55 | exact ShortComplex.ShortExact.mk' (ShortComplex.kernelSequence_exact D.projection) hm D.projection_epi |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective |