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.GradedIdealReconstruction |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.Quotient |
| 3 | import Mathlib.RingTheory.Flat.Basic |
| 4 | |
| 5 | /-! # Quotient Flatness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The actual quotient by a homogeneous ideal is flat exactly when all of its |
| 13 | degree quotients are flat. Applied to reconstructed relations, this proves |
| 14 | flatness directly from the quotient modules parametrized by Grassmannians. |
| 15 | -/ |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {R : Type u} [CommRing R] {σ : Type v} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | variable (I : HomogeneousIdeal (MvPolynomial.homogeneousSubmodule σ R)) (d : ℕ) |
| 24 | |
| 25 | theorem Homogeneous.QuotientFlatness.homogeneousQuotientDegreeMap_ker : |
| 26 | (HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient.quotientDegreeMap I d).ker = Homogeneous.IdealIncidence.homogeneousDegreeRelations I d := by |
| 27 | apply Submodule.ext |
| 28 | intro p |
| 29 | change HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient.quotientDegreeMap I d p = 0 ↔ p.val ∈ I.toIdeal |
| 30 | constructor |
| 31 | · intro h |
| 32 | exact Ideal.Quotient.eq_zero_iff_mem.mp (congrArg Subtype.val h) |
| 33 | · intro h |
| 34 | apply Subtype.ext |
| 35 | exact Ideal.Quotient.eq_zero_iff_mem.mpr h |
| 36 | |
| 37 | def Homogeneous.QuotientFlatness.homogeneousDegreeQuotientEquiv : |
| 38 | (MvPolynomial.homogeneousSubmodule σ R d ⧸ Homogeneous.IdealIncidence.homogeneousDegreeRelations I d) ≃ₗ[R] |
| 39 | HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient.quotientGrading I d := |
| 40 | (Submodule.quotEquivOfEq _ _ (Homogeneous.QuotientFlatness.homogeneousQuotientDegreeMap_ker I d).symm).trans |
| 41 | ((HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient.quotientDegreeMap I d).quotKerEquivOfSurjective (HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient.quotientDegreeMap_surjective I d)) |
| 42 | |
| 43 | theorem Homogeneous.QuotientFlatness.homogeneousQuotient_flat_iff : Module.Flat R (MvPolynomial σ R ⧸ I.toIdeal) ↔ |
| 44 | ∀ d, Module.Flat R (MvPolynomial.homogeneousSubmodule σ R d ⧸ Homogeneous.IdealIncidence.homogeneousDegreeRelations I d) := by |
| 45 | rw [Module.Flat.equiv_iff (DirectSum.decomposeLinearEquiv (HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient.quotientGrading I)), |
| 46 | Module.Flat.directSum_iff] |
| 47 | exact forall_congr' (fun d => (Module.Flat.equiv_iff (Homogeneous.QuotientFlatness.homogeneousDegreeQuotientEquiv I d)).symm) |
| 48 | |
| 49 | theorem GradedIdealReconstruction.GradedIdealRelations.quotient_flat_iff (D : GradedIdealReconstruction.GradedIdealRelations R σ) : |
| 50 | Module.Flat R (MvPolynomial σ R ⧸ D.toIdeal) ↔ |
| 51 | ∀ d, Module.Flat R (MvPolynomial.homogeneousSubmodule σ R d ⧸ D.piece d) := by |
| 52 | refine (Homogeneous.QuotientFlatness.homogeneousQuotient_flat_iff D.toHomogeneousIdeal).trans ?_ |
| 53 | exact forall_congr' (fun d => iff_of_eq (congrArg |
| 54 | (fun N : Submodule R (MvPolynomial.homogeneousSubmodule σ R d) => |
| 55 | Module.Flat R (MvPolynomial.homogeneousSubmodule σ R d ⧸ N)) |
| 56 | (D.toHomogeneousIdeal_degree d))) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |