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.SectionGluing |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Limits |
| 3 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 4 | |
| 5 | /-! # Section Sheaf -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.SectionSheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine module-valued sheaf of holomorphic vector-valued sections. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | variable (E F : Type) [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 16 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 17 | |
| 18 | def holomorphicSectionPresheaf : TopCat.Presheaf (ModuleCat.{0} ℂ) (TopCat.of E) where |
| 19 | obj U := ModuleCat.of ℂ (CoefficientMem.holomorphicSections U.unop F) |
| 20 | map h := ModuleCat.ofHom (Restrictions.holomorphicSectionRestrict (leOfHom h.unop)) |
| 21 | map_id U := by |
| 22 | apply ModuleCat.hom_ext |
| 23 | apply LinearMap.ext |
| 24 | intro a |
| 25 | rfl |
| 26 | map_comp f g := by |
| 27 | apply ModuleCat.hom_ext |
| 28 | apply LinearMap.ext |
| 29 | intro a |
| 30 | rfl |
| 31 | |
| 32 | theorem holomorphicSectionPresheaf_isSheaf : (holomorphicSectionPresheaf E F).IsSheaf := by |
| 33 | apply (TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing (holomorphicSectionPresheaf E F)).2 |
| 34 | intro ι U a ha |
| 35 | have hc : ∀ i j (x : E) (hi : x ∈ U i) (hj : x ∈ U j), |
| 36 | (a i).val ⟨x, hi⟩ = (a j).val ⟨x, hj⟩ := by |
| 37 | intro i j x hi hj |
| 38 | exact congrArg (fun b : CoefficientMem.holomorphicSections (U i ⊓ U j) F => b.val ⟨x, hi, hj⟩) (ha i j) |
| 39 | obtain ⟨b, hb, hu⟩ := SectionGluing.existsUnique_holomorphicSection_glue U a hc |
| 40 | refine ⟨b, ?_, ?_⟩ |
| 41 | · intro i |
| 42 | apply Subtype.ext |
| 43 | funext x |
| 44 | exact hb i x |
| 45 | · intro c hc |
| 46 | apply hu |
| 47 | intro i x |
| 48 | exact congrArg (fun d : CoefficientMem.holomorphicSections (U i) F => d.val x) (hc i) |
| 49 | |
| 50 | def holomorphicSectionSheaf : TopCat.Sheaf (ModuleCat.{0} ℂ) (TopCat.of E) := |
| 51 | ⟨holomorphicSectionPresheaf E F, holomorphicSectionPresheaf_isSheaf E F⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.SectionSheaf |