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.KernelDimensionOpen |
| 2 | |
| 3 | /-! # Matrix Rank Scalar Extension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.MatrixRankScalarExtension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Extending a field preserves matrix rank and the dimension of the actual matrix kernel. -/ |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable {K L : Type u} [Field K] [Field L] |
| 14 | variable {μ ν : Type u} [Fintype μ] [Fintype ν] [DecidableEq μ] [DecidableEq ν] |
| 15 | |
| 16 | theorem fieldMatrix_rank_map (φ : K →+* L) (A : Matrix ν μ K) : (A.map φ).rank = A.rank := by |
| 17 | have hq (q : ℕ) : q ≤ (A.map φ).rank ↔ q ≤ A.rank := by |
| 18 | rw [MatrixLargeMinors.field_matrix_rank_le_iff_large_minor, MatrixLargeMinors.field_matrix_rank_le_iff_large_minor] |
| 19 | apply exists_congr |
| 20 | intro r |
| 21 | apply and_congr_right |
| 22 | intro _ |
| 23 | apply exists_congr |
| 24 | intro a |
| 25 | apply exists_congr |
| 26 | intro b |
| 27 | have hz : φ (A.submatrix b a).det = 0 ↔ (A.submatrix b a).det = 0 := by |
| 28 | simpa only [map_zero] using |
| 29 | (φ.injective.eq_iff : φ (A.submatrix b a).det = φ 0 ↔ (A.submatrix b a).det = 0) |
| 30 | exact ((congrArg (fun z : L => z ≠ 0) (φ.map_det (A.submatrix b a)).symm).to_iff).trans |
| 31 | (not_congr hz) |
| 32 | exact le_antisymm ((hq _).mp le_rfl) ((hq _).mpr le_rfl) |
| 33 | |
| 34 | theorem fieldMatrix_kernel_finrank_map (φ : K →+* L) (A : Matrix ν μ K) : |
| 35 | Module.finrank L (Matrix.toLin' (A.map φ)).ker = Module.finrank K (Matrix.toLin' A).ker := by |
| 36 | have hK := HilbertConstruction.Matrix.KernelDimensionOpen.field_matrix_kernel_dimension_add_rank A |
| 37 | have hL := HilbertConstruction.Matrix.KernelDimensionOpen.field_matrix_kernel_dimension_add_rank (A.map φ) |
| 38 | have hr := fieldMatrix_rank_map φ A |
| 39 | omega |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.MatrixRankScalarExtension |