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.FiniteSupport.Range |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.CoveringTrace |
| 3 | |
| 4 | /-! # Cycle Trace -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.FiniteSupport.CycleTrace.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite scheme map transports the canonical cycle integral with |
| 11 | the exact algebraic residue degree on every retained compact test. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport.Constructions |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 18 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 19 | [IsIntegral Y.left] [Smooth Y.hom] |
| 20 | [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 21 | (f : X ⟶ Y) [IsFinite f.left] (Z : IrreducibleCloseds X.left) |
| 22 | |
| 23 | local instance : SecondCountableTopology (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := by |
| 24 | let : QuasiCompact X.hom := inferInstance |
| 25 | exact ComplexPoints.Analytic.FiniteTypeSchemeTopology.schemePoints_secondCountable X |
| 26 | |
| 27 | local instance : SecondCountableTopology (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) := by |
| 28 | let : QuasiCompact Y.hom := inferInstance |
| 29 | exact ComplexPoints.Analytic.FiniteTypeSchemeTopology.schemePoints_secondCountable Y |
| 30 | |
| 31 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [AlgebraicGeometry.IsIntegral Y.left] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 32 | theorem finiteSupport_compactPreimage (L : Compacts (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) : |
| 33 | IsCompact (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f ⁻¹' (L : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) := |
| 34 | (CycleClass.Thom.Integral.SchemeProper.Constructions.isProperMap_integral f).isCompact_preimage L.isCompact |
| 35 | |
| 36 | theorem finiteSupport_cycle_compactTrace |
| 37 | (p q : ℕ) |
| 38 | (hZ : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 39 | (hB : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f Z) Y.hom + q = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 40 | (n : ℕ) (hp : 2 * p + n = 2 * Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) |
| 41 | (hq : 2 * q + n = 2 * Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) |
| 42 | (L : Compacts (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (hL : (L : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) ⊆ Cover.BundleCycles.finiteSupportRetainedOpen f Z) |
| 43 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) |
| 44 | (L : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))ᶜ n) : |
| 45 | AlgebraicTopology.Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) |
| 46 | (M := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (2 * p) n hp (Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X Z p hZ) |
| 47 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 48 | ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f ⁻¹' (L : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)), finiteSupport_compactPreimage f L⟩ n |
| 49 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 50 | (A := (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f ⁻¹' (L : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)))ᶜ) |
| 51 | (B := (L : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))ᶜ) (fun _ hx => hx) n b)) = |
| 52 | (f.left.residueDegree (irreducibleSetEquivPoints Z) : ℚ) • |
| 53 | AlgebraicTopology.Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) |
| 54 | (M := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) (2 * q) n hq (Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f Z) q hB) |
| 55 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) L n b) := by |
| 56 | let d := Betti.AffineDimension.Realization.functionFieldDifferentialDimension (Cover.BundleCycles.finiteSupportSourceOver f Z).hom |
| 57 | let e := Betti.AffineDimension.Realization.functionFieldDifferentialDimension (Cover.BundleCycles.finiteSupportTargetOver f Z).hom |
| 58 | let jA : TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Cover.BundleCycles.finiteSupportSourceOver f Z)) ⟶ |
| 59 | (Scheme.SupportRegularImmersion.BundleCycles.schemeSupportRegularImmersion X Z p hZ).regularAnalyticSpace := |
| 60 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (Cover.BundleCycles.finiteSupportSourceToRegular f Z) |
| 61 | let jB : TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Cover.BundleCycles.finiteSupportTargetOver f Z)) ⟶ |
| 62 | (Scheme.SupportRegularImmersion.BundleCycles.schemeSupportRegularImmersion Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f Z) q hB).regularAnalyticSpace := |
| 63 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (Cover.BundleCycles.finiteSupportTargetToRegular f Z) |
| 64 | have hTA : SchemeCycle.CompactTrace.BundleCycles.schemeCycleTraceDegree X Z = n := by |
| 65 | have h := SchemeCycle.FundamentalTrace.BundleCycles.schemeCycle_trace_degree X Z p hZ |
| 66 | change 2 * p + SchemeCycle.CompactTrace.BundleCycles.schemeCycleTraceDegree X Z = _ at h |
| 67 | omega |
| 68 | have hTB : SchemeCycle.CompactTrace.BundleCycles.schemeCycleTraceDegree Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f Z) = n := by |
| 69 | have h := SchemeCycle.FundamentalTrace.BundleCycles.schemeCycle_trace_degree Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f Z) q hB |
| 70 | change 2 * q + SchemeCycle.CompactTrace.BundleCycles.schemeCycleTraceDegree Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f Z) = _ at h |
| 71 | omega |
| 72 | have hd : 2 * d = n := (congrArg (fun k => 2 * k) (Cover.BundleCycles.finiteSupportSourceOver_dimension f Z)).trans hTA |
| 73 | have he : 2 * e = n := (congrArg (fun k => 2 * k) (Cover.BundleCycles.finiteSupportTargetOver_dimension f Z)).trans hTB |
| 74 | have hsquare : (jA ≫ SchemeCycle.CompactTrace.BundleCycles.schemeCycleRegularAmbientMap X Z p hZ) ≫ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f = |
| 75 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (Cover.BundleCycles.finiteSupportCoverMap f Z) ≫ |
| 76 | (jB ≫ SchemeCycle.CompactTrace.BundleCycles.schemeCycleRegularAmbientMap Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f Z) q hB) := by |
| 77 | ext x |
| 78 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient X Z) |
| 79 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Cover.BundleCycles.finiteSupportSourceToRegular f Z) x)) = |
| 80 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f Z)) |
| 81 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Cover.BundleCycles.finiteSupportTargetToRegular f Z) |
| 82 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Cover.BundleCycles.finiteSupportCoverMap f Z) x)) |
| 83 | have h := congrArg (fun k : Cover.BundleCycles.finiteSupportSourceOver f Z ⟶ Y => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map k x) |
| 84 | (Cover.BundleCycles.finiteSupportRegularCover_ambient_square f Z) |
| 85 | simpa only [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp] using h |
| 86 | exact SchemeCycle.CoveringTrace.BundleCycles.schemeCycle_compact_covering_trace Z p hZ (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f Z) q hB f d e jA jB |
| 87 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion (Cover.BundleCycles.finiteSupportSourceToRegular f Z)) |
| 88 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion (Cover.BundleCycles.finiteSupportTargetToRegular f Z)) |
| 89 | (CycleClass.Thom.ProperImage.Open.Constructions.Construction.isLocalDiffeomorph_nativeScheme_openImmersion (Cover.BundleCycles.finiteSupportSourceToRegular f Z)) |
| 90 | (CycleClass.Thom.ProperImage.Open.Constructions.Construction.isLocalDiffeomorph_nativeScheme_openImmersion (Cover.BundleCycles.finiteSupportTargetToRegular f Z)) |
| 91 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (Cover.BundleCycles.finiteSupportCoverMap f Z)) (Cover.BundleCycles.finiteSupportCoverMap_analytic_proper f Z) |
| 92 | (Cover.BundleCycles.finiteSupportCover_localDiffeomorph f Z) hsquare (f.left.residueDegree (irreducibleSetEquivPoints Z)) |
| 93 | (Cover.BundleCycles.finiteSupportCover_fiber_degree f Z) n hd he hTA hTB hp hq L (finiteSupport_compactPreimage f L) |
| 94 | ((Set.preimage_mono hL).trans (Cover.BundleCycles.finiteSupportRetainedOpen_source_regular f Z)) |
| 95 | (hL.trans (Cover.BundleCycles.finiteSupportRetainedOpen_target_regular f Z)) |
| 96 | (Range.BundleCycles.finiteSupportSourceRegular_range f Z _ hL) (Range.BundleCycles.finiteSupportTargetRegular_range f Z _ hL) b |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.Divisors.LineBundles.FiniteSupport.CycleTrace.BundleCycles |