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.RegularImmersion |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.SheafPurity |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction |
| 4 | |
| 5 | /-! # Regular Neighborhood Detection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularNeighborhoodDetection.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Original supported cycle-degree classes are determined on |
| 12 | arbitrary ambient neighborhoods of every regular point. Extension |
| 13 | across the actual singular boundary is justified by the proved purity |
| 14 | isomorphism used in the original cycle-class construction. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.SheafPurity.Constructions.SupportDetection |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 24 | |
| 25 | def regularNeighborhood (U : Opens V.analyticSpace) : Opens D.regularAmbientSpace := |
| 26 | ⟨Subtype.val ⁻¹' (U : Set V.analyticSpace), U.isOpen.preimage continuous_subtype_val⟩ |
| 27 | |
| 28 | def regularNeighborhoodMap (U : Opens V.analyticSpace) : TopCat.of (regularNeighborhood D U) ⟶ TopCat.of U := |
| 29 | TopCat.ofHom ⟨fun y => ⟨y.val.val, y.property⟩, |
| 30 | (continuous_subtype_val.comp continuous_subtype_val).subtype_mk _⟩ |
| 31 | |
| 32 | theorem regularNeighborhood_mapsTo (U : Opens V.analyticSpace) : Set.MapsTo (regularNeighborhoodMap D U) |
| 33 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of D.regularAmbientSpace) (Set.range D.regularComplementInclusion)ᶜ (regularNeighborhood D U)) |
| 34 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U) := |
| 35 | fun y hy => (D.mem_regularThomComplement_iff y.val).mp hy |
| 36 | |
| 37 | theorem neighborhood_square (U : Opens V.analyticSpace) : |
| 38 | D.regularThomCohomologyRestriction (ModuleCat.of ℚ ℚ) (2 * p) ≫ |
| 39 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of D.regularAmbientSpace) |
| 40 | (Set.range D.regularComplementInclusion)ᶜ (regularNeighborhood D U) (2 * p) = |
| 41 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 42 | (Set.range D.analyticInclusion)ᶜ U (2 * p) ≫ |
| 43 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (regularNeighborhoodMap D U) |
| 44 | (regularNeighborhood_mapsTo D U) (2 * p) := by |
| 45 | let j := Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) D.analyticSingularBoundaryᶜ |
| 46 | let k := Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of D.regularAmbientSpace) (regularNeighborhood D U : Set D.regularAmbientSpace) |
| 47 | let l := Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (U : Set V.analyticSpace) |
| 48 | have hj : Set.MapsTo j (Set.range D.regularComplementInclusion)ᶜ (Set.range D.analyticInclusion)ᶜ := |
| 49 | fun y hy => (D.mem_regularThomComplement_iff y).mp hy |
| 50 | have hk : Set.MapsTo k |
| 51 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of D.regularAmbientSpace) (Set.range D.regularComplementInclusion)ᶜ (regularNeighborhood D U)) |
| 52 | (Set.range D.regularComplementInclusion)ᶜ := fun _ hy => hy |
| 53 | have hl : Set.MapsTo l (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ U) |
| 54 | (Set.range D.analyticInclusion)ᶜ := fun _ hy => hy |
| 55 | have he : k ≫ j = regularNeighborhoodMap D U ≫ l := by |
| 56 | ext y |
| 57 | rfl |
| 58 | have h₁ := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) k j hk hj (2 * p) |
| 59 | have h₂ := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (regularNeighborhoodMap D U) l |
| 60 | (regularNeighborhood_mapsTo D U) hl (2 * p) |
| 61 | have hm := ThomOpenRestriction.Constructions.pairMap_congr he (fun _ hy => hj (hk hy)) |
| 62 | (fun _ hy => hl (regularNeighborhood_mapsTo D U hy)) (2 * p) |
| 63 | exact h₁.trans (hm.trans h₂.symm) |
| 64 | |
| 65 | theorem regularPullback_injective : Function.Injective |
| 66 | (D.regularThomCohomologyRestriction (ModuleCat.of ℚ ℚ) (2 * p)) := by |
| 67 | let e := D.regularToSupportCohomologyIso (ModuleCat.of ℚ ℚ) (2 * p) |
| 68 | D.singularBoundaryRationalCohomology_two_mul_isZero D.singularBoundaryRationalCohomology_two_mul_add_one_isZero |
| 69 | have he : e.inv = D.regularThomCohomologyRestriction (ModuleCat.of ℚ ℚ) (2 * p) := |
| 70 | D.relativeCohomologyTripleRestriction_regularThom (ModuleCat.of ℚ ℚ) (2 * p) |
| 71 | intro a b hab |
| 72 | apply (ModuleCat.mono_iff_injective e.inv).mp inferInstance |
| 73 | rw [he] |
| 74 | exact hab |
| 75 | |
| 76 | theorem relativeClass_eq_of_regular_neighborhoods |
| 77 | (U : D.regularAnalyticSpace → Opens V.analyticSpace) |
| 78 | (hU : ∀ x, D.regularAnalyticToAmbient x ∈ U x) |
| 79 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 80 | (Set.range D.analyticInclusion)ᶜ (2 * p)) |
| 81 | (hab : ∀ x, Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 82 | (Set.range D.analyticInclusion)ᶜ (U x) (2 * p) a = |
| 83 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 84 | (Set.range D.analyticInclusion)ᶜ (U x) (2 * p) b) : a = b := by |
| 85 | apply regularPullback_injective D |
| 86 | apply Immersion.SheafPurity.Constructions.SupportDetection.relativeClass_eq_of_neighborhoods (RegularImmersion.Constructions.regularCycleImmersion D) (fun x => regularNeighborhood D (U x)) |
| 87 | (fun x => hU x) |
| 88 | intro x |
| 89 | have ha := ConcreteCategory.congr_hom (neighborhood_square D (U x)) a |
| 90 | have hb := ConcreteCategory.congr_hom (neighborhood_square D (U x)) b |
| 91 | exact ha.trans ((congrArg (fun c => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 92 | (regularNeighborhoodMap D (U x)) (regularNeighborhood_mapsTo D (U x)) (2 * p) c) (hab x)).trans hb.symm) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularNeighborhoodDetection.Constructions |