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.Crystalline.Cohomology.Cech.BaseChange |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.Sites |
| 3 | import Mathlib.Topology.Sheaves.Flasque |
| 4 | |
| 5 | /-! # Homeomorph Sheaf -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.HomeomorphSheaf.HomeomorphSheafTransport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Sheaf and Cech transport along a homeomorphism between arbitrary universes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | universe u v a b w |
| 16 | variable {X : Type u} {Y : Type v} [TopologicalSpace X] [TopologicalSpace Y] (h : X ≃ₜ Y) |
| 17 | |
| 18 | def opens : Opens X ⥤ Opens Y := h.opensCongr.equivalence.functor |
| 19 | |
| 20 | instance opens_isEquivalence : (opens h).IsEquivalence := by |
| 21 | dsimp only [opens] |
| 22 | infer_instance |
| 23 | |
| 24 | theorem coverPreserving : CoverPreserving (Opens.grothendieckTopology X) |
| 25 | (Opens.grothendieckTopology Y) (opens h) := by |
| 26 | constructor |
| 27 | intro U S hS y hy |
| 28 | change h.symm y ∈ U at hy |
| 29 | obtain ⟨V, i, hi, hx⟩ := hS (h.symm y) hy |
| 30 | exact ⟨_, (opens h).map i, ⟨_, i, 𝟙 _, hi, Subsingleton.elim _ _⟩, hx⟩ |
| 31 | |
| 32 | instance opens_isContinuous : (opens h).IsContinuous |
| 33 | (Opens.grothendieckTopology X) (Opens.grothendieckTopology Y) := |
| 34 | Functor.isContinuous_of_coverPreserving (compatiblePreservingOfFlat _ _) (coverPreserving h) |
| 35 | |
| 36 | variable (A : Type a) [Category.{b} A] |
| 37 | |
| 38 | def transport : Sheaf (Opens.grothendieckTopology X) A ⥤ Sheaf (Opens.grothendieckTopology Y) A := |
| 39 | (opens h.symm).sheafPushforwardContinuous A _ _ |
| 40 | |
| 41 | instance transport_flasque (F : Sheaf (Opens.grothendieckTopology X) A) |
| 42 | [hF : TopCat.Presheaf.IsFlasque (X := TopCat.of X) F.obj] : |
| 43 | TopCat.Presheaf.IsFlasque (X := TopCat.of Y) (((transport h A).obj F).obj) where |
| 44 | epi i := by |
| 45 | change Epi (F.obj.map ((opens h.symm).op.map i)) |
| 46 | exact hF.epi _ |
| 47 | |
| 48 | variable [Preadditive A] [HasProducts.{w} A] {ι : Type w} (U : ι → Opens Y) |
| 49 | (F : Sheaf (Opens.grothendieckTopology X) A) |
| 50 | |
| 51 | def cechIso : |
| 52 | (cechComplexFunctor U).obj ((transport h A).obj F).obj ≅ |
| 53 | (cechComplexFunctor ((opens h.symm).obj ∘ U)).obj F.obj := |
| 54 | AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso (opens h.symm) U F.obj |
| 55 | |
| 56 | theorem cover (hU : iSup U = ⊤) : iSup ((opens h.symm).obj ∘ U) = ⊤ := by |
| 57 | change (⨆ i, h.symm.opensCongr (U i)) = ⊤ |
| 58 | rw [← OrderIso.map_iSup, hU, OrderIso.map_top] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.HomeomorphSheaf.HomeomorphSheafTransport |