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.Divisors.LineBundles.SheafLocalBijectivity |
| 2 | import Mathlib.Algebra.Category.Grp.Colimits |
| 3 | import Mathlib.Algebra.Category.Grp.FilteredColimits |
| 4 | |
| 5 | /-! # Sheaf Basis Bijectivity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SheafBasisBijectivity.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Bijectivity of a genuine sheaf map on a basis implies bijectivity |
| 12 | on every open, using its actual stalk maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 15 | |
| 16 | variable {X : TopCat.{0}} {F G : TopCat.Sheaf Ab.{0} X} (φ : F ⟶ G) |
| 17 | {B : Set (Opens X)} (hB : Opens.IsBasis B) |
| 18 | (hφ : ∀ U ∈ B, Function.Bijective (φ.hom.app (op U))) |
| 19 | |
| 20 | include hB hφ in |
| 21 | theorem sheafMap_bijective_of_basis (U : Opens X) : Function.Bijective (φ.hom.app (op U)) := by |
| 22 | have hstalk : ∀ x : X, Function.Bijective ((TopCat.Presheaf.stalkFunctor Ab.{0} x).map φ.hom) := by |
| 23 | intro x |
| 24 | refine ⟨TopCat.Presheaf.stalkFunctor_map_injective_of_isBasis hB (fun V hV => (hφ V hV).1) x, ?_⟩ |
| 25 | intro t |
| 26 | obtain ⟨V, hxV, hV, t, rfl⟩ := TopCat.Presheaf.exists_mem_germ_eq_of_isBasis hB G.presheaf x t |
| 27 | obtain ⟨s, hs⟩ := (hφ V hV).2 t |
| 28 | refine ⟨F.presheaf.germ V x hxV s, ?_⟩ |
| 29 | rw [TopCat.Presheaf.stalkFunctor_map_germ_apply, hs] |
| 30 | exact TopCat.Presheaf.app_bijective_of_stalkFunctor_map_bijective φ U (fun x _ => hstalk x) |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SheafBasisBijectivity.BundleCycles |