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.Module.SheafLocalEpi |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.Localization |
| 3 | |
| 4 | /-! # Sheaf Local Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Module.SheafLocalIso.RingedModules |
| 7 | |
| 8 | /-! Bijective section maps on arbitrarily small neighborhoods determine a module-sheaf isomorphism. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 11 | |
| 12 | variable {T : Type} [TopologicalSpace T] |
| 13 | {R : Sheaf (Opens.grothendieckTopology T) RingCat.{0}} |
| 14 | {M N : SheafOfModules.{0} R} (f : M ⟶ N) |
| 15 | |
| 16 | theorem moduleSheaf_isIso_of_localBijective |
| 17 | (hf : ∀ (O : Opens T) (p : O), ∃ W : Opens T, W ≤ O ∧ (p : T) ∈ W ∧ |
| 18 | Function.Bijective (f.val.app (op W))) : IsIso f := by |
| 19 | let F := SheafOfModules.toSheaf R |
| 20 | have hi : Sheaf.IsLocallyInjective (F.map f) := by |
| 21 | constructor |
| 22 | intro O a b hab p hp |
| 23 | obtain ⟨W, hWO, hpW, hs⟩ := hf O.unop ⟨p, hp⟩ |
| 24 | refine ⟨W, homOfLE hWO, ?_, hpW⟩ |
| 25 | change M.val.map (homOfLE hWO).op a = M.val.map (homOfLE hWO).op b |
| 26 | apply hs.1 |
| 27 | exact (PresheafOfModules.naturality_apply f.val (homOfLE hWO).op a).trans |
| 28 | ((congrArg (N.val.map (homOfLE hWO).op) hab).trans |
| 29 | (PresheafOfModules.naturality_apply f.val (homOfLE hWO).op b).symm) |
| 30 | have hs : Sheaf.IsLocallySurjective (F.map f) := by |
| 31 | constructor |
| 32 | intro O a p hp |
| 33 | obtain ⟨W, hWO, hpW, hs⟩ := hf O ⟨p, hp⟩ |
| 34 | refine ⟨W, homOfLE hWO, ?_, hpW⟩ |
| 35 | exact hs.2 (N.val.map (homOfLE hWO).op a) |
| 36 | have : IsIso (F.map f) := (Sheaf.isLocallyBijective_iff_isIso _).mp ⟨hi, hs⟩ |
| 37 | exact isIso_of_reflects_iso f F |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Comparison.Betti.Module.SheafLocalIso.RingedModules |