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.Polynomial.Dimension |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.Support |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.GlobalSpecialization |
| 4 | |
| 5 | /-! # Cycle Grading -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.CycleGrading.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! # LineBundleCycles: the actual relative affine line increases every integral support dimension by one -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | |
| 17 | variable {k : Type} [Field k] (X : Scheme.{0}) |
| 18 | |
| 19 | theorem affineLine_dimension [IsIntegral X] (f : X ⟶ Spec (.of k)) [LocallyOfFiniteType f] : |
| 20 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (Charts.BundleCycles.affineLineProjection X ≫ f) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f + 1 := by |
| 21 | let x : X := Classical.choice inferInstance |
| 22 | obtain ⟨U, hU, hxU, _⟩ := exists_isAffineOpen_mem_and_subset (Opens.mem_top x) |
| 23 | let V : X.affineOpens := ⟨U, hU⟩ |
| 24 | have : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 25 | have : IsDomain Γ(X, U) := inferInstance |
| 26 | have hbase : Charts.BundleCycles.affineLinePolynomialChart X V ≫ Charts.BundleCycles.affineLineProjection X = |
| 27 | Spec.map (CommRingCat.ofHom (algebraMap Γ(X, U) (Polynomial Γ(X, U)))) ≫ hU.fromSpec := |
| 28 | Charts.BundleCycles.affineLinePolynomialChart_toBase X V |
| 29 | exact @LineBundles.Polynomial.Dimension.BundleCycles.polynomial_dimension_of_chart k _ Γ(X, U) _ _ X (Charts.BundleCycles.affineLine X) _ _ |
| 30 | hU.fromSpec (IsAffineOpen.isOpenImmersion_fromSpec hU) |
| 31 | (Charts.BundleCycles.affineLinePolynomialChart X V) (Charts.BundleCycles.affineLinePolynomialChart_isOpenImmersion X V) |
| 32 | (Charts.BundleCycles.affineLineProjection X) hbase f inferInstance |
| 33 | |
| 34 | theorem affineLineExtendedSupport_dimension (f : X ⟶ Spec (.of k)) [LocallyOfFiniteType f] |
| 35 | (W : IrreducibleCloseds X) : |
| 36 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Support.BundleCycles.affineLineExtendedSupport X W) (Charts.BundleCycles.affineLineProjection X ≫ f) = |
| 37 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W f + 1 := by |
| 38 | have hc : Support.BundleCycles.affineLineSupportMap X W ≫ (Charts.BundleCycles.affineLineProjection X ≫ f) = |
| 39 | Charts.BundleCycles.affineLineProjection (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) ≫ (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ f) := |
| 40 | (Category.assoc _ _ _).symm.trans |
| 41 | ((congrArg (fun q => q ≫ f) (Support.BundleCycles.affineLineSupport_isPullback X W).w.symm).trans (Category.assoc _ _ _)) |
| 42 | exact (CycleClass.Geometric.StratumClosure.schemeTranscendenceDimension_eq_imageClosure (Support.BundleCycles.affineLineSupportMap X W) |
| 43 | (Charts.BundleCycles.affineLineProjection X ≫ f)).symm.trans |
| 44 | ((congrArg (fun q => Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension q) hc).trans |
| 45 | (affineLine_dimension (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ f))) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | /-! # LineBundleCycles: actual dimension-graded cycle pullback to the relative affine line -/ |
| 50 | |
| 51 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 52 | |
| 53 | variable (X : Scheme.{0}) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 54 | |
| 55 | theorem affineLineFiberGenericPoint_dimension (x : X) : |
| 56 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (Charts.BundleCycles.affineLineProjection X) x)) |
| 57 | (Charts.BundleCycles.affineLineProjection X ≫ f) = |
| 58 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f + 1 := by |
| 59 | have he := Support.BundleCycles.affineLineExtendedSupport_eq_pointClosure X (irreducibleSetEquivPoints.symm x) |
| 60 | rw [irreducibleSetEquivPoints.apply_symm_apply] at he |
| 61 | exact (congrArg (fun W => Foundations.Scheme.SupportDimension.supportTranscendenceDimension W (Charts.BundleCycles.affineLineProjection X ≫ f)) he).symm.trans |
| 62 | (affineLineExtendedSupport_dimension X f _) |
| 63 | |
| 64 | def affineLineDimensionPointMap (d : ℕ) : |
| 65 | Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d → Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (Charts.BundleCycles.affineLineProjection X ≫ f) (d + 1) := |
| 66 | fun x => ⟨Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (Charts.BundleCycles.affineLineProjection X) x.1, |
| 67 | (affineLineFiberGenericPoint_dimension X f x.1).trans (congrArg (fun n => n + 1) x.2)⟩ |
| 68 | |
| 69 | def affineLineGradedCycleExtension (d : ℕ) : |
| 70 | (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d →₀ ℚ) →ₗ[ℚ] |
| 71 | (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (Charts.BundleCycles.affineLineProjection X ≫ f) (d + 1) →₀ ℚ) := |
| 72 | Finsupp.lmapDomain ℚ ℚ (affineLineDimensionPointMap X f d) |
| 73 | |
| 74 | theorem affineLineGradedCycleExtension_forget (d : ℕ) (z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d →₀ ℚ) : |
| 75 | Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion (Charts.BundleCycles.affineLineProjection X ≫ f) (d + 1) |
| 76 | (affineLineGradedCycleExtension X f d z) = |
| 77 | Integral.FiberGenericPoint.BundleCycles.integralFiberCycleExtension (Charts.BundleCycles.affineLineProjection X) (Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion f d z) := by |
| 78 | change Finsupp.mapDomain (Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding (Charts.BundleCycles.affineLineProjection X ≫ f) (d + 1)) |
| 79 | (Finsupp.mapDomain (affineLineDimensionPointMap X f d) z) = |
| 80 | Finsupp.mapDomain (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (Charts.BundleCycles.affineLineProjection X)) (Finsupp.mapDomain (Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding f d) z) |
| 81 | rw [← Finsupp.mapDomain_comp, ← Finsupp.mapDomain_comp] |
| 82 | rfl |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.CycleGrading.BundleCycles |