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.HilbertScheme.Presentations.MatrixPivot.Rank |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixPivot.Locus |
| 3 | |
| 4 | /-! # Pivot Locus -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixPivot.PivotLocus.Grassmannian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Relative representing schemes for pivot charts of the original finite presentation matrix. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {ι μ ν : Type u} [Fintype ι] [Fintype μ] [Fintype ν] |
| 17 | variable [DecidableEq ι] [DecidableEq μ] [DecidableEq ν] |
| 18 | |
| 19 | variable {S : Scheme.{u}} (M : Over S) (A : Matrix ν μ Γ(M.left, ⊤)) (a : ι → μ) (b : ι → ν) |
| 20 | |
| 21 | def fullMatrixPivotSubfunctor : Subfunctor (yoneda.obj M) := |
| 22 | Locus.Grassmannian.matrixPivotSubfunctor M (A.submatrix b a) (A.submatrix b id) (A.submatrix id a) A |
| 23 | |
| 24 | omit [Fintype μ] [Fintype ν] [DecidableEq μ] [DecidableEq ν] in |
| 25 | theorem full_matrix_pivot_locus_representable : |
| 26 | ∃ (U : Over S) (j : U ⟶ M), IsOpenImmersion j.left ∧ |
| 27 | ∃ (Z : Over S) (k : Z ⟶ U), IsClosedImmersion k.left ∧ |
| 28 | ∃ e : yoneda.obj Z ≅ (fullMatrixPivotSubfunctor M A a b).toFunctor, |
| 29 | e.hom ≫ (fullMatrixPivotSubfunctor M A a b).ι = yoneda.map (k ≫ j) := |
| 30 | Locus.Grassmannian.matrix_pivot_locus_representable M (A.submatrix b a) (A.submatrix b id) (A.submatrix id a) A |
| 31 | |
| 32 | def fullMatrixPivotPointCokernelEquiv {T : Over S} |
| 33 | (x : (fullMatrixPivotSubfunctor M A a b).toFunctor.obj (Opposite.op T)) : |
| 34 | ((ν → Γ(T.left, ⊤)) ⧸ (Matrix.toLin' (A.map x.val.left.appTop.hom)).range) ≃ₗ[Γ(T.left, ⊤)] |
| 35 | ({j : ν // j ∉ Set.range b} → Γ(T.left, ⊤)) := by |
| 36 | let φ := x.val.left.appTop.hom |
| 37 | have hu : IsUnit ((A.map φ).submatrix b a).det := by |
| 38 | have hd : φ (A.submatrix b a).det = ((A.map φ).submatrix b a).det := φ.map_det (A.submatrix b a) |
| 39 | exact hd ▸ x.property.1 |
| 40 | have hz : PivotCokernel.Grassmannian.fullPivotResidual (A.map φ) a b = 0 := by |
| 41 | change Cokernel.Grassmannian.pivotResidual ((A.submatrix b a).map φ) ((A.submatrix b id).map φ) |
| 42 | ((A.submatrix id a).map φ) (A.map φ) = 0 |
| 43 | rw [← Cokernel.Grassmannian.pivotResidual_map φ] |
| 44 | ext i j |
| 45 | exact x.property.2 (i, j) |
| 46 | exact PivotCokernel.Grassmannian.fullMatrixPivotCokernelEquiv (A.map φ) a b hu hz |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixPivot.PivotLocus.Grassmannian |