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.Global.Deformation |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Graph.OpenAmbient |
| 3 | import Mathlib.Algebra.Polynomial.Eval.Algebra |
| 4 | |
| 5 | /-! # Parameter -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.Parameter.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: the global deformation parameter and the graph deformation |
| 13 | |
| 14 | The local elements t agree under coefficient restriction, so they give a |
| 15 | global morphism from the glued deformation to the affine integer line. The |
| 16 | graph deformation uses the actual kernel ideal sheaf of the closed graph. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | open _root_.AlgebraicGeometry.Scheme.AffineZariskiSite |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- The parameter line, with integers lifted only to match the scheme universe. -/ |
| 25 | def deformationParameterLine : Scheme.{u} := |
| 26 | Spec (CommRingCat.of (Polynomial (ULift.{u} ℤ))) |
| 27 | |
| 28 | variable {R S : Type u} [CommRing R] [CommRing S] |
| 29 | |
| 30 | /-- The integer polynomial variable evaluates to the actual deformation parameter. -/ |
| 31 | def deformationParameterRingMap (I : Ideal R) : |
| 32 | Polynomial (ULift.{u} ℤ) →+* Iff.BundleCycles.deformationAlgebra I := |
| 33 | Polynomial.eval₂RingHom |
| 34 | ((Int.castRingHom (Iff.BundleCycles.deformationAlgebra I)).comp ULift.ringEquiv.toRingHom) |
| 35 | (Iff.BundleCycles.deformationParameter I) |
| 36 | |
| 37 | @[simp] |
| 38 | theorem deformationParameterRingMap_X (I : Ideal R) : |
| 39 | deformationParameterRingMap I Polynomial.X = Iff.BundleCycles.deformationParameter I := |
| 40 | Polynomial.eval₂_X _ _ |
| 41 | |
| 42 | theorem deformationParameterRingMap_natural (I : Ideal R) (J : Ideal S) |
| 43 | (f : R →+* S) (hf : I ≤ J.comap f) : |
| 44 | (Maps.BundleCycles.deformationMap I J f hf).comp (deformationParameterRingMap I) = |
| 45 | deformationParameterRingMap J := by |
| 46 | apply Polynomial.ringHom_ext |
| 47 | · intro z |
| 48 | simp only [RingHom.comp_apply, deformationParameterRingMap, |
| 49 | Polynomial.coe_eval₂RingHom, Polynomial.eval₂_C] |
| 50 | change Maps.BundleCycles.deformationMap I J f hf (z.down : Iff.BundleCycles.deformationAlgebra I) = |
| 51 | (z.down : Iff.BundleCycles.deformationAlgebra J) |
| 52 | exact map_intCast _ _ |
| 53 | · change Maps.BundleCycles.deformationMap I J f hf (deformationParameterRingMap I Polynomial.X) = |
| 54 | deformationParameterRingMap J Polynomial.X |
| 55 | rw [deformationParameterRingMap_X, deformationParameterRingMap_X, |
| 56 | Maps.BundleCycles.deformationMap_parameter] |
| 57 | |
| 58 | variable {X : Scheme.{u}} (I : X.IdealSheafData) |
| 59 | |
| 60 | /-- Compatible parameter morphisms on all affine deformation charts. -/ |
| 61 | def deformationParameterCocone : Cocone (Global.Deformation.BundleCycles.deformationGlueData I).functor where |
| 62 | pt := deformationParameterLine |
| 63 | ι.app U := Spec.map (CommRingCat.ofHom (deformationParameterRingMap (I.ideal U))) |
| 64 | ι.naturality {U V} f := by |
| 65 | have h : CommRingCat.ofHom (deformationParameterRingMap (I.ideal V)) ≫ |
| 66 | (Global.Deformation.BundleCycles.deformationDiagram I).map f.op = |
| 67 | CommRingCat.ofHom (deformationParameterRingMap (I.ideal U)) := by |
| 68 | apply CommRingCat.hom_ext |
| 69 | exact deformationParameterRingMap_natural (I.ideal V) (I.ideal U) |
| 70 | (X.presheaf.map ((toOpensFunctor X).op.map f.op)).hom |
| 71 | (I.ideal_le_comap_ideal (toOpens_mono f.le)) |
| 72 | exact (Spec.map_comp (CommRingCat.ofHom (deformationParameterRingMap (I.ideal V))) |
| 73 | ((Global.Deformation.BundleCycles.deformationDiagram I).map f.op)).symm.trans (congrArg Spec.map h) |
| 74 | |
| 75 | /-- The actual global parameter morphism of the deformation scheme. -/ |
| 76 | def globalDeformationParameter : Global.Deformation.BundleCycles.globalDeformation I ⟶ deformationParameterLine := |
| 77 | colimit.desc _ (deformationParameterCocone I) |
| 78 | |
| 79 | /-- The global parameter restricts to t on each affine deformation chart. -/ |
| 80 | theorem globalDeformationParameter_on_chart (U : X.AffineZariskiSite) : |
| 81 | (Global.Deformation.BundleCycles.globalDeformationCover I).f U ≫ globalDeformationParameter I = |
| 82 | Spec.map (CommRingCat.ofHom (deformationParameterRingMap (I.ideal U))) := |
| 83 | colimit.ι_desc (deformationParameterCocone I) U |
| 84 | |
| 85 | variable {P Q : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 86 | |
| 87 | /-- The actual ideal sheaf defining the scheme-theoretic graph. -/ |
| 88 | def graphIdeal (f : P.toOver ⟶ Q.toOver) : (Graph.OpenAmbient.BundleCycles.graphAmbient f).IdealSheafData := (Graph.OpenAmbient.BundleCycles.graph f).ker |
| 89 | |
| 90 | /-- Deformation of the ambient product along the actual graph ideal. -/ |
| 91 | def graphDeformation (f : P.toOver ⟶ Q.toOver) : Scheme := Global.Deformation.BundleCycles.globalDeformation (graphIdeal f) |
| 92 | |
| 93 | /-- Projection of the graph deformation to the original ambient product. -/ |
| 94 | def graphDeformationProjection (f : P.toOver ⟶ Q.toOver) : |
| 95 | graphDeformation f ⟶ Graph.OpenAmbient.BundleCycles.graphAmbient f := Global.Deformation.BundleCycles.globalDeformationProjection (graphIdeal f) |
| 96 | |
| 97 | /-- The graph deformation's global parameter. -/ |
| 98 | def graphDeformationParameter (f : P.toOver ⟶ Q.toOver) : |
| 99 | graphDeformation f ⟶ deformationParameterLine := globalDeformationParameter (graphIdeal f) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.Parameter.BundleCycles |