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.LinearAlgebra.Dual.Basis |
| 2 | import Mathlib.Algebra.BigOperators.Module |
| 3 | |
| 4 | /-! # Joint Eigen Sum Independence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.JointEigenSumIndependence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Joint character spaces for distinct characters have independent |
| 11 | finite sums. No choice of a common diagonalizing operator is required. -/ |
| 12 | |
| 13 | open scoped BigOperators |
| 14 | |
| 15 | theorem jointEigenvectors_sum_eq_zero |
| 16 | {k V R I : Type*} [Field k] [AddCommGroup V] [Module k V] |
| 17 | (ρ : R → V →ₗ[k] V) (χ : I → R → k) (hχ : Function.Injective χ) |
| 18 | (s : Finset I) (x : I → V) |
| 19 | (hx : ∀ i ∈ s, ∀ a, ρ a (x i) = χ i a • x i) |
| 20 | (hz : ∑ i ∈ s, x i = 0) : ∀ i ∈ s, x i = 0 := by |
| 21 | classical |
| 22 | induction s using Finset.induction_on generalizing x with |
| 23 | | empty => |
| 24 | intro i hi |
| 25 | exact False.elim (Finset.notMem_empty i hi) |
| 26 | | @insert i s hi ih => |
| 27 | have hrest : ∀ j ∈ s, x j = 0 := by |
| 28 | intro j hj |
| 29 | have hji : j ≠ i := fun h => hi (h ▸ hj) |
| 30 | have hne : ¬ ∀ a, χ j a = χ i a := fun h => hji (hχ (funext h)) |
| 31 | obtain ⟨a, ha⟩ := not_forall.mp hne |
| 32 | let y : I → V := fun l => (χ l a - χ i a) • x l |
| 33 | have hy : ∀ l ∈ s, ∀ b, ρ b (y l) = χ l b • y l := by |
| 34 | intro l hl b |
| 35 | dsimp only [y] |
| 36 | rw [map_smul, hx l (Finset.mem_insert_of_mem hl) b, smul_comm] |
| 37 | have hall : ∑ l ∈ insert i s, y l = 0 := by |
| 38 | calc |
| 39 | _ = ρ a (∑ l ∈ insert i s, x l) - χ i a • (∑ l ∈ insert i s, x l) := by |
| 40 | rw [map_sum, Finset.smul_sum, ← Finset.sum_sub_distrib] |
| 41 | apply Finset.sum_congr rfl |
| 42 | intro l hl |
| 43 | rw [hx l hl a] |
| 44 | exact sub_smul _ _ _ |
| 45 | _ = 0 := by rw [hz, map_zero, smul_zero, sub_self] |
| 46 | have hsum : ∑ l ∈ s, y l = 0 := by |
| 47 | simpa only [Finset.sum_insert hi, y, sub_self, zero_smul, zero_add] using hall |
| 48 | have hjzero := ih y hy hsum j hj |
| 49 | have hc : χ j a - χ i a ≠ 0 := sub_ne_zero.mpr ha |
| 50 | have hinv := congrArg (fun z : V => (χ j a - χ i a)⁻¹ • z) hjzero |
| 51 | simpa only [y, smul_smul, inv_mul_cancel₀ hc, one_smul, smul_zero] using hinv |
| 52 | have hfirst : x i = 0 := by |
| 53 | rw [Finset.sum_insert hi, Finset.sum_eq_zero hrest, add_zero] at hz |
| 54 | exact hz |
| 55 | intro j hj |
| 56 | rcases Finset.mem_insert.mp hj with rfl | hj |
| 57 | · exact hfirst |
| 58 | · exact hrest j hj |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.JointEigenSumIndependence |