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.Balanced.ExponentCompletion |
| 2 | |
| 3 | /-! # Supported Exponent Completion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SupportedExponentCompletion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A balanced exponent vector completes any monomial supported on its |
| 10 | positive entries. The same complement balances every equal-degree numerator. -/ |
| 11 | open scoped BigOperators Classical |
| 12 | universe u v |
| 13 | variable {κ : Type u} [Fintype κ] {ι : Type v} |
| 14 | |
| 15 | theorem supportedExponent_exists_completion (a b : κ → ℕ) |
| 16 | (hab : ∀ j, b j ≠ 0 → 0 < a j) : |
| 17 | ∃ k : ℕ, 0 < k ∧ ∃ c : κ → ℕ, c + b = k • a := by |
| 18 | let k := (∑ j, b j) + 1 |
| 19 | have hb (j : κ) : b j ≤ k * a j := by |
| 20 | by_cases hj : b j = 0 |
| 21 | · rw [hj] |
| 22 | exact Nat.zero_le _ |
| 23 | · have hsum : b j ≤ ∑ j, b j := |
| 24 | Finset.single_le_sum (fun j _ => Nat.zero_le (b j)) (Finset.mem_univ _) |
| 25 | have hka : k ≤ k * a j := by |
| 26 | simpa only [Nat.mul_one] using Nat.mul_le_mul_left k (Nat.succ_le_of_lt (hab j hj)) |
| 27 | exact (hsum.trans (Nat.le_succ _)).trans hka |
| 28 | refine ⟨k, Nat.succ_pos _, fun j => k * a j - b j, ?_⟩ |
| 29 | funext j |
| 30 | exact Nat.sub_add_cancel (hb j) |
| 31 | |
| 32 | omit [Fintype κ] in |
| 33 | theorem exponent_complement_of_le {a b : κ → ℕ} (h : b ≤ a) : |
| 34 | ∃ c : κ → ℕ, c + b = a := by |
| 35 | refine ⟨fun j => a j - b j, ?_⟩ |
| 36 | funext j |
| 37 | exact Nat.sub_add_cancel (h j) |
| 38 | |
| 39 | theorem supportedBalancedExponent_exists_completion (w : κ → ι → ℕ) |
| 40 | (a b : κ → ℕ) (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid w) |
| 41 | (hab : ∀ j, b j ≠ 0 → 0 < a j) : |
| 42 | ∃ k : ℕ, 0 < k ∧ ∃ c : κ → ℕ, c + b = k • a ∧ |
| 43 | k • a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid w ∧ |
| 44 | ∀ d : κ → ℕ, (∀ i, Balanced.ExponentFiniteGeneration.monomialMultiDegree w d i = Balanced.ExponentFiniteGeneration.monomialMultiDegree w b i) → |
| 45 | c + d ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid w := by |
| 46 | obtain ⟨k, hk, c, hc⟩ := supportedExponent_exists_completion a b hab |
| 47 | have hka : k • a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid w := (Balanced.ExponentFiniteGeneration.balancedExponentMonoid w).nsmul_mem ha k |
| 48 | exact ⟨k, hk, c, hc, hka, fun d hd => Balanced.ExponentCompletion.balanced_completion_of_same_degree w _ _ _ _ hka hc hd⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SupportedExponentCompletion |