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.Local.FlatMatrixPivotCover |
| 2 | import Mathlib.LinearAlgebra.Matrix.Rank |
| 3 | |
| 4 | /-! # Matrix Large Minors -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.MatrixLargeMinors |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A lower bound on the rank of a finite matrix over a field is equivalent to the existence of a nonzero coordinate minor of at least that size. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {K : Type u} [Field K] {μ ν : Type u} [Fintype μ] [Fintype ν] [DecidableEq μ] [DecidableEq ν] |
| 15 | |
| 16 | omit [DecidableEq ν] in |
| 17 | theorem field_matrix_cokernel_dimension_add_rank (A : Matrix ν μ K) : |
| 18 | Module.finrank K ((ν → K) ⧸ (Matrix.toLin' A).range) + A.rank = Fintype.card ν := by |
| 19 | change Module.finrank K ((ν → K) ⧸ (Matrix.toLin' A).range) + |
| 20 | Module.finrank K (Matrix.toLin' A).range = Fintype.card ν |
| 21 | exact (Submodule.finrank_quotient_add_finrank (Matrix.toLin' A).range).trans |
| 22 | (Module.finrank_fintype_fun_eq_card K) |
| 23 | |
| 24 | theorem field_matrix_rank_le_iff_large_minor (A : Matrix ν μ K) (q : ℕ) : |
| 25 | q ≤ A.rank ↔ ∃ (r : ℕ), q ≤ r ∧ ∃ (a : Fin r → μ) (b : Fin r → ν), (A.submatrix b a).det ≠ 0 := by |
| 26 | classical |
| 27 | constructor |
| 28 | · intro hq |
| 29 | obtain ⟨r, a, b, _, _, hu, _, hr⟩ := |
| 30 | HilbertScheme.Presentations.Local.FlatMatrixPivotCover.Grassmannian.local_flat_matrix_pivot_cover_rank A |
| 31 | (Module.finrank K ((ν → K) ⧸ (Matrix.toLin' A).range)) rfl |
| 32 | have hd := field_matrix_cokernel_dimension_add_rank A |
| 33 | exact ⟨r, by omega, a, b, hu.ne_zero⟩ |
| 34 | · rintro ⟨r, hqr, a, b, hdet⟩ |
| 35 | have hm : (A.submatrix b a).rank = r := by |
| 36 | simpa only [Fintype.card_fin] using Matrix.rank_of_det_ne_zero hdet |
| 37 | have hle := Matrix.rank_submatrix_le A b a |
| 38 | omega |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.MatrixLargeMinors |