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.Field.MatrixLargeMinors |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RangeCriterion |
| 4 | |
| 5 | /-! # Rank Lower Open -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.RankLowerOpen |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coordinate minors define the open where a matrix has a specified lower rank bound. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {μ ν : Type u} {X Y : Scheme.{u}} |
| 18 | |
| 19 | def matrixRankLowerOpen (A : Matrix ν μ Γ(X, ⊤)) (q : ℕ) : X.Opens := |
| 20 | ⨆ (r : ℕ) (_ : q ≤ r) (a : Fin r → μ) (b : Fin r → ν), X.basicOpen (A.submatrix b a).det |
| 21 | |
| 22 | theorem matrixRankLowerOpen_mem (A : Matrix ν μ Γ(X, ⊤)) (q : ℕ) (x : X) : |
| 23 | x ∈ matrixRankLowerOpen A q ↔ |
| 24 | ∃ (r : ℕ), q ≤ r ∧ ∃ (a : Fin r → μ) (b : Fin r → ν), |
| 25 | x ∈ X.basicOpen (A.submatrix b a).det := by |
| 26 | simp only [matrixRankLowerOpen, TopologicalSpace.Opens.mem_iSup, exists_prop] |
| 27 | |
| 28 | theorem matrixRankLowerOpen_preimage (c : Y ⟶ X) (A : Matrix ν μ Γ(X, ⊤)) (q : ℕ) : |
| 29 | c ⁻¹ᵁ matrixRankLowerOpen A q = matrixRankLowerOpen (A.map c.appTop.hom) q := by |
| 30 | simp only [matrixRankLowerOpen, c.preimage_iSup, Scheme.preimage_basicOpen_top] |
| 31 | congr 1 |
| 32 | funext r |
| 33 | congr 1 |
| 34 | funext h |
| 35 | congr 1 |
| 36 | funext a |
| 37 | congr 1 |
| 38 | funext b |
| 39 | exact congrArg Y.basicOpen (c.appTop.hom.map_det (A.submatrix b a)) |
| 40 | |
| 41 | theorem range_subset_basicOpen_iff (c : Y ⟶ X) (r : Γ(X, ⊤)) : |
| 42 | Set.range c ⊆ (X.basicOpen r : Set X) ↔ IsUnit (c.appTop r) := by |
| 43 | rw [Open.RangeCriterion.range_subset_open_iff_preimage_eq_top, Scheme.preimage_basicOpen_top, |
| 44 | Scalar.Nonvanishing.global_isUnit_iff_basicOpen_eq_top] |
| 45 | |
| 46 | theorem matrixRankLowerOpen_field_point {K : Type u} [Field K] |
| 47 | [Fintype μ] [Fintype ν] [DecidableEq μ] [DecidableEq ν] |
| 48 | (c : Spec (.of K) ⟶ X) (A : Matrix ν μ Γ(X, ⊤)) (q : ℕ) : |
| 49 | (letI : Field Γ(Spec (.of K), ⊤) := |
| 50 | ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 51 | (Field.toIsField K)).toField; |
| 52 | Set.range c ⊆ (matrixRankLowerOpen A q : Set X) ↔ q ≤ (A.map c.appTop.hom).rank) := by |
| 53 | let : Field Γ(Spec (.of K), ⊤) := |
| 54 | ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 55 | (Field.toIsField K)).toField |
| 56 | rw [HilbertConstruction.Field.MatrixLargeMinors.field_matrix_rank_le_iff_large_minor] |
| 57 | constructor |
| 58 | · intro h |
| 59 | let t : Spec (.of K) := (⊥ : PrimeSpectrum K) |
| 60 | obtain ⟨r, hqr, a, b, ht⟩ := (matrixRankLowerOpen_mem A q (c t)).mp (h ⟨t, rfl⟩) |
| 61 | have hr : Set.range c ⊆ (X.basicOpen (A.submatrix b a).det : Set X) := by |
| 62 | rintro z ⟨s, rfl⟩ |
| 63 | exact (Subsingleton.elim s t) ▸ ht |
| 64 | have hu := (range_subset_basicOpen_iff c (A.submatrix b a).det).mp hr |
| 65 | refine ⟨r, hqr, a, b, ?_⟩ |
| 66 | exact (c.appTop.hom.map_det (A.submatrix b a)) ▸ hu.ne_zero |
| 67 | · rintro ⟨r, hqr, a, b, hdet⟩ z hz |
| 68 | have hu : IsUnit (c.appTop (A.submatrix b a).det) := by |
| 69 | rw [c.appTop.hom.map_det (A.submatrix b a)] |
| 70 | exact isUnit_iff_ne_zero.mpr hdet |
| 71 | exact (matrixRankLowerOpen_mem A q z).mpr |
| 72 | ⟨r, hqr, a, b, (range_subset_basicOpen_iff c _).mpr hu hz⟩ |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.RankLowerOpen |