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.ProperCompactThomStage |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactPointNaturality |
| 3 | |
| 4 | /-! # Compact Thom Proper Cup -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactThomProperCup.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Proper pullback followed by the global compact Thom pushforward is actual left cup by the underlying regular Thom class. -/ |
| 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 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 18 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) 2) |
| 19 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a = Z.regularThomClass) |
| 20 | |
| 21 | theorem regularSourceCompactThomPushforward_properPullback (q : ℕ) : |
| 22 | AlgebraicTopology.Duality.Poincare.ProperCompactSupportPullback.compactSupportedCohomologyProperPullback (ModuleCat.of ℚ ℚ) |
| 23 | Z.regularComplementTopCatMap Z.isProperMap_regularComplementTopCatMap q ≫ |
| 24 | CompactThomZero.Constructions.regularSourceCompactThomPushforward Z a ha q = |
| 25 | CompactLeftCup.Constructions.compactCohomologyLeftCup (TopCat.of Z.regularAmbientSpace) 2 q |
| 26 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 27 | (Z.regularThomComplementOpen : Set Z.regularAmbientSpace) 2 Z.regularThomClass) := by |
| 28 | apply AlgebraicTopology.Duality.Poincare.CompactSupportColimit.compactSupportedCohomology_hom_ext (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) q |
| 29 | intro K |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro b |
| 33 | let J := ProperCompactThomSupport.Constructions.regularCompactPreimage Z K |
| 34 | let I := OpenEmbeddingExtension.Constructions.embeddingCompactImage (RegularTopGysin.Constructions.regularSourceInclusionMap V Z) J |
| 35 | let C := (Z.regularThomComplementOpen : Set Z.regularAmbientSpace) |
| 36 | let v := SupportCup.Constructions.twoSupportCohomologyCup (TopCat.of Z.regularAmbientSpace) C (K : Set Z.regularAmbientSpace)ᶜ |
| 37 | Z.regularThomComplementOpen.isOpen K.isCompact.isClosed.isOpen_compl 2 q Z.regularThomClass b |
| 38 | have hp := ConcreteCategory.congr_hom (AlgebraicTopology.Duality.Poincare.ProperCompactSupportPullback.compactSupportCohomologyι_properPullback (ModuleCat.of ℚ ℚ) |
| 39 | Z.regularComplementTopCatMap Z.isProperMap_regularComplementTopCatMap K q) b |
| 40 | have hs := ConcreteCategory.congr_hom (CompactThomZero.Constructions.regularSourceCompactThomPushforward_stage Z a ha q J) |
| 41 | (AlgebraicTopology.Duality.Poincare.ProperCompactSupportPullback.compactSupportProperStageCohomologyPullback (ModuleCat.of ℚ ℚ) |
| 42 | Z.regularComplementTopCatMap Z.isProperMap_regularComplementTopCatMap K q b) |
| 43 | rw [← ProperCompactThomStage.Constructions.regularAmbientCompactThomStageIso_eq_source Z a ha K q] at hs |
| 44 | have hc := ConcreteCategory.congr_hom (ProperCompactThomStage.Constructions.regularAmbientCompactThomStageIso_cup Z a ha K q) b |
| 45 | have he := CompactPointNaturality.Constructions.compactSupportCohomologyι_supportCast (TopCat.of Z.regularAmbientSpace) I |
| 46 | (CompactThomCupSupport.Constructions.thomCompactIntersection (TopCat.of Z.regularAmbientSpace) C Z.regularThomComplementOpen.isOpen K) |
| 47 | (ProperCompactThomSupport.Constructions.regularCompactPreimage_image Z K) (C ∪ (K : Set Z.regularAmbientSpace)ᶜ) |
| 48 | (ProperCompactThomSupport.Constructions.regularCompactPreimage_targetComplement Z K) |
| 49 | (CompactThomCupSupport.Constructions.thomCompactIntersection_complement (TopCat.of Z.regularAmbientSpace) C Z.regularThomComplementOpen.isOpen K) |
| 50 | (2+q) v |
| 51 | have ht := CompactThomCupSupport.Constructions.compactThomCup_retains_intersection (TopCat.of Z.regularAmbientSpace) C |
| 52 | Z.regularThomComplementOpen.isOpen 2 q Z.regularThomClass K b |
| 53 | exact ((congrArg (CompactThomZero.Constructions.regularSourceCompactThomPushforward Z a ha q) hp).trans hs).trans |
| 54 | ((congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) I (2+q)) hc).trans |
| 55 | (he.trans ht.symm)) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactThomProperCup.Constructions |