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.Analysis.Calculus.Deriv.Mul |
| 2 | import Mathlib.Data.Finset.NoncommProd |
| 3 | |
| 4 | /-! # Product Curve Derivative -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.ProductCurveDerivative |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The derivative at the identity of an ordered finite product is |
| 11 | the sum of the derivatives. Commutativity of the ambient algebra is |
| 12 | not needed. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | variable {K A ι : Type*} [NontriviallyNormedField K] [NormedRing A] [NormedAlgebra K A] |
| 17 | |
| 18 | theorem list_curve_prod_hasDerivAt_one (l : List ι) (f : ι → K → A) (d : ι → A) (x : K) |
| 19 | (hf : ∀ i ∈ l, HasDerivAt (f i) (d i) x) (h₁ : ∀ i ∈ l, f i x = 1) : |
| 20 | HasDerivAt (fun t => (l.map (fun i => f i t)).prod) (l.map d).sum x := by |
| 21 | induction l with |
| 22 | | nil => simpa only [List.map_nil, List.prod_nil, List.sum_nil] using hasDerivAt_const x (1 : A) |
| 23 | | cons i l ih => |
| 24 | have hd := (hf i (by simp)).fun_mul (ih (fun j hj => hf j (by simp [hj])) |
| 25 | (fun j hj => h₁ j (by simp [hj]))) |
| 26 | have hp : (l.map (fun j => f j x)).prod = 1 := by |
| 27 | apply List.prod_eq_one |
| 28 | intro a ha |
| 29 | obtain ⟨j, hj, rfl⟩ := List.mem_map.mp ha |
| 30 | exact h₁ j (by simp [hj]) |
| 31 | simpa only [List.map_cons, List.prod_cons, List.sum_cons, h₁ i (by simp), hp, |
| 32 | mul_one, one_mul] using hd |
| 33 | |
| 34 | variable {M : Type*} [Monoid M] |
| 35 | |
| 36 | theorem list_prod_eq_noncommProd {l : List ι} (s : Finset ι) (hl : (l : Multiset ι) = s.val) |
| 37 | (f : ι → M) (hc : ∀ i j, Commute (f i) (f j)) : |
| 38 | (l.map f).prod = s.noncommProd f (fun _ _ _ _ _ => hc _ _) := by |
| 39 | unfold Finset.noncommProd |
| 40 | simp only [← hl, Multiset.map_coe, Multiset.noncommProd_coe] |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.Quaternion.Arithmetic.ProductCurveDerivative |