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.SingleDegreeProjectiveEquations |
| 2 | |
| 3 | /-! # High Degree Projective Equations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.HighDegreeProjectiveEquations.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite homogeneous projective equations may be chosen above any |
| 10 | prescribed degree, without changing the actual projective closed subscheme. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | |
| 14 | universe u |
| 15 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 16 | |
| 17 | theorem finite_single_degree_projective_equations_above |
| 18 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hfg : I.toIdeal.FG) (L : ℕ) : |
| 19 | ∃ (m N : ℕ) (g : Fin m → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (hg : ∀ j, (g j).IsHomogeneous N), |
| 20 | L ≤ N ∧ Projective.Saturation.GradedHilbert.projectiveSaturation (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) = Projective.Saturation.GradedHilbert.projectiveSaturation I := by |
| 21 | classical |
| 22 | obtain ⟨t, ht, hhom⟩ := FinitelyGeneratedHomogeneousIdeals.GradedHilbert.fg_homogeneous_generating_finset I hfg |
| 23 | choose d hd using fun j : t => hhom j.val j.property |
| 24 | let N := max L (Finset.univ.sup d) |
| 25 | have hdN (j : t) : d j ≤ N := |
| 26 | (Finset.le_sup (Finset.mem_univ j)).trans (le_max_right L (Finset.univ.sup d)) |
| 27 | let g : t × Fin (n + 1) → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n := fun j => X j.2 ^ (N - d j.1) * j.1.val |
| 28 | have hg (j : t × Fin (n + 1)) : (g j).IsHomogeneous N := by |
| 29 | have hx : (X (R := R) j.2 ^ (N - d j.1)).IsHomogeneous (N - d j.1) := by |
| 30 | simpa only [one_mul] using (isHomogeneous_X R j.2).pow (N - d j.1) |
| 31 | simpa only [Nat.sub_add_cancel (hdN j.1)] using hx.mul (hd j.1) |
| 32 | let J := Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg |
| 33 | have hJ : J.toIdeal ≤ I.toIdeal := by |
| 34 | apply Ideal.span_le.mpr |
| 35 | rintro _ ⟨j, rfl⟩ |
| 36 | exact I.toIdeal.mul_mem_left _ (ht ▸ Ideal.subset_span j.1.property) |
| 37 | have hc (i : Fin (n + 1)) : J.toIdeal.map (Dehomogenization.GradedHilbert.dehomogenize i) = I.toIdeal.map (Dehomogenization.GradedHilbert.dehomogenize i) := by |
| 38 | apply le_antisymm (Ideal.map_mono hJ) |
| 39 | rw [← ht, Ideal.map_span] |
| 40 | apply Ideal.span_le.mpr |
| 41 | rintro _ ⟨f, hf, rfl⟩ |
| 42 | change Dehomogenization.GradedHilbert.dehomogenize i f ∈ J.toIdeal.map (Dehomogenization.GradedHilbert.dehomogenize i) |
| 43 | have hm : g (⟨f, hf⟩, i) ∈ J.toIdeal := Ideal.subset_span ⟨(⟨f, hf⟩, i), rfl⟩ |
| 44 | have H := Ideal.mem_map_of_mem (Dehomogenization.GradedHilbert.dehomogenize i) hm |
| 45 | simpa only [g, map_mul, map_pow, Dehomogenization.GradedHilbert.dehomogenize_self, one_pow, one_mul] using H |
| 46 | let e : Fin (Fintype.card (t × Fin (n + 1))) ≃ t × Fin (n + 1) := (Fintype.equivFin _).symm |
| 47 | have he : Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal (fun j => g (e j)) N (fun j => hg (e j)) = J := by |
| 48 | apply HomogeneousIdeal.ext |
| 49 | change Ideal.span (Set.range (fun j => g (e j))) = Ideal.span (Set.range g) |
| 50 | congr 1 |
| 51 | ext z |
| 52 | constructor |
| 53 | · rintro ⟨j, rfl⟩ |
| 54 | exact ⟨e j, rfl⟩ |
| 55 | · rintro ⟨j, rfl⟩ |
| 56 | exact ⟨e.symm j, congrArg g (e.apply_symm_apply j)⟩ |
| 57 | refine ⟨Fintype.card (t × Fin (n + 1)), N, (fun j => g (e j)), (fun j => hg (e j)), le_max_left L _, ?_⟩ |
| 58 | rw [he] |
| 59 | exact Saturation.ChartIdeals.GradedHilbert.projectiveSaturation_eq_of_dehomogenized J I hc |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.HighDegreeProjectiveEquations.GradedHilbert |