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.Normalized.Incidence |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.KernelBaseChange |
| 3 | import Mathlib.Data.Matrix.ColumnRowPartitioned |
| 4 | |
| 5 | /-! # Generated Images -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.GeneratedImages |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Explicit matrices for sums of generated relation modules and a chosen quotient section. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.KernelBaseChange.Grassmannian |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] |
| 18 | variable {μ ν κ α : Type v} [Fintype ν] [Fintype κ] [Fintype α] |
| 19 | variable [DecidableEq ν] [DecidableEq κ] [DecidableEq α] |
| 20 | |
| 21 | theorem matrix_fromCols_range (A : Matrix μ ν R) (B : Matrix μ κ R) : |
| 22 | (Matrix.toLin' (Matrix.fromCols A B)).range = (Matrix.toLin' A).range ⊔ (Matrix.toLin' B).range := by |
| 23 | apply le_antisymm |
| 24 | · rintro _ ⟨v, rfl⟩ |
| 25 | change (Matrix.fromCols A B).mulVec v ∈ _ |
| 26 | rw [Matrix.fromCols_mulVec] |
| 27 | exact Submodule.mem_sup.mpr ⟨A.mulVec (v ∘ Sum.inl), ⟨v ∘ Sum.inl, rfl⟩, |
| 28 | B.mulVec (v ∘ Sum.inr), ⟨v ∘ Sum.inr, rfl⟩, rfl⟩ |
| 29 | · apply sup_le |
| 30 | · rintro _ ⟨v, rfl⟩ |
| 31 | refine ⟨Sum.elim v 0, ?_⟩ |
| 32 | change (Matrix.fromCols A B).mulVec (Sum.elim v 0) = A.mulVec v |
| 33 | rw [Matrix.fromCols_mulVec_sumElim, Matrix.mulVec_zero, add_zero] |
| 34 | · rintro _ ⟨v, rfl⟩ |
| 35 | refine ⟨Sum.elim 0 v, ?_⟩ |
| 36 | change (Matrix.fromCols A B).mulVec (Sum.elim 0 v) = B.mulVec v |
| 37 | rw [Matrix.fromCols_mulVec_sumElim, Matrix.mulVec_zero, zero_add] |
| 38 | |
| 39 | def matrixColumnFamily (F : α → Matrix μ ν R) : Matrix μ (α × ν) R := |
| 40 | fun j p => F p.1 j p.2 |
| 41 | |
| 42 | theorem matrixColumnFamily_range (F : α → Matrix μ ν R) : |
| 43 | (Matrix.toLin' (matrixColumnFamily F)).range = ⨆ i, (Matrix.toLin' (F i)).range := by |
| 44 | have hr : Set.range (matrixColumnFamily F).col = ⋃ i, Set.range (F i).col := by |
| 45 | ext x |
| 46 | constructor |
| 47 | · rintro ⟨⟨i, j⟩, rfl⟩ |
| 48 | exact Set.mem_iUnion.mpr ⟨i, ⟨j, rfl⟩⟩ |
| 49 | · intro hx |
| 50 | obtain ⟨i, j, rfl⟩ := Set.mem_iUnion.mp hx |
| 51 | exact ⟨⟨i, j⟩, rfl⟩ |
| 52 | rw [Matrix.range_toLin', hr, Submodule.span_iUnion] |
| 53 | exact congrArg iSup (funext (fun i => (Matrix.range_toLin' (F i)).symm)) |
| 54 | |
| 55 | variable {ι : Type v} [Fintype ι] [DecidableEq ι] [DecidableEq μ] |
| 56 | |
| 57 | def normalizedGenerationMatrix (a : ι → ν) (b : κ → μ) |
| 58 | (Q : Matrix ι ν R) (F : α → Matrix μ ν R) : Matrix μ ((α × ν) ⊕ κ) R := |
| 59 | Matrix.fromCols (matrixColumnFamily (fun i => F i * HilbertScheme.Presentations.Normalized.KernelBaseChange.Grassmannian.normalizedKernelMatrix a Q)) |
| 60 | ((1 : Matrix μ μ R).submatrix id b) |
| 61 | |
| 62 | theorem normalizedGenerationMatrix_range (a : ι → ν) (b : κ → μ) |
| 63 | (Q : Matrix ι ν R) (hQ : HilbertScheme.Presentations.Normalized.Matrices.Grassmannian.IsNormalized a Q) (F : α → Matrix μ ν R) : |
| 64 | (Matrix.toLin' (normalizedGenerationMatrix a b Q F)).range = |
| 65 | (⨆ i, ((Matrix.toLin' Q).ker).map (Matrix.toLin' (F i))) ⊔ (HilbertScheme.Presentations.Normalized.Quotients.Grassmannian.selectedBasisMap b).range := by |
| 66 | rw [normalizedGenerationMatrix, matrix_fromCols_range, matrixColumnFamily_range] |
| 67 | apply congrArg (fun N => N ⊔ (HilbertScheme.Presentations.Normalized.Quotients.Grassmannian.selectedBasisMap b).range) |
| 68 | apply congrArg iSup |
| 69 | funext i |
| 70 | rw [Matrix.toLin'_mul, LinearMap.range_comp, HilbertScheme.Presentations.Normalized.KernelBaseChange.Grassmannian.normalizedKernelMatrix_range a Q hQ] |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.GeneratedImages |