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.Positive.NaturalKernelPoint |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.ExponentFiniteGeneration |
| 3 | |
| 4 | /-! # Balanced Natural Exponents -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Positive.BalancedNaturalExponents |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A strictly positive real balancing of a finite integral weight |
| 11 | matrix gives strictly positive natural exponents with exactly equal degrees. -/ |
| 12 | open scoped BigOperators Classical _root_.Matrix |
| 13 | universe u |
| 14 | |
| 15 | theorem exists_positive_balanced_natural_exponent {κ ι : Type u} [Fintype κ] [Fintype ι] |
| 16 | (w : κ → ι → ℕ) (c : κ → ℝ) (hc : ∀ k, 0 < c k) |
| 17 | (hbal : ∀ i j, (∑ k, c k * (w k i : ℝ)) = ∑ k, c k * (w k j : ℝ)) : |
| 18 | ∃ a : κ → ℕ, (∀ k, 0 < a k) ∧ a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid w := by |
| 19 | let A : Matrix (ι × ι) κ ℚ := fun ij k => (w k ij.1 : ℚ) - w k ij.2 |
| 20 | have hAc : A.map (algebraMap ℚ ℝ) *ᵥ c = 0 := by |
| 21 | ext ij |
| 22 | change (∑ k, algebraMap ℚ ℝ ((w k ij.1 : ℚ) - w k ij.2) * c k) = 0 |
| 23 | simp only [map_sub, map_natCast] |
| 24 | simp_rw [sub_mul, Finset.sum_sub_distrib] |
| 25 | exact sub_eq_zero.mpr (by simpa only [mul_comm] using hbal ij.1 ij.2) |
| 26 | obtain ⟨a, ha, hAa⟩ := NaturalKernelPoint.rationalMatrix_positive_natural_kernel_point A c hAc hc |
| 27 | refine ⟨a, ha, (Balanced.ExponentFiniteGeneration.mem_balancedExponentMonoid_iff w a).mpr ?_⟩ |
| 28 | intro i j |
| 29 | have h := congrFun hAa (i, j) |
| 30 | change (∑ k, ((w k i : ℚ) - w k j) * (a k : ℚ)) = 0 at h |
| 31 | simp_rw [sub_mul, Finset.sum_sub_distrib] at h |
| 32 | have he : (∑ k, (a k : ℚ) * (w k i : ℚ)) = ∑ k, (a k : ℚ) * (w k j : ℚ) := by |
| 33 | simpa only [mul_comm] using sub_eq_zero.mp h |
| 34 | unfold Balanced.ExponentFiniteGeneration.monomialMultiDegree |
| 35 | exact_mod_cast he |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Positive.BalancedNaturalExponents |