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.NumberTheory.ArithmeticGroups.Lattices.Finite.ExponentialDerivative |
| 2 | import Mathlib.RingTheory.Nilpotent.Exp |
| 3 | |
| 4 | /-! # Commuting Nilpotent Polynomials -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.CommutingNilpotentPolynomials.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Finite polynomials without constant term in commuting nilpotent |
| 13 | operators are nilpotent. This applies to exponential derivatives. -/ |
| 14 | |
| 15 | variable {R : Type*} [Ring R] [Algebra ℝ R] |
| 16 | |
| 17 | omit [Algebra ℝ R] in |
| 18 | theorem commute_two_variable_monomials (a b : R) (hc : Commute a b) |
| 19 | (i j k l : ℕ) : Commute (a ^ i * b ^ j) (a ^ k * b ^ l) := |
| 20 | ((Commute.pow_pow_self a i k).mul_right (hc.pow_pow i l)).mul_left |
| 21 | ((hc.symm.pow_pow j k).mul_right (Commute.pow_pow_self b j l)) |
| 22 | |
| 23 | omit [Algebra ℝ R] in |
| 24 | theorem nilpotent_two_variable_monomial (a b : R) (hc : Commute a b) |
| 25 | (ha : IsNilpotent a) (hb : IsNilpotent b) (i j : ℕ) (hij : 0 < i + j) : |
| 26 | IsNilpotent (a ^ i * b ^ j) := by |
| 27 | by_cases hi : 0 < i |
| 28 | · exact (hc.pow_pow i j).isNilpotent_mul_right (IsNilpotent.pow_of_pos ha (Nat.ne_of_gt hi)) |
| 29 | · exact (hc.pow_pow i j).isNilpotent_mul_left (IsNilpotent.pow_of_pos hb (by omega)) |
| 30 | |
| 31 | theorem nilpotent_two_variable_polynomial {ι : Type*} |
| 32 | (a b : R) (hc : Commute a b) (ha : IsNilpotent a) (hb : IsNilpotent b) |
| 33 | (s : Finset ι) (c : ι → ℝ) (i j : ι → ℕ) (hij : ∀ t ∈ s, 0 < i t + j t) : |
| 34 | IsNilpotent (∑ t ∈ s, c t • (a ^ i t * b ^ j t)) := by |
| 35 | apply Commute.isNilpotent_sum |
| 36 | · intro t ht |
| 37 | exact (nilpotent_two_variable_monomial a b hc ha hb (i t) (j t) (hij t ht)).smul (c t) |
| 38 | · intro t u _ _ |
| 39 | exact ((commute_two_variable_monomials a b hc (i t) (j t) (i u) (j u)).smul_left |
| 40 | (c t)).smul_right (c u) |
| 41 | |
| 42 | omit [Algebra ℝ R] in |
| 43 | theorem commuting_unipotent_product (a b : R) (hc : Commute a b) |
| 44 | (ha : IsNilpotent (a - 1)) (hb : IsNilpotent (b - 1)) : |
| 45 | IsNilpotent (a * b - 1) := by |
| 46 | have hab : Commute (a - 1) (b - 1) := |
| 47 | (hc.sub_right (Commute.one_right a)).sub_left |
| 48 | ((Commute.one_left b).sub_right (Commute.refl 1)) |
| 49 | have hm : IsNilpotent ((a - 1) * (b - 1)) := hab.isNilpotent_mul_right ha |
| 50 | have hs : IsNilpotent ((a - 1) + (b - 1)) := hab.isNilpotent_add ha hb |
| 51 | have hcomm : Commute ((a - 1) * (b - 1)) ((a - 1) + (b - 1)) := |
| 52 | ((Commute.refl (a - 1)).mul_left hab.symm).add_right |
| 53 | (hab.mul_left (Commute.refl (b - 1))) |
| 54 | convert hcomm.isNilpotent_add hm hs using 1 |
| 55 | noncomm_ring |
| 56 | |
| 57 | end |
| 58 | |
| 59 | /-! The polynomial giving an exponential derivative is unipotent when |
| 60 | its two commuting arguments are nilpotent. -/ |
| 61 | |
| 62 | variable {R : Type*} [Ring R] [Algebra ℝ R] |
| 63 | |
| 64 | def exponentialDerivativePolynomial (m : ℕ) (a b : R) : R := |
| 65 | ∑ n ∈ Finset.range m, (n.factorial⁻¹ : ℝ) • |
| 66 | ∑ i ∈ Finset.range n, a ^ (n.pred - i) * b ^ i |
| 67 | |
| 68 | theorem exponentialDerivativePolynomial_sub_one (m : ℕ) (a b : R) : |
| 69 | exponentialDerivativePolynomial (m + 2) a b - 1 = |
| 70 | ∑ n ∈ Finset.range m, ((n + 2).factorial⁻¹ : ℝ) • |
| 71 | ∑ i ∈ Finset.range (n + 2), a ^ (n + 1 - i) * b ^ i := by |
| 72 | unfold exponentialDerivativePolynomial |
| 73 | rw [Finset.sum_range_succ', Finset.sum_range_succ'] |
| 74 | simp |
| 75 | |
| 76 | theorem exponentialDerivativePolynomial_unipotent (m : ℕ) (a b : R) |
| 77 | (hc : Commute a b) (ha : IsNilpotent a) (hb : IsNilpotent b) : |
| 78 | IsNilpotent (exponentialDerivativePolynomial (m + 2) a b - 1) := by |
| 79 | rw [exponentialDerivativePolynomial_sub_one] |
| 80 | apply Commute.isNilpotent_sum |
| 81 | · intro n _ |
| 82 | apply IsNilpotent.smul |
| 83 | convert nilpotent_two_variable_polynomial a b hc ha hb (Finset.range (n + 2)) |
| 84 | (fun _ => 1) (fun i => n + 1 - i) (fun i => i) (fun i hi => ?_) using 1 |
| 85 | · simp only [one_smul] |
| 86 | · have hi' := Finset.mem_range.mp hi |
| 87 | omega |
| 88 | · intro n k _ _ |
| 89 | apply Commute.smul_right |
| 90 | apply Commute.smul_left |
| 91 | apply Commute.sum_left |
| 92 | intro i _ |
| 93 | apply Commute.sum_right |
| 94 | intro j _ |
| 95 | exact commute_two_variable_monomials a b hc _ _ _ _ |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.NumberTheory.ArithmeticGroups.Lattices.CommutingNilpotentPolynomials.Construction |