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.IdempotentSheafSectionRanges |
| 2 | |
| 3 | /-! # Section Endomorphisms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.SectionEndomorphisms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Taking sections on an open sends sheaf endomorphisms to actual linear endomorphisms and preserves the endomorphism ring operations. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u v |
| 12 | variable {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 13 | |
| 14 | def moduleSheafSectionEndRingHom : End M →+* Module.End Γ(X, U) Γ(M, U) where |
| 15 | toFun p := IdempotentSheafSectionRanges.moduleSheafSectionLinearMap p U |
| 16 | map_one' := by ext x; rfl |
| 17 | map_mul' p q := by ext x; rfl |
| 18 | map_zero' := by ext x; rfl |
| 19 | map_add' p q := by ext x; rfl |
| 20 | |
| 21 | theorem moduleSheafSectionEndRingHom_apply (p : End M) (s : Γ(M, U)) : |
| 22 | moduleSheafSectionEndRingHom M U p s = p.app U s := rfl |
| 23 | |
| 24 | theorem moduleSheafSum_app {I : Type v} [Fintype I] (p : I → End M) (s : Γ(M, U)) : |
| 25 | (∑ i : I, p i).app U s = ∑ i : I, (p i).app U s := by |
| 26 | have h := congrArg (fun f : Module.End Γ(X, U) Γ(M, U) => f s) |
| 27 | (map_sum (moduleSheafSectionEndRingHom M U) p Finset.univ) |
| 28 | simpa only [LinearMap.sum_apply, moduleSheafSectionEndRingHom_apply] using h |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.SectionEndomorphisms |