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.CochainUnit |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.GoodShiftFunctorRepresentatives |
| 3 | |
| 4 | /-! # Cup Cocycles -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.CupCocycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual supported cup cocycles retain their native relative representatives through the good shift. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | def cochainUnrestrictedCocycle {R : Type} [Ring R] |
| 21 | (K : CochainComplex (ModuleCat.{0} R) ℕ) (k n : ℕ) |
| 22 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (K.restriction (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) n) : |
| 23 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles K (k+n) := |
| 24 | ⟨c.val, by |
| 25 | rw [AlgebraicTopology.Cohomology.Singular.Representatives.mem_cochainCocycles_iff] |
| 26 | exact (AlgebraicTopology.Cohomology.Singular.Representatives.mem_cochainCocycles_iff (K.restriction (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) n c.val).mp c.property⟩ |
| 27 | |
| 28 | variable (X : TopCat.{0}) (C O : Opens X) |
| 29 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (C : Set X)) 2) |
| 30 | |
| 31 | def supportedRelativeTwoCupCocycle (n : ℕ) |
| 32 | (b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) n) : |
| 33 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex (DerivedComparison.supportedSectionsFunctor O ⊤) |
| 34 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C)) (2+n) := |
| 35 | cochainUnrestrictedCocycle _ 2 n |
| 36 | (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap |
| 37 | (((DerivedComparison.supportedSectionsFunctor O ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 38 | (HodgeConjecture.DegreeTwo.RelativeCupSheaf.Constructions.relativeTwoCupSheafMap X C a)) n |
| 39 | (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (CochainUnit.relativeToSupportedFunctorGlobalSections O) n b)) |
| 40 | |
| 41 | theorem supportedRelativeTwoCupCocycle_forget (n : ℕ) |
| 42 | (b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) n) : |
| 43 | AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap |
| 44 | (((DerivedComparison.supportedSectionsFunctor O ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 45 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X))) (2+n) |
| 46 | (supportedRelativeTwoCupCocycle X C O a n b) = |
| 47 | AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (CochainUnit.relativeToSupportedFunctorGlobalSections O) (2+n) |
| 48 | (CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCocycleCupWith X (O : Set X) |
| 49 | (M := ModuleCat.of ℚ ℚ) (N := ModuleCat.of ℚ ℚ) (L := ModuleCat.of ℚ ℚ) |
| 50 | (LinearMap.mul ℚ ℚ) 2 n |
| 51 | (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X (C : Set X)) 2 a) b) := by |
| 52 | apply Subtype.ext |
| 53 | exact CochainUnit.supportedRelativeTwoCup_forget_value X C O a n b.val |
| 54 | |
| 55 | variable (hF : ∀ n, (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding 2).BoundaryGE n → |
| 56 | (DerivedComparison.supportedSectionsFunctor O ⊤).PreservesRightHomologyOf |
| 57 | ((CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C).sc (2+n))) |
| 58 | |
| 59 | theorem supportedRelativeTwoCupCocycle_goodShift_class (n : ℕ) |
| 60 | (b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) n) : |
| 61 | (GoodShiftFunctorRepresentatives.goodShiftFunctorHomologyIso (DerivedComparison.supportedSectionsFunctor O ⊤) |
| 62 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C) 2 hF n).hom |
| 63 | (HomologicalComplex.homologyMap |
| 64 | (((DerivedComparison.supportedSectionsFunctor O ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 65 | (HodgeConjecture.DegreeTwo.RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X C a)) n |
| 66 | (HomologicalComplex.homologyMap (CochainUnit.relativeToSupportedFunctorGlobalSections O) n |
| 67 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ n b))) = |
| 68 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2+n) (supportedRelativeTwoCupCocycle X C O a n b) := by |
| 69 | rw [AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] |
| 70 | exact GoodShiftFunctorRepresentatives.goodShiftFunctorHomologyIso_image_class (DerivedComparison.supportedSectionsFunctor O ⊤) |
| 71 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C) 2 hF |
| 72 | (HodgeConjecture.DegreeTwo.RelativeCupSheaf.Constructions.relativeTwoCupSheafMap X C a) n (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (CochainUnit.relativeToSupportedFunctorGlobalSections O) n b) |
| 73 | (supportedRelativeTwoCupCocycle X C O a n b) rfl |
| 74 | |
| 75 | end |
| 76 | |
| 77 | /-! The sheaf cup gives exactly the original relative cohomology cup while keeping the test support. -/ |
| 78 | |
| 79 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 80 | |
| 81 | set_option backward.isDefEq.respectTransparency false |
| 82 | set_option backward.isDefEq.respectTransparency.types false |
| 83 | set_option backward.defeqAttrib.useBackward true |
| 84 | |
| 85 | variable (X : TopCat.{0}) (C O : Opens X) |
| 86 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (C : Set X)) 2) |
| 87 | variable (hF : ∀ n, (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding 2).BoundaryGE n → |
| 88 | (DerivedComparison.supportedSectionsFunctor O ⊤).PreservesRightHomologyOf |
| 89 | ((CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C).sc (2+n))) |
| 90 | |
| 91 | theorem supportedRelativeTwoCupCocycle_native_class (n : ℕ) |
| 92 | (b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) n) : |
| 93 | HomologicalComplex.homologyMap |
| 94 | (((DerivedComparison.supportedSectionsFunctor O ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 95 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X))) (2+n) |
| 96 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2+n) (supportedRelativeTwoCupCocycle X C O a n b)) = |
| 97 | HomologicalComplex.homologyMap (CochainUnit.relativeToSupportedFunctorGlobalSections O) (2+n) |
| 98 | (CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCohomologyCup (R := ℚ) X (O : Set X) 2 n |
| 99 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) X (C : Set X) 2 (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a)) |
| 100 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ n b)) := by |
| 101 | let d := CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCocycleCupWith X (O : Set X) |
| 102 | (M := ModuleCat.of ℚ ℚ) (N := ModuleCat.of ℚ ℚ) (L := ModuleCat.of ℚ ℚ) |
| 103 | (LinearMap.mul ℚ ℚ) 2 n |
| 104 | (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X (C : Set X)) 2 a) b |
| 105 | have hd : CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCohomologyCup (R := ℚ) X (O : Set X) 2 n |
| 106 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) X (C : Set X) 2 (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a)) |
| 107 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ n b) = AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2+n) d := by |
| 108 | rw [AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality, CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCohomologyCup_class_class] |
| 109 | let q := ((DerivedComparison.supportedSectionsFunctor O ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 110 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)) |
| 111 | calc |
| 112 | _ = AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2+n) (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap q (2+n) (supportedRelativeTwoCupCocycle X C O a n b)) := |
| 113 | AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality q (2+n) (supportedRelativeTwoCupCocycle X C O a n b) |
| 114 | _ = AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2+n) (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (CochainUnit.relativeToSupportedFunctorGlobalSections O) (2+n) d) := |
| 115 | congrArg (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2+n)) (supportedRelativeTwoCupCocycle_forget X C O a n b) |
| 116 | _ = HomologicalComplex.homologyMap (CochainUnit.relativeToSupportedFunctorGlobalSections O) (2+n) |
| 117 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2+n) d) := |
| 118 | (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality (CochainUnit.relativeToSupportedFunctorGlobalSections O) (2+n) d).symm |
| 119 | _ = _ := congrArg (HomologicalComplex.homologyMap (CochainUnit.relativeToSupportedFunctorGlobalSections O) (2+n)) hd.symm |
| 120 | |
| 121 | theorem supportedRelativeTwoCup_cohomology (n : ℕ) : |
| 122 | HomologicalComplex.homologyMap (CochainUnit.relativeToSupportedFunctorGlobalSections O) n ≫ |
| 123 | HomologicalComplex.homologyMap |
| 124 | (((DerivedComparison.supportedSectionsFunctor O ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 125 | (HodgeConjecture.DegreeTwo.RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X C a)) n ≫ |
| 126 | (GoodShiftFunctorRepresentatives.goodShiftFunctorHomologyIso (DerivedComparison.supportedSectionsFunctor O ⊤) |
| 127 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C) 2 hF n).hom ≫ |
| 128 | HomologicalComplex.homologyMap |
| 129 | (((DerivedComparison.supportedSectionsFunctor O ⊤).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 130 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X))) (2+n) = |
| 131 | ModuleCat.ofHom (CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCohomologyCup (R := ℚ) X (O : Set X) 2 n |
| 132 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) X (C : Set X) 2 (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a))) ≫ |
| 133 | HomologicalComplex.homologyMap (CochainUnit.relativeToSupportedFunctorGlobalSections O) (2+n) := by |
| 134 | apply ModuleCat.hom_ext |
| 135 | apply LinearMap.ext |
| 136 | intro b |
| 137 | obtain ⟨b, rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective |
| 138 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) n b |
| 139 | simp only [ConcreteCategory.comp_apply] |
| 140 | rw [supportedRelativeTwoCupCocycle_goodShift_class] |
| 141 | exact supportedRelativeTwoCupCocycle_native_class X C O a n b |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.CupCocycles |