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.SupportedOrderedCechEdge |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechZeroIntersections |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.ZeroComplementComplex |
| 4 | |
| 5 | /-! # Supported Ordered Cech Forget -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SupportedOrderedCechForget.Abelian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original supported-section edge forgets to the literal supported |
| 12 | inclusion. If positive intersections vanish, this identifies the edge |
| 13 | with the inverse of support-forgetting, including the canonical global lift. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.SupportedOrderedCechEdge.Abelian |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | private theorem column_cancel {A : Type*} [Category A] {N B D T : A} |
| 23 | (s : N ⟶ B) (e : D ≅ B) (i : D ⟶ T) (p : T ⟶ D) (h : i ≫ p = 𝟙 D) : |
| 24 | ((s ≫ e.inv) ≫ i) ≫ (p ≫ e.hom) = s := by |
| 25 | simp only [Category.assoc] |
| 26 | rw [← Category.assoc i p e.hom, h, Category.id_comp, Iso.inv_hom_id, Category.comp_id] |
| 27 | |
| 28 | private theorem inverse_factor {A : Type*} [Category A] {N B D : A} |
| 29 | (a : N ⟶ D) (b : N ⟶ B) (e : D ≅ B) (h : a ≫ e.hom = b) : |
| 30 | a = b ≫ e.inv := by |
| 31 | rw [← h, Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 32 | |
| 33 | universe u |
| 34 | variable (D : Type (u+1)) [Category.{u} D] [Abelian D] [HasLimitsOfSize.{u,u} D] |
| 35 | (X : TopCat.{u}) {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 36 | (F : C ⥤ Opens X) {ι : Type u} [LinearOrder ι] (U : ι → C) (O : Opens X) |
| 37 | |
| 38 | local notation "V" => F.obj (⊤_ C) |
| 39 | |
| 40 | variable (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) |
| 41 | D) ℕ) (hO : ∀ i, F.obj (U i) ≤ O) |
| 42 | |
| 43 | local instance total_exists : (SupportedOrderedCechEdge.Abelian.bicomplex D X F U K).HasTotal (.up ℕ) := |
| 44 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts _ |
| 45 | |
| 46 | local instance augmented_total_exists : |
| 47 | (AugmentedOrdered.CechFunctor.bicomplex U (SupportedOrderedCechEdge.Abelian.presheafComplex D X F K)).HasTotal (.up ℕ) := |
| 48 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts _ |
| 49 | |
| 50 | abbrev inclusion := Supported.ZeroComplementComplex.localInclusion O (F.obj (⊤_ C)) K |
| 51 | |
| 52 | theorem map_forget : SupportedOrderedCechEdge.Abelian.map D X F U O K hO ≫ |
| 53 | AugmentedOrdered.CechForget.forgetSupport U (SupportedOrderedCechEdge.Abelian.presheafComplex D X F K) = |
| 54 | inclusion D X F O K := by |
| 55 | apply HomologicalComplex.Hom.ext |
| 56 | funext n |
| 57 | exact column_cancel |
| 58 | ((Supported.SectionsExcision.inclusion (F.obj (⊤_ C)) |
| 59 | (F.obj (⊤_ C) ⊓ O) inf_le_left).app (K.X n)) |
| 60 | (AugmentedOrdered.CechZero.zeroIso U (F.op ⋙ (K.X n).obj)) |
| 61 | ((SupportedOrderedCechEdge.Abelian.bicomplex D X F U K).ιTotal (.up ℕ) n 0 n rfl) |
| 62 | ((AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (bicomplex D X F U K)) n 0 n) |
| 63 | (by |
| 64 | change (SupportedOrderedCechEdge.Abelian.bicomplex D X F U K).ιTotal (.up ℕ) n 0 n rfl ≫ |
| 65 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (bicomplex D X F U K)) n 0 n = |
| 66 | 𝟙 (((SupportedOrderedCechEdge.Abelian.bicomplex D X F U K).X n).X 0) |
| 67 | simpa only [Nat.add_zero] using |
| 68 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.ιTotal_πTotalUpNat_self (bicomplex D X F U K)) n 0) |
| 69 | |
| 70 | variable (hzero : ∀ p q, 0 < q → ∀ a : AugmentedOrdered.Cech.Index ι q, |
| 71 | IsZero (((SupportedOrderedCechEdge.Abelian.presheafComplex D X F K).X p).obj |
| 72 | (op ((AugmentedOrdered.Cech.formal U q).obj a)))) |
| 73 | |
| 74 | abbrev forgetIso := AugmentedOrdered.CechZeroIntersections.iso U |
| 75 | (SupportedOrderedCechEdge.Abelian.presheafComplex D X F K) hzero |
| 76 | |
| 77 | theorem factorization : SupportedOrderedCechEdge.Abelian.map D X F U O K hO = |
| 78 | inclusion D X F O K ≫ (forgetIso D X F U K hzero).inv := |
| 79 | inverse_factor _ _ (forgetIso D X F U K hzero) (map_forget D X F U O K hO) |
| 80 | |
| 81 | theorem homology_factorization (q : ℕ) : |
| 82 | HomologicalComplex.homologyMap (SupportedOrderedCechEdge.Abelian.map D X F U O K hO) q = |
| 83 | HomologicalComplex.homologyMap (inclusion D X F O K) q ≫ |
| 84 | (HomologicalComplex.homologyMapIso (forgetIso D X F U K hzero) q).inv := by |
| 85 | let H := HomologicalComplex.homologyFunctor D (.up ℕ) q |
| 86 | exact (congrArg H.map (factorization D X F U O K hO hzero)).trans (H.map_comp _ _) |
| 87 | |
| 88 | variable (hglobal : ∀ q, IsZero ((K.X q).obj.obj (op O))) |
| 89 | |
| 90 | theorem global_lift_forget : |
| 91 | (Supported.ZeroComplementComplex.lift O (F.obj (⊤_ C)) K hglobal ≫ |
| 92 | SupportedOrderedCechEdge.Abelian.map D X F U O K hO) ≫ |
| 93 | AugmentedOrdered.CechForget.forgetSupport U (SupportedOrderedCechEdge.Abelian.presheafComplex D X F K) = |
| 94 | Supported.ZeroComplementComplex.restrictionMap (F.obj (⊤_ C)) K := |
| 95 | (Category.assoc _ _ _).trans |
| 96 | ((congrArg (fun q => Supported.ZeroComplementComplex.lift O (F.obj (⊤_ C)) K hglobal ≫ q) |
| 97 | (map_forget D X F U O K hO)).trans |
| 98 | (Supported.ZeroComplementComplex.lift_inclusion O (F.obj (⊤_ C)) K hglobal)) |
| 99 | |
| 100 | theorem global_lift_factorization : |
| 101 | Supported.ZeroComplementComplex.lift O (F.obj (⊤_ C)) K hglobal ≫ |
| 102 | SupportedOrderedCechEdge.Abelian.map D X F U O K hO = |
| 103 | Supported.ZeroComplementComplex.restrictionMap (F.obj (⊤_ C)) K ≫ |
| 104 | (forgetIso D X F U K hzero).inv := |
| 105 | inverse_factor _ _ (forgetIso D X F U K hzero) (global_lift_forget D X F U O K hO hglobal) |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SupportedOrderedCechForget.Abelian |