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.HilbertScheme.Presentations.ValuationClosureFlatness |
| 2 | import Mathlib.Algebra.Module.FinitePresentation |
| 3 | |
| 4 | /-! # Valuation Closure Relations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationClosureRelations.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every homogeneous relation degree of a valuation-ring closure is |
| 11 | finitely generated, because its quotient is finite free. -/ |
| 12 | |
| 13 | universe u |
| 14 | variable {R K : Type u} [CommRing R] [IsDomain R] [ValuationRing R] |
| 15 | variable [Field K] [Algebra R K] [IsFractionRing R K] {n : ℕ} |
| 16 | |
| 17 | theorem valuationClosure_degreeRelations_fg (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n)) (d : ℕ) : |
| 18 | (Hilbert.Polynomial.GradedHilbert.degreeRelations (ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I).toIdeal d).FG := by |
| 19 | let J := ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I |
| 20 | let Q := Hilbert.Polynomial.GradedHilbert.DegreeQuotient J.toIdeal d |
| 21 | let : Module.Free R Q := ValuationClosureFlatness.GradedHilbert.valuationClosure_degree_free I d |
| 22 | let : Module.FinitePresentation R Q := Module.finitePresentation_of_projective R Q |
| 23 | have h := Module.FinitePresentation.fg_ker (Hilbert.Polynomial.GradedHilbert.degreeRelations J.toIdeal d).mkQ |
| 24 | (Hilbert.Polynomial.GradedHilbert.degreeRelations J.toIdeal d).mkQ_surjective |
| 25 | rwa [Submodule.ker_mkQ] at h |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationClosureRelations.GradedHilbert |