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.SparsePositiveWeightBasis |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroSumPositiveMaximum |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LabeledDeterminantPolynomials |
| 4 | |
| 5 | /-! # Sparse Determinant Separation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SparseDeterminantSeparation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every nonzero zero-sum linear weight is positive on a nonvanishing |
| 12 | maximal determinant of a sparse configuration. This is the precise |
| 13 | finite determinant incidence statement used to construct the quotient. -/ |
| 14 | open scoped BigOperators Classical |
| 15 | universe u |
| 16 | variable {K : Type u} [Field K] {r m : ℕ} |
| 17 | |
| 18 | theorem sparseConfiguration_determinant_separates_zeroSum_weight |
| 19 | (v : Fin m → Fin r → K) (hv : ∀ i, v i ≠ 0) (hr : 2 ≤ r) |
| 20 | (hs : ∀ W : Submodule K (Fin r → K), W ≠ ⊤ → |
| 21 | r * (Finset.univ.filter (fun i => v i ∈ W)).card < m) |
| 22 | (a : Fin m → ℝ) (ha : ∑ i, a i = 0) (hne : a ≠ 0) : |
| 23 | ∃ σ : Fin r → Fin m, LabeledDeterminantPolynomials.labeledDeterminant σ v ≠ 0 ∧ 0 < ∑ j, a (σ j) := by |
| 24 | obtain ⟨i₀, ha₀, hmax⟩ := ZeroSumPositiveMaximum.zeroSum_nonzero_exists_positive_maximum a ha hne |
| 25 | have hdim : Module.finrank K (Fin r → K) = r := by simp |
| 26 | obtain ⟨κ, hκ, b, σ, hb, hsum⟩ := SparsePositiveWeightBasis.sparseFamily_positiveWeightBasis v |
| 27 | (hdim.symm ▸ hr) (by simpa only [hdim, Fintype.card_fin] using hs) |
| 28 | a ha i₀ (hv i₀) ha₀ hmax |
| 29 | let : Fintype κ := hκ |
| 30 | have hcard : Fintype.card κ = r := (Module.finrank_eq_card_basis b).symm.trans hdim |
| 31 | let e : Fin r ≃ κ := Fintype.equivOfCardEq (by simpa only [Fintype.card_fin] using hcard.symm) |
| 32 | let b' : Module.Basis (Fin r) K (Fin r → K) := b.reindex e.symm |
| 33 | have hb' : (fun j => v (σ (e j))) = b' := by |
| 34 | funext j |
| 35 | simpa only [b', Module.Basis.reindex_apply, Equiv.symm_symm] using hb (e j) |
| 36 | refine ⟨fun j => σ (e j), ?_, ?_⟩ |
| 37 | · rw [LabeledDeterminantPolynomials.labeledDeterminant_eq_basis, hb'] |
| 38 | exact ((Pi.basisFun K (Fin r)).isUnit_det b').ne_zero |
| 39 | · rw [e.sum_comp (fun j => a (σ j))] |
| 40 | exact hsum |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SparseDeterminantSeparation |