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.Matrix.RankKernelClassifier |
| 2 | |
| 3 | /-! # Rank Classifier Coefficients -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.RankClassifierCoefficients |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The Grassmannian classifier of the rank locus is characterized on |
| 10 | affine tests by the original ambient matrix pulled along that test. |
| 11 | This removes the intermediate universal pullback matrix from its formula. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {ι μ ν : Type u} [Fintype ι] [Fintype μ] [Fintype ν] |
| 17 | variable [DecidableEq ι] [DecidableEq μ] [DecidableEq ν] |
| 18 | variable {S : Scheme.{u}} (M : Over S) (F : Matrix ν μ Γ(M.left, ⊤)) |
| 19 | |
| 20 | omit [Fintype μ] [Fintype ν] [DecidableEq μ] [DecidableEq ν] in |
| 21 | theorem affineSchemeMatrixCoefficients_pullback {T : Over S} (x : T ⟶ M) |
| 22 | (R : CommRingCat.{u}) (y : Spec R ⟶ T.left) : |
| 23 | SchemeFlatMatrixGrassmannian.affineSchemeMatrixCoefficients T (F.map x.left.appTop.hom) R y = |
| 24 | SchemeFlatMatrixGrassmannian.affineSchemeMatrixCoefficients M F R (y ≫ x.left) := by |
| 25 | ext i j |
| 26 | exact congrArg (Scheme.ΓSpecIso R).hom |
| 27 | (ConcreteCategory.congr_hom (Scheme.Hom.comp_appTop y x.left).symm (F i j)) |
| 28 | |
| 29 | theorem matrixRankKernelClassifier_affine_of_kernel (R : CommRingCat.{u}) |
| 30 | (x : Spec R ⟶ (HilbertScheme.Presentations.MatrixRank.Data.Grassmannian.matrixRankOver (ι := ι) M F).left) |
| 31 | (Q : Module.Grassmannian R (μ → R) (Fintype.card ι)) |
| 32 | (hQ : Q.toSubmodule = |
| 33 | (Matrix.toLin' (SchemeFlatMatrixGrassmannian.affineSchemeMatrixCoefficients M F R |
| 34 | (x ≫ (HilbertScheme.Presentations.MatrixRank.Data.Grassmannian.matrixRankParameterMap (ι := ι) M F).left))).ker) : |
| 35 | x ≫ (RankKernelClassifier.matrixRankKernelClassifier (ι := ι) M F).left = |
| 36 | (HilbertScheme.Presentations.Relative.AffineQuotientPoint.Grassmannian.relativeQuotientClassifyingPoint (x ≫ (HilbertScheme.Presentations.MatrixRank.Data.Grassmannian.matrixRankOver (ι := ι) M F).hom) Q).left := by |
| 37 | rw [RankKernelClassifier.matrixRankKernelClassifier_affine] |
| 38 | have he : SchemeFlatMatrixGrassmannian.affineMatrixKernelPoint (HilbertScheme.Presentations.MatrixRank.Data.Grassmannian.matrixRankOver (ι := ι) M F) |
| 39 | (F.map (HilbertScheme.Presentations.MatrixRank.Data.Grassmannian.matrixRankParameterMap (ι := ι) M F).left.appTop.hom) |
| 40 | (RankKernelClassifier.matrixRankPulledMatrix_flatRank M F) R x = Q := by |
| 41 | apply Module.Grassmannian.ext |
| 42 | change (Matrix.toLin' (SchemeFlatMatrixGrassmannian.affineSchemeMatrixCoefficients (HilbertScheme.Presentations.MatrixRank.Data.Grassmannian.matrixRankOver (ι := ι) M F) |
| 43 | (F.map (HilbertScheme.Presentations.MatrixRank.Data.Grassmannian.matrixRankParameterMap (ι := ι) M F).left.appTop.hom) R x)).ker = Q.toSubmodule |
| 44 | rw [affineSchemeMatrixCoefficients_pullback] |
| 45 | exact hQ.symm |
| 46 | rw [he] |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.RankClassifierCoefficients |