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.AugmentedCech.AmbientTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.PresheafCommonRefinement |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrderedCover |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.DualComplexHomology |
| 5 | |
| 6 | /-! # Presheaf Cover -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafCover.Comparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The complete principal-to-global map is natural for arbitrary |
| 13 | coefficient-complex maps. Every factor is the original principal |
| 14 | coordinate map, relative refinement, or ordered common-cover map. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u v |
| 20 | variable {X : TopCat.{u}} {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 21 | (F : C ⥤ Opens X) |
| 22 | {ι κ ν μ ρ : Type u} |
| 23 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 24 | (W : ι → C) |
| 25 | [∀ (n : ℕ) (z : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ z)) F] |
| 26 | (B : κ → Opens X) (J : ν → Opens X) |
| 27 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 28 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 29 | (V : μ → Opens X) (T : ρ → Opens X) |
| 30 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 31 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 32 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 33 | {D : Type v} [Category D] [Abelian D] |
| 34 | [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 35 | |
| 36 | def totalMap {K L : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ} (a : K ⟶ L) := |
| 37 | HomologicalComplex₂.total.map |
| 38 | (((AugmentedOrdered.CechFunctor.functor W).mapHomologicalComplex (.up ℕ)).map |
| 39 | (((AugmentedCech.AmbientTotal.restriction F).mapHomologicalComplex (.up ℕ)).map a)) (.up ℕ) |
| 40 | |
| 41 | def comparison (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) (q : ℕ) |
| 42 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s K q)] |
| 43 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t K) q)] := |
| 44 | (homologyMapIso (AugmentedCech.AmbientTotal.totalIso F W K) q).hom ≫ |
| 45 | Relative.PresheafCommonRefinement.comparison (F.obj (⊤_ C)) (F.obj ∘ W) B J r s K q ≫ |
| 46 | Presheaf.OrderedCover.Comparison.comparison |
| 47 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B) V T l t K q |
| 48 | |
| 49 | theorem naturality {K L : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ} |
| 50 | (a : K ⟶ L) (q : ℕ) |
| 51 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s K q)] |
| 52 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s L q)] |
| 53 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t K) q)] |
| 54 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t L) q)] : |
| 55 | homologyMap (totalMap F W a) q ≫ comparison F W B J r s V T l t L q = |
| 56 | comparison F W B J r s V T l t K q ≫ |
| 57 | homologyMap ((Presheaf.OrderedCover.Comparison.totalFunctor V).map a) q := by |
| 58 | have hp := congrArg (fun b => homologyMap b q) |
| 59 | (AugmentedCech.AmbientTotal.naturality F W K a) |
| 60 | simp only [homologyMap_comp] at hp |
| 61 | have hr := Relative.PresheafCommonRefinement.naturality |
| 62 | (F.obj (⊤_ C)) (F.obj ∘ W) B J r s a q |
| 63 | have hg := Presheaf.OrderedCover.Comparison.naturality |
| 64 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B) V T l t a q |
| 65 | have hpr := DualComplexHomology.compose_squares _ _ _ _ _ _ _ hp hr |
| 66 | have hh := DualComplexHomology.compose_squares _ _ _ _ _ _ _ hpr hg |
| 67 | simpa only [comparison, totalMap, homologyMapIso_hom, Category.assoc] using hh |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafCover.Comparison |