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.ContractedHomogeneousQuotient |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Flatness |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.QuotientRetraction |
| 4 | import Mathlib.RingTheory.LocalRing.Module |
| 5 | |
| 6 | /-! # Valuation Closure Flatness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationClosureFlatness.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Contracting a homogeneous ideal from the fraction field of a valuation |
| 13 | ring gives flat coordinate quotients in every degree and a flat Proj. -/ |
| 14 | |
| 15 | universe u |
| 16 | variable {R K : Type u} [CommRing R] [IsDomain R] [ValuationRing R] |
| 17 | variable [Field K] [Algebra R K] [IsFractionRing R K] {n : ℕ} |
| 18 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n)) |
| 19 | |
| 20 | theorem valuationClosure_degree_flat (d : ℕ) : |
| 21 | Module.Flat R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I).toIdeal d) := by |
| 22 | let : Module.IsTorsionFree R (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) := Module.IsTorsionFree.trans K |
| 23 | let := ContractedHomogeneousQuotient.GradedHilbert.contractedDegreeQuotient_isTorsionFree (R := R) I d |
| 24 | apply Module.Flat.flat_iff_torsion_eq_bot_of_isBezout.mpr |
| 25 | exact Submodule.isTorsionFree_iff_torsion_eq_bot.mp inferInstance |
| 26 | |
| 27 | theorem valuationClosure_degree_free (d : ℕ) : |
| 28 | Module.Free R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I).toIdeal d) := by |
| 29 | let := valuationClosure_degree_flat (R := R) I d |
| 30 | exact Module.free_of_flat_of_isLocalRing |
| 31 | |
| 32 | theorem valuationClosure_projective_flat : |
| 33 | AlgebraicGeometry.Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap |
| 34 | (Graded.Quotient.GradedHilbert.quotientGrading (ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I))) := |
| 35 | Projective.Flatness.GradedHilbert.projectiveQuotient_flat_of_eventually_flat _ 0 (fun d _ => valuationClosure_degree_flat I d) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationClosureFlatness.GradedHilbert |