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.NumberTheory.PadicHodge.GeometricComparison.LargeModuleAt |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBaseChange |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.TopCatRestrict |
| 4 | |
| 5 | /-! # Flasque Cech Subfamily -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FlasqueCechSubfamily |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A flasque sheaf has exact positive Čech cohomology for an arbitrary |
| 12 | family of opens: restrict to its union before using cover exactness. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 15 | |
| 16 | universe u v w z |
| 17 | |
| 18 | theorem product_iInf {C : Type u} [CompleteLattice C] {ι : Type v} (V : ι → C) : |
| 19 | (∏ᶜ V) = ⨅ i, V i := |
| 20 | ((productIsProduct V).conePointUniqueUpToIso (Preorder.isLimitIInf V)).to_eq |
| 21 | |
| 22 | theorem openEmbedding_preserves {X Y : TopCat.{u}} (f : X ⟶ Y) |
| 23 | (hf : Topology.IsOpenEmbedding f) {ι : Type v} [Finite ι] [Nonempty ι] |
| 24 | (V : ι → Opens X) : PreservesLimit (Discrete.functor V) hf.functor := by |
| 25 | let : IsIso (piComparison hf.functor V) := (PartialOrder.isIso_iff_eq _).mpr (by |
| 26 | rw [product_iInf, product_iInf] |
| 27 | exact Topology.IsOpenEmbedding.functor_obj_iInf f hf V) |
| 28 | exact PreservesProduct.of_iso_comparison _ _ |
| 29 | |
| 30 | variable (R : Type u) [CommRing R] (X : TopCat.{v}) |
| 31 | (F : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{max u v w} R)) |
| 32 | {ι : Type} (U : ι → Opens X) |
| 33 | |
| 34 | abbrev union := iSup U |
| 35 | abbrev restrictedFamily : ι → Opens ((Opens.toTopCat X).obj (union X U)) := (Opens.map (union X U).inclusion').obj ∘ U |
| 36 | abbrev restrictedSheaf := |
| 37 | (AlgebraicGeometry.SheafCohomology.Cech.TopCatRestrict.TopCat.Sheaf.restrict (ModuleCat.{max u v w} R) (union X U).isOpenEmbedding).obj F |
| 38 | |
| 39 | theorem cover : iSup (restrictedFamily X U) = ⊤ := by |
| 40 | erw [restrictedFamily, ← Opens.map_iSup] |
| 41 | apply Opens.ext |
| 42 | ext x |
| 43 | exact iff_true_intro x.property |
| 44 | |
| 45 | theorem image_family : (union X U).isOpenEmbedding.functor.obj ∘ restrictedFamily X U = U := by |
| 46 | funext i |
| 47 | exact (Opens.functor_map_eq_inf (union X U) (U i)).trans (inf_eq_left.mpr (le_iSup U i)) |
| 48 | |
| 49 | def complexIso : |
| 50 | (NonemptyCechNerve.complexFunctor (restrictedFamily X U)).obj (restrictedSheaf R X F U).obj ≅ |
| 51 | (NonemptyCechNerve.complexFunctor U).obj F.obj := by |
| 52 | let : ∀ (n : ℕ) (t : Fin (n + 1) → ι), |
| 53 | PreservesLimit (Discrete.functor (restrictedFamily X U ∘ t)) (union X U).isOpenEmbedding.functor := |
| 54 | fun n t => openEmbedding_preserves (union X U).inclusion' (union X U).isOpenEmbedding _ |
| 55 | exact GeometricComparison.NonemptyCech.ProductBaseChange.NonemptyCechProductBaseChange.complexIso |
| 56 | (union X U).isOpenEmbedding.functor (restrictedFamily X U) F.obj ≪≫ |
| 57 | eqToIso (congrArg (fun V => (NonemptyCechNerve.complexFunctor V).obj F.obj) (image_family X U)) |
| 58 | |
| 59 | theorem exactAt_succ [TopCat.Presheaf.IsFlasque (X := X) F.obj] (n : ℕ) : |
| 60 | ((NonemptyCechNerve.complexFunctor U).obj F.obj).ExactAt (n + 1) := by |
| 61 | let : TopCat.Sheaf.IsFlasque (restrictedSheaf R X F U) := |
| 62 | AlgebraicGeometry.SheafCohomology.Cech.TopCatRestrict.TopCat.Sheaf.IsFlasque.of_restrict (ModuleCat.{max u v w} R) F (union X U).isOpenEmbedding |
| 63 | have h := GeometricComparison.LargeModuleAt.LargeModuleFlasqueCech.exactAt_succ R ((Opens.toTopCat X).obj (union X U)) |
| 64 | (restrictedSheaf R X F U) (restrictedFamily X U) (cover X U) n |
| 65 | exact h.of_iso (complexIso R X F U) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FlasqueCechSubfamily |