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.ChartLineFrames |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.CoordinateLocalizationUnits |
| 3 | |
| 4 | /-! # Chart Units -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ChartUnits |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Standard projective-chart units are field scalars, and each |
| 11 | remaining coordinate ratio is prime in the chart ring. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | universe u |
| 16 | variable (K : Type u) [Field K] {n : ℕ} (i : Fin (n + 1)) |
| 17 | |
| 18 | theorem projectiveChart_unit_constant (z : (AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartRing K n i)ˣ) : |
| 19 | ∃ c : Kˣ, (z : AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartRing K n i) = algebraMap K (AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartRing K n i) (c : K) := by |
| 20 | let e := ChartPolynomialEquiv.projectiveChartPolynomialEquiv K i |
| 21 | have hu : IsUnit (e (z : AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartRing K n i)) := z.isUnit.map e.toRingHom |
| 22 | obtain ⟨r, hr, h⟩ := isUnit_iff_eq_C_of_isReduced.mp hu |
| 23 | obtain ⟨c, rfl⟩ := hr |
| 24 | refine ⟨c, e.injective ?_⟩ |
| 25 | rw [e.commutes] |
| 26 | exact h |
| 27 | |
| 28 | theorem projectiveChart_coordinate_prime (j : Fin (n + 1)) (hji : j ≠ i) : |
| 29 | Prime (Polynomial.Dehomogenization.PolynomialProjective.dehomogenize (R := K) i (X j)) := by |
| 30 | let e := ChartPolynomialEquiv.projectiveChartPolynomialEquiv K i |
| 31 | have h : e (Polynomial.Dehomogenization.PolynomialProjective.dehomogenize i (X j)) = X (⟨j, hji⟩ : ChartPolynomialEquiv.ProjectiveChartVariables i) := by |
| 32 | change ChartPolynomialEquiv.projectiveChartToPolynomial K i (Polynomial.Dehomogenization.PolynomialProjective.dehomogenize i (X j)) = _ |
| 33 | rw [ChartPolynomialEquiv.projectiveChartToPolynomial_coordinate, ChartPolynomialEquiv.normalizedChartVariable, dite_eq_right hji] |
| 34 | have hp : Prime (e (Polynomial.Dehomogenization.PolynomialProjective.dehomogenize i (X j))) := h.symm ▸ X_prime |
| 35 | exact (MulEquiv.prime_iff e).mp hp |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ChartUnits |