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.Cycle.GoodOpenRestriction |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.OpenRegularMap |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.SubsetHomeomorph |
| 4 | |
| 5 | /-! # Good Open Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.GoodOpenMap.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On every analytic ambient open, actual cycle-degree supported classes are detected by the actual inclusion of its intersection with a dense algebraic support open's retained ambient complement. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.GoodOpenRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.OpenRegularMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.SubsetHomeomorph.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 21 | (W : D.scheme.Opens) (U : Opens V.analyticSpace) |
| 22 | |
| 23 | def goodNeighborhood : Opens V.analyticSpace := U ⊓ ProperImage.CompactProjection.Constructions.Construction.algebraicComplementOpen V (ProperImage.Open.Constructions.Construction.supportOpenBoundary D W) |
| 24 | |
| 25 | def goodNeighborhoodMap : TopCat.of (goodNeighborhood D W U) ⟶ TopCat.of U := |
| 26 | Open.SubsetHomeomorph.Constructions.smallerOpenMap U (goodNeighborhood D W U) inf_le_left |
| 27 | |
| 28 | theorem goodNeighborhood_mapsTo : Set.MapsTo (goodNeighborhoodMap D W U) |
| 29 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ (goodNeighborhood D W U)) |
| 30 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U) := fun _ hx => hx |
| 31 | |
| 32 | def goodSwapHomeomorph : goodNeighborhood D W U ≃ₜ |
| 33 | ({x : U | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ ProperImage.Open.Constructions.Construction.supportOpenBoundary D W}ᶜ : Set U) where |
| 34 | toFun x := ⟨⟨x.val, x.property.1⟩, x.property.2⟩ |
| 35 | invFun x := ⟨x.val.val, ⟨x.val.property, x.property⟩⟩ |
| 36 | left_inv _ := rfl |
| 37 | right_inv _ := rfl |
| 38 | continuous_toFun := (continuous_subtype_val.subtype_mk _).subtype_mk _ |
| 39 | continuous_invFun := (continuous_subtype_val.comp continuous_subtype_val).subtype_mk _ |
| 40 | |
| 41 | def goodSwapMap : TopCat.of (goodNeighborhood D W U) ⟶ |
| 42 | TopCat.of ({x : U | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ ProperImage.Open.Constructions.Construction.supportOpenBoundary D W}ᶜ : Set U) := |
| 43 | TopCat.ofHom ⟨goodSwapHomeomorph D W U, (goodSwapHomeomorph D W U).continuous⟩ |
| 44 | |
| 45 | theorem goodSwap_mapsTo : Set.MapsTo (goodSwapMap D W U) |
| 46 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ (goodNeighborhood D W U)) |
| 47 | (Geometric.RelativeCochainTriple.Cohomology.relativeTripleSubspace (TopCat.of U) {x : U | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ ProperImage.Open.Constructions.Construction.supportOpenBoundary D W}ᶜ |
| 48 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U)) := fun _ hx => hx |
| 49 | |
| 50 | def goodSwapCohomologyIso (n : ℕ) := AlgebraicTopology.Duality.Poincare.ImmersionLocalPurity.relativePairHomeomorphCohomologyIso (ModuleCat.of ℚ ℚ) |
| 51 | (X := TopCat.of (goodNeighborhood D W U)) |
| 52 | (Y := TopCat.of ({x : U | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ ProperImage.Open.Constructions.Construction.supportOpenBoundary D W}ᶜ : Set U)) |
| 53 | (goodSwapHomeomorph D W U) |
| 54 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ (goodNeighborhood D W U)) |
| 55 | (Geometric.RelativeCochainTriple.Cohomology.relativeTripleSubspace (TopCat.of U) {x : U | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ ProperImage.Open.Constructions.Construction.supportOpenBoundary D W}ᶜ |
| 56 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U)) (fun _ => Iff.rfl) n |
| 57 | |
| 58 | def goodOpenPullback (n : ℕ) := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 59 | (goodNeighborhoodMap D W U) (goodNeighborhood_mapsTo D W U) n |
| 60 | |
| 61 | theorem goodOpenPullback_factor (n : ℕ) : |
| 62 | Geometric.RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 63 | {x : U | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ ProperImage.Open.Constructions.Construction.supportOpenBoundary D W}ᶜ |
| 64 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U) n ≫ |
| 65 | (goodSwapCohomologyIso D W U n).hom = goodOpenPullback D W U n := by |
| 66 | have hh : (goodSwapCohomologyIso D W U n).hom = |
| 67 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (goodSwapMap D W U) (goodSwap_mapsTo D W U) n := rfl |
| 68 | rw [hh] |
| 69 | exact OpenRegularMap.Constructions.triple_pairMap (X := TopCat.of U) (Y := TopCat.of (goodNeighborhood D W U)) |
| 70 | ({x : U | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ ProperImage.Open.Constructions.Construction.supportOpenBoundary D W}ᶜ : Set U) |
| 71 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U) |
| 72 | (goodSwapMap D W U) |
| 73 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ (goodNeighborhood D W U)) |
| 74 | (goodSwap_mapsTo D W U) n |
| 75 | |
| 76 | theorem goodOpenPullback_injective (hW : genericPoint D.scheme ∈ W) : Function.Injective (goodOpenPullback D W U (2 * p)) := by |
| 77 | let := GoodOpenRestriction.Constructions.cycleOpen_goodRestriction_isIso D W hW U |
| 78 | have : IsIso (goodOpenPullback D W U (2 * p)) := by |
| 79 | rw [← goodOpenPullback_factor] |
| 80 | infer_instance |
| 81 | exact (ModuleCat.mono_iff_injective _).mp inferInstance |
| 82 | |
| 83 | theorem goodOpenPullback_restriction (n : ℕ) : |
| 84 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 85 | (Set.range D.analyticInclusion)ᶜ U n ≫ goodOpenPullback D W U n = |
| 86 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 87 | (Set.range D.analyticInclusion)ᶜ (goodNeighborhood D W U) n := by |
| 88 | have h := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (goodNeighborhoodMap D W U) |
| 89 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (U : Set V.analyticSpace)) |
| 90 | (goodNeighborhood_mapsTo D W U) (fun _ hx => hx) n |
| 91 | exact h.trans (ThomOpenRestriction.Constructions.pairMap_congr |
| 92 | (Open.SubsetHomeomorph.Constructions.smallerOpenMap_comp U (goodNeighborhood D W U) inf_le_left) |
| 93 | (fun _ hx => goodNeighborhood_mapsTo D W U hx) (fun _ hx => hx) n) |
| 94 | |
| 95 | theorem goodOpenPullback_cycleClass : |
| 96 | goodOpenPullback D W U (2 * p) |
| 97 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 98 | (Set.range D.analyticInclusion)ᶜ U (2 * p) D.rationalSupportedCycleClass) = |
| 99 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 100 | (Set.range D.analyticInclusion)ᶜ (goodNeighborhood D W U) (2 * p) D.rationalSupportedCycleClass := |
| 101 | ConcreteCategory.congr_hom (goodOpenPullback_restriction D W U (2 * p)) D.rationalSupportedCycleClass |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.GoodOpenMap.Constructions |