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.Conormal.ConormalRestriction |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.ConeConormalNaturality |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Global.SpecialFiber |
| 4 | |
| 5 | /-! # Symmetric Diagram -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Conormal.SymmetricDiagram.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: the actual conormal symmetric diagram on the affine Zariski site -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | open _root_.AlgebraicGeometry.Scheme.AffineZariskiSite |
| 15 | |
| 16 | variable {X : Scheme.{0}} (I : X.IdealSheafData) |
| 17 | |
| 18 | def conormalSymmetricDiagram : X.AffineZariskiSiteᵒᵖ ⥤ CommRingCat where |
| 19 | obj U := CommRingCat.of (SymmetricAlgebra (Γ(X, U.unop.1) ⧸ I.ideal U.unop) (I.ideal U.unop).Cotangent) |
| 20 | map {U V} f := CommRingCat.ofHom |
| 21 | (ConormalRestriction.BundleCycles.conormalSymmetricRestriction (I.ideal U.unop) (I.ideal V.unop) |
| 22 | (X.presheaf.map ((toOpensFunctor X).op.map f)).hom |
| 23 | (I.ideal_le_comap_ideal (toOpens_mono f.unop.le))) |
| 24 | map_id U := by |
| 25 | apply CommRingCat.hom_ext |
| 26 | have h : (X.presheaf.map ((toOpensFunctor X).op.map (𝟙 U))).hom = |
| 27 | RingHom.id Γ(X, U.unop.1) := |
| 28 | congrArg CommRingCat.Hom.hom (((toOpensFunctor X).op ⋙ X.presheaf).map_id U) |
| 29 | change ConormalRestriction.BundleCycles.conormalSymmetricRestriction _ _ _ _ = RingHom.id _ |
| 30 | exact (ConormalRestriction.BundleCycles.conormalSymmetricRestriction_congr _ _ h _ _).trans (ConormalRestriction.BundleCycles.conormalSymmetricRestriction_id _) |
| 31 | map_comp {U V W} f g := by |
| 32 | apply CommRingCat.hom_ext |
| 33 | have h : (X.presheaf.map ((toOpensFunctor X).op.map (f ≫ g))).hom = |
| 34 | ((X.presheaf.map ((toOpensFunctor X).op.map g)).hom).comp |
| 35 | (X.presheaf.map ((toOpensFunctor X).op.map f)).hom := |
| 36 | congrArg CommRingCat.Hom.hom (((toOpensFunctor X).op ⋙ X.presheaf).map_comp f g) |
| 37 | change ConormalRestriction.BundleCycles.conormalSymmetricRestriction _ _ _ _ = |
| 38 | (ConormalRestriction.BundleCycles.conormalSymmetricRestriction _ _ _ _).comp (ConormalRestriction.BundleCycles.conormalSymmetricRestriction _ _ _ _) |
| 39 | exact (ConormalRestriction.BundleCycles.conormalSymmetricRestriction_congr _ _ h _ _).trans |
| 40 | (ConormalRestriction.BundleCycles.conormalSymmetricRestriction_comp _ _ _ _ _ _ _).symm |
| 41 | |
| 42 | def conormalSymmetricDiagramMap : (toOpensFunctor X).op ⋙ X.presheaf ⟶ conormalSymmetricDiagram I where |
| 43 | app U := CommRingCat.ofHom |
| 44 | ((algebraMap (Γ(X, U.unop.1) ⧸ I.ideal U.unop) |
| 45 | (SymmetricAlgebra (Γ(X, U.unop.1) ⧸ I.ideal U.unop) (I.ideal U.unop).Cotangent)).comp |
| 46 | (Ideal.Quotient.mk (I.ideal U.unop))) |
| 47 | naturality {U V} f := by |
| 48 | apply CommRingCat.hom_ext |
| 49 | apply RingHom.ext |
| 50 | intro r |
| 51 | exact (ConormalRestriction.BundleCycles.conormalSymmetricRestriction_algebraMap (I.ideal U.unop) (I.ideal V.unop) |
| 52 | (X.presheaf.map ((toOpensFunctor X).op.map f)).hom |
| 53 | (I.ideal_le_comap_ideal (toOpens_mono f.unop.le)) (Ideal.Quotient.mk _ r)).symm |
| 54 | |
| 55 | def conormalSymmetricToSpecialDiagram : conormalSymmetricDiagram I ⟶ Global.SpecialFiber.BundleCycles.specialFiberDiagram I where |
| 56 | app U := CommRingCat.ofHom |
| 57 | ((SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv (I.ideal U.unop)).toRingHom.comp (Normal.ConeSymmetric.BundleCycles.normalConeSymmetricMap (I.ideal U.unop))) |
| 58 | naturality {U V} f := by |
| 59 | apply CommRingCat.hom_ext |
| 60 | apply RingHom.ext |
| 61 | intro a |
| 62 | let φ := (X.presheaf.map ((toOpensFunctor X).op.map f)).hom |
| 63 | have h := DFunLike.congr_fun (Normal.ConeConormalNaturality.BundleCycles.normalConeSymmetricMap_naturality (I.ideal U.unop) (I.ideal V.unop) |
| 64 | φ (I.ideal_le_comap_ideal (toOpens_mono f.unop.le))) a |
| 65 | exact (congrArg (SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv (I.ideal V.unop)) h).trans |
| 66 | (Deformation.Maps.BundleCycles.normalConeSpecialFiberEquiv_natural (I.ideal U.unop) (I.ideal V.unop) φ |
| 67 | (I.ideal_le_comap_ideal (toOpens_mono f.unop.le)) (Normal.ConeSymmetric.BundleCycles.normalConeSymmetricMap (I.ideal U.unop) a)).symm |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Conormal.SymmetricDiagram.BundleCycles |