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.AbelianModuli.HilbertConstruction.RestrictedSectionsNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.CohomologyExcision |
| 3 | |
| 4 | /-! # Injective Sections Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InjectiveSectionsNaturality.IntrinsicCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Natural cohomology comparisons for the actual chosen injective resolution, |
| 11 | including evaluation on any open subset. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | private def rebundleGroupHom {A B : AddCommGrpCat.{u}} (f : A ⟶ B) : |
| 17 | AddCommGrpCat.of A ⟶ AddCommGrpCat.of B := AddCommGrpCat.ofHom f.hom |
| 18 | |
| 19 | private def cohomologyMap {X : TopCat.{u}} {F G : TopCat.Sheaf AddCommGrpCat.{u} X} |
| 20 | (f : F ⟶ G) (n : ℕ) : |
| 21 | AddCommGrpCat.of ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{u}).obj F) ⟶ |
| 22 | AddCommGrpCat.of ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{u}).obj G) := |
| 23 | rebundleGroupHom ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{u}).map f) |
| 24 | |
| 25 | variable {X : TopCat.{u}} |
| 26 | |
| 27 | def restrictedInjectiveCochain (F : TopCat.Sheaf AddCommGrpCat.{u} X) (V : Opens X) : |
| 28 | CochainComplex (TopCat.Sheaf AddCommGrpCat.{u} (TopCat.of V)) ℕ := |
| 29 | ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat.{u} V.isOpenEmbedding).mapHomologicalComplex (.up ℕ)).obj |
| 30 | (injectiveResolution F).cocomplex |
| 31 | |
| 32 | def restrictedInjectiveAug (F : TopCat.Sheaf AddCommGrpCat.{u} X) (V : Opens X) : |
| 33 | (TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat.{u} V.isOpenEmbedding).obj F ⟶ (restrictedInjectiveCochain F V).X 0 := |
| 34 | (TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat.{u} V.isOpenEmbedding).map ((injectiveResolution F).ι.f 0) |
| 35 | |
| 36 | instance restrictedInjectiveAug_mono (F : TopCat.Sheaf AddCommGrpCat.{u} X) (V : Opens X) : |
| 37 | Mono (restrictedInjectiveAug F V) := by |
| 38 | let I := injectiveResolution F |
| 39 | have : Mono (I.ι.f 0) := inferInstance |
| 40 | exact Functor.map_mono (TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat.{u} V.isOpenEmbedding) (I.ι.f 0) |
| 41 | |
| 42 | theorem restrictedInjectiveAug_zero (F : TopCat.Sheaf AddCommGrpCat.{u} X) (V : Opens X) : |
| 43 | restrictedInjectiveAug F V ≫ (restrictedInjectiveCochain F V).d 0 1 = 0 := by |
| 44 | let R := TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat.{u} V.isOpenEmbedding |
| 45 | change R.map ((injectiveResolution F).ι.f 0) ≫ R.map ((injectiveResolution F).cocomplex.d 0 1) = 0 |
| 46 | rw [← R.map_comp, (injectiveResolution F).ι_f_zero_comp_complex_d, R.map_zero] |
| 47 | |
| 48 | theorem restrictedInjectiveAug_exact (F : TopCat.Sheaf AddCommGrpCat.{u} X) (V : Opens X) : |
| 49 | (ShortComplex.mk (restrictedInjectiveAug F V) ((restrictedInjectiveCochain F V).d 0 1) |
| 50 | (restrictedInjectiveAug_zero F V)).Exact := |
| 51 | (injectiveResolution F).exact₀.map (TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat.{u} V.isOpenEmbedding) |
| 52 | |
| 53 | theorem restrictedInjectiveCochain_exact (F : TopCat.Sheaf AddCommGrpCat.{u} X) |
| 54 | (V : Opens X) (n : ℕ) : (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex (restrictedInjectiveCochain F V) n).Exact := |
| 55 | ((injectiveResolution F).exact_succ n).map (TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat.{u} V.isOpenEmbedding) |
| 56 | |
| 57 | theorem restrictedInjectiveCochain_acyclic (F : TopCat.Sheaf AddCommGrpCat.{u} X) |
| 58 | (V : Opens X) (p q : ℕ) : |
| 59 | Subsingleton (CategoryTheory.Sheaf.H ((restrictedInjectiveCochain F V).X p) (q + 1)) := by |
| 60 | have : TopCat.Sheaf.IsFlasque ((injectiveResolution F).cocomplex.X p) := |
| 61 | @TopologicalSheafCohomology.IntrinsicCech.injectiveSheaf_flasque X _ ((injectiveResolution F).injective p) |
| 62 | have : TopCat.Sheaf.IsFlasque ((restrictedInjectiveCochain F V).X p) := |
| 63 | TopologicalSheafRestriction.IntrinsicCech.flasque_of_restrict _ ((injectiveResolution F).cocomplex.X p) V.isOpenEmbedding |
| 64 | exact TopologicalSheafCohomology.IntrinsicCech.flasqueSheaf_positiveCohomology_subsingleton _ q |
| 65 | |
| 66 | def naturalInjectiveOpenSectionsCohomologyIso |
| 67 | (F : TopCat.Sheaf AddCommGrpCat.{u} X) (V : Opens X) (n : ℕ) : |
| 68 | (InjectiveOpenSectionsCohomology.IntrinsicCech.injectiveOpenSectionsComplex F V).homology n ≅ |
| 69 | AddCommGrpCat.of ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology V) n : _ ⥤ AddCommGrpCat.{u}).obj ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat.{u} V.isOpenEmbedding).obj F)) := |
| 70 | HomologicalComplex.homologyMapIso |
| 71 | (RestrictedSectionsNaturality.IntrinsicCech.restrictedTopSectionsComplexIso (injectiveResolution F).cocomplex V).symm n ≪≫ |
| 72 | AcyclicResolutionCohomology.IntrinsicCech.acyclicResolutionCohomologyIso (he := restrictedInjectiveAug_mono F V) (restrictedInjectiveCochain F V) |
| 73 | (restrictedInjectiveAug F V) (restrictedInjectiveAug_zero F V) |
| 74 | (restrictedInjectiveAug_exact F V) (restrictedInjectiveCochain_exact F V) |
| 75 | (restrictedInjectiveCochain_acyclic F V) n |
| 76 | |
| 77 | theorem naturalInjectiveOpenSectionsCohomologyIso_naturality |
| 78 | {F G : TopCat.Sheaf AddCommGrpCat.{u} X} (f : F ⟶ G) (V : Opens X) (n : ℕ) : |
| 79 | HomologicalComplex.homologyMap (RestrictedSectionsNaturality.IntrinsicCech.injectiveOpenSectionsMap f V) n ≫ |
| 80 | (naturalInjectiveOpenSectionsCohomologyIso G V n).hom = |
| 81 | (naturalInjectiveOpenSectionsCohomologyIso F V n).hom ≫ |
| 82 | cohomologyMap ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat.{u} V.isOpenEmbedding).map f) n := by |
| 83 | let R := TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat.{u} V.isOpenEmbedding |
| 84 | let ψ := (R.mapHomologicalComplex (.up ℕ)).map (RestrictedSectionsNaturality.IntrinsicCech.chosenSheafResolutionMap f) |
| 85 | have hψ : R.map f ≫ restrictedInjectiveAug G V = restrictedInjectiveAug F V ≫ ψ.f 0 := by |
| 86 | change R.map f ≫ R.map ((injectiveResolution G).ι.f 0) = |
| 87 | R.map ((injectiveResolution F).ι.f 0) ≫ R.map ((RestrictedSectionsNaturality.IntrinsicCech.chosenSheafResolutionMap f).f 0) |
| 88 | rw [← R.map_comp, ← R.map_comp, RestrictedSectionsNaturality.IntrinsicCech.chosenSheafResolutionMap_aug] |
| 89 | have hc := congrArg (fun φ => HomologicalComplex.homologyMap φ n) |
| 90 | (RestrictedSectionsNaturality.IntrinsicCech.restrictedTopSectionsComplexIso_naturality (RestrictedSectionsNaturality.IntrinsicCech.chosenSheafResolutionMap f) V) |
| 91 | simp only [HomologicalComplex.homologyMap_comp] at hc |
| 92 | have ha := AcyclicResolutionNaturality.IntrinsicCech.acyclicResolutionCohomologyIso_naturality |
| 93 | (restrictedInjectiveAug F V) (restrictedInjectiveAug_zero F V) |
| 94 | (restrictedInjectiveAug G V) (restrictedInjectiveAug_zero G V) |
| 95 | (restrictedInjectiveAug_exact F V) (restrictedInjectiveAug_exact G V) |
| 96 | (restrictedInjectiveCochain_exact F V) (restrictedInjectiveCochain_exact G V) |
| 97 | (restrictedInjectiveCochain_acyclic F V) (restrictedInjectiveCochain_acyclic G V) |
| 98 | (R.map f) ψ hψ n |
| 99 | dsimp only [naturalInjectiveOpenSectionsCohomologyIso, Iso.trans_hom, |
| 100 | HomologicalComplex.homologyMapIso, Iso.symm_hom] |
| 101 | erw [← Category.assoc, hc, Category.assoc, ha, ← Category.assoc] |
| 102 | |
| 103 | theorem injectiveGlobalSectionsCohomologyIso_naturality |
| 104 | {F G : TopCat.Sheaf AddCommGrpCat.{u} X} (f : F ⟶ G) (n : ℕ) : |
| 105 | HomologicalComplex.homologyMap (RestrictedSectionsNaturality.IntrinsicCech.injectiveOpenSectionsMap f ⊤) n ≫ |
| 106 | (HilbertConstruction.Sheaf.CohomologyExcision.IntrinsicCech.injectiveGlobalSectionsCohomologyIso G n).hom = |
| 107 | (HilbertConstruction.Sheaf.CohomologyExcision.IntrinsicCech.injectiveGlobalSectionsCohomologyIso F n).hom ≫ |
| 108 | cohomologyMap f n := by |
| 109 | have hF (p q : ℕ) : Subsingleton |
| 110 | (CategoryTheory.Sheaf.H ((injectiveResolution F).cocomplex.X p) (q + 1)) := by |
| 111 | have : TopCat.Sheaf.IsFlasque ((injectiveResolution F).cocomplex.X p) := |
| 112 | @TopologicalSheafCohomology.IntrinsicCech.injectiveSheaf_flasque X _ ((injectiveResolution F).injective p) |
| 113 | exact TopologicalSheafCohomology.IntrinsicCech.flasqueSheaf_positiveCohomology_subsingleton _ q |
| 114 | have hG (p q : ℕ) : Subsingleton |
| 115 | (CategoryTheory.Sheaf.H ((injectiveResolution G).cocomplex.X p) (q + 1)) := by |
| 116 | have : TopCat.Sheaf.IsFlasque ((injectiveResolution G).cocomplex.X p) := |
| 117 | @TopologicalSheafCohomology.IntrinsicCech.injectiveSheaf_flasque X _ ((injectiveResolution G).injective p) |
| 118 | exact TopologicalSheafCohomology.IntrinsicCech.flasqueSheaf_positiveCohomology_subsingleton _ q |
| 119 | exact AcyclicResolutionNaturality.IntrinsicCech.acyclicResolutionCohomologyIso_naturality |
| 120 | ((injectiveResolution F).ι.f 0) (injectiveResolution F).ι_f_zero_comp_complex_d |
| 121 | ((injectiveResolution G).ι.f 0) (injectiveResolution G).ι_f_zero_comp_complex_d |
| 122 | (injectiveResolution F).exact₀ (injectiveResolution G).exact₀ |
| 123 | (fun q => (injectiveResolution F).exact_succ q) (fun q => (injectiveResolution G).exact_succ q) |
| 124 | hF hG f (RestrictedSectionsNaturality.IntrinsicCech.chosenSheafResolutionMap f) (RestrictedSectionsNaturality.IntrinsicCech.chosenSheafResolutionMap_aug f) n |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InjectiveSectionsNaturality.IntrinsicCech |