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.FundamentalTrace |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.TraceStage |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.Projection |
| 4 | |
| 5 | /-! # Compact Trace -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.CompactTrace.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compact integration of a general canonical cycle class is the |
| 12 | relative pushforward of its regular support's independent compact |
| 13 | fundamental class. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.Projection.Constructions.Construction |
| 17 | |
| 18 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 19 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 20 | (Z : IrreducibleCloseds X.left) (p : ℕ) |
| 21 | (hp : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 22 | |
| 23 | abbrev schemeCycleTraceDegree := 2 * Betti.AffineDimension.Realization.functionFieldDifferentialDimension (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver X Z).hom |
| 24 | |
| 25 | local notation "D" => OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportRegularImmersion.BundleCycles.schemeSupportRegularImmersion X Z p hp |
| 26 | local notation "G" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X Z |
| 27 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 28 | local notation "n" => OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.CompactTrace.BundleCycles.schemeCycleTraceDegree X Z |
| 29 | |
| 30 | local instance : T2Space (D).regularAnalyticSpace := |
| 31 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isEmbedding_map_of_isImmersion (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient X Z)).t2Space |
| 32 | |
| 33 | def schemeCycleRegularAmbientMap : (D).regularAnalyticSpace ⟶ T := |
| 34 | (D).regularComplementTopCatMap ≫ CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion T (G : Set T) |
| 35 | |
| 36 | omit [AlgebraicGeometry.IsNoetherian X.left] in |
| 37 | theorem schemeCycleRegularAmbientMap_eq_schemeMap : |
| 38 | schemeCycleRegularAmbientMap X Z p hp = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient X Z) := by |
| 39 | ext x |
| 40 | rfl |
| 41 | |
| 42 | omit [AlgebraicGeometry.IsNoetherian X.left] in |
| 43 | theorem schemeCycleRegularCompactPairMapsTo (K : Compacts G) : |
| 44 | Set.MapsTo (schemeCycleRegularAmbientMap X Z p hp) ((D).regularComplementTopCatMap ⁻¹' (K : Set G))ᶜ |
| 45 | (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ := by |
| 46 | rintro x hx ⟨y, hy, he⟩ |
| 47 | apply hx |
| 48 | change (D).regularComplementTopCatMap x ∈ (K : Set G) |
| 49 | exact (Subtype.ext he) ▸ hy |
| 50 | |
| 51 | def schemeCycleRegularCompactProjection (K : Compacts G) : |
| 52 | CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ T (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ n := |
| 53 | HomologicalComplex.homologyMap (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ (schemeCycleRegularAmbientMap X Z p hp) |
| 54 | (schemeCycleRegularCompactPairMapsTo X Z p hp K)) n |
| 55 | (CycleClass.Thom.ProperImage.RationalCompactFundamental.Constructions.Construction.rationalCompactFundamentalClass (D).regularComplexDimension |
| 56 | ((D).regularComplementTopCatMap ⁻¹' (K : Set G)) |
| 57 | ((D).isProperMap_regularComplementTopCatMap.isCompact_preimage K.isCompact)) |
| 58 | |
| 59 | theorem schemeCycleClass_compactTrace_openSupport (K : Compacts G) |
| 60 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ n) : |
| 61 | AlgebraicTopology.Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) |
| 62 | (M := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (2 * p) n (FundamentalTrace.BundleCycles.schemeCycle_trace_degree X Z p hp) |
| 63 | (Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X Z p hp) |
| 64 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) T (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K) n b) = |
| 65 | CycleClass.Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ T (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ n b |
| 66 | (schemeCycleRegularCompactProjection X Z p hp K) := by |
| 67 | let i : TopCat.of G ⟶ T := CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion T (G : Set T) |
| 68 | have hi : Set.MapsTo i (K : Set G)ᶜ (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ := by |
| 69 | rintro x hx ⟨y, hy, he⟩ |
| 70 | exact hx ((Subtype.ext he) ▸ hy) |
| 71 | let bG := (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.compactSupportOpenStageIso (X := T) G K n).hom b |
| 72 | have he := CycleClass.Thom.Open.CompactPairing.Constructions.evaluation_openStage |
| 73 | (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) (M := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 74 | G K (2 * p) n (FundamentalTrace.BundleCycles.schemeCycle_trace_degree X Z p hp) (Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X Z p hp) b |
| 75 | have hr := congrArg |
| 76 | (fun a => AlgebraicTopology.Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) |
| 77 | (M := G) (2 * p) n (FundamentalTrace.BundleCycles.schemeCycle_trace_degree X Z p hp) a |
| 78 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of G) K n bG)) |
| 79 | (Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass_regularRestriction X Z p hp) |
| 80 | have ht := FundamentalTrace.BundleCycles.schemeRegularSupportThomClass_fundamentalTrace X Z p hp |
| 81 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of G) K n bG) |
| 82 | have hs := CycleClass.Thom.Immersion.TraceStage.Constructions.Construction.fundamentalTrace_stage_rationalPushforward D K bG |
| 83 | have hn := CycleClass.Geometric.RelativeUniversalCoefficientNaturality.Cycles.relativeHomologyEvaluation_naturality (ModuleCat.of ℚ ℚ) i hi n b |
| 84 | (HomologicalComplex.homologyMap |
| 85 | (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ (D).regularComplementTopCatMap |
| 86 | (A := ((D).regularComplementTopCatMap ⁻¹' (K : Set G))ᶜ) (B := (K : Set G)ᶜ) |
| 87 | (fun _ hx => hx)) n |
| 88 | (CycleClass.Thom.ProperImage.RationalCompactFundamental.Constructions.Construction.rationalCompactFundamentalClass (D).regularComplexDimension |
| 89 | ((D).regularComplementTopCatMap ⁻¹' (K : Set G)) |
| 90 | ((D).isProperMap_regularComplementTopCatMap.isCompact_preimage K.isCompact))) |
| 91 | have hc := ConcreteCategory.congr_hom |
| 92 | (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomologyMap_comp ℚ (D).regularComplementTopCatMap i |
| 93 | (A := ((D).regularComplementTopCatMap ⁻¹' (K : Set G))ᶜ) |
| 94 | (B := (K : Set G)ᶜ) (C := (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ) |
| 95 | (fun _ hx => hx) hi n) |
| 96 | (CycleClass.Thom.ProperImage.RationalCompactFundamental.Constructions.Construction.rationalCompactFundamentalClass (D).regularComplexDimension |
| 97 | ((D).regularComplementTopCatMap ⁻¹' (K : Set G)) |
| 98 | ((D).isProperMap_regularComplementTopCatMap.isCompact_preimage K.isCompact)) |
| 99 | exact he.trans (hr.trans (ht.trans (hs.trans (hn.trans |
| 100 | (congrArg (CycleClass.Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ T (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ n b) hc))))) |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.CompactTrace.BundleCycles |