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.Finite.IdealGenerators |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ChartEquationFiniteness |
| 3 | |
| 4 | /-! # Homogeneous Chart Equations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.HomogeneousChartEquations.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finitely generated standard-chart ideals admit one finite homogeneous |
| 11 | subideal with exactly the same projective chart equations. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | |
| 15 | universe u |
| 16 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 17 | |
| 18 | theorem finite_homogeneous_same_chart_ideals (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 19 | (hfg : ∀ i : Fin (n + 1), (I.toIdeal.map (Dehomogenization.GradedHilbert.dehomogenize i)).FG) : |
| 20 | ∃ J : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n), J.toIdeal.FG ∧ J ≤ I ∧ |
| 21 | ∀ i : Fin (n + 1), J.toIdeal.map (Dehomogenization.GradedHilbert.dehomogenize i) = I.toIdeal.map (Dehomogenization.GradedHilbert.dehomogenize i) := by |
| 22 | classical |
| 23 | obtain ⟨s, hs⟩ := (Ideal.IsHomogeneous.iff_exists (Hilbert.Polynomial.GradedHilbert.grading R n) I.toIdeal).mp I.isHomogeneous |
| 24 | let S : Set (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) := Subtype.val '' s |
| 25 | have hS : Ideal.span S = I.toIdeal := hs.symm |
| 26 | have hi (i : Fin (n + 1)) : ((Ideal.span S).map (Dehomogenization.GradedHilbert.dehomogenize i)).FG := hS.symm ▸ hfg i |
| 27 | choose t ht he using fun i : Fin (n + 1) => IdealGenerators.fg_map_span_finite_subset (Dehomogenization.GradedHilbert.dehomogenize i) S (hi i) |
| 28 | let w := Finset.univ.biUnion t |
| 29 | have hw : (↑w : Set (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)) ⊆ S := by |
| 30 | intro f hf |
| 31 | obtain ⟨i, _, hfi⟩ := Finset.mem_biUnion.mp hf |
| 32 | exact ht i hfi |
| 33 | have hhom : (Ideal.span (↑w : Set (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n))).IsHomogeneous (Hilbert.Polynomial.GradedHilbert.grading R n) := by |
| 34 | apply Ideal.homogeneous_span |
| 35 | intro f hf |
| 36 | obtain ⟨g, _, rfl⟩ := hw hf |
| 37 | exact g.property |
| 38 | let J : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n) := ⟨Ideal.span (↑w : Set (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)), hhom⟩ |
| 39 | have hJI : J ≤ I := by |
| 40 | change Ideal.span (↑w : Set (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)) ≤ I.toIdeal |
| 41 | rw [← hS] |
| 42 | exact Ideal.span_mono hw |
| 43 | refine ⟨J, Submodule.fg_span w.finite_toSet, hJI, ?_⟩ |
| 44 | intro i |
| 45 | apply le_antisymm (Ideal.map_mono hJI) |
| 46 | change I.toIdeal.map (Dehomogenization.GradedHilbert.dehomogenize i) ≤ J.toIdeal.map (Dehomogenization.GradedHilbert.dehomogenize i) |
| 47 | rw [← hS, ← he i] |
| 48 | apply Ideal.map_mono |
| 49 | apply Ideal.span_mono |
| 50 | intro f hf |
| 51 | exact Finset.mem_biUnion.mpr ⟨i, Finset.mem_univ _, hf⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.HomogeneousChartEquations.GradedHilbert |