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.SchemeDivisor.Trace |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.TraceStage |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.Projection |
| 4 | |
| 5 | /-! # Prime Divisor Compact Trace -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.PrimeDivisorCompactTrace |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compact integration of an actual divisor class equals the relative |
| 12 | pushforward of its regular locus's actual compact fundamental class. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | namespace Constructions |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Trace.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.PrimeDivisorImmersion.Constructions |
| 23 | ProperImage.Projection.Constructions.Construction |
| 24 | |
| 25 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 26 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 27 | (z : {x : X.left // Order.coheight x = 1}) |
| 28 | |
| 29 | local notation "D" => OAI.AlgebraicGeometry.CycleClass.Thom.PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z |
| 30 | local notation "G" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X (OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions.primeSupport X z) |
| 31 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 32 | abbrev divisorDegree := 2 * Betti.AffineDimension.Realization.functionFieldDifferentialDimension (Scheme.RegularSupport.Constructions.regularOver X (SchemeDivisor.Purity.Constructions.primeSupport X z)).hom |
| 33 | |
| 34 | local notation "n" => OAI.AlgebraicGeometry.CycleClass.Thom.PrimeDivisorCompactTrace.Constructions.divisorDegree X z |
| 35 | |
| 36 | /-- The actual continuous regular-locus inclusion in the whole smooth scheme. -/ |
| 37 | def regularAmbientMap : (PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularAnalyticSpace ⟶ T := |
| 38 | (PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplementTopCatMap ≫ Geometric.LocalHomology.Cycles.subspaceInclusion T (G : Set T) |
| 39 | |
| 40 | omit [AlgebraicGeometry.IsNoetherian X.left] in |
| 41 | theorem regularAmbientMap_eq_schemeMap : |
| 42 | regularAmbientMap X z = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (Scheme.RegularSupport.Constructions.regularToAmbient X (SchemeDivisor.Purity.Constructions.primeSupport X z)) := by |
| 43 | ext x |
| 44 | rfl |
| 45 | |
| 46 | omit [AlgebraicGeometry.IsNoetherian X.left] in |
| 47 | theorem regularCompactPairMapsTo (K : Compacts G) : |
| 48 | Set.MapsTo (regularAmbientMap X z) ((PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplementTopCatMap ⁻¹' (K : Set G))ᶜ |
| 49 | (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ := by |
| 50 | rintro x hx ⟨y, hy, he⟩ |
| 51 | apply hx |
| 52 | change (PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplementTopCatMap x ∈ (K : Set G) |
| 53 | exact (Subtype.ext he) ▸ hy |
| 54 | |
| 55 | /-- The independently defined compact fundamental class pushed into the |
| 56 | original ambient scheme at the given actual compact support. -/ |
| 57 | def regularCompactProjection (K : Compacts G) : |
| 58 | Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ T (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ n := |
| 59 | HomologicalComplex.homologyMap (Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ (regularAmbientMap X z) |
| 60 | (regularCompactPairMapsTo X z K)) n |
| 61 | (ProperImage.RationalCompactFundamental.Constructions.Construction.rationalCompactFundamentalClass (PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplexDimension |
| 62 | ((PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplementTopCatMap ⁻¹' (K : Set G)) |
| 63 | ((PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).isProperMap_regularComplementTopCatMap.isCompact_preimage K.isCompact)) |
| 64 | |
| 65 | theorem absoluteDivisorClass_compactTrace_openSupport (K : Compacts G) |
| 66 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T |
| 67 | (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ n) : |
| 68 | AlgebraicTopology.Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) |
| 69 | (M := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) 2 n (PrimeDivisorTrace.Constructions.primeDivisor_trace_degree X z) |
| 70 | (SchemeDivisor.Trace.Constructions.Class.absoluteDivisorClass X z) |
| 71 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) T (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K) n b) = |
| 72 | Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ T (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ n b |
| 73 | (regularCompactProjection X z K) := by |
| 74 | let i : TopCat.of G ⟶ T := Geometric.LocalHomology.Cycles.subspaceInclusion T (G : Set T) |
| 75 | have hi : Set.MapsTo i (K : Set G)ᶜ (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ := by |
| 76 | rintro x hx ⟨y, hy, he⟩ |
| 77 | exact hx ((Subtype.ext he) ▸ hy) |
| 78 | let bG := (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.compactSupportOpenStageIso (X := T) G K n).hom b |
| 79 | have he := Open.CompactPairing.Constructions.evaluation_openStage |
| 80 | (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) (M := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 81 | G K 2 n (PrimeDivisorTrace.Constructions.primeDivisor_trace_degree X z) (SchemeDivisor.Trace.Constructions.Class.absoluteDivisorClass X z) b |
| 82 | rw [SchemeDivisor.Trace.Constructions.Class.absoluteDivisorClass_regularRestriction] at he |
| 83 | have ht := PrimeDivisorTrace.Constructions.regularDivisorThomClass_fundamentalTrace X z |
| 84 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of G) K n bG) |
| 85 | have hs := Immersion.TraceStage.Constructions.Construction.fundamentalTrace_stage_rationalPushforward D K bG |
| 86 | have hn := Geometric.RelativeUniversalCoefficientNaturality.Cycles.relativeHomologyEvaluation_naturality (ModuleCat.of ℚ ℚ) i hi n b |
| 87 | (HomologicalComplex.homologyMap |
| 88 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ (PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplementTopCatMap |
| 89 | (A := ((PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplementTopCatMap ⁻¹' (K : Set G))ᶜ) (B := (K : Set G)ᶜ) |
| 90 | (fun _ hx => hx)) n |
| 91 | (ProperImage.RationalCompactFundamental.Constructions.Construction.rationalCompactFundamentalClass (PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplexDimension |
| 92 | ((PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplementTopCatMap ⁻¹' (K : Set G)) |
| 93 | ((PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).isProperMap_regularComplementTopCatMap.isCompact_preimage K.isCompact))) |
| 94 | have hc := ConcreteCategory.congr_hom |
| 95 | (Geometric.RelativeScalarChains.Cycles.relativeScalarHomologyMap_comp ℚ (PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplementTopCatMap i |
| 96 | (A := ((PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplementTopCatMap ⁻¹' (K : Set G))ᶜ) |
| 97 | (B := (K : Set G)ᶜ) (C := (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ) |
| 98 | (fun _ hx => hx) hi n) |
| 99 | (ProperImage.RationalCompactFundamental.Constructions.Construction.rationalCompactFundamentalClass (PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplexDimension |
| 100 | ((PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).regularComplementTopCatMap ⁻¹' (K : Set G)) |
| 101 | ((PrimeDivisorImmersion.Constructions.primeDivisorImmersion X z).isProperMap_regularComplementTopCatMap.isCompact_preimage K.isCompact)) |
| 102 | exact he.trans (ht.trans (hs.trans (hn.trans |
| 103 | (congrArg (Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ T |
| 104 | (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := T) G K : Set T)ᶜ n b) hc)))) |
| 105 | |
| 106 | end Constructions |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.CycleClass.Thom.PrimeDivisorCompactTrace |