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.SurjectiveGradedProjectiveMap |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 3 | import Mathlib.Algebra.Algebra.Operations |
| 4 | |
| 5 | /-! # Degree One Polynomial Presentation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DegreeOnePolynomialPresentation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Degree-one algebra generators give a concrete surjective graded |
| 12 | polynomial map and hence a closed projective embedding. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped Pointwise Classical |
| 15 | universe u |
| 16 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 17 | variable (g : ℕ → Submodule R A) [GradedAlgebra g] {n : ℕ} |
| 18 | variable (D : Fin (n + 1) → A) (hD : ∀ j, D j ∈ g 1) |
| 19 | |
| 20 | include hD in |
| 21 | theorem degreeOnePolynomialEvaluation_mem (d : ℕ) : |
| 22 | (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) R d).map (MvPolynomial.aeval D).toLinearMap ≤ g d := by |
| 23 | have h₁ : (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) R 1).map |
| 24 | (MvPolynomial.aeval D).toLinearMap ≤ g 1 := by |
| 25 | rw [MvPolynomial.homogeneousSubmodule_one_eq_span_X, Submodule.map_span] |
| 26 | apply Submodule.span_le.mpr |
| 27 | rintro _ ⟨p, ⟨j, rfl⟩, rfl⟩ |
| 28 | change MvPolynomial.aeval D (MvPolynomial.X j) ∈ g 1 |
| 29 | rw [MvPolynomial.aeval_X] |
| 30 | exact hD j |
| 31 | rw [← MvPolynomial.homogeneousSubmodule_one_pow, Submodule.map_pow] |
| 32 | induction d with |
| 33 | | zero => exact Submodule.one_le.mpr (SetLike.GradedOne.one_mem : (1 : A) ∈ g 0) |
| 34 | | succ d ih => |
| 35 | rw [pow_succ] |
| 36 | apply le_trans (mul_le_mul' ih h₁) |
| 37 | exact Submodule.mul_le.mpr (fun _ hx _ hy => SetLike.mul_mem_graded hx hy) |
| 38 | |
| 39 | def degreeOnePolynomialPresentation : Projective.ProjectivePresentations.coordinateGrading R n →+*ᵍ g where |
| 40 | __ := (MvPolynomial.aeval D).toRingHom |
| 41 | map_mem hp := degreeOnePolynomialEvaluation_mem g D hD _ ⟨_, hp, rfl⟩ |
| 42 | |
| 43 | theorem degreeOnePolynomialPresentation_surjective (hgen : Algebra.adjoin R (Set.range D) = ⊤) : |
| 44 | Function.Surjective (degreeOnePolynomialPresentation g D hD) := by |
| 45 | intro a |
| 46 | have ha : a ∈ (MvPolynomial.aeval (R := R) D).range := by |
| 47 | rw [MvPolynomial.aeval_range, hgen] |
| 48 | trivial |
| 49 | exact ha |
| 50 | |
| 51 | def degreeOneProjectiveEmbedding (hgen : Algebra.adjoin R (Set.range D) = ⊤) : |
| 52 | Proj g ⟶ Proj (Projective.ProjectivePresentations.coordinateGrading R n) := |
| 53 | Proj.map (degreeOnePolynomialPresentation g D hD) |
| 54 | (SurjectiveGradedProjectiveMap.surjectiveGradedMap_irrelevant _ _ _ (degreeOnePolynomialPresentation_surjective g D hD hgen)) |
| 55 | |
| 56 | theorem degreeOneProjectiveEmbedding_closed (hgen : Algebra.adjoin R (Set.range D) = ⊤) : |
| 57 | IsClosedImmersion (degreeOneProjectiveEmbedding g D hD hgen) := |
| 58 | SurjectiveGradedProjectiveMap.surjectiveGradedMap_closed _ _ _ (degreeOnePolynomialPresentation_surjective g D hD hgen) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DegreeOnePolynomialPresentation |