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.Homogeneous.FunctionFieldRestrictions |
| 2 | import Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic |
| 3 | |
| 4 | /-! # Function Field Point -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.FunctionFieldPoint |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical function-field-valued point of projective space |
| 11 | is independent of the standard chart used to construct it. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | |
| 15 | universe u |
| 16 | variable (K : Type u) [Field K] {n : ℕ} |
| 17 | |
| 18 | theorem homogeneousChartFunctionFieldMap_awayMap_of_eq |
| 19 | (f g x : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) (hf : f ≠ 0) (hg : g ≠ 0) (hx0 : x ≠ 0) |
| 20 | {d : ℕ} (hgd : g ∈ Hilbert.Polynomial.GradedHilbert.grading K n d) (hx : x = f * g) : |
| 21 | (Homogeneous.ChartFunctionField.homogeneousChartFunctionFieldMap K x hx0).comp |
| 22 | (HomogeneousLocalization.awayMap (Hilbert.Polynomial.GradedHilbert.grading K n) hgd hx) = |
| 23 | Homogeneous.ChartFunctionField.homogeneousChartFunctionFieldMap K f hf := by |
| 24 | subst x |
| 25 | exact Homogeneous.FunctionFieldRestrictions.homogeneousChartFunctionFieldMap_awayMap K f g hf hg hgd |
| 26 | |
| 27 | def projectiveFunctionFieldChartPoint (f : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) (hf : f ≠ 0) |
| 28 | {d : ℕ} (hfd : f ∈ Hilbert.Polynomial.GradedHilbert.grading K n d) (hd : 0 < d) : |
| 29 | Spec (.of (FractionRing (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n))) ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading K n) := |
| 30 | Spec.map (CommRingCat.ofHom (Homogeneous.ChartFunctionField.homogeneousChartFunctionFieldMap K f hf)) ≫ |
| 31 | Proj.awayι (Hilbert.Polynomial.GradedHilbert.grading K n) f hfd hd |
| 32 | |
| 33 | theorem projectiveFunctionFieldChartPoint_awayMap |
| 34 | (f g x : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) (hf : f ≠ 0) (hg : g ≠ 0) (hx0 : x ≠ 0) |
| 35 | {d e : ℕ} (hfd : f ∈ Hilbert.Polynomial.GradedHilbert.grading K n d) (hgd : g ∈ Hilbert.Polynomial.GradedHilbert.grading K n e) |
| 36 | (hd : 0 < d) (hx : x = f * g) : |
| 37 | projectiveFunctionFieldChartPoint K f hf hfd hd = |
| 38 | projectiveFunctionFieldChartPoint K x hx0 (hx ▸ SetLike.mul_mem_graded hfd hgd) |
| 39 | (hd.trans_le (d.le_add_right e)) := by |
| 40 | have ha := homogeneousChartFunctionFieldMap_awayMap_of_eq K f g x hf hg hx0 hgd hx |
| 41 | change Spec.map (CommRingCat.ofHom (Homogeneous.ChartFunctionField.homogeneousChartFunctionFieldMap K f hf)) ≫ |
| 42 | Proj.awayι (Hilbert.Polynomial.GradedHilbert.grading K n) f hfd hd = _ |
| 43 | rw [← ha, CommRingCat.ofHom_comp, Spec.map_comp, Category.assoc, |
| 44 | Proj.SpecMap_awayMap_awayι] |
| 45 | rfl |
| 46 | |
| 47 | theorem projectiveFunctionFieldChartPoint_coordinate_eq (i j : Fin (n + 1)) : |
| 48 | projectiveFunctionFieldChartPoint K (X i) (X_ne_zero i) (isHomogeneous_X K i) Nat.zero_lt_one = |
| 49 | projectiveFunctionFieldChartPoint K (X j) (X_ne_zero j) (isHomogeneous_X K j) Nat.zero_lt_one := by |
| 50 | have hi := projectiveFunctionFieldChartPoint_awayMap K (X i) (X j) (X i * X j) |
| 51 | (X_ne_zero i) (X_ne_zero j) (mul_ne_zero (X_ne_zero i) (X_ne_zero j)) |
| 52 | (isHomogeneous_X K i) (isHomogeneous_X K j) Nat.zero_lt_one rfl |
| 53 | have hj := projectiveFunctionFieldChartPoint_awayMap K (X j) (X i) (X i * X j) |
| 54 | (X_ne_zero j) (X_ne_zero i) (mul_ne_zero (X_ne_zero i) (X_ne_zero j)) |
| 55 | (isHomogeneous_X K j) (isHomogeneous_X K i) Nat.zero_lt_one (mul_comm _ _) |
| 56 | exact hi.trans hj.symm |
| 57 | |
| 58 | def projectiveFunctionFieldPoint (n : ℕ) : |
| 59 | Spec (.of (FractionRing (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n))) ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading K n) := |
| 60 | projectiveFunctionFieldChartPoint K (X 0) (X_ne_zero 0) (isHomogeneous_X K 0) Nat.zero_lt_one |
| 61 | |
| 62 | theorem projectiveFunctionFieldPoint_coordinate (i : Fin (n + 1)) : |
| 63 | projectiveFunctionFieldPoint K n = |
| 64 | projectiveFunctionFieldChartPoint K (X i) (X_ne_zero i) (isHomogeneous_X K i) Nat.zero_lt_one := |
| 65 | projectiveFunctionFieldChartPoint_coordinate_eq K 0 i |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.FunctionFieldPoint |