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.Mapped.SingleGlobalSource |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.SingleFunctorCoordinates |
| 4 | |
| 5 | /-! # Mapped Single Global -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.MappedSingleGlobal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine principal comparison commutes with a map from the |
| 12 | original mapped single complex to an arbitrary target complex. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u v w z |
| 18 | variable {X : TopCat.{u}} {D : Type v} [Category D] [Abelian D] |
| 19 | [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 20 | {A : Type w} [Category.{z} A] [Abelian A] |
| 21 | (J : A ⥤ (Opens X)ᵒᵖ ⥤ D) [J.Additive] (M : A) |
| 22 | |
| 23 | abbrev sourceComplex (c : ℕ) := |
| 24 | (J.mapHomologicalComplex (.up ℕ)).obj ((single A (.up ℕ) c).obj M) |
| 25 | |
| 26 | section Maps |
| 27 | variable (c g : ℕ) (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) |
| 28 | (a : sourceComplex J M c ⟶ K) |
| 29 | {μ : Type u} [LinearOrder μ] (V : μ → Opens X) |
| 30 | |
| 31 | abbrev globalIso := |
| 32 | Functor.SingleTotal.homologyIso (J ⋙ OrderedCech.Functor.Projection.functor V) M c g |
| 33 | |
| 34 | variable [IsIso (homologyMap (Presheaf.OrderedCechEdge.edge V K) (g+c))] |
| 35 | |
| 36 | def globalMap : (OrderedCech.Projection.complex V (J.obj M)).homology g ⟶ |
| 37 | (Presheaf.OrderedCechEdge.sections K).homology (g+c) := |
| 38 | (globalIso J M c g V).inv ≫ |
| 39 | homologyMap ((OrderedCech.TotalProjection.ordered V).map a) (g+c) ≫ |
| 40 | inv (homologyMap (Presheaf.OrderedCechEdge.edge V K) (g+c)) |
| 41 | |
| 42 | theorem global_coordinates : |
| 43 | (globalIso J M c g V).hom ≫ globalMap J M c g K a V = |
| 44 | homologyMap ((OrderedCech.TotalProjection.ordered V).map a) (g+c) ≫ |
| 45 | inv (homologyMap (Presheaf.OrderedCechEdge.edge V K) (g+c)) := by |
| 46 | simp only [globalMap, Iso.hom_inv_id_assoc] |
| 47 | |
| 48 | end Maps |
| 49 | |
| 50 | theorem globalMap_diagonal (g : ℕ) (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) |
| 51 | (a : sourceComplex J M g ⟶ K) {μ : Type u} [LinearOrder μ] (V : μ → Opens X) |
| 52 | [IsIso (homologyMap (Presheaf.OrderedCechEdge.edge V K) (g+g))] : |
| 53 | globalMap J M g g K a V = Mapped.SingleGlobalSource.map J M g K a V := rfl |
| 54 | |
| 55 | variable (c g : ℕ) (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) |
| 56 | (a : sourceComplex J M c ⟶ K) |
| 57 | {C : Type u} [Preorder C] [HasFiniteProducts C] (F : C ⥤ Opens X) |
| 58 | {ι κ ν μ ρ : Type u} |
| 59 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 60 | (W : ι → C) |
| 61 | [∀ (n : ℕ) (z : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ z)) F] |
| 62 | (B : κ → Opens X) (E : ν → Opens X) |
| 63 | (r : FormalCoproduct.mk ν E ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 64 | (s : FormalCoproduct.mk ν E ⟶ FormalCoproduct.mk κ B) |
| 65 | (V : μ → Opens X) (T : ρ → Opens X) |
| 66 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 67 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 68 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 69 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B E s (sourceComplex J M c) (g+c))] |
| 70 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B E s K (g+c))] |
| 71 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (sourceComplex J M c)) (g+c))] |
| 72 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t K) (g+c))] |
| 73 | [IsIso (homologyMap (Presheaf.OrderedCechEdge.edge V K) (g+c))] |
| 74 | |
| 75 | abbrev localIso := Functor.SingleTotal.homologyIso |
| 76 | (J ⋙ Cech.SingleFunctorCoordinates.localFunctor F W) M c g |
| 77 | |
| 78 | theorem comparison : |
| 79 | PresheafCover.Comparison.comparison F W B E r s V T l t (sourceComplex J M c) (g+c) ≫ |
| 80 | (globalIso J M c g V).hom ≫ globalMap J M c g K a V = |
| 81 | homologyMap (PresheafCover.Comparison.totalMap F W a) (g+c) ≫ |
| 82 | PresheafCover.Comparison.comparison F W B E r s V T l t K (g+c) ≫ |
| 83 | inv (homologyMap (Presheaf.OrderedCechEdge.edge V K) (g+c)) := by |
| 84 | rw [global_coordinates] |
| 85 | simpa only [Presheaf.OrderedCover.Comparison.totalFunctor, |
| 86 | OrderedCech.TotalProjection.ordered, Category.assoc] using |
| 87 | (congrArg (fun f => f ≫ inv (homologyMap (Presheaf.OrderedCechEdge.edge V K) (g+c))) |
| 88 | (PresheafCover.Comparison.naturality F W B E r s V T l t a (g+c))).symm |
| 89 | |
| 90 | theorem local_coordinates : |
| 91 | (localIso J M c g F W).inv ≫ |
| 92 | PresheafCover.Comparison.comparison F W B E r s V T l t (sourceComplex J M c) (g+c) ≫ |
| 93 | (globalIso J M c g V).hom ≫ globalMap J M c g K a V = |
| 94 | (localIso J M c g F W).inv ≫ |
| 95 | homologyMap (PresheafCover.Comparison.totalMap F W a) (g+c) ≫ |
| 96 | PresheafCover.Comparison.comparison F W B E r s V T l t K (g+c) ≫ |
| 97 | inv (homologyMap (Presheaf.OrderedCechEdge.edge V K) (g+c)) := |
| 98 | congrArg (fun f => (localIso J M c g F W).inv ≫ f) |
| 99 | (comparison J M c g K a F W B E r s V T l t) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.MappedSingleGlobal |