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.Foundations.Scheme.ProjectiveSpace |
| 2 | import Mathlib.RingTheory.MvPolynomial.Ideal |
| 3 | |
| 4 | /-! # Projective Coordinate Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The finite coordinate affine cover of the actual projective scheme |
| 12 | |
| 13 | The variables generate the irrelevant ideal of the standard polynomial grading. |
| 14 | Consequently the usual coordinate basic opens cover `Proj ℂ[X₀,...,Xₙ]`. |
| 15 | This file concerns the genuine scheme, not its as-yet separately constructed |
| 16 | ordinary complex topology. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | /-- Every positive-degree homogeneous polynomial lies in the ideal of variables. -/ |
| 22 | theorem positive_homogeneous_mem_coordinateIdeal (n d : ℕ) (hd : 0 < d) |
| 23 | (f : ProjectiveSpace.homogeneousCoordinateRing n) (hf : f ∈ ProjectiveSpace.projectiveGrading n d) : |
| 24 | f ∈ Ideal.span (Set.range (MvPolynomial.X : Fin (n + 1) → ProjectiveSpace.homogeneousCoordinateRing n)) := by |
| 25 | have hpow : f ∈ MvPolynomial.idealOfVars (Fin (n + 1)) ℂ ^ 1 := by |
| 26 | rw [MvPolynomial.mem_pow_idealOfVars_iff] |
| 27 | intro m hm |
| 28 | have hdeg : m.degree = d := by |
| 29 | simpa only [Finsupp.degree_eq_weight_one, Pi.one_def] using |
| 30 | hf (MvPolynomial.mem_support_iff.mp hm) |
| 31 | simpa only [hdeg] using (Nat.succ_le_iff.mpr hd) |
| 32 | simpa only [pow_one] using hpow |
| 33 | |
| 34 | /-- The irrelevant ideal in the standard polynomial grading is generated by the variables. -/ |
| 35 | theorem projective_irrelevant_eq_coordinateIdeal (n : ℕ) : |
| 36 | (HomogeneousIdeal.irrelevant (ProjectiveSpace.projectiveGrading n)).toIdeal = |
| 37 | Ideal.span (Set.range (MvPolynomial.X : Fin (n + 1) → ProjectiveSpace.homogeneousCoordinateRing n)) := by |
| 38 | apply le_antisymm |
| 39 | · apply (HomogeneousIdeal.toIdeal_irrelevant_le (ProjectiveSpace.projectiveGrading n)).mpr |
| 40 | intro d hd f hf |
| 41 | exact positive_homogeneous_mem_coordinateIdeal n d hd f hf |
| 42 | · rw [Ideal.span_le] |
| 43 | rintro f ⟨i, rfl⟩ |
| 44 | exact HomogeneousIdeal.mem_irrelevant_of_mem (ProjectiveSpace.projectiveGrading n) (by decide : 0 < 1) |
| 45 | (MvPolynomial.isHomogeneous_X ℂ i) |
| 46 | |
| 47 | /-- The usual coordinate open `Xᵢ ≠ 0` inside the genuine projective scheme. -/ |
| 48 | abbrev projectiveCoordinateOpen (n : ℕ) (i : Fin (n + 1)) : (ProjectiveSpace.projectiveSpace n).Opens := |
| 49 | Proj.basicOpen (ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) |
| 50 | |
| 51 | @[simp] |
| 52 | theorem mem_projectiveCoordinateOpen (n : ℕ) (i : Fin (n + 1)) (x : ProjectiveSpace.projectiveSpace n) : |
| 53 | x ∈ projectiveCoordinateOpen n i ↔ MvPolynomial.X i ∉ x.asHomogeneousIdeal := |
| 54 | Proj.mem_basicOpen (ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) x |
| 55 | |
| 56 | /-- Coordinate opens cover the projective scheme. -/ |
| 57 | theorem iSup_projectiveCoordinateOpen (n : ℕ) : |
| 58 | (⨆ i, projectiveCoordinateOpen n i) = ⊤ := by |
| 59 | apply Proj.iSup_basicOpen_eq_top |
| 60 | exact (projective_irrelevant_eq_coordinateIdeal n).le |
| 61 | |
| 62 | /-- In particular, every scheme point belongs to at least one coordinate chart. -/ |
| 63 | theorem exists_mem_projectiveCoordinateOpen (n : ℕ) (x : ProjectiveSpace.projectiveSpace n) : |
| 64 | ∃ i, x ∈ projectiveCoordinateOpen n i := by |
| 65 | apply TopologicalSpace.Opens.mem_iSup.mp |
| 66 | rw [iSup_projectiveCoordinateOpen] |
| 67 | trivial |
| 68 | |
| 69 | /-- The finite standard affine open cover, with chart rings the actual degree-zero localizations. -/ |
| 70 | def projectiveCoordinateAffineCover (n : ℕ) : (ProjectiveSpace.projectiveSpace n).AffineOpenCover := |
| 71 | Proj.affineOpenCoverOfIrrelevantLESpan (ProjectiveSpace.projectiveGrading n) |
| 72 | (fun (i : Fin (n + 1)) => MvPolynomial.X i) |
| 73 | (m := fun _ => 1) |
| 74 | (fun i => MvPolynomial.isHomogeneous_X ℂ i) |
| 75 | (fun _ => by decide) |
| 76 | (projective_irrelevant_eq_coordinateIdeal n).le |
| 77 | |
| 78 | /-- Its indexing type has precisely the `n + 1` standard coordinates. -/ |
| 79 | @[simp] |
| 80 | theorem projectiveCoordinateAffineCover_index (n : ℕ) : |
| 81 | (projectiveCoordinateAffineCover n).I₀ = Fin (n + 1) := rfl |
| 82 | |
| 83 | /-- Each coordinate basic open is affine. -/ |
| 84 | theorem projectiveCoordinateOpen_isAffine (n : ℕ) (i : Fin (n + 1)) : |
| 85 | IsAffineOpen (projectiveCoordinateOpen n i) := |
| 86 | Proj.isAffineOpen_basicOpen (ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) |
| 87 | (MvPolynomial.isHomogeneous_X ℂ i) (by decide : 0 < 1) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover |