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.AlgebraicGeometry.DivisorClass.Chern.Supported.SectionQuasiIso |
| 2 | |
| 3 | /-! # Closed Support Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ClosedSupportFunctor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original closed-support kernel is an additive functor on module sheaves. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | |
| 17 | variable {R : Type} [Ring R] {X : TopCat.{0}} (O : Opens X) |
| 18 | |
| 19 | def closedSupportSheafMap {F G : TopCat.Sheaf (ModuleCat.{0} R) X} (f : F ⟶ G) : |
| 20 | CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf O F ⟶ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf O G := |
| 21 | kernel.map (CycleClass.Geometric.SheafClosedSupport.Cohomology.sheafRestrictionToOpen O F) (CycleClass.Geometric.SheafClosedSupport.Cohomology.sheafRestrictionToOpen O G) f |
| 22 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.openRestrictionPushforwardFunctor O).map f) |
| 23 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.sheafRestrictionToOpenNatTrans O).naturality f).symm |
| 24 | |
| 25 | @[reassoc (attr := simp)] |
| 26 | theorem closedSupportSheafMap_inclusion {F G : TopCat.Sheaf (ModuleCat.{0} R) X} (f : F ⟶ G) : |
| 27 | closedSupportSheafMap O f ≫ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O G = |
| 28 | CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O F ≫ f := |
| 29 | kernel.lift_ι _ _ _ |
| 30 | |
| 31 | instance closedSupportSheafInclusion_mono (F : TopCat.Sheaf (ModuleCat.{0} R) X) : |
| 32 | Mono (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O F) := |
| 33 | inferInstanceAs (Mono (kernel.ι (CycleClass.Geometric.SheafClosedSupport.Cohomology.sheafRestrictionToOpen O F))) |
| 34 | |
| 35 | def closedSupportSheafFunctor : |
| 36 | TopCat.Sheaf (ModuleCat.{0} R) X ⥤ TopCat.Sheaf (ModuleCat.{0} R) X where |
| 37 | obj F := CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf O F |
| 38 | map f := closedSupportSheafMap O f |
| 39 | map_id F := by |
| 40 | apply (cancel_mono (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O F)).mp |
| 41 | simp only [closedSupportSheafMap_inclusion, Category.id_comp, Category.comp_id] |
| 42 | map_comp f g := by |
| 43 | apply (cancel_mono (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O _)).mp |
| 44 | simp only [Category.assoc, closedSupportSheafMap_inclusion, closedSupportSheafMap_inclusion_assoc] |
| 45 | |
| 46 | instance closedSupportSheafFunctor_additive : (closedSupportSheafFunctor (R := R) O).Additive where |
| 47 | map_add {F G} f g := by |
| 48 | apply (cancel_mono (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O G)).mp |
| 49 | change closedSupportSheafMap O (f + g) ≫ _ = |
| 50 | (closedSupportSheafMap O f + closedSupportSheafMap O g) ≫ _ |
| 51 | simp only [Preadditive.add_comp, closedSupportSheafMap_inclusion, Preadditive.comp_add] |
| 52 | |
| 53 | variable (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ) |
| 54 | |
| 55 | def supportedSheafComplexFunctorIso : |
| 56 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O K ≅ |
| 57 | ((closedSupportSheafFunctor O).mapHomologicalComplex (ComplexShape.up ℕ)).obj K := by |
| 58 | refine HomologicalComplex.Hom.isoOfComponents (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso O K) ?_ |
| 59 | intro i j hij |
| 60 | apply (cancel_mono (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (K.X j))).mp |
| 61 | change (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso O K i).hom ≫ |
| 62 | closedSupportSheafMap O (K.d i j) ≫ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (K.X j) = |
| 63 | ((CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O K).d i j ≫ |
| 64 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso O K j).hom) ≫ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (K.X j) |
| 65 | simp only [Category.assoc, closedSupportSheafMap_inclusion, |
| 66 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso_inclusion_assoc, CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso_inclusion] |
| 67 | exact (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O K).comm i j |
| 68 | |
| 69 | theorem supportedSheafComplexFunctorIso_naturality |
| 70 | {K L : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ} (f : K ⟶ L) : |
| 71 | Supported.SectionQuasiIso.supportedSheafComplexMap O f ≫ (supportedSheafComplexFunctorIso O L).hom = |
| 72 | (supportedSheafComplexFunctorIso O K).hom ≫ |
| 73 | ((closedSupportSheafFunctor O).mapHomologicalComplex (ComplexShape.up ℕ)).map f := by |
| 74 | apply HomologicalComplex.Hom.ext |
| 75 | funext n |
| 76 | apply (cancel_mono (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (L.X n))).mp |
| 77 | change ((Supported.SectionQuasiIso.supportedSheafComplexMap O f).f n ≫ (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso O L n).hom) ≫ |
| 78 | CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (L.X n) = |
| 79 | ((CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso O K n).hom ≫ closedSupportSheafMap O (f.f n)) ≫ |
| 80 | CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (L.X n) |
| 81 | simp only [Category.assoc, closedSupportSheafMap_inclusion, |
| 82 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso_inclusion_assoc, CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso_inclusion] |
| 83 | exact congrArg (fun g => g.f n) (Supported.SectionQuasiIso.supportedSheafComplexMap_inclusion O f) |
| 84 | |
| 85 | def supportedSheafComplexMapHomotopy |
| 86 | {K L : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ} |
| 87 | {f g : K ⟶ L} (h : Homotopy f g) : |
| 88 | Homotopy (Supported.SectionQuasiIso.supportedSheafComplexMap O f) (Supported.SectionQuasiIso.supportedSheafComplexMap O g) := by |
| 89 | have hu (u : K ⟶ L) : |
| 90 | ((supportedSheafComplexFunctorIso O K).hom ≫ |
| 91 | ((closedSupportSheafFunctor O).mapHomologicalComplex (ComplexShape.up ℕ)).map u) ≫ |
| 92 | (supportedSheafComplexFunctorIso O L).inv = Supported.SectionQuasiIso.supportedSheafComplexMap O u := by |
| 93 | rw [← supportedSheafComplexFunctorIso_naturality, Category.assoc, |
| 94 | Iso.hom_inv_id, Category.comp_id] |
| 95 | have hh := (((closedSupportSheafFunctor O).mapHomotopy h).compLeft |
| 96 | (supportedSheafComplexFunctorIso O K).hom).compRight |
| 97 | (supportedSheafComplexFunctorIso O L).inv |
| 98 | rw [hu f, hu g] at hh |
| 99 | exact hh |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ClosedSupportFunctor |