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.Truncated.ClassificationNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.IdealBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.CoefficientFunctoriality |
| 4 | |
| 5 | /-! # Affine Universal Data -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.AffineUniversalData |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual finite quotient data and generated ideal attached to every affine parameter point. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {n B : ℕ} {r : ℕ → ℕ} |
| 18 | variable {R A : CommRingCat.{u}} |
| 19 | |
| 20 | def truncatedAffineUniversalData |
| 21 | (x : Spec R ⟶ (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left) : |
| 22 | GradedClassification.TruncatedGradedQuotientData R (Fin (n + 1)) B r := |
| 23 | GradedRepresentation.truncatedGradedPointData (Over.homMk x rfl : |
| 24 | Over.mk (x ≫ (GradedParameters.truncatedGradedParameters (Fin (n + 1)) B r S).hom) ⟶ |
| 25 | GradedParameters.truncatedGradedParameters (Fin (n + 1)) B r S) |
| 26 | |
| 27 | theorem truncatedAffineUniversalData_classifyingMap |
| 28 | (x : Spec R ⟶ (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left) : |
| 29 | (truncatedAffineUniversalData x).classifyingMap |
| 30 | (x ≫ (GradedParameters.truncatedGradedParameters (Fin (n + 1)) B r S).hom) = Over.homMk x rfl := |
| 31 | GradedRepresentation.truncatedGradedPointData_classifyingMap _ |
| 32 | |
| 33 | theorem truncatedAffineUniversalData_naturality (φ : R ⟶ A) |
| 34 | (x : Spec R ⟶ (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left) : |
| 35 | letI : Algebra R A := φ.hom.toAlgebra |
| 36 | truncatedAffineUniversalData (Spec.map φ ≫ x) = (truncatedAffineUniversalData x).baseChange A := by |
| 37 | let : Algebra R A := φ.hom.toAlgebra |
| 38 | let M := GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S |
| 39 | let D := truncatedAffineUniversalData x |
| 40 | apply GradedClassification.TruncatedGradedQuotientData.classifyingMap_injective (Spec.map φ ≫ (x ≫ M.hom)) |
| 41 | change (truncatedAffineUniversalData (Spec.map φ ≫ x)).classifyingMap |
| 42 | (Spec.map φ ≫ (x ≫ M.hom)) = |
| 43 | (D.baseChange A).classifyingMap (Spec.map φ ≫ (x ≫ M.hom)) |
| 44 | have hleft : (truncatedAffineUniversalData (Spec.map φ ≫ x)).classifyingMap |
| 45 | (Spec.map φ ≫ (x ≫ M.hom)) = Over.homMk (Spec.map φ ≫ x) (Category.assoc _ _ _) := by |
| 46 | apply Over.OverMorphism.ext |
| 47 | exact congrArg (fun k => k.left) (truncatedAffineUniversalData_classifyingMap (Spec.map φ ≫ x)) |
| 48 | have hright : (D.baseChange A).classifyingMap (Spec.map φ ≫ (x ≫ M.hom)) = |
| 49 | (Over.homMk (Spec.map φ) rfl : Over.mk (Spec.map φ ≫ (x ≫ M.hom)) ⟶ |
| 50 | Over.mk (x ≫ M.hom)) ≫ D.classifyingMap (x ≫ M.hom) := |
| 51 | D.classifyingMap_natural (A := A) (x ≫ M.hom) |
| 52 | rw [hleft, hright] |
| 53 | have hx : D.classifyingMap (x ≫ M.hom) = Over.homMk x rfl := |
| 54 | truncatedAffineUniversalData_classifyingMap x |
| 55 | rw [hx] |
| 56 | apply Over.OverMorphism.ext |
| 57 | rfl |
| 58 | |
| 59 | def truncatedAffineUniversalIdeal |
| 60 | (x : Spec R ⟶ (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left) : |
| 61 | (Projective.ProjectivePresentations.affineProjectiveSpace R n).left.IdealSheafData := |
| 62 | (truncatedAffineUniversalData x).projectiveIdeal |
| 63 | |
| 64 | theorem truncatedAffineUniversalIdeal_naturality (φ : R ⟶ A) |
| 65 | (x : Spec R ⟶ (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left) : |
| 66 | truncatedAffineUniversalIdeal (Spec.map φ ≫ x) = |
| 67 | (truncatedAffineUniversalIdeal x).comap (Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n) := by |
| 68 | let : Algebra R A := φ.hom.toAlgebra |
| 69 | change (truncatedAffineUniversalData (Spec.map φ ≫ x)).projectiveIdeal = _ |
| 70 | rw [truncatedAffineUniversalData_naturality φ x] |
| 71 | exact (truncatedAffineUniversalData x).projectiveIdeal_baseChange |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.AffineUniversalData |