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.CharacterWeightedOperators |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.CharacterSums |
| 3 | |
| 4 | /-! # Character Average Sum -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.CharacterAverageSum |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The character-average idempotents sum to one for every action of a tame finite abelian group in a coefficient algebra. -/ |
| 11 | universe u v w |
| 12 | variable (K : Type u) [Field K] (G : Type v) [CommGroup G] [Fintype G] |
| 13 | [HasEnoughRootsOfUnity K (Monoid.exponent G)] [Fintype (G →* Kˣ)] |
| 14 | (B : Type w) [Ring B] [Algebra K B] |
| 15 | |
| 16 | theorem characterAverageOperator_sum (ρ : G →* B) (hG : (Fintype.card G : K) ≠ 0) : |
| 17 | ∑ χ : G →* Kˣ, CharacterWeightedOperators.characterAverageOperator K G B ρ χ = 1 := by |
| 18 | classical |
| 19 | calc |
| 20 | ∑ χ : G →* Kˣ, CharacterWeightedOperators.characterAverageOperator K G B ρ χ = |
| 21 | (Fintype.card G : K)⁻¹ • (∑ χ : G →* Kˣ, ∑ a : G, (χ a : K)⁻¹ • ρ a) := |
| 22 | Finset.smul_sum.symm |
| 23 | _ = (Fintype.card G : K)⁻¹ • (∑ a : G, ∑ χ : G →* Kˣ, (χ a : K)⁻¹ • ρ a) := |
| 24 | congrArg (fun z : B => (Fintype.card G : K)⁻¹ • z) Finset.sum_comm |
| 25 | _ = (Fintype.card G : K)⁻¹ • (∑ a : G, (∑ χ : G →* Kˣ, (χ a : K)⁻¹) • ρ a) := by |
| 26 | congr 1 |
| 27 | apply Finset.sum_congr rfl |
| 28 | intro a _ |
| 29 | exact Finset.sum_smul.symm |
| 30 | _ = (Fintype.card G : K)⁻¹ • (∑ a : G, (if a = 1 then (Fintype.card G : K) else 0) • ρ a) := by |
| 31 | simp only [Dual.CharacterSums.finiteCharacters_sum_inv_apply] |
| 32 | _ = 1 := by simp [smul_smul, hG] |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.CharacterAverageSum |