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.GeometricComparison.CechPresheaf.ConeTotal |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedReindex |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductAugmentation |
| 4 | |
| 5 | /-! # Cone Refinement -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Projected refinement preserves the canonical cone edge into the |
| 12 | original presheaf Cech total. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal |
| 17 | universe u v s t a b |
| 18 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 19 | {D : Type s} [Category.{t} D] [Quiver.IsThin D] [HasBinaryProducts D] |
| 20 | {A : Type a} [Category.{b} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 21 | (F : C ⥤ D) {ι κ : Type} (U : ι → C) (V : κ → D) |
| 22 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 23 | (r : FormalCoproduct.mk ι (F.obj ∘ U) ⟶ FormalCoproduct.mk κ V) |
| 24 | (K : CochainComplex (Dᵒᵖ ⥤ A) ℕ) (M : CochainComplex A ℕ) |
| 25 | (η : (ConeTotal.CechPresheafConeTotal.constant (C := D)).obj M ⟶ K) |
| 26 | |
| 27 | local notation "H" => OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := A) F |
| 28 | |
| 29 | def cone : (ConeTotal.CechPresheafConeTotal.constant (C := C)).obj M ⟶ ((H).mapHomologicalComplex (.up ℕ)).obj K := |
| 30 | ((H).mapHomologicalComplex (.up ℕ)).map η |
| 31 | |
| 32 | omit [HasCoproducts.{0} A] in |
| 33 | theorem cochains (q : ℕ) : NonemptyCech.Augmentation.NonemptyCechAugmentation.augmentation V (K.X q) (M.X q) (η.f q) ≫ |
| 34 | (RefinedReindex.CechPresheafRefinedReindex.transformation F U V r).app (K.X q) = |
| 35 | NonemptyCech.Augmentation.NonemptyCechAugmentation.augmentation U (F.op ⋙ K.X q) (M.X q) (Functor.whiskerLeft F.op (η.f q)) := by |
| 36 | let e := NonemptyCech.ProductBaseChange.NonemptyCechProductBaseChange.complexIso F U (K.X q) |
| 37 | apply (cancel_mono e.hom).1 |
| 38 | change (NonemptyCech.Augmentation.NonemptyCechAugmentation.augmentation V (K.X q) (M.X q) (η.f q) ≫ |
| 39 | (NonemptyCech.Refinement.NonemptyCechRefinement.map V (F.obj ∘ U) r (K.X q) ≫ e.inv)) ≫ e.hom = _ |
| 40 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 41 | exact (NonemptyCech.Refinement.NonemptyCechRefinement.augmentation V (F.obj ∘ U) r (K.X q) (M.X q) (η.f q)).trans |
| 42 | (NonemptyCech.ProductAugmentation.NonemptyCechProductAugmentation.augmentation F U (K.X q) (M.X q) (η.f q)).symm |
| 43 | |
| 44 | omit [HasCoproducts.{0} A] in |
| 45 | theorem component_refinement (q : ℕ) : ConeTotal.CechPresheafConeTotal.component V K M η q ≫ |
| 46 | ((RefinedReindex.CechPresheafRefinedReindex.bicomplexMap F U V r K).f q).f 0 = |
| 47 | ConeTotal.CechPresheafConeTotal.component U (((H).mapHomologicalComplex (.up ℕ)).obj K) M (cone F K M η) q := by |
| 48 | have h := congrArg (fun f => f.f 0) (cochains F U V r K M η q) |
| 49 | have hl := NonemptyCech.Augmentation.NonemptyCechAugmentation.augmentation_zero V (K.X q) (M.X q) (η.f q) |
| 50 | have hr := NonemptyCech.Augmentation.NonemptyCechAugmentation.augmentation_zero U (F.op ⋙ K.X q) (M.X q) |
| 51 | (Functor.whiskerLeft F.op (η.f q)) |
| 52 | exact (congrArg (fun a => a ≫ ((RefinedReindex.CechPresheafRefinedReindex.transformation F U V r).app (K.X q)).f 0) |
| 53 | hl.symm).trans (h.trans hr) |
| 54 | |
| 55 | theorem augmentation : ConeTotal.CechPresheafConeTotal.map V K M η ≫ RefinedReindex.CechPresheafRefinedReindex.map F U V r K = |
| 56 | ConeTotal.CechPresheafConeTotal.map U (((H).mapHomologicalComplex (.up ℕ)).obj K) M (cone F K M η) := by |
| 57 | apply HomologicalComplex.Hom.ext |
| 58 | funext q |
| 59 | let B := ConeTotal.CechPresheafConeTotal.bicomplex V K |
| 60 | let D' := ConeTotal.CechPresheafConeTotal.bicomplex U (((H).mapHomologicalComplex (.up ℕ)).obj K) |
| 61 | let a := RefinedReindex.CechPresheafRefinedReindex.bicomplexMap F U V r K |
| 62 | change (ConeTotal.CechPresheafConeTotal.component V K M η q ≫ B.ιTotal (.up ℕ) q 0 q rfl) ≫ |
| 63 | (HomologicalComplex₂.total.map a (.up ℕ)).f q = |
| 64 | ConeTotal.CechPresheafConeTotal.component U (((H).mapHomologicalComplex (.up ℕ)).obj K) M (cone F K M η) q ≫ |
| 65 | D'.ιTotal (.up ℕ) q 0 q rfl |
| 66 | exact (Category.assoc _ _ _).trans |
| 67 | ((congrArg (fun k => ConeTotal.CechPresheafConeTotal.component V K M η q ≫ k) |
| 68 | (HomologicalComplex₂.ιTotal_map B D' a (.up ℕ) q 0 q rfl)).trans |
| 69 | ((Category.assoc _ _ _).symm.trans |
| 70 | (congrArg (fun k => k ≫ D'.ιTotal (.up ℕ) q 0 q rfl) |
| 71 | (component_refinement F U V r K M η q)))) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement |