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.PivotLocus |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixPivot.Transitions |
| 3 | |
| 4 | /-! # Condition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixPivot.Condition.Grassmannian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The polynomial pivot conditions and their overlap rule after arbitrary coefficient specialization. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {R T : Type u} [CommRing R] [CommRing T] |
| 15 | variable {ι μ ν : Type u} [Fintype ι] [DecidableEq ι] |
| 16 | |
| 17 | theorem fullMatrixPivotCondition_iff |
| 18 | (A : Matrix ν μ R) (a : ι → μ) (b : ι → ν) (φ : R →+* T) : |
| 19 | Locus.Grassmannian.matrixPivotCondition (A.submatrix b a) (A.submatrix b id) (A.submatrix id a) A φ ↔ |
| 20 | IsUnit ((A.map φ).submatrix b a).det ∧ PivotCokernel.Grassmannian.fullPivotResidual (A.map φ) a b = 0 := by |
| 21 | have hd : φ (A.submatrix b a).det = ((A.map φ).submatrix b a).det := φ.map_det (A.submatrix b a) |
| 22 | have he : PivotCokernel.Grassmannian.fullPivotResidual (A.map φ) a b = (PivotCokernel.Grassmannian.fullPivotResidual A a b).map φ := |
| 23 | (Cokernel.Grassmannian.pivotResidual_map φ (A.submatrix b a) (A.submatrix b id) (A.submatrix id a) A).symm |
| 24 | rw [Locus.Grassmannian.matrixPivotCondition, hd, he] |
| 25 | apply and_congr_right |
| 26 | intro _ |
| 27 | constructor |
| 28 | · intro h |
| 29 | ext i j |
| 30 | exact h (i, j) |
| 31 | · intro h p |
| 32 | exact congrArg (fun B : Matrix ν μ T => B p.1 p.2) h |
| 33 | |
| 34 | theorem fullMatrixPivotCondition_transition |
| 35 | (A : Matrix ν μ R) (a c : ι → μ) (b d : ι → ν) (φ : R →+* T) |
| 36 | (h : Locus.Grassmannian.matrixPivotCondition (A.submatrix b a) (A.submatrix b id) (A.submatrix id a) A φ) |
| 37 | (hu : IsUnit (φ (A.submatrix d c).det)) : |
| 38 | Locus.Grassmannian.matrixPivotCondition (A.submatrix d c) (A.submatrix d id) (A.submatrix id c) A φ := by |
| 39 | obtain ⟨hminor, hres⟩ := (fullMatrixPivotCondition_iff A a b φ).mp h |
| 40 | apply (fullMatrixPivotCondition_iff A c d φ).mpr |
| 41 | have hd : φ (A.submatrix d c).det = ((A.map φ).submatrix d c).det := φ.map_det (A.submatrix d c) |
| 42 | have hu' : IsUnit ((A.map φ).submatrix d c).det := hd ▸ hu |
| 43 | exact ⟨hu', Transitions.Grassmannian.fullPivotResidual_transition (A.map φ) a c b d hminor hres hu'⟩ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixPivot.Condition.Grassmannian |