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 Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic |
| 2 | import Mathlib.RingTheory.MvPolynomial.Homogeneous |
| 3 | import Mathlib.Basic.Complex.Basic |
| 4 | |
| 5 | /-! # Projective Space -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Standard complex projective space |
| 13 | |
| 14 | The scheme is literally the projective spectrum of the polynomial ring with |
| 15 | its standard grading. Its structure map uses the proved identification of the |
| 16 | degree-zero ring with the complex numbers. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | /-- The base scheme for complex algebraic geometry. -/ |
| 22 | abbrev complexBase : Scheme := Spec (.of ℂ) |
| 23 | |
| 24 | /-- The standard homogeneous coordinate ring in `n + 1` variables. -/ |
| 25 | abbrev homogeneousCoordinateRing (n : ℕ) := MvPolynomial (Fin (n + 1)) ℂ |
| 26 | |
| 27 | /-- The usual grading by total degree. -/ |
| 28 | abbrev projectiveGrading (n : ℕ) : ℕ → Submodule ℂ (homogeneousCoordinateRing n) := |
| 29 | MvPolynomial.homogeneousSubmodule (Fin (n + 1)) ℂ |
| 30 | |
| 31 | instance projectiveGradedAlgebra (n : ℕ) : GradedAlgebra (projectiveGrading n) := |
| 32 | MvPolynomial.gradedAlgebra |
| 33 | |
| 34 | /-- Complex projective `n`-space as the genuine scheme `Proj ℂ[X₀,...,Xₙ]`. -/ |
| 35 | abbrev projectiveSpace (n : ℕ) : Scheme := AlgebraicGeometry.Proj (projectiveGrading n) |
| 36 | |
| 37 | /-- The degree-zero ring of the homogeneous coordinate ring consists exactly |
| 38 | of the constant complex polynomials. -/ |
| 39 | def degreeZeroConstants (n : ℕ) : ℂ ≃+* projectiveGrading n 0 where |
| 40 | toFun z := ⟨MvPolynomial.C z, MvPolynomial.isHomogeneous_C (Fin (n + 1)) z⟩ |
| 41 | invFun p := p.val.coeff 0 |
| 42 | left_inv z := MvPolynomial.coeff_zero_C z |
| 43 | right_inv p := by |
| 44 | apply Subtype.ext |
| 45 | have hp : MvPolynomial.IsHomogeneous p.val 0 := p.property |
| 46 | exact (MvPolynomial.totalDegree_eq_zero_iff_eq_C.mp |
| 47 | ((MvPolynomial.totalDegree_zero_iff_isHomogeneous (Fin (n + 1))).mpr hp)).symm |
| 48 | map_mul' z w := by |
| 49 | apply Subtype.ext |
| 50 | exact map_mul MvPolynomial.C z w |
| 51 | map_add' z w := by |
| 52 | apply Subtype.ext |
| 53 | exact map_add MvPolynomial.C z w |
| 54 | |
| 55 | @[simp] |
| 56 | theorem degreeZeroConstants_coe (n : ℕ) (z : ℂ) : |
| 57 | (degreeZeroConstants n z : homogeneousCoordinateRing n) = MvPolynomial.C z := rfl |
| 58 | |
| 59 | @[simp] |
| 60 | theorem degreeZeroConstants_symm_apply (n : ℕ) (p : projectiveGrading n 0) : |
| 61 | (degreeZeroConstants n).symm p = p.val.coeff 0 := rfl |
| 62 | |
| 63 | /-- The standard structure morphism `ℙⁿ_ℂ → Spec ℂ`. -/ |
| 64 | def projectiveSpaceToBase (n : ℕ) : projectiveSpace n ⟶ complexBase := |
| 65 | Proj.toSpecZero (projectiveGrading n) ≫ |
| 66 | Spec.map (CommRingCat.ofHom (degreeZeroConstants n).toRingHom) |
| 67 | |
| 68 | /-- On every standard homogeneous chart, the structure morphism is induced |
| 69 | by constants followed by the canonical map to the degree-zero localization. -/ |
| 70 | theorem projectiveSpaceToBase_chart (n : ℕ) (m : ℕ) |
| 71 | (f : homogeneousCoordinateRing n) (hf : f ∈ projectiveGrading n m) (hm : 0 < m) : |
| 72 | Proj.awayι (projectiveGrading n) f hf hm ≫ projectiveSpaceToBase n = |
| 73 | Spec.map (CommRingCat.ofHom |
| 74 | ((HomogeneousLocalization.fromZeroRingHom (projectiveGrading n) (Submonoid.powers f)).comp |
| 75 | (degreeZeroConstants n).toRingHom)) := by |
| 76 | rw [projectiveSpaceToBase, ← Category.assoc, Proj.awayι_toSpecZero, ← Spec.map_comp] |
| 77 | rfl |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace |