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.SchemeCycle.ParameterClass |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedImmersion |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Equation |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.ExteriorImageCup |
| 5 | |
| 6 | /-! # Local Thom -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.LocalThom.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original supported cycle class restricts to the genuine Thom |
| 13 | class of any actual closed immersion with the same local image inside |
| 14 | one of its canonical ambient normal charts. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normal.ParameterRestriction.Constructions |
| 19 | CycleClass.Thom.Equation.Constructions.ThomClass CycleClass.Thom.ExteriorImageCup.Constructions.Restriction |
| 20 | CycleClass.Thom.Open.ClosedImmersionComposition.Constructions.ComplexManifold CycleClass.Thom.Scheme.ClosedImmersion.Constructions |
| 21 | CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 22 | |
| 23 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 24 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [AlgebraicGeometry.IsNoetherian X.left] |
| 25 | (Z : IrreducibleCloseds X.left) (p : ℕ) |
| 26 | (hp : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 27 | (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver X Z)) |
| 28 | (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (hU : U ≤ (Scheme.SupportAmbientNormalPair.BundleCycles.schemeSupportAmbientPair X Z p hp x).openNeighborhood) |
| 29 | (C : CycleClass.Thom.Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (CycleClass.Thom.Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeManifold X) U) p) |
| 30 | (hC : Set.range C.regularComplementInclusion = Subtype.val ⁻¹' Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z)) |
| 31 | |
| 32 | include hC in |
| 33 | omit [AlgebraicGeometry.IsNoetherian X.left] in |
| 34 | theorem schemeCycleLocalEquation (y : U) : y ∈ Set.range C.regularComplementInclusion ↔ ParameterClass.BundleCycles.schemeSupportParameter X Z p hp x U hU y = 0 := |
| 35 | (Set.ext_iff.mp hC y).trans (ParameterClass.BundleCycles.schemeSupportParameter_zero_iff X Z p hp x U hU y).symm |
| 36 | |
| 37 | include hC in |
| 38 | omit [AlgebraicGeometry.IsNoetherian X.left] in |
| 39 | theorem schemeCycleLocalMapsTo : Set.MapsTo (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) |
| 40 | (Set.range C.regularComplementInclusion)ᶜ (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z))ᶜ := by |
| 41 | intro y hy hd |
| 42 | exact hy ((Set.ext_iff.mp hC y).mpr hd) |
| 43 | |
| 44 | include hC in |
| 45 | omit [AlgebraicGeometry.IsNoetherian X.left] in |
| 46 | theorem schemeCycleParameterComplement : ParameterClass.BundleCycles.schemeSupportParameter X Z p hp x U hU ⁻¹' {0}ᶜ = (Set.range C.regularComplementInclusion)ᶜ := by |
| 47 | ext y |
| 48 | exact not_congr (schemeCycleLocalEquation X Z p hp x U hU C hC y).symm |
| 49 | |
| 50 | include hU in |
| 51 | theorem schemeSupportedCycleClass_localThom : |
| 52 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 53 | (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) |
| 54 | (schemeCycleLocalMapsTo X Z p U C hC) (2 * p) (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass X Z p hp) = C.regularThomClass := by |
| 55 | have hpar := ParameterClass.BundleCycles.schemeSupportedCycleClass_parameter X Z p hp x U hU |
| 56 | have hi := CycleClass.Thom.ExteriorImageCup.Constructions.Restriction.relativeCohomologyMap_sourceCast |
| 57 | (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) |
| 58 | (schemeCycleParameterComplement X Z p hp x U hU C hC) (ParameterClass.BundleCycles.schemeSupportParameter_mapsTo X Z p hp x U hU) (schemeCycleLocalMapsTo X Z p U C hC) |
| 59 | (2 * p) (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass X Z p hp) |
| 60 | have hf := CycleClass.Thom.ExteriorImageCup.Constructions.Restriction.relativeCohomologyMap_sourceCast (ParameterClass.BundleCycles.schemeSupportParameter X Z p hp x U hU) (schemeCycleParameterComplement X Z p hp x U hU C hC) |
| 61 | (show Set.MapsTo (ParameterClass.BundleCycles.schemeSupportParameter X Z p hp x U hU) (ParameterClass.BundleCycles.schemeSupportParameter X Z p hp x U hU ⁻¹' {0}ᶜ) {0}ᶜ from fun _ hy => hy) |
| 62 | (CycleClass.Thom.Equation.Constructions.ThomClass.equation_mapsTo C (ParameterClass.BundleCycles.schemeSupportParameter X Z p hp x U hU) (schemeCycleLocalEquation X Z p hp x U hU C hC)) (2 * p) |
| 63 | (CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass p) |
| 64 | have ht := CycleClass.Thom.Equation.Constructions.ThomClass.equation_pullback_eq_Thom C (ParameterClass.BundleCycles.schemeSupportParameter X Z p hp x U hU) (schemeCycleLocalEquation X Z p hp x U hU C hC) |
| 65 | (CycleClass.Thom.Normal.ParameterRestriction.Constructions.normalParameter_analytic (G := (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ)) (Scheme.SupportAmbientNormalPair.BundleCycles.schemeSupportAmbientPair X Z p hp x) U hU (Scheme.SupportAmbientNormalPair.BundleCycles.schemeSupportAmbientPair_analytic X Z p hp x)) |
| 66 | (fun y => CycleClass.Thom.Normal.ParameterRestriction.Constructions.normalParameter_submersion (G := (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ)) (Scheme.SupportAmbientNormalPair.BundleCycles.schemeSupportAmbientPair X Z p hp x) U hU |
| 67 | (Scheme.SupportAmbientNormalPair.BundleCycles.schemeSupportAmbientPair_mdifferentiable X Z p hp x) (Scheme.SupportAmbientNormalPair.BundleCycles.schemeSupportAmbientPair_analytic X Z p hp x) (C.regularComplementInclusion y)) |
| 68 | exact hi.symm.trans ((congrArg (fun b => eqToHom (congrArg |
| 69 | (fun A => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) A (2 * p)) |
| 70 | (schemeCycleParameterComplement X Z p hp x U hU C hC)) b) hpar).trans (hf.trans ht)) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.LocalThom.BundleCycles |