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.HilbertScheme.Presentations.Hilbert.Existence |
| 2 | |
| 3 | /-! # Twist Rank Rigidity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.TwistRankRigidity |
| 6 | |
| 7 | /-! In positive projective dimension, the nonnegative twist section |
| 8 | rank is strictly increasing; rank n+1 uniquely identifies degree one. -/ |
| 9 | |
| 10 | theorem projectiveTwistRank_strictMono (n : ℕ) (hn : 0 < n) : |
| 11 | StrictMono (fun d : ℕ => (d + n).choose n) := by |
| 12 | obtain ⟨k, rfl⟩ := Nat.exists_eq_succ_of_ne_zero (Nat.ne_zero_of_lt hn) |
| 13 | apply strictMono_nat_of_lt_succ |
| 14 | intro d |
| 15 | have hp : 0 < (d + (k + 1)).choose k := Nat.choose_pos (by omega) |
| 16 | change (d + (k + 1)).choose (k + 1) < (d + 1 + (k + 1)).choose (k + 1) |
| 17 | rw [show d + 1 + (k + 1) = (d + (k + 1)) + 1 by omega, Nat.choose_succ_succ'] |
| 18 | omega |
| 19 | |
| 20 | theorem projectiveTwistRank_eq_dimension_iff (n : ℕ) (hn : 0 < n) (d : ℕ) : |
| 21 | (d + n).choose n = n + 1 ↔ d = 1 := by |
| 22 | have h1 : (1 + n).choose n = n + 1 := by |
| 23 | rw [Nat.add_comm, Nat.choose_succ_self_right] |
| 24 | rw [← h1] |
| 25 | exact (projectiveTwistRank_strictMono n hn).injective.eq_iff |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.TwistRankRigidity |