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.Divisors.LineBundles.Scheme.SupportRegularImmersion |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.SheafPurity |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction |
| 4 | |
| 5 | /-! # Support Neighborhood Detection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportNeighborhoodDetection.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Supported classes in the cycle degree are determined on arbitrary |
| 12 | ambient neighborhoods of all regular support points. The passage across |
| 13 | the singular boundary uses the proved support-purity isomorphism. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.RestrictionTarget.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.SheafPurity.Constructions.SupportDetection |
| 18 | |
| 19 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 20 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 21 | (Z : IrreducibleCloseds X.left) |
| 22 | |
| 23 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 24 | local notation "G" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X Z |
| 25 | local notation "S" => (Set.range (OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z))ᶜ |
| 26 | local notation "J" => (Set.range (OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z))ᶜ |
| 27 | |
| 28 | def schemeSupportRegularNeighborhood (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) : Opens G := |
| 29 | ⟨Subtype.val ⁻¹' (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)), U.isOpen.preimage continuous_subtype_val⟩ |
| 30 | |
| 31 | def schemeSupportRegularNeighborhoodMap (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) : |
| 32 | TopCat.of (schemeSupportRegularNeighborhood X Z U) ⟶ TopCat.of U := |
| 33 | TopCat.ofHom ⟨fun y => ⟨y.val.val, y.property⟩, |
| 34 | (continuous_subtype_val.comp continuous_subtype_val).subtype_mk _⟩ |
| 35 | |
| 36 | omit [AlgebraicGeometry.IsIntegral X.left] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 37 | theorem schemeSupportRegularNeighborhood_mapsTo (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) : |
| 38 | Set.MapsTo (schemeSupportRegularNeighborhoodMap X Z U) |
| 39 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of G) J (schemeSupportRegularNeighborhood X Z U)) |
| 40 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) S U) := by |
| 41 | intro y hy |
| 42 | exact CycleClass.Thom.Open.RestrictionTarget.Constructions.openRestrictionMapsTo T S G J (SupportedCycleClass.BundleCycles.schemeRegularSupportComplement_eq X Z) hy |
| 43 | |
| 44 | omit [AlgebraicGeometry.IsIntegral X.left] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 45 | theorem schemeSupportNeighborhood_square (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (p : ℕ) : |
| 46 | SupportedCycleClass.BundleCycles.schemeCycleSupportRestriction X Z p ≫ |
| 47 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of G) J |
| 48 | (schemeSupportRegularNeighborhood X Z U) (2 * p) = |
| 49 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T S U (2 * p) ≫ |
| 50 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (schemeSupportRegularNeighborhoodMap X Z U) |
| 51 | (schemeSupportRegularNeighborhood_mapsTo X Z U) (2 * p) := by |
| 52 | let j := CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion T (G : Set T) |
| 53 | let k := CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of G) (schemeSupportRegularNeighborhood X Z U : Set G) |
| 54 | let l := CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion T (U : Set T) |
| 55 | have hj : Set.MapsTo j J S := CycleClass.Thom.Open.RestrictionTarget.Constructions.openRestrictionMapsTo T S G J (SupportedCycleClass.BundleCycles.schemeRegularSupportComplement_eq X Z) |
| 56 | have hk : Set.MapsTo k |
| 57 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of G) J (schemeSupportRegularNeighborhood X Z U)) J := fun _ hy => hy |
| 58 | have hl : Set.MapsTo l (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) S U) S := fun _ hy => hy |
| 59 | have he : k ≫ j = schemeSupportRegularNeighborhoodMap X Z U ≫ l := by |
| 60 | ext y |
| 61 | rfl |
| 62 | have h₁ := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) k j hk hj (2 * p) |
| 63 | have h₂ := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (schemeSupportRegularNeighborhoodMap X Z U) l |
| 64 | (schemeSupportRegularNeighborhood_mapsTo X Z U) hl (2 * p) |
| 65 | have hm := CycleClass.Thom.ThomOpenRestriction.Constructions.pairMap_congr he (hj.comp hk) |
| 66 | (hl.comp (schemeSupportRegularNeighborhood_mapsTo X Z U)) (2 * p) |
| 67 | exact h₁.trans (hm.trans h₂.symm) |
| 68 | |
| 69 | theorem schemeSupportedClass_eq_of_regular_neighborhoods (p : ℕ) |
| 70 | (hp : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 71 | (U : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver X Z) → Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 72 | (hU : ∀ x, CycleClass.Thom.Scheme.RegularSupport.Constructions.regularInclusion X Z x ∈ U x) |
| 73 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T S (2 * p)) |
| 74 | (hab : ∀ x, CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T S (U x) (2 * p) a = |
| 75 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T S (U x) (2 * p) b) : a = b := by |
| 76 | let := SupportedCycleClass.BundleCycles.schemeCycleSupportRestriction_isIso X Z p hp |
| 77 | apply (asIso (SupportedCycleClass.BundleCycles.schemeCycleSupportRestriction X Z p)).toLinearEquiv.injective |
| 78 | apply CycleClass.Thom.Immersion.SheafPurity.Constructions.SupportDetection.relativeClass_eq_of_neighborhoods (SupportRegularImmersion.BundleCycles.schemeSupportRegularImmersion X Z p hp) |
| 79 | (fun x => schemeSupportRegularNeighborhood X Z (U x)) (fun x => hU x) |
| 80 | intro x |
| 81 | have ha := ConcreteCategory.congr_hom (schemeSupportNeighborhood_square X Z (U x) p) a |
| 82 | have hb := ConcreteCategory.congr_hom (schemeSupportNeighborhood_square X Z (U x) p) b |
| 83 | exact ha.trans ((congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 84 | (schemeSupportRegularNeighborhoodMap X Z (U x)) (schemeSupportRegularNeighborhood_mapsTo X Z (U x)) |
| 85 | (2 * p)) (hab x)).trans hb.symm) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportNeighborhoodDetection.BundleCycles |