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.ThomCupStage |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Compact.SourceSheafTrace |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactThomCupSupport |
| 4 | |
| 5 | /-! # Thom Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Compact.ThomIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The source-to-Thom isomorphism retains each actual compact test and its literal intersection with the divisor. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactThomCupSupport.Constructions |
| 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 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (D : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) |
| 21 | |
| 22 | def regularThomCompactIntersection (K : Compacts D.regularAmbientSpace) : Compacts D.regularAmbientSpace := |
| 23 | HodgeConjecture.DegreeTwo.CompactThomCupSupport.Constructions.thomCompactIntersection (TopCat.of D.regularAmbientSpace) |
| 24 | (D.regularThomComplementOpen : Set D.regularAmbientSpace) D.regularThomComplementOpen.isOpen K |
| 25 | |
| 26 | theorem regularThomCompactIntersection_complement (K : Compacts D.regularAmbientSpace) : |
| 27 | ((SourceSheafTrace.compactTestComplement (X := TopCat.of D.regularAmbientSpace) K ⊔ D.regularThomComplementOpen) : Set D.regularAmbientSpace) = |
| 28 | (regularThomCompactIntersection D K : Set D.regularAmbientSpace)ᶜ := by |
| 29 | change (K : Set D.regularAmbientSpace)ᶜ ∪ (D.regularThomComplementOpen : Set D.regularAmbientSpace) = _ |
| 30 | rw [Set.union_comm] |
| 31 | exact HodgeConjecture.DegreeTwo.CompactThomCupSupport.Constructions.thomCompactIntersection_complement (TopCat.of D.regularAmbientSpace) |
| 32 | (D.regularThomComplementOpen : Set D.regularAmbientSpace) D.regularThomComplementOpen.isOpen K |
| 33 | |
| 34 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 35 | (TopCat.of D.regularAmbientSpace) (D.regularThomComplementOpen : Set D.regularAmbientSpace)) 2) |
| 36 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a = D.regularThomClass) |
| 37 | |
| 38 | def regularSourceCompactThomIso (K : Compacts D.regularAmbientSpace) (n : ℕ) : |
| 39 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of D.regularAnalyticSpace) |
| 40 | (AlgebraicTopology.Duality.Poincare.ProperCompactSupportPullback.properCompactPreimage D.regularComplementTopCatMap |
| 41 | D.isProperMap_regularComplementTopCatMap K : Set D.regularAnalyticSpace)ᶜ n ≅ |
| 42 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of D.regularAmbientSpace) |
| 43 | (regularThomCompactIntersection D K : Set D.regularAmbientSpace)ᶜ (2+n) := |
| 44 | Supported.ThomCupStage.regularSourceThomSupportedRelativeIso D a ha (SourceSheafTrace.compactTestComplement (X := TopCat.of D.regularAmbientSpace) K) n ≪≫ |
| 45 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr (TopCat.of D.regularAmbientSpace) |
| 46 | (regularThomCompactIntersection_complement D K) (2+n) |
| 47 | |
| 48 | def regularSheafCompactThomCup (K : Compacts D.regularAmbientSpace) (n : ℕ) : |
| 49 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of D.regularAmbientSpace) |
| 50 | (K : Set D.regularAmbientSpace)ᶜ n ⟶ |
| 51 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of D.regularAmbientSpace) |
| 52 | (regularThomCompactIntersection D K : Set D.regularAmbientSpace)ᶜ (2+n) := |
| 53 | HomologicalComplex.homologyMap |
| 54 | (AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections (ModuleCat.of ℚ ℚ) (TopCat.of D.regularAmbientSpace) |
| 55 | (SourceSheafTrace.compactTestComplement (X := TopCat.of D.regularAmbientSpace) K)) n ≫ |
| 56 | HomologicalComplex.homologyMap |
| 57 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) (X := TopCat.of D.regularAmbientSpace) ⊤).mapHomologicalComplex |
| 58 | (ComplexShape.up ℕ)).map |
| 59 | (Supported.SectionQuasiIso.supportedSheafComplexMap (X := TopCat.of D.regularAmbientSpace) (SourceSheafTrace.compactTestComplement (X := TopCat.of D.regularAmbientSpace) K) |
| 60 | (HodgeConjecture.DegreeTwo.RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap (TopCat.of D.regularAmbientSpace) |
| 61 | D.regularThomComplementOpen a))) n ≫ |
| 62 | (Supported.ThomCupStage.regularSupportedThomGlobalRelativeIso D (SourceSheafTrace.compactTestComplement (X := TopCat.of D.regularAmbientSpace) K) n).hom ≫ |
| 63 | (AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr (TopCat.of D.regularAmbientSpace) |
| 64 | (regularThomCompactIntersection_complement D K) (2+n)).hom |
| 65 | |
| 66 | theorem regularSheafCompactThomCup_factorization (K : Compacts D.regularAmbientSpace) (n : ℕ) : |
| 67 | AlgebraicTopology.Duality.Poincare.ProperCompactSupportPullback.compactSupportProperStageCohomologyPullback (ModuleCat.of ℚ ℚ) D.regularComplementTopCatMap |
| 68 | D.isProperMap_regularComplementTopCatMap K n ≫ (regularSourceCompactThomIso D a ha K n).hom = |
| 69 | regularSheafCompactThomCup D a K n := by |
| 70 | have h := congrArg (fun g => g ≫ |
| 71 | (AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr (TopCat.of D.regularAmbientSpace) |
| 72 | (regularThomCompactIntersection_complement D K) (2+n)).hom) |
| 73 | (Supported.ThomCupStage.regularSourceThomSupportedRelativeIso_pullback D a ha (SourceSheafTrace.compactTestComplement (X := TopCat.of D.regularAmbientSpace) K) n) |
| 74 | simpa only [regularSourceCompactThomIso, regularSheafCompactThomCup, |
| 75 | Iso.trans_hom, Category.assoc, AlgebraicTopology.Duality.Poincare.ProperCompactSupportPullback.compactSupportProperStageCohomologyPullback, |
| 76 | AlgebraicTopology.Duality.Poincare.ProperCompactSupportPullback.compactSupportProperStagePullback, SourceSheafTrace.compactTestComplement] using h |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Compact.ThomIso |