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.Scheme.PrimeAmbientNormalPair |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportedNormalRestriction |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.NormalNeighborhoodInverse |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction |
| 5 | |
| 6 | /-! # Prime Ambient -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PrimeAmbient.Constructions.Class |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The canonical class of any prime divisor restricts to the actual |
| 13 | normalized ambient normal class near each point of its regular locus. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularDivisorImmersion.Constructions |
| 18 | SchemeDivisor.Module.Constructions PrimeAmbientNormalPair.Constructions SupportedNormalRestriction.Constructions |
| 19 | Open.NormalNeighborhoodInverse.Constructions |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 25 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] (z : {x : X.left // Order.coheight x = 1}) |
| 26 | (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (RegularSupport.Constructions.regularOver X (SchemeDivisor.Purity.Constructions.primeSupport X z))) |
| 27 | |
| 28 | theorem ambientPair_mapsTo : Set.MapsTo |
| 29 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (PrimeAmbientNormalPair.Constructions.primeAmbientPair X z x).neighborhood) |
| 30 | (PrimeAmbientNormalPair.Constructions.primeAmbientPair X z x).relativeComplement |
| 31 | (Set.range (RegularSupport.Constructions.supportInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)))ᶜ := by |
| 32 | intro y hy hs |
| 33 | exact (PrimeAmbientNormalPair.Constructions.primeAmbientPair X z x).normalCoordinate_mapsTo hy |
| 34 | ((PrimeAmbientNormalPair.Constructions.primeAmbientPair_zero_iff X z x y).mpr hs) |
| 35 | |
| 36 | variable [AlgebraicGeometry.IsNoetherian X.left] |
| 37 | |
| 38 | theorem supportedDivisorClass_ambientNormalRestriction : |
| 39 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 40 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (PrimeAmbientNormalPair.Constructions.primeAmbientPair X z x).neighborhood) |
| 41 | (ambientPair_mapsTo X z x) 2 (SchemeDivisor.Module.Constructions.supportedDivisorClass X z) = |
| 42 | (PrimeAmbientNormalPair.Constructions.primeAmbientPair X z x).rationalClassFin := by |
| 43 | let Q := (RegularDivisorImmersion.Constructions.regularPrimeImmersion X z).regularFixedNormalPair x |
| 44 | let G := RegularSupport.Constructions.regularAmbientOpen X (SchemeDivisor.Purity.Constructions.primeSupport X z) |
| 45 | let k := SupportedNormalRestriction.Constructions.regularPairAmbientMap X z x Q |
| 46 | let j := Open.NormalNeighborhoodInverse.Constructions.liftedNormalInverse G Q |
| 47 | have hk := SupportedNormalRestriction.Constructions.regularPairAmbientMap_mapsTo X z x Q Q.relativeComplement (fun _ hx => hx) |
| 48 | have hj := Open.NormalNeighborhoodInverse.Constructions.inverse_mapsTo G Q |
| 49 | have hq := SupportedNormalRestriction.Constructions.supportedDivisorClass_normalRestriction X z x Q Q.relativeComplement (fun _ hx => hx) |
| 50 | have hr := SchemeDivisor.Module.Constructions.regularDivisorThomClass_restrict X z x Q |
| 51 | ((RegularDivisorImmersion.Constructions.regularPrimeImmersion X z).regularFixedNormalPair_ambientChart_mdifferentiable x) |
| 52 | have hv : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) k hk 2 |
| 53 | (SchemeDivisor.Module.Constructions.supportedDivisorClass X z) = Q.rationalClassFin := by |
| 54 | exact hq.trans ((congrArg (fun b => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 55 | (𝟙 (TopCat.of Q.neighborhood)) (fun _ hx => hx) 2 b) hr).trans |
| 56 | (ConcreteCategory.congr_hom (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id (ModuleCat.of ℚ ℚ) |
| 57 | (TopCat.of Q.neighborhood) Q.relativeComplement 2) Q.rationalClassFin)) |
| 58 | have he : j ≫ k = Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 59 | (PrimeAmbientNormalPair.Constructions.primeAmbientPair X z x).neighborhood := by |
| 60 | ext y |
| 61 | rfl |
| 62 | have hc := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) j k hj hk 2 |
| 63 | have hm := ThomOpenRestriction.Constructions.pairMap_congr he (fun _ hx => hk (hj hx)) |
| 64 | (ambientPair_mapsTo X z x) 2 |
| 65 | have hcomp := ConcreteCategory.congr_hom (hc.trans hm) (SchemeDivisor.Module.Constructions.supportedDivisorClass X z) |
| 66 | have hn := Open.NormalNeighborhoodInverse.Constructions.inverse_normalClass G Q |
| 67 | exact hcomp.symm.trans ((congrArg |
| 68 | (fun b => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) j hj 2 b) hv).trans hn) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PrimeAmbient.Constructions.Class |