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.Graded.BaseChange |
| 2 | import Mathlib.RingTheory.Flat.TorsionFree |
| 3 | |
| 4 | /-! # Contracted Homogeneous Quotient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ContractedHomogeneousQuotient.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Contract a homogeneous ideal along a coefficient extension. The actual |
| 11 | quotient embeds in the original quotient, so torsion-freeness descends. -/ |
| 12 | |
| 13 | universe u v |
| 14 | variable {R : Type u} [CommRing R] {A : Type v} [CommRing A] [Algebra R A] {n : ℕ} |
| 15 | |
| 16 | def contractedHomogeneousIdeal (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading A n)) : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n) := |
| 17 | I.comap (Graded.BaseChange.GradedHilbert.gradedCoefficientMap (algebraMap R A)) |
| 18 | |
| 19 | def contractedQuotientMap (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading A n)) : |
| 20 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ (contractedHomogeneousIdeal I).toIdeal) →ₐ[R] |
| 21 | Hilbert.Polynomial.GradedHilbert.CoordinateRing A n ⧸ I.toIdeal := |
| 22 | Ideal.quotientMapₐ I.toIdeal (MvPolynomial.mapAlgHom (Algebra.ofId R A)) le_rfl |
| 23 | |
| 24 | theorem contractedQuotientMap_injective (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading A n)) : |
| 25 | Function.Injective (contractedQuotientMap (R := R) I) := Ideal.quotientMap_injective |
| 26 | |
| 27 | theorem contractedQuotient_isTorsionFree (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading A n)) |
| 28 | [Module.IsTorsionFree R (Hilbert.Polynomial.GradedHilbert.CoordinateRing A n ⧸ I.toIdeal)] : |
| 29 | Module.IsTorsionFree R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ (contractedHomogeneousIdeal I).toIdeal) := |
| 30 | Function.Injective.moduleIsTorsionFree (contractedQuotientMap I) |
| 31 | (contractedQuotientMap_injective I) (fun r x => map_smul (contractedQuotientMap I) r x) |
| 32 | |
| 33 | theorem contractedDegreeQuotient_isTorsionFree (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading A n)) |
| 34 | [Module.IsTorsionFree R (Hilbert.Polynomial.GradedHilbert.CoordinateRing A n ⧸ I.toIdeal)] (d : ℕ) : |
| 35 | Module.IsTorsionFree R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (contractedHomogeneousIdeal (R := R) I).toIdeal d) := by |
| 36 | let := contractedQuotient_isTorsionFree (R := R) I |
| 37 | let J := contractedHomogeneousIdeal (R := R) I |
| 38 | let e := Graded.Quotient.GradedHilbert.degreeQuotientEquivQuotientGrading J d |
| 39 | exact Function.Injective.moduleIsTorsionFree e e.injective (fun r x => e.map_smul r x) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ContractedHomogeneousQuotient.GradedHilbert |