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.Principal.CechPushforwardTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Reindex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ReindexGlobal |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafCover |
| 5 | |
| 6 | /-! # Cech Pushforward -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CechPushforward |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The complete original principal-to-global comparison commutes |
| 13 | with inverse image of all cover data and pushforward of coefficients. -/ |
| 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 | |
| 18 | private theorem paste {C : Type*} [Category C] {A B D E B' D' E' : C} |
| 19 | (a : A ⟶ B) (b : B ⟶ D) (c : D ⟶ E) |
| 20 | (a' : A ⟶ B') (b' : B' ⟶ D') (c' : D' ⟶ E') |
| 21 | (eB : B ⟶ B') (eD : D ⟶ D') (eE : E ⟶ E') |
| 22 | (ha : a ≫ eB = a') (hb : b ≫ eD = eB ≫ b') (hc : c ≫ eE = eD ≫ c') : |
| 23 | (a ≫ b ≫ c) ≫ eE = a' ≫ b' ≫ c' := by |
| 24 | simp only [Category.assoc] |
| 25 | rw [hc, ← Category.assoc b eD c', hb] |
| 26 | simp only [Category.assoc] |
| 27 | rw [← Category.assoc a eB (b' ≫ c'), ha] |
| 28 | |
| 29 | universe u v |
| 30 | variable {X Y : TopCat.{u}} (f : Y ⟶ X) |
| 31 | {C : Type u} [Preorder C] [HasFiniteProducts C] (F : C ⥤ Opens X) |
| 32 | {ι κ ν μ ρ : Type u} |
| 33 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 34 | (W : ι → C) |
| 35 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 36 | (B : κ → Opens X) (J : ν → Opens X) |
| 37 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 38 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 39 | (V : μ → Opens X) (T : ρ → Opens X) |
| 40 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 41 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 42 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 43 | {D : Type v} [Category D] [Abelian D] [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 44 | (K : CochainComplex ((Opens Y)ᵒᵖ ⥤ D) ℕ) (q : ℕ) |
| 45 | attribute [local instance] RelativeCech.ReindexData.preimage_limits |
| 46 | CechPushforwardCoordinates.pulled_products |
| 47 | |
| 48 | variable |
| 49 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s (RelativeCech.ReindexTotal.pushed f K) q)] |
| 50 | [IsIso (RelativeCech.Refinement.homology ((RelativeCech.ReindexData.preimage f).obj (F.obj (⊤_ C))) |
| 51 | ((RelativeCech.ReindexData.preimage f).obj ∘ B) ((RelativeCech.ReindexData.preimage f).obj ∘ J) (RelativeCech.Reindex.mapped f B J s) K q)] |
| 52 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (RelativeCech.ReindexTotal.pushed f K)) q)] |
| 53 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap ((RelativeCech.ReindexData.preimage f).obj ∘ V) |
| 54 | ((RelativeCech.ReindexData.preimage f).obj ∘ T) (RelativeCech.ReindexGlobal.rightRefinement f V T t) K) q)] |
| 55 | |
| 56 | local instance pulled_relative : |
| 57 | IsIso (RelativeCech.Refinement.homology |
| 58 | ((CechPushforwardCoordinates.pulled f F).obj (⊤_ C)) |
| 59 | ((RelativeCech.ReindexData.preimage f).obj ∘ B) ((RelativeCech.ReindexData.preimage f).obj ∘ J) (RelativeCech.Reindex.mapped f B J s) K q) := |
| 60 | (inferInstance : IsIso (RelativeCech.Refinement.homology ((RelativeCech.ReindexData.preimage f).obj (F.obj (⊤_ C))) |
| 61 | ((RelativeCech.ReindexData.preimage f).obj ∘ B) ((RelativeCech.ReindexData.preimage f).obj ∘ J) (RelativeCech.Reindex.mapped f B J s) K q)) |
| 62 | |
| 63 | theorem comparison : |
| 64 | PresheafCover.Comparison.comparison F W B J r s V T l t (RelativeCech.ReindexTotal.pushed f K) q ≫ |
| 65 | homologyMap (OrderedCech.ReindexTotal.totalIso (RelativeCech.ReindexData.preimage f) V K).hom q = |
| 66 | PresheafCover.Comparison.comparison |
| 67 | (CechPushforwardCoordinates.pulled f F) W |
| 68 | ((RelativeCech.ReindexData.preimage f).obj ∘ B) ((RelativeCech.ReindexData.preimage f).obj ∘ J) |
| 69 | (RelativeCech.Reindex.mapped f (F.obj ∘ W) J r) (RelativeCech.Reindex.mapped f B J s) |
| 70 | ((RelativeCech.ReindexData.preimage f).obj ∘ V) ((RelativeCech.ReindexData.preimage f).obj ∘ T) |
| 71 | (RelativeCech.ReindexGlobal.leftRefinement f (F.obj (⊤_ C)) B T l) (RelativeCech.ReindexGlobal.rightRefinement f V T t) K q := by |
| 72 | exact paste _ _ _ _ _ _ _ _ _ |
| 73 | (CechPushforwardTotal.Coordinates.homology f F W K q) |
| 74 | (RelativeCech.Reindex.comparison f (F.obj (⊤_ C)) (F.obj ∘ W) B J r s K q) |
| 75 | (RelativeCech.ReindexGlobal.global_comparison f (F.obj (⊤_ C)) B V T l t K q) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CechPushforward |