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.SurjectivityBaseChange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.MatrixMinors |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.Quotients |
| 4 | |
| 5 | /-! # Surjectivity Minors -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.SurjectivityMinors |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Matrix surjectivity is equivalent to maximal minors generating the unit ideal locally at every prime. -/ |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] |
| 16 | variable {ι ν : Type u} [Fintype ι] [Fintype ν] [DecidableEq ι] [DecidableEq ν] |
| 17 | |
| 18 | theorem matrix_surjective_of_unit_minor (F : Matrix ι ν R) (a : ι → ν) |
| 19 | (h : IsUnit (F.submatrix id a).det) : Function.Surjective (Matrix.toLin' F) := by |
| 20 | have hs : Function.Surjective (Matrix.toLin' (HilbertScheme.Presentations.Normalized.Matrices.Grassmannian.selectedColumns a F)) := |
| 21 | Matrix.mulVec_surjective_iff_isUnit.mpr ((HilbertScheme.Presentations.Normalized.Matrices.Grassmannian.selectedColumns a F).isUnit_iff_isUnit_det.mpr h) |
| 22 | intro y |
| 23 | obtain ⟨x, hx⟩ := hs y |
| 24 | refine ⟨HilbertScheme.Presentations.Normalized.Quotients.Grassmannian.selectedBasisMap a x, ?_⟩ |
| 25 | exact (LinearMap.congr_fun (HilbertScheme.Presentations.Normalized.Quotients.Grassmannian.matrix_comp_selectedBasisMap a F) x).trans hx |
| 26 | |
| 27 | theorem matrix_surjective_iff_prime_minors (F : Matrix ι ν R) : |
| 28 | Function.Surjective (Matrix.toLin' F) ↔ |
| 29 | ∀ p : PrimeSpectrum R, ∃ a : ι → ν, (F.submatrix id a).det ∉ p.asIdeal := by |
| 30 | constructor |
| 31 | · intro h p |
| 32 | let K := p.asIdeal.ResidueField |
| 33 | let φ := algebraMap R K |
| 34 | obtain ⟨a, _, ha⟩ := HilbertScheme.Presentations.Local.MatrixMinors.Grassmannian.local_surjective_matrix_unit_minor (F.map φ) |
| 35 | (SurjectivityBaseChange.matrix_surjective_baseChange φ F h) |
| 36 | refine ⟨a, ?_⟩ |
| 37 | intro hp |
| 38 | have hz : φ (F.submatrix id a).det = 0 := by |
| 39 | apply RingHom.mem_ker.mp |
| 40 | rw [Ideal.ker_algebraMap_residueField] |
| 41 | exact hp |
| 42 | have he : φ (F.submatrix id a).det = ((F.map φ).submatrix id a).det := |
| 43 | φ.map_det (F.submatrix id a) |
| 44 | exact ha.ne_zero (he.symm.trans hz) |
| 45 | · intro h |
| 46 | apply SurjectivityBaseChange.matrix_surjective_of_residueFields F |
| 47 | intro p |
| 48 | obtain ⟨a, ha⟩ := h p |
| 49 | let φ := algebraMap R p.asIdeal.ResidueField |
| 50 | apply matrix_surjective_of_unit_minor _ a |
| 51 | apply isUnit_iff_ne_zero.mpr |
| 52 | intro hz |
| 53 | apply ha |
| 54 | have he : φ (F.submatrix id a).det = ((F.map φ).submatrix id a).det := |
| 55 | φ.map_det (F.submatrix id a) |
| 56 | have hk : (F.submatrix id a).det ∈ RingHom.ker φ := RingHom.mem_ker.mpr (he.trans hz) |
| 57 | rwa [Ideal.ker_algebraMap_residueField] at hk |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.SurjectivityMinors |