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.FlasqueSectionCokernels |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.GoodShiftFunctor |
| 3 | |
| 4 | /-! # Thom Shift Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ThomShiftSections.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual shifted Thom sheaf resolution computes the original relative cohomology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | theorem cochainDegreeShift_boundary_eq_zero (k n : ℕ) |
| 17 | (hn : (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k).BoundaryGE n) : n=0 := by |
| 18 | cases n with |
| 19 | | zero => rfl |
| 20 | | succ n => exact False.elim ((RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k).not_boundaryGE_next |
| 21 | (show (ComplexShape.up ℕ).Rel n (n+1) from rfl) hn) |
| 22 | |
| 23 | variable {X : TopCat.{0}} |
| 24 | |
| 25 | def rationalFlasqueGoodShiftSectionsIso |
| 26 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) |
| 27 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (k : ℕ) |
| 28 | (he : ∀ n, n<k → K.ExactAt n) (U : Opens X) : |
| 29 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U K).truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) ≅ |
| 30 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U (K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) := |
| 31 | GoodShiftFunctor.Constructions.goodShiftFunctorIso (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U) K k (by |
| 32 | intro n hn |
| 33 | have hn0 := cochainDegreeShift_boundary_eq_zero k n hn |
| 34 | subst n |
| 35 | exact FlasqueSectionCokernels.Constructions.rationalFlasqueSections_preservesRightHomologyOf K hK k he U k le_rfl) |
| 36 | |
| 37 | def rationalFlasqueGoodShiftSectionCohomologyIso |
| 38 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) |
| 39 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (k : ℕ) |
| 40 | (he : ∀ n, n<k → K.ExactAt n) (U : Opens X) (n : ℕ) : |
| 41 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U (K.truncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k))).homology n ≅ |
| 42 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U K).homology (k+n) := |
| 43 | (HomologicalComplex.homologyFunctor (ModuleCat.{0} ℚ) (ComplexShape.up ℕ) n).mapIso |
| 44 | (rationalFlasqueGoodShiftSectionsIso K hK k he U).symm ≪≫ |
| 45 | GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U K) k n |
| 46 | |
| 47 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 48 | |
| 49 | def regularThomGoodShiftSectionCohomologyIso (U : Opens Z.regularAmbientSpace) (n : ℕ) : |
| 50 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U (GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z)).homology n ≅ |
| 51 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSections (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 52 | Z.regularThomComplementOpen U).homology (2*p+n) := |
| 53 | rationalFlasqueGoodShiftSectionCohomologyIso Z.regularThomSheafComplex |
| 54 | (CycleClass.Geometric.GlobalSupportPurity.Cycles.supportedSingularSheaf_isFlasque_of_metrizable (ModuleCat.of ℚ ℚ) |
| 55 | (TopCat.of Z.regularAmbientSpace) Z.regularThomComplementOpen) |
| 56 | (2*p) (fun i hi => RegularThomSheafPurity.Constructions.regularThomSheaf_exactAt_except Z i (by omega)) U n |
| 57 | |
| 58 | /-- Every open set retains its actual relative singular cohomology after the shift. -/ |
| 59 | def regularThomGoodShiftSectionsRelativeIso (U : Opens Z.regularAmbientSpace) (n : ℕ) : |
| 60 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U (GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z)).homology n ≅ |
| 61 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 62 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of Z.regularAmbientSpace) |
| 63 | (Z.regularThomComplementOpen : Set Z.regularAmbientSpace) U) (2*p+n) := by |
| 64 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafSections_of_metrizable ℚ |
| 65 | (TopCat.of Z.regularAmbientSpace) Z.regularThomComplementOpen U |
| 66 | exact regularThomGoodShiftSectionCohomologyIso Z U n ≪≫ |
| 67 | (isoOfQuasiIsoAt (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) |
| 68 | (TopCat.of Z.regularAmbientSpace) Z.regularThomComplementOpen U) (2*p+n)).symm |
| 69 | |
| 70 | /-- Global sections compute the original support cohomology in every shifted degree. -/ |
| 71 | def regularThomGoodShiftGlobalRelativeIso (n : ℕ) : |
| 72 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex (⊤ : Opens Z.regularAmbientSpace) |
| 73 | (GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z)).homology n ≅ |
| 74 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 75 | (Set.range Z.regularComplementInclusion)ᶜ (2*p+n) := |
| 76 | regularThomGoodShiftSectionCohomologyIso Z ⊤ n ≪≫ |
| 77 | (CycleClass.Geometric.GlobalSupportPurity.Cycles.relativeSupportedGlobalCohomologyIso (TopCat.of Z.regularAmbientSpace) |
| 78 | Z.regularThomComplementOpen (2*p+n)).symm |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ThomShiftSections.Constructions |