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.ReferenceFamily.JointEigenSumIndependence |
| 2 | import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas |
| 3 | import Mathlib.LinearAlgebra.Dimension.Finrank |
| 4 | |
| 5 | /-! # Joint Character Decomposition -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.JointCharacterDecomposition |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual joint character spaces embed by their sum. When |
| 12 | their computed dimensions exhaust the ambient space, this gives an |
| 13 | explicit linear decomposition suitable for transporting bases. -/ |
| 14 | |
| 15 | open scoped BigOperators |
| 16 | |
| 17 | variable {k V R I : Type*} [Field k] [AddCommGroup V] [Module k V] |
| 18 | (ρ : R → V →ₗ[k] V) |
| 19 | |
| 20 | def jointCharacterSpace (χ : R → k) : Submodule k V where |
| 21 | carrier := {v | ∀ a, ρ a v = χ a • v} |
| 22 | zero_mem' a := by rw [map_zero, smul_zero] |
| 23 | add_mem' hv hw a := by rw [map_add, hv a, hw a, smul_add] |
| 24 | smul_mem' c v hv a := by rw [map_smul, hv a, smul_comm] |
| 25 | |
| 26 | variable [Fintype I] (χ : I → R → k) |
| 27 | |
| 28 | def jointCharacterSumLinear : (∀ i, jointCharacterSpace ρ (χ i)) →ₗ[k] V where |
| 29 | toFun x := ∑ i, (x i).val |
| 30 | map_add' x y := by |
| 31 | change (∑ i, ((x i).val + (y i).val)) = (∑ i, (x i).val) + ∑ i, (y i).val |
| 32 | exact Finset.sum_add_distrib |
| 33 | map_smul' c x := by |
| 34 | change (∑ i, c • (x i).val) = c • ∑ i, (x i).val |
| 35 | rw [Finset.smul_sum] |
| 36 | |
| 37 | theorem jointCharacterSumLinear_injective (hχ : Function.Injective χ) : |
| 38 | Function.Injective (jointCharacterSumLinear ρ χ) := by |
| 39 | intro x y h |
| 40 | have hsum : ∑ i, ((x i).val - (y i).val) = 0 := by |
| 41 | rw [Finset.sum_sub_distrib] |
| 42 | exact sub_eq_zero.mpr h |
| 43 | have he : ∀ i ∈ (Finset.univ : Finset I), ∀ a, |
| 44 | ρ a ((x i).val - (y i).val) = χ i a • ((x i).val - (y i).val) := by |
| 45 | intro i _ a |
| 46 | rw [map_sub, (x i).property a, (y i).property a, smul_sub] |
| 47 | have hz := JointEigenSumIndependence.jointEigenvectors_sum_eq_zero ρ χ hχ Finset.univ |
| 48 | (fun i => (x i).val - (y i).val) he hsum |
| 49 | funext i |
| 50 | exact Subtype.ext (sub_eq_zero.mp (hz i (Finset.mem_univ i))) |
| 51 | |
| 52 | def jointCharacterDecomposition [FiniteDimensional k V] (hχ : Function.Injective χ) |
| 53 | (hdim : (∑ i, Module.finrank k (jointCharacterSpace ρ (χ i))) = Module.finrank k V) : |
| 54 | (∀ i, jointCharacterSpace ρ (χ i)) ≃ₗ[k] V := |
| 55 | (jointCharacterSumLinear ρ χ).linearEquivOfInjective (jointCharacterSumLinear_injective ρ χ hχ) |
| 56 | (by rw [Module.finrank_pi_fintype]; exact hdim) |
| 57 | |
| 58 | theorem jointCharacterDecomposition_apply [FiniteDimensional k V] (hχ : Function.Injective χ) |
| 59 | (hdim : (∑ i, Module.finrank k (jointCharacterSpace ρ (χ i))) = Module.finrank k V) |
| 60 | (x : ∀ i, jointCharacterSpace ρ (χ i)) : |
| 61 | jointCharacterDecomposition ρ χ hχ hdim x = ∑ i, (x i).val := rfl |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.JointCharacterDecomposition |