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.FiniteOrderLinearCongruence |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoprimeIntegerModuleDivision |
| 3 | |
| 4 | /-! # Coprime Finite Order Congruence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoprimeFiniteOrderCongruence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! In an additively torsion-free ring, a finite-order element whose order is coprime to the modulus satisfies arbitrarily deep powers of its original congruence. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {R : Type u} [Ring R] [IsAddTorsionFree R] |
| 15 | |
| 16 | theorem coprime_finiteOrder_congruence_square (u : R) (m n : ℕ) (hm : m ≠ 0) |
| 17 | (hcop : n.Coprime m) (hu : u ^ n = 1) (x : R) (hx : m • x = u - 1) : |
| 18 | ∃ y : R, (m ^ 2) • y = u - 1 := by |
| 19 | have he : u = 1 + m • x := by rw [hx]; abel |
| 20 | obtain ⟨c, hc⟩ := FiniteOrderLinearCongruence.ringFiniteOrder_linearCoefficient_divisible x m n hm |
| 21 | ((congrArg (fun a : R => a ^ n) he).symm.trans hu) |
| 22 | obtain ⟨y, hy⟩ := CoprimeIntegerModuleDivision.coprime_nsmul_division n m hcop x c hc |
| 23 | refine ⟨y, ?_⟩ |
| 24 | rw [pow_two, mul_smul, hy] |
| 25 | exact hx |
| 26 | |
| 27 | theorem coprime_finiteOrder_congruence_doublePowers (u : R) (m n : ℕ) (hm : m ≠ 0) |
| 28 | (hcop : n.Coprime m) (hu : u ^ n = 1) (h : ∃ x : R, m • x = u - 1) (k : ℕ) : |
| 29 | ∃ y : R, (m ^ (2 ^ k)) • y = u - 1 := by |
| 30 | induction k with |
| 31 | | zero => simpa only [pow_zero, pow_one] using h |
| 32 | | succ k ih => |
| 33 | obtain ⟨x, hx⟩ := ih |
| 34 | obtain ⟨y, hy⟩ := coprime_finiteOrder_congruence_square u (m ^ (2 ^ k)) n |
| 35 | (pow_ne_zero _ hm) (hcop.pow_right _) hu x hx |
| 36 | have he : (m ^ (2 ^ k)) ^ 2 = m ^ (2 ^ (k + 1)) := by rw [← pow_mul, pow_succ] |
| 37 | exact ⟨y, (congrArg (fun a : ℕ => a • y) he).symm.trans hy⟩ |
| 38 | |
| 39 | theorem coprime_finiteOrder_congruence_allPowers (u : R) (m n : ℕ) (hm : m ≠ 0) |
| 40 | (hcop : n.Coprime m) (hu : u ^ n = 1) (h : ∃ x : R, m • x = u - 1) (k : ℕ) : |
| 41 | ∃ y : R, (m ^ k) • y = u - 1 := by |
| 42 | obtain ⟨y, hy⟩ := coprime_finiteOrder_congruence_doublePowers u m n hm hcop hu h k |
| 43 | have hk : k ≤ 2 ^ k := (Nat.lt_two_pow_self (n := k)).le |
| 44 | have he : k + (2 ^ k - k) = 2 ^ k := by omega |
| 45 | refine ⟨(m ^ (2 ^ k - k)) • y, ?_⟩ |
| 46 | rw [← mul_smul, ← pow_add, he] |
| 47 | exact hy |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoprimeFiniteOrderCongruence |