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.PresheafCover |
| 2 | |
| 3 | /-! # Presheaf Functor Congruence -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafFunctorCongruence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The literal principal comparison transports along equality of its |
| 10 | open-diagram functor, retaining the actual refinement arrows. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u v |
| 15 | variable {X : TopCat.{u}} {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 16 | (F : C ⥤ Opens X) {G : C ⥤ Opens X} (e : F = G) |
| 17 | {ι κ ν μ ρ : Type u} |
| 18 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 19 | (W : ι → C) |
| 20 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 21 | (B : κ → Opens X) (J : ν → Opens X) |
| 22 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 23 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 24 | (V : μ → Opens X) (T : ρ → Opens X) |
| 25 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 26 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 27 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 28 | {A : Type v} [Category A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 29 | (K : CochainComplex ((Opens X)ᵒᵖ ⥤ A) ℕ) (q : ℕ) |
| 30 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s K q)] |
| 31 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t K) q)] |
| 32 | |
| 33 | def localRefinement : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (G.obj ∘ W) := |
| 34 | r ≫ eqToHom (congrArg (fun H : C ⥤ Opens X => FormalCoproduct.mk ι (H.obj ∘ W)) e) |
| 35 | |
| 36 | def globalRefinement : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 37 | (RelativeCech.Intersections.cover (G.obj (⊤_ C)) B) := |
| 38 | l ≫ eqToHom (congrArg (fun H : C ⥤ Opens X => FormalCoproduct.mk (WithBot κ) |
| 39 | (RelativeCech.Intersections.cover (H.obj (⊤_ C)) B)) e) |
| 40 | |
| 41 | def sourceIso := eqToIso (congrArg (fun H : C ⥤ Opens X => |
| 42 | (AugmentedOrdered.CechFunctor.bicomplex W |
| 43 | (((AugmentedCech.AmbientTotal.restriction H).mapHomologicalComplex (.up ℕ)).obj K)).total (.up ℕ)) e) |
| 44 | |
| 45 | include e in |
| 46 | omit [HasFiniteProducts C] [LinearOrder ι] in |
| 47 | theorem tuple_preserves : ∀ (n : ℕ) (a : Fin (n+1) → ι), |
| 48 | PreservesLimit (Discrete.functor (W ∘ a)) G := by |
| 49 | subst G |
| 50 | infer_instance |
| 51 | |
| 52 | include e in |
| 53 | theorem relative_isIso : |
| 54 | IsIso (RelativeCech.Refinement.homology (G.obj (⊤_ C)) B J s K q) := by |
| 55 | subst G |
| 56 | infer_instance |
| 57 | |
| 58 | theorem comparison : |
| 59 | letI := tuple_preserves F e W |
| 60 | letI := relative_isIso F e B J s K q |
| 61 | homologyMap (sourceIso F e W K).hom q ≫ |
| 62 | PresheafCover.Comparison.comparison G W B J |
| 63 | (localRefinement F e W J r) s V T (globalRefinement F e B T l) t K q = |
| 64 | PresheafCover.Comparison.comparison F W B J r s V T l t K q := by |
| 65 | subst G |
| 66 | simp only [sourceIso, localRefinement, globalRefinement, eqToIso.hom, eqToHom_refl, |
| 67 | homologyMap_id, Category.id_comp, Category.comp_id] |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafFunctorCongruence |