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.Algebra.Category.ModuleCat.Sheaf |
| 2 | |
| 3 | /-! # Module Section Isomorphisms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ModuleSectionIsomorphisms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A map of actual module sheaves that is bijective on every |
| 10 | section module is an actual sheaf isomorphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u |
| 15 | variable {C : Type u} [Category.{u} C] {J : GrothendieckTopology C} |
| 16 | {R : Sheaf J RingCat.{u}} {M N : SheafOfModules.{u} R} |
| 17 | |
| 18 | theorem moduleSheaf_isIso_of_section_bijective (f : M ⟶ N) |
| 19 | (h : ∀ U : Cᵒᵖ, Function.Bijective (f.val.app U)) : IsIso f := by |
| 20 | let : ∀ U : Cᵒᵖ, IsIso (f.val.app U) := |
| 21 | fun U => (ConcreteCategory.isIso_iff_bijective (f.val.app U)).mpr (h U) |
| 22 | let e : M.val ≅ N.val := PresheafOfModules.isoMk (fun U => asIso (f.val.app U)) |
| 23 | (fun {_ _} g => f.val.naturality g) |
| 24 | have he : e.hom = f.val := rfl |
| 25 | let : IsIso f.val := he ▸ (inferInstanceAs (IsIso e.hom)) |
| 26 | let : IsIso ((SheafOfModules.forget R).map f) := inferInstanceAs (IsIso f.val) |
| 27 | exact isIso_of_reflects_iso f (SheafOfModules.forget R) |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ModuleSectionIsomorphisms |