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.Projective.FieldPointFactors |
| 2 | |
| 3 | /-! # Chart Top Constants -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ChartTopConstants |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Field constants as actual top sections of the standard chart |
| 10 | structure sheaves, with their exact evaluation at the common point. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | |
| 14 | universe u |
| 15 | variable (K : Type u) [Field K] {n : ℕ} |
| 16 | |
| 17 | def projectiveChartTopConstants (i : Fin (n + 1)) : |
| 18 | K →+* Γ((Proj.basicOpen (Hilbert.Polynomial.GradedHilbert.grading K n) (X i)).toScheme, ⊤) := |
| 19 | (Proj.basicOpen (Hilbert.Polynomial.GradedHilbert.grading K n) (X i)).topIso.inv.hom.comp |
| 20 | ((Proj.basicOpenIsoAway (Hilbert.Polynomial.GradedHilbert.grading K n) (X i) (isHomogeneous_X K i) Nat.zero_lt_one).hom.hom.comp |
| 21 | (Polynomial.Dehomogenization.PolynomialProjective.chartConstants i)) |
| 22 | |
| 23 | theorem projectiveCoordinateFieldPoint_constant (i : Fin (n + 1)) (c : K) : |
| 24 | (Scheme.ΓSpecIso (.of (FractionRing (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n)))).hom |
| 25 | ((FieldPointFactors.projectiveCoordinateFieldPoint K i).appTop (projectiveChartTopConstants K i c)) = |
| 26 | algebraMap (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) (FractionRing (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n)) (C c) := by |
| 27 | let b := Proj.basicOpenIsoAway (Hilbert.Polynomial.GradedHilbert.grading K n) (X i) (isHomogeneous_X K i) Nat.zero_lt_one |
| 28 | have h := congrArg (fun f : Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), |
| 29 | Proj.basicOpen (Hilbert.Polynomial.GradedHilbert.grading K n) (X i)) ⟶ |
| 30 | CommRingCat.of (FractionRing (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n)) => |
| 31 | f (b.hom (Polynomial.Dehomogenization.PolynomialProjective.chartConstants i c))) |
| 32 | (FunctionFieldOpenPoint.projectiveFunctionFieldOpenPoint_sections K (X i) (X_ne_zero i) (isHomogeneous_X K i) Nat.zero_lt_one) |
| 33 | change (Scheme.ΓSpecIso (.of (FractionRing (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n)))).hom |
| 34 | ((FieldPointFactors.projectiveCoordinateFieldPoint K i).appTop (projectiveChartTopConstants K i c)) = |
| 35 | Homogeneous.ChartFunctionField.homogeneousChartFunctionFieldMap K (X i) (X_ne_zero i) (b.inv (b.hom (Polynomial.Dehomogenization.PolynomialProjective.chartConstants i c))) at h |
| 36 | rw [Iso.hom_inv_id_apply] at h |
| 37 | exact h.trans (Homogeneous.ChartFunctionField.homogeneousChartFunctionFieldMap_constant K i c) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ChartTopConstants |