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.RankLowerOpen |
| 2 | |
| 3 | /-! # Kernel Dimension Open -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.KernelDimensionOpen |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The locus where the kernel of a finite matrix has fiber dimension at most a given bound is open and commutes with base change. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {μ ν : Type u} [Fintype μ] [Fintype ν] [DecidableEq μ] [DecidableEq ν] |
| 16 | |
| 17 | omit [Fintype ν] [DecidableEq ν] in |
| 18 | theorem field_matrix_kernel_dimension_add_rank {K : Type u} [Field K] (A : Matrix ν μ K) : |
| 19 | Module.finrank K (Matrix.toLin' A).ker + A.rank = Fintype.card μ := by |
| 20 | change Module.finrank K (Matrix.toLin' A).ker + |
| 21 | Module.finrank K (Matrix.toLin' A).range = Fintype.card μ |
| 22 | rw [Nat.add_comm] |
| 23 | exact (LinearMap.finrank_range_add_finrank_ker (Matrix.toLin' A)).trans |
| 24 | (Module.finrank_fintype_fun_eq_card K) |
| 25 | |
| 26 | omit [Fintype ν] [DecidableEq ν] in |
| 27 | theorem field_matrix_kernel_dimension_le_iff_rank {K : Type u} [Field K] |
| 28 | (A : Matrix ν μ K) (d : ℕ) : |
| 29 | Module.finrank K (Matrix.toLin' A).ker ≤ d ↔ Fintype.card μ - d ≤ A.rank := by |
| 30 | have := field_matrix_kernel_dimension_add_rank A |
| 31 | omega |
| 32 | |
| 33 | def matrixKernelDimensionOpen {X : Scheme.{u}} (A : Matrix ν μ Γ(X, ⊤)) (d : ℕ) : X.Opens := |
| 34 | RankLowerOpen.matrixRankLowerOpen A (Fintype.card μ - d) |
| 35 | |
| 36 | omit [Fintype ν] [DecidableEq μ] [DecidableEq ν] in |
| 37 | theorem matrixKernelDimensionOpen_preimage {X Y : Scheme.{u}} (c : Y ⟶ X) |
| 38 | (A : Matrix ν μ Γ(X, ⊤)) (d : ℕ) : |
| 39 | c ⁻¹ᵁ matrixKernelDimensionOpen A d = matrixKernelDimensionOpen (A.map c.appTop.hom) d := |
| 40 | RankLowerOpen.matrixRankLowerOpen_preimage c A _ |
| 41 | |
| 42 | theorem matrixKernelDimensionOpen_field_point {X : Scheme.{u}} {K : Type u} [Field K] |
| 43 | (c : Spec (.of K) ⟶ X) (A : Matrix ν μ Γ(X, ⊤)) (d : ℕ) : |
| 44 | (letI : Field Γ(Spec (.of K), ⊤) := |
| 45 | ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 46 | (Field.toIsField K)).toField; |
| 47 | Set.range c ⊆ (matrixKernelDimensionOpen A d : Set X) ↔ |
| 48 | Module.finrank Γ(Spec (.of K), ⊤) (Matrix.toLin' (A.map c.appTop.hom)).ker ≤ d) := by |
| 49 | let : Field Γ(Spec (.of K), ⊤) := |
| 50 | ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 51 | (Field.toIsField K)).toField |
| 52 | exact (RankLowerOpen.matrixRankLowerOpen_field_point c A _).trans |
| 53 | (field_matrix_kernel_dimension_le_iff_rank _ d).symm |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.KernelDimensionOpen |