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.FlasqueDerivedComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ThomSource |
| 3 | |
| 4 | /-! # All Thom Source -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AllThomSource.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! All actual source cohomology groups identify with the corresponding relative Thom groups. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) |
| 17 | |
| 18 | theorem regularSourceSheaf_exact_positive (n : ℕ) : (RegularThomSourceSheaf.Constructions.regularSourceSheafComplex Z).ExactAt (n+1) := by |
| 19 | have := AlgebraicTopology.Cohomology.Singular.ChartLocalContractible.stronglyLocallyContractibleSpace_of_chartedSpace Z.regularAnalyticModel Z.regularAnalyticSpace |
| 20 | exact ClosedSourceResolution.Constructions.closedSourceSheaf_positive_exact (RegularTopGysin.Constructions.regularSourceInclusionMap V Z) |
| 21 | Z.isClosedEmbedding_regularComplementInclusion n |
| 22 | |
| 23 | theorem regularThomGoodShift_exact_positive (n : ℕ) : |
| 24 | (GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z).ExactAt (n+1) := |
| 25 | (HomologicalComplex.exactAt_iff_isZero_homology _ _).mpr |
| 26 | (GoodShiftCohomology.Constructions.regularThomGoodShift_positive_homology_isZero Z (n+1) (Nat.succ_pos n)) |
| 27 | |
| 28 | def regularSourceSectionsDerivedIso (U : Opens Z.regularAmbientSpace) (n : ℕ) := |
| 29 | FlasqueDerivedComparison.Constructions.flasqueResolutionDerivedCohomologyIso (RegularThomSourceSheaf.Constructions.regularSourceSheafComplex Z) |
| 30 | (ClosedSourceResolution.Constructions.closedSourceSheaf_isFlasque (RegularTopGysin.Constructions.regularSourceInclusionMap V Z)) |
| 31 | (regularSourceSheaf_exact_positive Z) U n |
| 32 | |
| 33 | def regularThomSectionsDerivedIso (U : Opens Z.regularAmbientSpace) (n : ℕ) := |
| 34 | FlasqueDerivedComparison.Constructions.flasqueResolutionDerivedCohomologyIso (GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z) |
| 35 | (ThomGoodShiftFlasque.Constructions.regularThomGoodShift_isFlasque Z) (regularThomGoodShift_exact_positive Z) U n |
| 36 | |
| 37 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 38 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) 2) |
| 39 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a = Z.regularThomClass) |
| 40 | |
| 41 | def regularSourceThomAllDegreeSectionsIso (U : Opens Z.regularAmbientSpace) (n : ℕ) : |
| 42 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U (RegularThomSourceSheaf.Constructions.regularSourceSheafComplex Z)).homology n ≅ |
| 43 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U (GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z)).homology n := |
| 44 | regularSourceSectionsDerivedIso Z U n ≪≫ |
| 45 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) (X := TopCat.of Z.regularAmbientSpace) U).rightDerived n).mapIso |
| 46 | (RegularThomSourceSheaf.Constructions.regularSourceThomZeroSheafIso Z a ha) ≪≫ |
| 47 | (regularThomSectionsDerivedIso Z U n).symm |
| 48 | |
| 49 | def regularSourceThomAllDegreeRelativeIso (U : Opens Z.regularAmbientSpace) (n : ℕ) : |
| 50 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) |
| 51 | (TopCat.of ((Opens.map (RegularTopGysin.Constructions.regularSourceInclusionMap V Z)).obj U)) n ≅ |
| 52 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 53 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of Z.regularAmbientSpace) |
| 54 | (Z.regularThomComplementOpen : Set Z.regularAmbientSpace) U) (2+n) := |
| 55 | (ClosedSourceResolution.Constructions.closedSourceSheafSectionCohomologyIso (RegularTopGysin.Constructions.regularSourceInclusionMap V Z) U n).symm ≪≫ |
| 56 | regularSourceThomAllDegreeSectionsIso Z a ha U n ≪≫ ThomShiftSections.Constructions.regularThomGoodShiftSectionsRelativeIso Z U n |
| 57 | |
| 58 | theorem regularSourceThomAllDegreeRelativeIso_eq |
| 59 | (b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 60 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) 2) |
| 61 | (hb : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 b = Z.regularThomClass) (U : Opens Z.regularAmbientSpace) (n : ℕ) : |
| 62 | regularSourceThomAllDegreeRelativeIso Z a ha U n = |
| 63 | regularSourceThomAllDegreeRelativeIso Z b hb U n := by |
| 64 | unfold regularSourceThomAllDegreeRelativeIso regularSourceThomAllDegreeSectionsIso |
| 65 | rw [ThomResolutionDiagram.Constructions.regularSourceThomZeroSheafIso_eq Z a b ha hb] |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AllThomSource.Constructions |