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.NegativeTwistGeneration |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.FiniteCoproducts |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.LineBundleSectionFiniteness |
| 4 | |
| 5 | /-! # Negative Twist Cover -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.NegativeTwistCover |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The constructed finite negative-twist quotient, recorded with its actual maps and epimorphism proof. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 18 | |
| 19 | structure ProjectiveNegativeTwistCover (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 20 | (M : (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient I).Modules) where |
| 21 | index : Type u |
| 22 | finite : Finite index |
| 23 | degree : index → ℕ |
| 24 | component : ∀ i, (Negative.ProjectiveTwistingBundle.negativeProjectiveTwistingBundle I (degree i)).sheaf ⟶ M |
| 25 | epi : Epi (Sigma.desc component) |
| 26 | |
| 27 | namespace ProjectiveNegativeTwistCover |
| 28 | |
| 29 | variable {I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)} {M : (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient I).Modules} |
| 30 | |
| 31 | def ofFiniteType (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (M : (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient I).Modules) |
| 32 | [M.IsQuasicoherent] [M.IsFiniteType] : ProjectiveNegativeTwistCover I M := by |
| 33 | rename_i hMq hMt |
| 34 | change (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules at M |
| 35 | dsimp only [HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient] at * |
| 36 | let : M.IsQuasicoherent := hMq |
| 37 | let : M.IsFiniteType := hMt |
| 38 | apply Classical.choice |
| 39 | obtain ⟨ι, hι, d, φ, hφ⟩ := NegativeTwistGeneration.projective_quasicoherent_finiteType_negativeTwist_quotient I M |
| 40 | exact ⟨⟨ι, hι, d, φ, hφ⟩⟩ |
| 41 | |
| 42 | def source (D : ProjectiveNegativeTwistCover I M) : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules := |
| 43 | ∐ fun i : D.index ↦ (Negative.ProjectiveTwistingBundle.negativeProjectiveTwistingBundle I (D.degree i)).sheaf |
| 44 | |
| 45 | def projection (D : ProjectiveNegativeTwistCover I M) : D.source ⟶ M := Sigma.desc D.component |
| 46 | |
| 47 | theorem projection_epi (D : ProjectiveNegativeTwistCover I M) : Epi D.projection := D.epi |
| 48 | |
| 49 | theorem source_quasicoherent (D : ProjectiveNegativeTwistCover I M) : D.source.IsQuasicoherent := |
| 50 | Quasicoherent.Coproducts.module_quasicoherent_coproduct _ (fun i ↦ Line.Bundles.LineBundle.isQuasicoherent |
| 51 | (Negative.ProjectiveTwistingBundle.negativeProjectiveTwistingBundle I (D.degree i))) |
| 52 | |
| 53 | theorem source_finiteType (D : ProjectiveNegativeTwistCover I M) : D.source.IsFiniteType := by |
| 54 | let : Finite D.index := D.finite |
| 55 | exact Quasicoherent.FiniteCoproducts.module_finiteType_finite_coproduct _ |
| 56 | (fun i ↦ Line.Bundles.LineBundle.isQuasicoherent (Negative.ProjectiveTwistingBundle.negativeProjectiveTwistingBundle I (D.degree i))) |
| 57 | (fun i ↦ Line.Bundles.LineBundle.isFiniteType (Negative.ProjectiveTwistingBundle.negativeProjectiveTwistingBundle I (D.degree i))) |
| 58 | |
| 59 | end ProjectiveNegativeTwistCover |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.NegativeTwistCover |