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.Comparison.Betti.Holomorphic.SectionSheaf |
| 2 | import Mathlib.Algebra.Category.Ring.Limits |
| 3 | |
| 4 | /-! # Function Sheaf -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.FunctionSheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The ring-valued sheaf of actual holomorphic functions, with actual open restrictions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 15 | |
| 16 | def holomorphicFunctionPresheaf : TopCat.Presheaf CommRingCat.{0} (TopCat.of E) where |
| 17 | obj U := CommRingCat.of (FunctionPure.holomorphicFunctions U.unop) |
| 18 | map h := CommRingCat.ofHom (Restrictions.holomorphicFunctionRestrict (leOfHom h.unop)).toRingHom |
| 19 | map_id U := by |
| 20 | apply CommRingCat.hom_ext |
| 21 | apply RingHom.ext |
| 22 | intro a |
| 23 | rfl |
| 24 | map_comp f g := by |
| 25 | apply CommRingCat.hom_ext |
| 26 | apply RingHom.ext |
| 27 | intro a |
| 28 | rfl |
| 29 | |
| 30 | theorem holomorphicFunctionPresheaf_isSheaf : (holomorphicFunctionPresheaf E).IsSheaf := by |
| 31 | apply (TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing (holomorphicFunctionPresheaf E)).2 |
| 32 | intro ι U a ha |
| 33 | have hs := (TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing |
| 34 | (SectionSheaf.holomorphicSectionPresheaf E ℂ)).mp (SectionSheaf.holomorphicSectionPresheaf_isSheaf E ℂ) |
| 35 | exact hs U a ha |
| 36 | |
| 37 | def holomorphicFunctionSheaf : TopCat.Sheaf CommRingCat.{0} (TopCat.of E) := |
| 38 | ⟨holomorphicFunctionPresheaf E, holomorphicFunctionPresheaf_isSheaf E⟩ |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.FunctionSheaf |