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.IntersectionTheory.ProjectionFormula.Projective.AffineNeighborhood |
| 2 | |
| 3 | /-! # Constrained Linear Forms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ConstrainedLinearForms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Homogeneous linear forms can avoid both finitely many projective |
| 10 | point ideals and finitely many additional proper linear subspaces. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | def pointSubmodule (n : ℕ) (x : Foundations.Scheme.ProjectiveSpace.projectiveSpace n) : Submodule ℂ (Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) := |
| 15 | (x.asHomogeneousIdeal.toIdeal.restrictScalars ℂ).comap (Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1).subtype |
| 16 | |
| 17 | theorem pointSubmodule_ne_top (n : ℕ) (x : Foundations.Scheme.ProjectiveSpace.projectiveSpace n) : pointSubmodule n x ≠ ⊤ := by |
| 18 | obtain ⟨j, hj⟩ := Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen n x |
| 19 | rw [Foundations.Scheme.ProjectiveCoordinateCover.mem_projectiveCoordinateOpen] at hj |
| 20 | intro he |
| 21 | have h : (⟨MvPolynomial.X j, MvPolynomial.isHomogeneous_X ℂ j⟩ : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) ∈ |
| 22 | pointSubmodule n x := by rw [he]; trivial |
| 23 | exact hj h |
| 24 | |
| 25 | theorem exists_form (n : ℕ) {ι κ : Type} [Finite ι] [Finite κ] |
| 26 | (x : ι → Foundations.Scheme.ProjectiveSpace.projectiveSpace n) (N : κ → Submodule ℂ (Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1)) (hN : ∀ j, N j ≠ ⊤) : |
| 27 | ∃ p : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1, (∀ i, p.val ∉ (x i).asHomogeneousIdeal) ∧ ∀ j, p ∉ N j := by |
| 28 | let F : ι ⊕ κ → Submodule ℂ (Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) := Sum.elim (fun i => pointSubmodule n (x i)) N |
| 29 | have hF : ∀ j, F j ≠ ⊤ := by |
| 30 | intro j |
| 31 | cases j with |
| 32 | | inl i => exact pointSubmodule_ne_top n (x i) |
| 33 | | inr j => exact hN j |
| 34 | obtain ⟨p, hp⟩ := Submodule.exists_forall_notMem_of_forall_ne_top F hF |
| 35 | exact ⟨p, fun i => hp (Sum.inl i), fun j => hp (Sum.inr j)⟩ |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ConstrainedLinearForms |