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 | import Mathlib.Topology.Sheaves.SheafCondition.Sites |
| 3 | |
| 4 | /-! # Sheaf Local Epi -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Module.SheafLocalEpi.RingedModules |
| 7 | |
| 8 | /-! Surjective section maps on arbitrarily small neighborhoods imply a module-sheaf epimorphism. -/ |
| 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_epi_of_localSurjective |
| 17 | (hf : ∀ (O : Opens T) (p : O), ∃ W : Opens T, W ≤ O ∧ (p : T) ∈ W ∧ |
| 18 | Function.Surjective (f.val.app (op W))) : Epi f := by |
| 19 | let F := SheafOfModules.toSheaf R |
| 20 | have hl : Sheaf.IsLocallySurjective (F.map f) := by |
| 21 | constructor |
| 22 | intro O a p hp |
| 23 | obtain ⟨W, hWO, hpW, hs⟩ := hf O ⟨p, hp⟩ |
| 24 | refine ⟨W, homOfLE hWO, ?_, hpW⟩ |
| 25 | exact hs (N.val.map (homOfLE hWO).op a) |
| 26 | let : Sheaf.IsLocallySurjective (F.map f) := hl |
| 27 | exact F.epi_of_epi_map inferInstance |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.Comparison.Betti.Module.SheafLocalEpi.RingedModules |