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.Projection.ChartPolynomialExtension |
| 2 | import Mathlib.RingTheory.Smooth.StandardSmoothOfFree |
| 3 | import Mathlib.RingTheory.Kaehler.Polynomial |
| 4 | import Mathlib.RingTheory.RingHom.StandardSmooth |
| 5 | |
| 6 | /-! # Chart Smooth -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.ChartSmooth |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The native ring map on each coordinate-projection chart is |
| 13 | standard smooth of the expected relative dimension. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | theorem polynomial (R ι : Type) [CommRing R] [Nontrivial R] [Fintype ι] : |
| 19 | Algebra.IsStandardSmoothOfRelativeDimension (Fintype.card ι) R (MvPolynomial ι R) := by |
| 20 | let : Algebra.IsStandardSmooth R (MvPolynomial ι R) := |
| 21 | Algebra.IsStandardSmooth.of_basis_kaehlerDifferential |
| 22 | (KaehlerDifferential.mvPolynomialBasis R ι) (by |
| 23 | rintro _ ⟨i, rfl⟩ |
| 24 | exact ⟨MvPolynomial.X i, (KaehlerDifferential.mvPolynomialBasis_apply R ι i).symm⟩) |
| 25 | rw [Algebra.IsStandardSmoothOfRelativeDimension.iff_of_isStandardSmooth] |
| 26 | simpa using (KaehlerDifferential.mvPolynomialBasis R ι).mk_eq_rank.symm |
| 27 | |
| 28 | theorem chart {m n : ℕ} (j : Fin (m + 1) → Fin (n + 1)) (hj : Function.Injective j) (i : Fin (m + 1)) : |
| 29 | RingHom.IsStandardSmoothOfRelativeDimension (n - m) (HomogeneousChartRenaming.chartMap j i) := by |
| 30 | let : IsDomain (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing m i) := Function.Injective.isDomain |
| 31 | (Foundations.Scheme.PolynomialToProjectiveChart.projectiveChartRingEquiv m i) (Foundations.Scheme.PolynomialToProjectiveChart.projectiveChartRingEquiv m i).injective |
| 32 | let : Algebra (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing m i) (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing n (j i)) := |
| 33 | (HomogeneousChartRenaming.chartMap j i).toAlgebra |
| 34 | let := Fintype.ofFinite (ChartPolynomialExtension.extra j hj i) |
| 35 | have hc : Fintype.card (ChartPolynomialExtension.extra j hj i) = n - m := by |
| 36 | have he := ChartPolynomialExtension.card_extra j hj i |
| 37 | rw [Nat.card_eq_fintype_card] at he |
| 38 | omega |
| 39 | let : Algebra.IsStandardSmoothOfRelativeDimension (n - m) (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing m i) |
| 40 | (MvPolynomial (ChartPolynomialExtension.extra j hj i) (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing m i)) := by |
| 41 | rw [← hc] |
| 42 | exact polynomial (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing m i) (ChartPolynomialExtension.extra j hj i) |
| 43 | exact Algebra.IsStandardSmoothOfRelativeDimension.of_algEquiv (n - m) |
| 44 | (ChartPolynomialExtension.algebraEquiv j hj i).symm |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.ChartSmooth |