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.Divisors.LineBundles.Scheme.AbsoluteCycleClass |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.Trace |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.CompactPairing |
| 5 | |
| 6 | /-! # Fundamental Trace -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.FundamentalTrace.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Canonical cycle classes on general smooth schemes have the |
| 13 | independent fundamental trace of their regular support on every compact |
| 14 | test avoiding the singular boundary. -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 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) (p : ℕ) |
| 22 | (hp : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 23 | |
| 24 | local notation "G" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X Z |
| 25 | local notation "d" => OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom |
| 26 | local notation "s" => OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension (Over.hom (OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver X Z)) |
| 27 | |
| 28 | def schemeCycleFundamentalTrace := |
| 29 | CycleClass.Thom.Immersion.Trace.Constructions.Construction.fundamentalTrace (Scheme.SupportRegularImmersion.BundleCycles.schemeSupportRegularImmersion X Z p hp) |
| 30 | |
| 31 | include hp in |
| 32 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 33 | theorem schemeCycle_trace_degree : 2 * p + 2 * s = 2 * d := by |
| 34 | have hs := CycleClass.Thom.Scheme.RegularSupport.Constructions.regularDimension_eq X Z |
| 35 | have hd := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension X.hom |
| 36 | omega |
| 37 | |
| 38 | local instance : SecondCountableTopology (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := by |
| 39 | let : QuasiCompact X.hom := inferInstance |
| 40 | exact ComplexPoints.Analytic.FiniteTypeSchemeTopology.schemePoints_secondCountable X |
| 41 | |
| 42 | local instance : SecondCountableTopology (Scheme.SupportRegularImmersion.BundleCycles.schemeSupportRegularImmersion X Z p hp).regularAnalyticSpace := |
| 43 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isEmbedding_map_of_isImmersion (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient X Z)).secondCountableTopology |
| 44 | |
| 45 | theorem schemeRegularSupportThomClass_fundamentalTrace |
| 46 | (b : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of G) (2 * s)) : |
| 47 | AlgebraicTopology.Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation d (M := G) (2 * p) (2 * s) (schemeCycle_trace_degree X Z p hp) |
| 48 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) (TopCat.of G) |
| 49 | (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z))ᶜ (2 * p) (Scheme.SupportedCycleClass.BundleCycles.schemeRegularSupportThomClass X Z p hp)) b = |
| 50 | schemeCycleFundamentalTrace X Z p hp b := |
| 51 | CycleClass.Thom.Immersion.Trace.Constructions.Construction.regularThomClass_fundamentalTrace |
| 52 | (Scheme.SupportRegularImmersion.BundleCycles.schemeSupportRegularImmersion X Z p hp) b |
| 53 | |
| 54 | theorem schemeAbsoluteCycleClass_regularTrace |
| 55 | (b : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of G) (2 * s)) : |
| 56 | AlgebraicTopology.Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation d (M := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (2 * p) (2 * s) |
| 57 | (schemeCycle_trace_degree X Z p hp) (Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X Z p hp) |
| 58 | (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.compactSupportOpenExtension (X := TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) G (2 * s) b) = |
| 59 | schemeCycleFundamentalTrace X Z p hp b := by |
| 60 | have h₁ := CycleClass.Thom.Open.CompactPairing.Constructions.evaluation_openExtension d G |
| 61 | (2 * p) (2 * s) (schemeCycle_trace_degree X Z p hp) (Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X Z p hp) b |
| 62 | have h₂ := congrArg |
| 63 | (fun a => AlgebraicTopology.Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation d (M := G) (2 * p) (2 * s) (schemeCycle_trace_degree X Z p hp) a b) |
| 64 | (Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass_regularRestriction X Z p hp) |
| 65 | exact h₁.trans (h₂.trans (schemeRegularSupportThomClass_fundamentalTrace X Z p hp b)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.FundamentalTrace.BundleCycles |