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.IntegralComparison.OrderedCech.ReindexTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexTotal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Total |
| 4 | import Mathlib.CategoryTheory.Limits.Preserves.Lattice |
| 5 | |
| 6 | /-! # Reindex Data -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ReindexData |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Inverse images identify the original relative Cech coefficients |
| 13 | and their local and global ordered complexes. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u v |
| 18 | variable {X Y : TopCat.{u}} (f : Y ⟶ X) |
| 19 | |
| 20 | abbrev preimage : Opens X ⥤ Opens Y := Opens.map f |
| 21 | |
| 22 | local instance preimage_limits : PreservesFiniteLimits (preimage f) := by |
| 23 | change PreservesFiniteLimits (OrderHom.ofClass f.frameHom).toFunctor |
| 24 | infer_instance |
| 25 | |
| 26 | variable (U : Opens X) {ι : Type u} [LinearOrder ι] (V : ι → Opens X) |
| 27 | {A : Type v} [Category A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 28 | (P : (Opens Y)ᵒᵖ ⥤ A) |
| 29 | |
| 30 | def presheafIso : |
| 31 | Intersections.presheaf U ((preimage f).op ⋙ P) ≅ |
| 32 | (preimage f).op ⋙ Intersections.presheaf ((preimage f).obj U) P := |
| 33 | Iso.refl _ |
| 34 | |
| 35 | def sourceIso : |
| 36 | (Total.localFunctor U V).obj ((preimage f).op ⋙ P) ≅ |
| 37 | (Total.localFunctor ((preimage f).obj U) ((preimage f).obj ∘ V)).obj P := |
| 38 | AugmentedOrdered.CechReindex.iso (preimage f) V |
| 39 | (Intersections.presheaf ((preimage f).obj U) P) |
| 40 | |
| 41 | omit [HasCoproducts A] in |
| 42 | theorem source_naturality {Q : (Opens Y)ᵒᵖ ⥤ A} (a : P ⟶ Q) : |
| 43 | (Total.localFunctor U V).map (Functor.whiskerLeft (preimage f).op a) ≫ |
| 44 | (sourceIso f U V Q).hom = |
| 45 | (sourceIso f U V P).hom ≫ |
| 46 | (Total.localFunctor ((preimage f).obj U) ((preimage f).obj ∘ V)).map a := by |
| 47 | exact AugmentedOrdered.CechReindex.naturality (preimage f) V |
| 48 | (Intersections.presheaf ((preimage f).obj U) P) |
| 49 | (Functor.whiskerLeft (Intersections.intersect ((preimage f).obj U)).op a) |
| 50 | |
| 51 | omit [LinearOrder ι] in |
| 52 | theorem cover_eq : (preimage f).obj ∘ Intersections.cover U V = |
| 53 | Intersections.cover ((preimage f).obj U) ((preimage f).obj ∘ V) := by |
| 54 | funext j |
| 55 | cases j <;> rfl |
| 56 | |
| 57 | def targetIso : |
| 58 | OrderedCech.Projection.complex (Intersections.cover U V) |
| 59 | ((preimage f).op ⋙ P) ≅ |
| 60 | OrderedCech.Projection.complex |
| 61 | (Intersections.cover ((preimage f).obj U) ((preimage f).obj ∘ V)) P := |
| 62 | OrderedCech.Reindex.iso (preimage f) (Intersections.cover U V) P ≪≫ |
| 63 | eqToIso (congrArg (fun W => OrderedCech.Projection.complex W P) (cover_eq f U V)) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ReindexData |