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.CycleClass.Thom.Immersion.SupportedRelative |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.ClosedSupportResolution |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSupportIs |
| 5 | |
| 6 | /-! # Supported Thom Source -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.SupportedThomSource.Constructions.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The source–Thom isomorphism with a prescribed closed support, on the original relative groups. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSupportIs.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 22 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 23 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) (2 * p)) |
| 24 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = Z.regularThomClass) |
| 25 | |
| 26 | def regularSourceThomSupportedRelativeIso (O U : Opens Z.regularAmbientSpace) (n : ℕ) : |
| 27 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 28 | (TopCat.of ((Opens.map (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z)).obj U)) |
| 29 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of Z.regularAnalyticSpace) |
| 30 | (((Opens.map (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z)).obj O : Opens Z.regularAnalyticSpace) : |
| 31 | Set Z.regularAnalyticSpace) ((Opens.map (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z)).obj U)) n ≅ |
| 32 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 33 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of Z.regularAmbientSpace) |
| 34 | ((Z.regularThomComplementOpen ⊔ O : Opens Z.regularAmbientSpace) : Set Z.regularAmbientSpace) U) |
| 35 | ((2 * p)+n) := |
| 36 | (HodgeConjecture.DegreeTwo.ClosedSupportIs.Constructions.closedSourceSupportedRelativeCohomologyIso (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) O U n).symm ≪≫ |
| 37 | ClosedSupportResolution.Constructions.Construction.regularSourceThomClosedSupportIso Z a ha O U n ≪≫ SupportedRelative.Constructions.Construction.regularThomClosedSupportRelativeIso Z O U n |
| 38 | |
| 39 | end |
| 40 | |
| 41 | section |
| 42 | |
| 43 | /-! The actual global source-relative Thom isomorphism, retaining any specified closed support. -/ |
| 44 | |
| 45 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 46 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSupportIs.Constructions |
| 47 | |
| 48 | set_option backward.isDefEq.respectTransparency false |
| 49 | |
| 50 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 51 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 52 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) (2 * p)) |
| 53 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = Z.regularThomClass) |
| 54 | |
| 55 | def regularSourceThomSupportedGlobalIso (O : Opens Z.regularAmbientSpace) (n : ℕ) : |
| 56 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAnalyticSpace) |
| 57 | (((Opens.map (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z)).obj O : Opens Z.regularAnalyticSpace) : |
| 58 | Set Z.regularAnalyticSpace) n ≅ |
| 59 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 60 | ((Z.regularThomComplementOpen ⊔ O : Opens Z.regularAmbientSpace) : Set Z.regularAmbientSpace) ((2 * p)+n) := |
| 61 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheafTopIso (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAnalyticSpace) |
| 62 | (((Opens.map (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z)).obj O : Opens Z.regularAnalyticSpace) : |
| 63 | Set Z.regularAnalyticSpace) n).symm ≪≫ |
| 64 | regularSourceThomSupportedRelativeIso Z a ha O ⊤ n ≪≫ |
| 65 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheafTopIso (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 66 | ((Z.regularThomComplementOpen ⊔ O : Opens Z.regularAmbientSpace) : Set Z.regularAmbientSpace) ((2 * p)+n) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | /-! The global Thom isomorphism at an exact compact source support and its actual ambient image. -/ |
| 71 | |
| 72 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 73 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSupportIs.Constructions |
| 74 | |
| 75 | set_option backward.isDefEq.respectTransparency false |
| 76 | |
| 77 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 78 | |
| 79 | def regularCompactImageComplement (K : Compacts Z.regularAnalyticSpace) : Opens Z.regularAmbientSpace := |
| 80 | ⟨(HodgeConjecture.DegreeTwo.OpenEmbeddingExtension.Constructions.embeddingCompactImage (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) K : Set Z.regularAmbientSpace)ᶜ, |
| 81 | (HodgeConjecture.DegreeTwo.OpenEmbeddingExtension.Constructions.embeddingCompactImage (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) K).isCompact.isClosed.isOpen_compl⟩ |
| 82 | |
| 83 | theorem regularCompactImageComplement_preimage (K : Compacts Z.regularAnalyticSpace) : |
| 84 | (((Opens.map (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z)).obj (regularCompactImageComplement Z K) : |
| 85 | Opens Z.regularAnalyticSpace) : Set Z.regularAnalyticSpace) = (K : Set Z.regularAnalyticSpace)ᶜ := by |
| 86 | change (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) ⁻¹' |
| 87 | ((SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) '' (K : Set Z.regularAnalyticSpace))ᶜ = _ |
| 88 | have hf : Function.Injective (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) := |
| 89 | Z.isClosedEmbedding_regularComplementInclusion.injective |
| 90 | rw [Set.preimage_compl, Set.preimage_image_eq _ hf] |
| 91 | |
| 92 | theorem regularThomComplement_le_compactComplement (K : Compacts Z.regularAnalyticSpace) : |
| 93 | Z.regularThomComplementOpen ≤ regularCompactImageComplement Z K := by |
| 94 | intro y hy |
| 95 | change y ∉ Set.range Z.regularComplementInclusion at hy |
| 96 | change y ∉ (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) '' (K : Set Z.regularAnalyticSpace) |
| 97 | rintro ⟨x, hx, hxy⟩ |
| 98 | exact hy ⟨x, hxy⟩ |
| 99 | |
| 100 | theorem regularCompactThom_unionComplement (K : Compacts Z.regularAnalyticSpace) : |
| 101 | ((Z.regularThomComplementOpen ⊔ regularCompactImageComplement Z K : Opens Z.regularAmbientSpace) : |
| 102 | Set Z.regularAmbientSpace) = |
| 103 | (HodgeConjecture.DegreeTwo.OpenEmbeddingExtension.Constructions.embeddingCompactImage (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) K : Set Z.regularAmbientSpace)ᶜ := by |
| 104 | rw [sup_eq_right.mpr (regularThomComplement_le_compactComplement Z K)] |
| 105 | rfl |
| 106 | |
| 107 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 108 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) (2 * p)) |
| 109 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = Z.regularThomClass) |
| 110 | |
| 111 | def regularSourceCompactThomStageIso (K : Compacts Z.regularAnalyticSpace) (n : ℕ) : |
| 112 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAnalyticSpace) |
| 113 | (K : Set Z.regularAnalyticSpace)ᶜ n ≅ |
| 114 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 115 | (HodgeConjecture.DegreeTwo.OpenEmbeddingExtension.Constructions.embeddingCompactImage (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) K : Set Z.regularAmbientSpace)ᶜ ((2 * p)+n) := |
| 116 | (eqToIso (congrArg (fun B => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 117 | (TopCat.of Z.regularAnalyticSpace) B n) (regularCompactImageComplement_preimage Z K))).symm ≪≫ |
| 118 | regularSourceThomSupportedGlobalIso Z a ha (regularCompactImageComplement Z K) n ≪≫ |
| 119 | eqToIso (congrArg (fun B => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 120 | (TopCat.of Z.regularAmbientSpace) B ((2 * p)+n)) (regularCompactThom_unionComplement Z K)) |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.SupportedThomSource.Constructions.Construction |