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.AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.Projective |
| 3 | |
| 4 | /-! # Algebra -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.Algebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Normalized projective chart evaluation as an algebra map, with an extensionality criterion. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial _root_.HomogeneousLocalization |
| 13 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.Projective.PolynomialProjective |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] {n : ℕ} |
| 18 | |
| 19 | theorem projectiveChart_dehomogenize_constant (i : Fin (n + 1)) (r : R) : |
| 20 | HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize i (C r) = algebraMap R (Evaluation.projectiveChartRing R n i) r := by |
| 21 | rw [HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize_C, HilbertScheme.Presentations.Homogeneous.LocalizationFlat.GradedHilbert.homogeneousLocalization_algebraMap] |
| 22 | rfl |
| 23 | |
| 24 | def projectiveChartEvaluationAlg (v : Fin (n + 1) → A) (i : Fin (n + 1)) (hi : v i = 1) : |
| 25 | Evaluation.projectiveChartRing R n i →ₐ[R] A where |
| 26 | __ := Evaluation.projectiveChartEvaluation (algebraMap R A) v i hi |
| 27 | commutes' r := by |
| 28 | rw [HilbertScheme.Presentations.Homogeneous.LocalizationFlat.GradedHilbert.homogeneousLocalization_algebraMap] |
| 29 | exact Evaluation.projectiveChartEvaluation_constant (algebraMap R A) v i hi r |
| 30 | |
| 31 | theorem projectiveChartEvaluationAlg_coordinate (v : Fin (n + 1) → A) |
| 32 | (i : Fin (n + 1)) (hi : v i = 1) (k : Fin (n + 1)) : |
| 33 | projectiveChartEvaluationAlg (R := R) v i hi (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize i (X k)) = v k := by |
| 34 | rw [HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize_X] |
| 35 | exact Evaluation.projectiveChartEvaluation_coordinate (algebraMap R A) v i hi k |
| 36 | |
| 37 | theorem projectiveChartAlgebra_ext (i : Fin (n + 1)) |
| 38 | {f g : Evaluation.projectiveChartRing R n i →ₐ[R] A} |
| 39 | (h : ∀ k : Fin (n + 1), f (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize i (X k)) = g (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize i (X k))) : f = g := by |
| 40 | have he : f.toRingHom.comp (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize i) = g.toRingHom.comp (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize i) := by |
| 41 | apply MvPolynomial.ringHom_ext |
| 42 | · intro r |
| 43 | exact (congrArg f (projectiveChart_dehomogenize_constant i r)).trans |
| 44 | ((f.commutes r).trans ((g.commutes r).symm.trans |
| 45 | (congrArg g (projectiveChart_dehomogenize_constant i r)).symm)) |
| 46 | · intro k |
| 47 | exact h k |
| 48 | apply AlgHom.ext |
| 49 | intro x |
| 50 | obtain ⟨p, rfl⟩ := HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize_surjective i x |
| 51 | exact RingHom.congr_fun he p |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.Algebra |