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.AmbientReindex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.Tail |
| 3 | |
| 4 | /-! # Presheaf Reindex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafReindex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal principal-to-global comparison is unchanged by an |
| 11 | actual finite-product-preserving change of principal index category. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u v |
| 16 | variable {X : TopCat.{u}} {C D : Type u} |
| 17 | [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 18 | (φ : C ⥤ D) [PreservesFiniteProducts φ] (F : D ⥤ Opens X) |
| 19 | {ι κ ν μ ρ : Type u} |
| 20 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 21 | (W : ι → C) |
| 22 | [∀ (n : ℕ) (a : Fin (n+1) → ι), |
| 23 | PreservesLimit (Discrete.functor ((φ.obj ∘ W) ∘ a)) F] |
| 24 | (B : κ → Opens X) (J : ν → Opens X) |
| 25 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ φ.obj ∘ W)) |
| 26 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 27 | (V : μ → Opens X) (T : ρ → Opens X) |
| 28 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 29 | (RelativeCech.Intersections.cover (F.obj (φ.obj (⊤_ C))) B)) |
| 30 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 31 | {A : Type v} [Category A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 32 | (K : CochainComplex ((Opens X)ᵒᵖ ⥤ A) ℕ) (q : ℕ) |
| 33 | [IsIso (RelativeCech.Refinement.homology (F.obj (φ.obj (⊤_ C))) B J s K q)] |
| 34 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t K) q)] |
| 35 | |
| 36 | abbrev targetRefinement := Tail.Comparison.refinement |
| 37 | (F.obj (φ.obj (⊤_ C))) B T l (F.obj (⊤_ D)) (AugmentedCech.AmbientReindex.terminal_eq φ F) |
| 38 | |
| 39 | def sourceIso := AugmentedOrdered.CechReindexTotal.totalIso φ W |
| 40 | (AugmentedCech.AmbientReindex.restricted F K) |
| 41 | |
| 42 | omit [HasFiniteProducts D] [PreservesFiniteProducts φ] in |
| 43 | theorem source_isIso : |
| 44 | IsIso (RelativeCech.Refinement.homology ((φ ⋙ F).obj (⊤_ C)) B J s K q) := by |
| 45 | change IsIso (RelativeCech.Refinement.homology (F.obj (φ.obj (⊤_ C))) B J s K q) |
| 46 | infer_instance |
| 47 | |
| 48 | theorem comparison : |
| 49 | letI := source_isIso φ F B J s K q |
| 50 | letI := Tail.Comparison.relative_isIso (F.obj (φ.obj (⊤_ C))) B J s K q |
| 51 | (F.obj (⊤_ D)) (AugmentedCech.AmbientReindex.terminal_eq φ F) |
| 52 | homologyMap (sourceIso φ F W K).hom q ≫ |
| 53 | PresheafCover.Comparison.comparison F (φ.obj ∘ W) B J r s V T |
| 54 | (targetRefinement φ F B T l) t K q = |
| 55 | PresheafCover.Comparison.comparison (φ ⋙ F) W B J r s V T l t K q := by |
| 56 | let := source_isIso φ F B J s K q |
| 57 | let := Tail.Comparison.relative_isIso (F.obj (φ.obj (⊤_ C))) B J s K q |
| 58 | (F.obj (⊤_ D)) (AugmentedCech.AmbientReindex.terminal_eq φ F) |
| 59 | have ha := congrArg (fun b => homologyMap b q) |
| 60 | (AugmentedCech.AmbientReindex.total φ F W K) |
| 61 | simp only [homologyMap_comp] at ha |
| 62 | have ht := Tail.Comparison.transport (F.obj (φ.obj (⊤_ C))) |
| 63 | (F.obj ∘ φ.obj ∘ W) B J r s V T l t K q (F.obj (⊤_ D)) |
| 64 | (AugmentedCech.AmbientReindex.terminal_eq φ F) |
| 65 | change homologyMap (sourceIso φ F W K).hom q ≫ |
| 66 | (homologyMap (AugmentedCech.AmbientTotal.totalIso F (φ.obj ∘ W) K).hom q ≫ |
| 67 | Tail.Comparison.map (F.obj (⊤_ D)) (F.obj ∘ φ.obj ∘ W) B J r s V T |
| 68 | (targetRefinement φ F B T l) t K q) = |
| 69 | homologyMap (AugmentedCech.AmbientTotal.totalIso (φ ⋙ F) W K).hom q ≫ |
| 70 | Tail.Comparison.map (F.obj (φ.obj (⊤_ C))) (F.obj ∘ φ.obj ∘ W) |
| 71 | B J r s V T l t K q |
| 72 | dsimp only [sourceIso] |
| 73 | erw [← Category.assoc, ha, Category.assoc] |
| 74 | exact congrArg (fun b => homologyMap |
| 75 | (AugmentedCech.AmbientTotal.totalIso (φ ⋙ F) W K).hom q ≫ b) ht |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafReindex |