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.ProjectivePointSurjective |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveVectorScale |
| 3 | |
| 4 | /-! # Point Linear Separation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.PointLinearSeparation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Distinct closed projective points are separated by degree-one forms. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem vectors {n : ℕ} (v w : Fin (n + 1) → ℂ) (hv : v ≠ 0) (hw : w ≠ 0) |
| 18 | (hne : Foundations.Scheme.ProjectiveVectorPoint.projectiveVectorPoint v hv (IsLocalRing.closedPoint ℂ) ≠ |
| 19 | Foundations.Scheme.ProjectiveVectorPoint.projectiveVectorPoint w hw (IsLocalRing.closedPoint ℂ)) : |
| 20 | ∃ a : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1, MvPolynomial.eval v a.val = 0 ∧ |
| 21 | MvPolynomial.eval w a.val ≠ 0 := by |
| 22 | obtain ⟨i, hi⟩ : ∃ i, v i ≠ 0 := by |
| 23 | by_contra h |
| 24 | push Not at h |
| 25 | exact hv (funext h) |
| 26 | have hj : ∃ j, v i * w j - v j * w i ≠ 0 := by |
| 27 | by_contra h |
| 28 | push Not at h |
| 29 | have hwi : w i ≠ 0 := by |
| 30 | intro hwi |
| 31 | apply hw |
| 32 | funext j |
| 33 | have he := h j |
| 34 | simp only [hwi, mul_zero, sub_zero] at he |
| 35 | exact (mul_eq_zero.mp he).resolve_left hi |
| 36 | have he : w = (w i / v i) • v := by |
| 37 | funext j |
| 38 | change w j = w i / v i * v j |
| 39 | rw [div_mul_eq_mul_div, eq_div_iff hi] |
| 40 | exact (mul_comm _ _).trans ((sub_eq_zero.mp (h j)).trans (mul_comm _ _)) |
| 41 | have hc : w i / v i ≠ 0 := div_ne_zero hwi hi |
| 42 | have hn : (w i / v i) • v ≠ 0 := he ▸ hw |
| 43 | apply hne |
| 44 | simpa only [← he] using (Foundations.Scheme.ProjectiveVectorScale.projectiveVectorPoint_smul_apply v hv _ hc hn |
| 45 | (IsLocalRing.closedPoint ℂ)).symm |
| 46 | obtain ⟨j, hj⟩ := hj |
| 47 | refine ⟨⟨MvPolynomial.C (v i) * MvPolynomial.X j - |
| 48 | MvPolynomial.C (v j) * MvPolynomial.X i, |
| 49 | (MvPolynomial.isHomogeneous_C_mul_X (v i) j).sub |
| 50 | (MvPolynomial.isHomogeneous_C_mul_X (v j) i)⟩, ?_, ?_⟩ |
| 51 | · simp only [map_sub, map_mul, MvPolynomial.eval_C, MvPolynomial.eval_X] |
| 52 | ring |
| 53 | · simpa only [map_sub, map_mul, MvPolynomial.eval_C, MvPolynomial.eval_X] using hj |
| 54 | |
| 55 | theorem points (n : ℕ) (x y : Foundations.Scheme.ProjectiveSpace.projectiveSpace n) (hx : IsClosed ({x} : Set _)) |
| 56 | (hy : IsClosed ({y} : Set _)) (hne : x ≠ y) : |
| 57 | ∃ a : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1, |
| 58 | a.val ∈ x.asHomogeneousIdeal ∧ a.val ∉ y.asHomogeneousIdeal := by |
| 59 | obtain ⟨v, hv, hev⟩ := Foundations.Scheme.ProjectivePointSurjective.projectiveVectorPoint_surjective |
| 60 | (pointOfClosedPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) x hx) |
| 61 | (pointOfClosedPoint_comp (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) x hx) |
| 62 | obtain ⟨w, hw, hew⟩ := Foundations.Scheme.ProjectivePointSurjective.projectiveVectorPoint_surjective |
| 63 | (pointOfClosedPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) y hy) |
| 64 | (pointOfClosedPoint_comp (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) y hy) |
| 65 | have hvx : Foundations.Scheme.ProjectiveVectorPoint.projectiveVectorPoint v hv (IsLocalRing.closedPoint ℂ) = x := by |
| 66 | rw [hev, pointOfClosedPoint_apply] |
| 67 | have hwy : Foundations.Scheme.ProjectiveVectorPoint.projectiveVectorPoint w hw (IsLocalRing.closedPoint ℂ) = y := by |
| 68 | rw [hew, pointOfClosedPoint_apply] |
| 69 | obtain ⟨a, ha, hb⟩ := vectors v w hv hw (by simpa only [hvx, hwy] using hne) |
| 70 | refine ⟨a, ?_, ?_⟩ |
| 71 | · rw [← hvx, Foundations.Scheme.ProjectiveVectorScale.projectiveVectorPoint_homogeneous_mem_iff v hv a.val 1 a.property] |
| 72 | exact ha |
| 73 | · rw [← hwy, Foundations.Scheme.ProjectiveVectorScale.projectiveVectorPoint_homogeneous_mem_iff w hw a.val 1 a.property] |
| 74 | exact hb |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.PointLinearSeparation |