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.Relative.AffineMap |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.QuotientLocalization |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.ClosedSupport |
| 4 | |
| 5 | /-! # Coefficient Diagram -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Support.CoefficientDiagram.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: the affine coefficient rings of a closed support |
| 13 | |
| 14 | The coefficients are the actual quotients by the support ideal sheaf. |
| 15 | Their transition maps and the images of the center ideals are compatible |
| 16 | with restrictions, with no cohomological condition in the construction. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | open _root_.AlgebraicGeometry.Scheme.AffineZariskiSite |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- Taking the image of a center ideal commutes with the coefficient quotient map. -/ |
| 25 | theorem ideal_image_quotientMap {R S : Type u} [CommRing R] [CommRing S] |
| 26 | (I P : Ideal R) (J Q : Ideal S) (f : R →+* S) |
| 27 | (hP : P ≤ Q.comap f) (hI : I.map f = J) : |
| 28 | (I.map (Ideal.Quotient.mk P)).map (Ideal.quotientMap Q f hP) = |
| 29 | J.map (Ideal.Quotient.mk Q) := by |
| 30 | rw [Ideal.map_map, Ideal.quotientMap_comp_mk, ← Ideal.map_map, hI] |
| 31 | |
| 32 | variable {X : Scheme.{u}} (P : X.IdealSheafData) |
| 33 | |
| 34 | /-- The coefficient rings of the closed support on all affine opens of the ambient scheme. -/ |
| 35 | def supportCoefficientDiagram : X.AffineZariskiSiteᵒᵖ ⥤ CommRingCat where |
| 36 | obj U := CommRingCat.of (Γ(X, U.unop.1) ⧸ P.ideal U.unop) |
| 37 | map {U V} f := CommRingCat.ofHom |
| 38 | (Ideal.quotientMap (P.ideal V.unop) |
| 39 | (X.presheaf.map ((toOpensFunctor X).op.map f)).hom |
| 40 | (P.ideal_le_comap_ideal (toOpens_mono f.unop.le))) |
| 41 | map_id U := by |
| 42 | apply CommRingCat.hom_ext |
| 43 | apply Ideal.Quotient.ringHom_ext |
| 44 | apply RingHom.ext |
| 45 | intro r |
| 46 | change Ideal.Quotient.mk (P.ideal U.unop) |
| 47 | (((toOpensFunctor X).op ⋙ X.presheaf).map (𝟙 U) r) = |
| 48 | Ideal.Quotient.mk (P.ideal U.unop) r |
| 49 | exact congrArg (Ideal.Quotient.mk (P.ideal U.unop)) |
| 50 | (ConcreteCategory.congr_hom (((toOpensFunctor X).op ⋙ X.presheaf).map_id U) r) |
| 51 | map_comp {U V W} f g := by |
| 52 | apply CommRingCat.hom_ext |
| 53 | apply Ideal.Quotient.ringHom_ext |
| 54 | apply RingHom.ext |
| 55 | intro r |
| 56 | change Ideal.Quotient.mk (P.ideal W.unop) |
| 57 | (((toOpensFunctor X).op ⋙ X.presheaf).map (f ≫ g) r) = |
| 58 | Ideal.Quotient.mk (P.ideal W.unop) |
| 59 | (((toOpensFunctor X).op ⋙ X.presheaf).map g |
| 60 | (((toOpensFunctor X).op ⋙ X.presheaf).map f r)) |
| 61 | exact congrArg (Ideal.Quotient.mk (P.ideal W.unop)) |
| 62 | (ConcreteCategory.congr_hom (((toOpensFunctor X).op ⋙ X.presheaf).map_comp f g) r) |
| 63 | |
| 64 | /-- The actual quotient maps form the coefficient natural transformation. -/ |
| 65 | def supportCoefficientMap : (toOpensFunctor X).op ⋙ X.presheaf ⟶ supportCoefficientDiagram P where |
| 66 | app U := CommRingCat.ofHom (Ideal.Quotient.mk (P.ideal U.unop)) |
| 67 | naturality {U V} f := by |
| 68 | apply CommRingCat.hom_ext |
| 69 | apply RingHom.ext |
| 70 | intro r |
| 71 | rfl |
| 72 | |
| 73 | /-- The actual quotient coefficient rings commute with affine basic-open localization. -/ |
| 74 | theorem supportCoefficientMap_coequifibered : (supportCoefficientMap P).Coequifibered := by |
| 75 | apply coequifibered_iff_forall_isLocalizationAway.mpr |
| 76 | intro U r |
| 77 | let V : X.AffineZariskiSite := U.basicOpen r |
| 78 | let f : Γ(X, U.1) →+* Γ(X, V.1) := |
| 79 | (X.presheaf.map (homOfLE (X.basicOpen_le r)).op).hom |
| 80 | let : Algebra Γ(X, U.1) Γ(X, V.1) := f.toAlgebra |
| 81 | have : IsLocalization.Away r Γ(X, V.1) := U.2.isLocalization_basicOpen r |
| 82 | have hP : (P.ideal U).map (algebraMap Γ(X, U.1) Γ(X, V.1)) = P.ideal V := |
| 83 | P.map_ideal_basicOpen U r |
| 84 | have h := QuotientLocalization.BundleCycles.quotientMap_isLocalization (Submonoid.powers r) Γ(X, V.1) |
| 85 | (P.ideal U) (P.ideal V) hP (P.ideal_le_comap_ideal (X.basicOpen_le r)) |
| 86 | simp only [Submonoid.map_powers] at h |
| 87 | exact h |
| 88 | |
| 89 | variable (I : X.IdealSheafData) |
| 90 | |
| 91 | /-- The restricted center ideal in each actual support coefficient ring. -/ |
| 92 | def supportCenterIdeal (U : X.AffineZariskiSite) : |
| 93 | Ideal ((supportCoefficientDiagram P).obj (.op U)) := |
| 94 | (I.ideal U).map (Ideal.Quotient.mk (P.ideal U)) |
| 95 | |
| 96 | theorem supportCenterIdeal_map {U V : X.AffineZariskiSiteᵒᵖ} (f : U ⟶ V) : |
| 97 | (supportCenterIdeal P I U.unop).map ((supportCoefficientDiagram P).map f).hom = |
| 98 | supportCenterIdeal P I V.unop := |
| 99 | ideal_image_quotientMap (I.ideal U.unop) (P.ideal U.unop) |
| 100 | (I.ideal V.unop) (P.ideal V.unop) |
| 101 | (X.presheaf.map ((toOpensFunctor X).op.map f)).hom |
| 102 | (P.ideal_le_comap_ideal (toOpens_mono f.unop.le)) |
| 103 | (I.map_ideal (toOpens_mono f.unop.le)) |
| 104 | |
| 105 | theorem supportCenterIdeal_le_comap {U V : X.AffineZariskiSiteᵒᵖ} (f : U ⟶ V) : |
| 106 | supportCenterIdeal P I U.unop ≤ |
| 107 | (supportCenterIdeal P I V.unop).comap ((supportCoefficientDiagram P).map f).hom := |
| 108 | Ideal.map_le_iff_le_comap.mp (supportCenterIdeal_map P I f).le |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Support.CoefficientDiagram.BundleCycles |