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.HodgeConjecture.DegreeTwo.SupportSheafCupShift |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SmallSheafQuasiIso |
| 3 | |
| 4 | /-! # Support Sheaf Cup Cohomology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportSheafCupCohomology.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The supported sheaf cup induces the original two-support cup on actual relative cohomology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {X : TopCat.{0}} [MetrizableSpace X] (C O U : Opens X) |
| 17 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (C : Set X)) 2) |
| 18 | variable (he : ∀ n, n<2 → (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C).ExactAt n) |
| 19 | |
| 20 | def twoSupportThomRelativeIso (n : ℕ) := |
| 21 | ClosedSupportExactnessShift.Constructions.closedSupportGoodShiftCohomologyIso O U (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C) |
| 22 | (CycleClass.Geometric.GlobalSupportPurity.Cycles.supportedSingularSheaf_isFlasque_of_metrizable (ModuleCat.of ℚ ℚ) X C) 2 he n ≪≫ |
| 23 | SupportedThomRelative.Constructions.intersectSupportedRelativeCohomologyIso C O U (2+n) |
| 24 | |
| 25 | theorem closedSupportGoodShiftSheafCup_cohomology (q : ℕ) : |
| 26 | HomologicalComplex.homologyMap (ClosedSupportRelativeUnit.Constructions.relativeToClosedSupportSections O U) q ≫ |
| 27 | HomologicalComplex.homologyMap |
| 28 | (((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 29 | (RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X C a)) q ≫ |
| 30 | (twoSupportThomRelativeIso C O U he q).hom = |
| 31 | ModuleCat.ofHom (SupportCup.Constructions.twoSupportCohomologyCup (TopCat.of U) |
| 32 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) (C : Set X) U) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) (O : Set X) U) |
| 33 | (C.isOpen.preimage continuous_subtype_val) (O.isOpen.preimage continuous_subtype_val) 2 q |
| 34 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 (RelativeCupPresheaf.Constructions.relativeTwoCocycleOpenRestriction X (C : Set X) a U))) := by |
| 35 | apply ModuleCat.hom_ext |
| 36 | apply LinearMap.ext |
| 37 | intro b |
| 38 | obtain ⟨b, rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 39 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) (O : Set X) U)) q b |
| 40 | let K := CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C |
| 41 | let F := ClosedSupportIs.Constructions.closedSupportSectionFunctor (R := ℚ) O U |
| 42 | let aa := RelativeCupPresheaf.Constructions.relativeTwoCocycleOpenRestriction X (C : Set X) a U |
| 43 | let c := AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (BinarySmallSheafComparison.Constructions.binarySmallToIntersectSupportedSections C O U) (2+q) |
| 44 | (SupportCupCochain.Constructions.twoSupportSmallCupCocycle (TopCat.of U) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) (C : Set X) U) |
| 45 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) (O : Set X) U) aa b) |
| 46 | have hc : AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap |
| 47 | ((F.mapHomologicalComplex (ComplexShape.up ℕ)).map (RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X C a)) q |
| 48 | (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (ClosedSupportRelativeUnit.Constructions.relativeToClosedSupportSections O U) q b) = |
| 49 | AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (SupportSheafCupShift.Constructions.twoSupportThomGoodShiftIso C O U he).hom q |
| 50 | (GoodShiftRepresentatives.Constructions.cochainGoodShiftCocycle (GoodShiftFunctor.Constructions.functorCochainComplex F K) 2 q c) := by |
| 51 | apply Subtype.ext |
| 52 | exact SupportSheafCupShift.Constructions.closedSupportGoodShiftSheafCup_cochain C O U a he q b.val |
| 53 | simp only [ConcreteCategory.comp_apply] |
| 54 | rw [AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality, AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] |
| 55 | change (twoSupportThomRelativeIso C O U he q).hom |
| 56 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap |
| 57 | ((F.mapHomologicalComplex (ComplexShape.up ℕ)).map (RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X C a)) q |
| 58 | (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (ClosedSupportRelativeUnit.Constructions.relativeToClosedSupportSections O U) q b))) = _ |
| 59 | rw [hc] |
| 60 | change (SupportedThomRelative.Constructions.intersectSupportedRelativeCohomologyIso C O U (2+q)).hom |
| 61 | ((ClosedSupportExactnessShift.Constructions.closedSupportGoodShiftCohomologyIso O U K |
| 62 | (CycleClass.Geometric.GlobalSupportPurity.Cycles.supportedSingularSheaf_isFlasque_of_metrizable (ModuleCat.of ℚ ℚ) X C) 2 he q).hom |
| 63 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (SupportSheafCupShift.Constructions.twoSupportThomGoodShiftIso C O U he).hom q |
| 64 | (GoodShiftRepresentatives.Constructions.cochainGoodShiftCocycle (GoodShiftFunctor.Constructions.functorCochainComplex F K) 2 q c)))) = _ |
| 65 | refine (congrArg (SupportedThomRelative.Constructions.intersectSupportedRelativeCohomologyIso C O U (2+q)).hom |
| 66 | (ClosedSupportExactnessShift.Constructions.closedSupportGoodShiftCohomologyIso_class O U K |
| 67 | (CycleClass.Geometric.GlobalSupportPurity.Cycles.supportedSingularSheaf_isFlasque_of_metrizable (ModuleCat.of ℚ ℚ) X C) 2 he q c)).trans ?_ |
| 68 | change (SupportedThomRelative.Constructions.intersectSupportedRelativeCohomologyIso C O U (2+q)).hom |
| 69 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2+q) (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (BinarySmallSheafComparison.Constructions.binarySmallToIntersectSupportedSections C O U) (2+q) |
| 70 | (SupportCupCochain.Constructions.twoSupportSmallCupCocycle (TopCat.of U) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) (C : Set X) U) |
| 71 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) (O : Set X) U) aa b))) = _ |
| 72 | rw [← AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] |
| 73 | exact SmallSheafQuasiIso.Constructions.twoSupportCup_intersectedSheaf_class C O U aa b |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportSheafCupCohomology.Constructions |