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.Module.SheafCoefficientAlgebra |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CharacterAverageIdempotents |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.CharacterAverageSum |
| 4 | |
| 5 | /-! # Character Averages -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.CharacterAverages |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Intrinsic character averages are actual module-sheaf endomorphisms, with orthogonal idempotent and sum-to-identity laws. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u v |
| 14 | variable {K : Type u} [Field K] {X : Scheme.{u}} (c : K →+* Γ(X, ⊤)) (M : X.Modules) |
| 15 | {G : Type v} [CommGroup G] [Fintype G] |
| 16 | |
| 17 | def sheafCharacterAverage (ρ : G →* End M) (χ : G →* Kˣ) : End M := by |
| 18 | let : Algebra K (End M) := Module.SheafCoefficientAlgebra.moduleSheafCoefficientAlgebra c M |
| 19 | exact CharacterWeightedOperators.characterAverageOperator K G (End M) ρ χ |
| 20 | |
| 21 | theorem sheafCharacterAverage_idempotent (ρ : G →* End M) (χ : G →* Kˣ) |
| 22 | (hG : (Fintype.card G : K) ≠ 0) : |
| 23 | sheafCharacterAverage c M ρ χ ≫ sheafCharacterAverage c M ρ χ = sheafCharacterAverage c M ρ χ := by |
| 24 | let : Algebra K (End M) := Module.SheafCoefficientAlgebra.moduleSheafCoefficientAlgebra c M |
| 25 | exact CharacterAverageIdempotents.characterAverageOperator_idempotent K G (End M) ρ χ hG |
| 26 | |
| 27 | theorem sheafCharacterAverage_orthogonal (ρ : G →* End M) (χ ψ : G →* Kˣ) |
| 28 | (hG : (Fintype.card G : K) ≠ 0) (h : ψ ≠ χ) : |
| 29 | sheafCharacterAverage c M ρ ψ ≫ sheafCharacterAverage c M ρ χ = 0 := by |
| 30 | let : Algebra K (End M) := Module.SheafCoefficientAlgebra.moduleSheafCoefficientAlgebra c M |
| 31 | exact CharacterAverageIdempotents.characterAverageOperator_orthogonal K G (End M) ρ χ ψ hG h |
| 32 | |
| 33 | theorem sheafCharacterAverage_sum [HasEnoughRootsOfUnity K (Monoid.exponent G)] |
| 34 | [Fintype (G →* Kˣ)] (ρ : G →* End M) (hG : (Fintype.card G : K) ≠ 0) : |
| 35 | ∑ χ : G →* Kˣ, sheafCharacterAverage c M ρ χ = 𝟙 M := by |
| 36 | let : Algebra K (End M) := Module.SheafCoefficientAlgebra.moduleSheafCoefficientAlgebra c M |
| 37 | exact Abelian.CharacterAverageSum.characterAverageOperator_sum K G (End M) ρ hG |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.CharacterAverages |