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.SumHighWeightCount |
| 2 | |
| 3 | /-! # Marked Threshold Positive Sum -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MarkedThresholdPositiveSum |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! One maximum weight and strict lower bounds on the remaining |
| 10 | weights force a positive total on a basis of the prescribed cardinality. -/ |
| 11 | open scoped BigOperators Classical |
| 12 | universe u |
| 13 | |
| 14 | theorem markedThreshold_sum_pos {κ : Type u} [Fintype κ] |
| 15 | (hκ : 2 ≤ Fintype.card κ) (a : κ → ℝ) (j₀ : κ) (M : ℝ) (_hM : 0 < M) |
| 16 | (hj₀ : a j₀ = M) |
| 17 | (hrest : ∀ j ≠ j₀, -M < ((Fintype.card κ : ℝ) - 1) * a j) : |
| 18 | 0 < ∑ j, a j := by |
| 19 | let E := (Finset.univ : Finset κ).erase j₀ |
| 20 | have hcard : E.card = Fintype.card κ - 1 := by simp only [E, Finset.card_erase_of_mem (Finset.mem_univ _), Finset.card_univ] |
| 21 | have hE : E.Nonempty := Finset.card_pos.mp (by rw [hcard]; omega) |
| 22 | have hsum := Finset.sum_lt_sum_of_nonempty hE (fun j hj => hrest j (Finset.mem_erase.mp hj).1) |
| 23 | have hc : (E.card : ℝ) = (Fintype.card κ : ℝ) - 1 := by |
| 24 | rw [hcard, Nat.cast_sub (by omega : 1 ≤ Fintype.card κ), Nat.cast_one] |
| 25 | have hjoin := Finset.sum_erase_add (s := (Finset.univ : Finset κ)) |
| 26 | (fun j => ((Fintype.card κ : ℝ) - 1) * a j) (Finset.mem_univ j₀) |
| 27 | change (∑ j ∈ E, ((Fintype.card κ : ℝ) - 1) * a j) + |
| 28 | ((Fintype.card κ : ℝ) - 1) * a j₀ = ∑ j, ((Fintype.card κ : ℝ) - 1) * a j at hjoin |
| 29 | rw [hj₀] at hjoin |
| 30 | simp only [← Finset.mul_sum] at hjoin hsum |
| 31 | simp only [Finset.sum_const, nsmul_eq_mul] at hsum |
| 32 | rw [hc] at hsum |
| 33 | have hr : (0 : ℝ) < (Fintype.card κ : ℝ) - 1 := by |
| 34 | have hh : (2 : ℝ) ≤ (Fintype.card κ : ℝ) := by exact_mod_cast hκ |
| 35 | linarith |
| 36 | nlinarith |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MarkedThresholdPositiveSum |