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.SparseHighWeightSpanning |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisWithMarkedLabel |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MarkedThresholdPositiveSum |
| 4 | import Mathlib.LinearAlgebra.Dimension.Finrank |
| 5 | |
| 6 | /-! # Sparse Positive Weight Basis -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SparsePositiveWeightBasis |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! For a sparse configuration, every zero-sum weighting with a |
| 13 | positive maximum has a basis with positive total weight. This is the |
| 14 | dual obstruction required in the determinant-cone argument. -/ |
| 15 | open scoped BigOperators Classical |
| 16 | universe u v |
| 17 | variable {K V : Type u} [Field K] [AddCommGroup V] [Module K V] [Module.Finite K V] |
| 18 | variable {ι : Type v} [Fintype ι] |
| 19 | |
| 20 | theorem sparseFamily_positiveWeightBasis (v : ι → V) |
| 21 | (hr : 2 ≤ Module.finrank K V) |
| 22 | (hs : ∀ W : Submodule K V, W ≠ ⊤ → Module.finrank K V * |
| 23 | (Finset.univ.filter (fun i => v i ∈ W)).card < Fintype.card ι) |
| 24 | (a : ι → ℝ) (ha : ∑ i, a i = 0) (i₀ : ι) (hv₀ : v i₀ ≠ 0) |
| 25 | (ha₀ : 0 < a i₀) (hmax : ∀ i, a i ≤ a i₀) : |
| 26 | ∃ (κ : Type u) (_ : Fintype κ) (b : Module.Basis κ K V) (σ : κ → ι), |
| 27 | (∀ j, v (σ j) = b j) ∧ 0 < ∑ j, a (σ j) := by |
| 28 | let H := {i | -a i₀ < ((Module.finrank K V : ℝ) - 1) * a i} |
| 29 | have hspan := SparseHighWeightSpanning.sparse_highWeight_labels_span v (Module.finrank K V) (by omega) |
| 30 | hs a ha (a i₀) ha₀ hmax |
| 31 | have hi₀ : i₀ ∈ H := by |
| 32 | have hr' : (2 : ℝ) ≤ Module.finrank K V := by exact_mod_cast hr |
| 33 | change -a i₀ < ((Module.finrank K V : ℝ) - 1) * a i₀ |
| 34 | nlinarith |
| 35 | obtain ⟨κ, hκ, b, σ, j₀, hσ, hb, hj₀⟩ := |
| 36 | BasisWithMarkedLabel.spanningFamily_basis_containing_label v H hspan i₀ hi₀ hv₀ |
| 37 | let : Fintype κ := hκ |
| 38 | have hcard : Fintype.card κ = Module.finrank K V := (Module.finrank_eq_card_basis b).symm |
| 39 | refine ⟨κ, hκ, b, σ, hb, MarkedThresholdPositiveSum.markedThreshold_sum_pos (hcard.symm ▸ hr) |
| 40 | (fun j => a (σ j)) j₀ (a i₀) ha₀ (congrArg a hj₀) ?_⟩ |
| 41 | intro j _ |
| 42 | simpa only [hcard] using (show -a i₀ < ((Module.finrank K V : ℝ) - 1) * a (σ j) from hσ j) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SparsePositiveWeightBasis |