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.Affine.DimensionBridge |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Support.Integrality |
| 3 | |
| 4 | /-! # Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.Dimension.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: dimension of the global deformation and support deformations |
| 12 | |
| 13 | Actual open immersion charts and the proved constants maps identify the |
| 14 | global structure morphisms with the affine coefficient-field actions. |
| 15 | The one-parameter transcendence calculation therefore gives the exact |
| 16 | global dimension increase, including for singular integral supports. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 20 | open _root_.AlgebraicGeometry.Scheme.AffineZariskiSite |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- An actual deformation chart determines the global dimension increase. -/ |
| 25 | theorem deformation_dimension_of_chart (k : Type u) [Field k] |
| 26 | {R : Type u} [CommRing R] [IsDomain R] (I : Ideal R) |
| 27 | {A B : Scheme.{u}} [IsIntegral A] [IsIntegral B] |
| 28 | (a : Spec (CommRingCat.of R) ⟶ A) [IsOpenImmersion a] |
| 29 | (b : Spec (CommRingCat.of (Iff.BundleCycles.deformationAlgebra I)) ⟶ B) [IsOpenImmersion b] |
| 30 | (g : B ⟶ A) |
| 31 | (h : b ≫ g = Spec.map (CommRingCat.ofHom (algebraMap R (Iff.BundleCycles.deformationAlgebra I))) ≫ a) |
| 32 | (f : A ⟶ Spec (CommRingCat.of k)) [LocallyOfFiniteType f] : |
| 33 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (g ≫ f) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f + 1 := by |
| 34 | let α : CommRingCat.of k ⟶ CommRingCat.of R := Spec.preimage (a ≫ f) |
| 35 | let : Algebra k R := α.hom.toAlgebra |
| 36 | have hα : Spec.map α = a ≫ f := Spec.map_preimage _ |
| 37 | have hfα : LocallyOfFiniteType (Spec.map α) := |
| 38 | (congrArg (fun q => LocallyOfFiniteType q) hα).mpr inferInstance |
| 39 | have : Algebra.FiniteType k R := |
| 40 | (HasRingHomProperty.Spec_iff (P := @LocallyOfFiniteType)).mp hfα |
| 41 | let := Transcendence.BundleCycles.deformationScalarAlgebra I k |
| 42 | let c : CommRingCat.of R ⟶ CommRingCat.of (Iff.BundleCycles.deformationAlgebra I) := |
| 43 | CommRingCat.ofHom (algebraMap R (Iff.BundleCycles.deformationAlgebra I)) |
| 44 | have hαc : α ≫ c = CommRingCat.ofHom (algebraMap k (Iff.BundleCycles.deformationAlgebra I)) := rfl |
| 45 | have hspec : Spec.map (CommRingCat.ofHom (algebraMap k (Iff.BundleCycles.deformationAlgebra I))) = |
| 46 | Spec.map c ≫ (a ≫ f) := |
| 47 | (congrArg Spec.map hαc.symm).trans |
| 48 | ((Spec.map_comp α c).trans (congrArg (fun q => Spec.map c ≫ q) hα)) |
| 49 | have hb : b ≫ (g ≫ f) = Spec.map (CommRingCat.ofHom (algebraMap k (Iff.BundleCycles.deformationAlgebra I))) := |
| 50 | (Category.assoc _ _ _).symm.trans |
| 51 | ((congrArg (fun q => q ≫ f) h).trans ((Category.assoc _ _ _).trans hspec.symm)) |
| 52 | have haDim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = (Algebra.trdeg k R).toNat := |
| 53 | (Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion a f).symm.trans |
| 54 | ((congrArg (fun q => Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension q) hα.symm).trans |
| 55 | (Affine.DimensionBridge.BundleCycles.schemeTranscendenceDimension_spec_algebra k R)) |
| 56 | exact (Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion b (g ≫ f)).symm.trans |
| 57 | ((congrArg (fun q => Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension q) hb).trans |
| 58 | ((Affine.DimensionBridge.BundleCycles.schemeTranscendenceDimension_spec_algebra k (Iff.BundleCycles.deformationAlgebra I)).trans |
| 59 | ((Transcendence.BundleCycles.deformationAlgebra_trdeg_toNat I k).trans (congrArg (fun n => n + 1) haDim.symm)))) |
| 60 | |
| 61 | variable {k : Type u} [Field k] {X : Scheme.{u}} |
| 62 | |
| 63 | /-- The actual global deformation of an integral scheme has one additional dimension. -/ |
| 64 | theorem globalDeformation_dimension (I : X.IdealSheafData) [IsIntegral X] |
| 65 | (f : X ⟶ Spec (CommRingCat.of k)) [LocallyOfFiniteType f] : |
| 66 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (Global.Deformation.BundleCycles.globalDeformationProjection I ≫ f) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f + 1 := by |
| 67 | let x : X := Classical.choice inferInstance |
| 68 | obtain ⟨U, hU, hxU, _⟩ := exists_isAffineOpen_mem_and_subset (Opens.mem_top x) |
| 69 | let V : X.AffineZariskiSite := ⟨U, hU⟩ |
| 70 | have : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 71 | have : IsDomain Γ(X, U) := inferInstance |
| 72 | have : IsOpenImmersion ((Global.Deformation.BundleCycles.globalDeformationCover I).f V) := |
| 73 | Global.DeformationProperties.BundleCycles.globalDeformationCover_isOpenImmersion I V |
| 74 | have hbase : (Global.Deformation.BundleCycles.globalDeformationCover I).f V ≫ Global.Deformation.BundleCycles.globalDeformationProjection I = |
| 75 | (Spec.map (CommRingCat.ofHom (algebraMap Γ(X, U) (Iff.BundleCycles.deformationAlgebra (I.ideal V))))) ≫ hU.fromSpec := by |
| 76 | have h0 : (Global.Deformation.BundleCycles.globalDeformationCover I).f V ≫ Global.Deformation.BundleCycles.globalDeformationProjection I = |
| 77 | (Spec.map (CommRingCat.ofHom (algebraMap Γ(X, U) (Iff.BundleCycles.deformationAlgebra (I.ideal V)))) ≫ |
| 78 | hU.isoSpec.inv) ≫ U.ι := (Global.Deformation.BundleCycles.deformationGlueData I).ι_toBase V |
| 79 | exact h0.trans ((Category.assoc _ _ _).trans |
| 80 | (congrArg (fun q => Spec.map (CommRingCat.ofHom |
| 81 | (algebraMap Γ(X, U) (Iff.BundleCycles.deformationAlgebra (I.ideal V)))) ≫ q) hU.isoSpec_inv_ι)) |
| 82 | exact @deformation_dimension_of_chart k _ Γ(X, U) _ _ (I.ideal V) |
| 83 | X (Global.Deformation.BundleCycles.globalDeformation I) _ _ hU.fromSpec inferInstance |
| 84 | ((Global.Deformation.BundleCycles.globalDeformationCover I).f V) (Global.DeformationProperties.BundleCycles.globalDeformationCover_isOpenImmersion I V) |
| 85 | (Global.Deformation.BundleCycles.globalDeformationProjection I) hbase f inferInstance |
| 86 | |
| 87 | /-- The global deformation of a singular integral closed support has exactly one additional dimension. -/ |
| 88 | theorem globalSupportDeformation_dimension (I P : X.IdealSheafData) [IsIntegral P.subscheme] |
| 89 | (f : P.subscheme ⟶ Spec (CommRingCat.of k)) [LocallyOfFiniteType f] : |
| 90 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (Support.Projection.BundleCycles.globalSupportDeformationToSupport I P ≫ f) = |
| 91 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f + 1 := by |
| 92 | let x : P.subscheme := Classical.choice inferInstance |
| 93 | obtain ⟨U, y, _⟩ := P.subschemeCover.openCover.exists_eq x |
| 94 | have : Nonempty (Spec ((Support.CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U))) := ⟨y⟩ |
| 95 | have : IsDomain ((Support.CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) := Support.Integrality.BundleCycles.supportCoefficientRing_isDomain P U |
| 96 | have : IsOpenImmersion (Support.Projection.BundleCycles.supportCoefficientChart P U) := |
| 97 | Support.Projection.BundleCycles.supportCoefficientChart_isOpenImmersion P U |
| 98 | have : IsOpenImmersion ((Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).f U) := |
| 99 | Global.SupportDeformation.BundleCycles.globalSupportDeformationCover_isOpenImmersion I P U |
| 100 | exact @deformation_dimension_of_chart k _ ((Support.CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) _ _ |
| 101 | (Support.CoefficientDiagram.BundleCycles.supportCenterIdeal P I U) P.subscheme (Global.SupportDeformation.BundleCycles.globalSupportDeformation I P) _ _ |
| 102 | (Support.Projection.BundleCycles.supportCoefficientChart P U) (Support.Projection.BundleCycles.supportCoefficientChart_isOpenImmersion P U) |
| 103 | ((Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).f U) (Global.SupportDeformation.BundleCycles.globalSupportDeformationCover_isOpenImmersion I P U) |
| 104 | (Support.Projection.BundleCycles.globalSupportDeformationToSupport I P) |
| 105 | (Support.Projection.BundleCycles.globalSupportDeformationToSupport_on_chart I P U) f inferInstance |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.Dimension.BundleCycles |