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.GoodShiftComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupSheaf |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ThomShiftSections |
| 4 | |
| 5 | /-! # Relative Cup Shift Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupShiftSections.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual sheaf cup agrees on sections with the canonical shifted relative cup. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | variable {X : TopCat.{0}} |
| 18 | |
| 19 | theorem rationalFlasqueGoodShiftSectionsIso_projection |
| 20 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) |
| 21 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (k : ℕ) |
| 22 | (he : ∀ n, n<k → K.ExactAt n) (U : Opens X) : |
| 23 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U K).restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) ≫ |
| 24 | (ThomShiftSections.Constructions.rationalFlasqueGoodShiftSectionsIso K hK k he U).hom = |
| 25 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 26 | (K.restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) := |
| 27 | GoodShiftComparison.Constructions.goodShiftFunctorIso_projection (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U) K k _ |
| 28 | |
| 29 | variable (X) (O : Opens X) |
| 30 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) 2) |
| 31 | |
| 32 | theorem relativeTwoCocycleOpenRestriction_class (U : Opens X) : |
| 33 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 (RelativeCupPresheaf.Constructions.relativeTwoCocycleOpenRestriction X (O : Set X) a U) = |
| 34 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) X (O : Set X) U 2 |
| 35 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a) := |
| 36 | (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) |
| 37 | (Opens.inclusion' U) (fun _ hx => hx)) 2 a).symm |
| 38 | |
| 39 | def relativeTwoCupGoodShiftPresheafMap : |
| 40 | AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X ⟶ |
| 41 | AlgebraicTopology.Cohomology.Singular.SheafSections.sheafUnderlyingCochainComplex |
| 42 | ((CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X O).truncGE' |
| 43 | (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding 2)) := |
| 44 | RelativeCupSheaf.Constructions.relativeTwoCupToSupportedPresheafComplexMap X O a ≫ |
| 45 | ((TopCat.Sheaf.forget (ModuleCat.{0} ℚ) X).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 46 | ((CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X O).restrictionToTruncGE' |
| 47 | (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding 2)) |
| 48 | |
| 49 | theorem relativeTwoCupGoodShiftPresheafMap_lift : |
| 50 | SheafComplexLift.Constructions.sheafComplexLift (relativeTwoCupGoodShiftPresheafMap X O a) = |
| 51 | RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X O a := |
| 52 | GoodShiftComparison.Constructions.sheafComplexLift_postcomp _ _ |
| 53 | |
| 54 | variable [MetrizableSpace X] |
| 55 | variable (he : ∀ n, n<2 → |
| 56 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X O).ExactAt n) |
| 57 | |
| 58 | def supportedTwoGoodShiftSectionsIso (U : Opens X) := |
| 59 | ThomShiftSections.Constructions.rationalFlasqueGoodShiftSectionsIso |
| 60 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X O) |
| 61 | (CycleClass.Geometric.GlobalSupportPurity.Cycles.supportedSingularSheaf_isFlasque_of_metrizable (ModuleCat.of ℚ ℚ) X O) 2 he U |
| 62 | |
| 63 | theorem relativeTwoCupGoodShiftPresheafMap_sections (U : Opens X) : |
| 64 | ((AlgebraicTopology.Cohomology.Singular.Stalk.presheafSectionFunctor U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 65 | (relativeTwoCupGoodShiftPresheafMap X O a) = |
| 66 | RelativeCupHomotopy.Constructions.relativeTwoCupGoodShiftMap (TopCat.of U) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (O : Set X) U) |
| 67 | (RelativeCupPresheaf.Constructions.relativeTwoCocycleOpenRestriction X (O : Set X) a U) ≫ |
| 68 | HomologicalComplex.truncGE'Map |
| 69 | (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) X O U) |
| 70 | (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding 2) ≫ |
| 71 | (supportedTwoGoodShiftSectionsIso X O he U).hom := by |
| 72 | unfold RelativeCupHomotopy.Constructions.relativeTwoCupGoodShiftMap |
| 73 | rw [Category.assoc, HomologicalComplex.restrictionToTruncGE'_naturality_assoc] |
| 74 | have hp : (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSections (ModuleCat.of ℚ ℚ) X O U).restrictionToTruncGE' |
| 75 | (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding 2) ≫ (supportedTwoGoodShiftSectionsIso X O he U).hom = |
| 76 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 77 | ((CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X O).restrictionToTruncGE' |
| 78 | (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding 2)) := |
| 79 | rationalFlasqueGoodShiftSectionsIso_projection _ _ _ _ _ |
| 80 | rw [hp] |
| 81 | ext n : 1 |
| 82 | rfl |
| 83 | |
| 84 | include he |
| 85 | |
| 86 | theorem relativeTwoCupGoodShiftPresheafMap_open_quasiIso (U : Opens X) |
| 87 | (ha : QuasiIso (RelativeCupHomotopy.Constructions.relativeTwoCupGoodShiftMap (TopCat.of U) |
| 88 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (O : Set X) U) |
| 89 | (RelativeCupPresheaf.Constructions.relativeTwoCocycleOpenRestriction X (O : Set X) a U))) : |
| 90 | QuasiIso (((AlgebraicTopology.Cohomology.Singular.Stalk.presheafSectionFunctor U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 91 | (relativeTwoCupGoodShiftPresheafMap X O a)) := by |
| 92 | rw [relativeTwoCupGoodShiftPresheafMap_sections X O a he U] |
| 93 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafSections_of_metrizable ℚ X O U |
| 94 | have := GoodShiftComparison.Constructions.cochainGoodShiftMap_quasiIso |
| 95 | (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) X O U) 2 |
| 96 | infer_instance |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupShiftSections.Constructions |