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 Mathlib.Data.Int.GCD |
| 2 | import Mathlib.Algebra.Module.NatInt |
| 3 | |
| 4 | /-! # Coprime Integer Module Division -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoprimeIntegerModuleDivision |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Bezout's identity removes a coprime integer factor from divisibility in any abelian group. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {M : Type u} [AddCommGroup M] |
| 15 | |
| 16 | theorem coprime_nsmul_division (n m : ℕ) (hcop : n.Coprime m) (x c : M) |
| 17 | (hc : n • x = m • c) : ∃ y : M, m • y = x := by |
| 18 | let a := Nat.gcdA n m |
| 19 | let b := Nat.gcdB n m |
| 20 | have hab : (n : ℤ) * a + (m : ℤ) * b = 1 := by |
| 21 | simpa only [hcop.gcd_eq_one, Int.natCast_one] using (Nat.gcd_eq_gcd_ab n m).symm |
| 22 | refine ⟨a • c + b • x, ?_⟩ |
| 23 | calc |
| 24 | m • (a • c + b • x) = a • (m • c) + b • (m • x) := by |
| 25 | rw [nsmul_add, smul_comm m a c, smul_comm m b x] |
| 26 | _ = a • (n • x) + b • (m • x) := congrArg (fun z => a • z + b • (m • x)) hc.symm |
| 27 | _ = ((n : ℤ) * a + (m : ℤ) * b) • x := by |
| 28 | simp only [add_smul, mul_smul, natCast_zsmul] |
| 29 | rw [smul_comm a n x, smul_comm b m x] |
| 30 | _ = x := by rw [hab, one_smul] |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoprimeIntegerModuleDivision |