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 Mathlib.CategoryTheory.Sites.Sheaf |
| 2 | |
| 3 | /-! # Subsingleton Sheaf Existence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubsingletonSheafExistence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A sheaf with at most one section has a section whenever it has sections locally. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | theorem subsingletonSheaf_nonempty_of_cover {C : Type u} [Category.{v} C] |
| 16 | (J : GrothendieckTopology C) (P : Cᵒᵖ ⥤ Type w) (hP : Presheaf.IsSheaf J P) |
| 17 | (hsub : ∀ U, Subsingleton (P.obj U)) {T : C} (R : Sieve T) (hR : R ∈ J T) |
| 18 | (hlocal : ∀ {U : C} (f : U ⟶ T), R f → Nonempty (P.obj (.op U))) : |
| 19 | Nonempty (P.obj (.op T)) := by |
| 20 | let s : Presieve.FamilyOfElements P R.arrows := fun {_} f hf => Classical.choice (hlocal f hf) |
| 21 | have hs : s.Compatible := by |
| 22 | intro U V W a b f g hf hg hab |
| 23 | have := hsub (.op W) |
| 24 | exact Subsingleton.elim _ _ |
| 25 | obtain ⟨t, _, _⟩ := (isSheaf_iff_isSheaf_of_type _ _).mp hP R hR s hs |
| 26 | exact ⟨t⟩ |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubsingletonSheafExistence |