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.CycleClass.Thom.Closed.ComplexImmersion |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactThomCupSupport |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.SourceCompactPushforward |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.LocalSupportNaturality |
| 5 | import OAI.AlgebraicTopology.DeRham.Comparison.GeometricCycleTrace |
| 6 | |
| 7 | /-! # Proper Compact Support -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.ProperCompactSupport.Constructions.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The exact image of an actual compact preimage is the intersection with the regular cycle support. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 20 | |
| 21 | abbrev regularCompactPreimage (K : Compacts Z.regularAmbientSpace) := |
| 22 | AlgebraicTopology.Duality.Poincare.ProperCompactSupportPullback.properCompactPreimage Z.regularComplementTopCatMap Z.isProperMap_regularComplementTopCatMap K |
| 23 | |
| 24 | def regularAmbientCompactComplement (K : Compacts Z.regularAmbientSpace) : Opens Z.regularAmbientSpace := |
| 25 | ⟨(K : Set Z.regularAmbientSpace)ᶜ, K.isCompact.isClosed.isOpen_compl⟩ |
| 26 | |
| 27 | theorem regularCompactPreimage_image (K : Compacts Z.regularAmbientSpace) : |
| 28 | HodgeConjecture.DegreeTwo.OpenEmbeddingExtension.Constructions.embeddingCompactImage (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) (regularCompactPreimage Z K) = |
| 29 | HodgeConjecture.DegreeTwo.CompactThomCupSupport.Constructions.thomCompactIntersection (TopCat.of Z.regularAmbientSpace) |
| 30 | (Z.regularThomComplementOpen : Set Z.regularAmbientSpace) Z.regularThomComplementOpen.isOpen K := by |
| 31 | apply Compacts.ext |
| 32 | change Z.regularComplementInclusion '' (Z.regularComplementInclusion ⁻¹' (K : Set Z.regularAmbientSpace)) = |
| 33 | (K : Set Z.regularAmbientSpace) ∩ (Set.range Z.regularComplementInclusion)ᶜᶜ |
| 34 | rw [compl_compl] |
| 35 | exact Set.image_preimage_eq_inter_range |
| 36 | |
| 37 | theorem regularCompactPreimage_sourceComplement (K : Compacts Z.regularAmbientSpace) : |
| 38 | (((Opens.map (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z)).obj (regularAmbientCompactComplement Z K) : |
| 39 | Opens Z.regularAnalyticSpace) : Set Z.regularAnalyticSpace) = |
| 40 | (regularCompactPreimage Z K : Set Z.regularAnalyticSpace)ᶜ := rfl |
| 41 | |
| 42 | theorem regularCompactPreimage_targetComplement (K : Compacts Z.regularAmbientSpace) : |
| 43 | ((Z.regularThomComplementOpen ⊔ regularAmbientCompactComplement Z K : Opens Z.regularAmbientSpace) : |
| 44 | Set Z.regularAmbientSpace) = |
| 45 | (HodgeConjecture.DegreeTwo.OpenEmbeddingExtension.Constructions.embeddingCompactImage (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) (regularCompactPreimage Z K) : Set Z.regularAmbientSpace)ᶜ := |
| 46 | (HodgeConjecture.DegreeTwo.CompactThomCupSupport.Constructions.thomCompactIntersection_complement (TopCat.of Z.regularAmbientSpace) |
| 47 | (Z.regularThomComplementOpen : Set Z.regularAmbientSpace) Z.regularThomComplementOpen.isOpen K).trans |
| 48 | (congrArg (fun L : Compacts Z.regularAmbientSpace => (L : Set Z.regularAmbientSpace)ᶜ) |
| 49 | (regularCompactPreimage_image Z K).symm) |
| 50 | |
| 51 | theorem regularAmbientCompactComplement_le_preimageImage (K : Compacts Z.regularAmbientSpace) : |
| 52 | regularAmbientCompactComplement Z K ≤ SupportedThomSource.Constructions.Construction.regularCompactImageComplement Z (regularCompactPreimage Z K) := by |
| 53 | intro y hy |
| 54 | change y ∉ (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) '' (regularCompactPreimage Z K : Set Z.regularAnalyticSpace) |
| 55 | rintro ⟨x, hx, rfl⟩ |
| 56 | exact hy hx |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.ProperCompactSupport.Constructions.Construction |