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 Mathlib.LinearAlgebra.Matrix.Rank |
| 2 | import Mathlib.LinearAlgebra.LinearIndependent.Lemmas |
| 3 | |
| 4 | /-! # Nonzero Frame Minor -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.NonzeroFrameMinor.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An independent rectangular frame has a nonzero maximal minor. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open _root_.Module |
| 14 | |
| 15 | theorem exists_nonzero_frame_minor |
| 16 | {k : Type*} [Field k] {n r : ℕ} (U : Matrix (Fin n) (Fin r) k) |
| 17 | (hU : LinearIndependent k (fun j => fun i => U i j)) : |
| 18 | ∃ rows : Fin r → Fin n, (U.submatrix rows id).det ≠ 0 := by |
| 19 | obtain ⟨κ, a, _, hspan, hlin⟩ := exists_linearIndependent' k U.row |
| 20 | let : Finite κ := hlin.finite |
| 21 | let : Fintype κ := Fintype.ofFinite κ |
| 22 | have hcols : LinearIndependent k U.col := hU |
| 23 | have hcard : Fintype.card κ = r := by |
| 24 | rw [← finrank_span_eq_card hlin, hspan, ← Matrix.rank_eq_finrank_span_row, |
| 25 | Matrix.rank_eq_finrank_span_cols, finrank_span_eq_card hcols, Fintype.card_fin] |
| 26 | let e : Fin r ≃ κ := (Fintype.equivFinOfCardEq hcard).symm |
| 27 | refine ⟨a ∘ e, ?_⟩ |
| 28 | have hl : LinearIndependent k (U.submatrix (a ∘ e) id).row := hlin.comp e e.injective |
| 29 | exact ((Matrix.isUnit_iff_isUnit_det _).mp |
| 30 | (Matrix.linearIndependent_rows_iff_isUnit.mp hl)).ne_zero |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.NumberTheory.ArithmeticGroups.Lattices.NonzeroFrameMinor.Construction |