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.Sheaf.CharacterAverageFormula |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.SectionEndomorphisms |
| 3 | |
| 4 | /-! # Character Average Section Values -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.CharacterAverageSectionValues |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On every open, the actual sheaf character average acts by a finite weighted sum over the actual section action with restricted coefficient functions. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u v |
| 13 | variable {K : Type u} [Field K] {X : Scheme.{u}} (c : K →+* Γ(X, ⊤)) |
| 14 | (M : X.Modules) {G : Type v} [CommGroup G] [Fintype G] |
| 15 | |
| 16 | def schemeOpenCoefficientMap (U : X.Opens) : K →+* Γ(X, U) := |
| 17 | (X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op).hom.comp c |
| 18 | |
| 19 | theorem sheafCharacterAverage_app (ρ : G →* End M) (χ : G →* Kˣ) |
| 20 | (U : X.Opens) (s : Γ(M, U)) : |
| 21 | (CharacterAverages.sheafCharacterAverage c M ρ χ).app U s = |
| 22 | schemeOpenCoefficientMap c U ((Fintype.card G : K)⁻¹) • |
| 23 | ∑ a : G, schemeOpenCoefficientMap c U ((χ a : K)⁻¹) • (ρ a).app U s := by |
| 24 | refine (congrArg (fun p : End M => p.app U s) (CharacterAverageFormula.sheafCharacterAverage_formula c M ρ χ)).trans ?_ |
| 25 | change schemeOpenCoefficientMap c U ((Fintype.card G : K)⁻¹) • |
| 26 | (∑ a : G, ρ a ≫ Global.ModuleScalars.globalModuleScalar M (c ((χ a : K)⁻¹))).app U s = _ |
| 27 | apply congrArg (fun z : Γ(M, U) => schemeOpenCoefficientMap c U ((Fintype.card G : K)⁻¹) • z) |
| 28 | exact (SectionEndomorphisms.moduleSheafSum_app M U _ s).trans (Finset.sum_congr rfl (fun _ _ => rfl)) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.CharacterAverageSectionValues |