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.PELModuli.IntegralModel.NormalizedPicardLocal |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.LineHomDescent |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ProductTestFactors |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PullHomCommonFactor |
| 5 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IsogenyFactorizationIs |
| 6 | |
| 7 | /-! # Normalized Picard Descent -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.NormalizedPicardDescent.NormalizedPicard |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Normalized local line-bundle comparisons on an abelian product |
| 14 | family satisfy descent automatically. Their overlap equations are proved |
| 15 | using universal constancy of functions and the actual zero sections. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareNormalization OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedPullback |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ProductTestFactors |
| 23 | |
| 24 | variable {k : Type} [Field k] [IsAlgClosed k] {g : ℕ} |
| 25 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 26 | {T U : Over (Spec (.of k))} (u : U ⟶ T) |
| 27 | (L M : (T ⊗ A.scheme).left.Modules) |
| 28 | (eL : (Scheme.Modules.pullback (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left).obj L ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule T.left) |
| 29 | (eM : (Scheme.Modules.pullback (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left).obj M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule T.left) |
| 30 | (e : (Scheme.Modules.pullback (u ▷ A.scheme).left).obj L ≅ |
| 31 | (Scheme.Modules.pullback (u ▷ A.scheme).left).obj M) |
| 32 | |
| 33 | theorem restrictions_eq (hL : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle L) {V : Over (Spec (.of k))} (a b : V ⟶ U) (p : V ⟶ T) |
| 34 | (ha : a ≫ u = p) (hb : b ≫ u = p) : |
| 35 | NormalizedPicardLocal.NormalizedPicard.restrict A u L M eL eM a p ha e = NormalizedPicardLocal.NormalizedPicard.restrict A u L M eL eM b p hb e := by |
| 36 | have : ConnectedSpace A.scheme.left := GeometricallyConnected.connectedSpace_of_subsingleton A.scheme.hom |
| 37 | have : IsIntegral A.scheme.left := ArithmeticGeometry.Models.SpreadingOut.SmoothGeometricIntegrality.Construction.smooth_connected_scheme_integral A.scheme.hom |
| 38 | have hΓ : IsIso (fst V A.scheme).left.appTop := Picard.GlobalFunctions.PicardFunctions.isIso_properBaseChange_app V A.scheme ⊤ |
| 39 | exact Picard.NormalizedZeroComparison.PicardNormalizedZeroComparison.iso_eq_of_intrinsic_normalization |
| 40 | (p ▷ A.scheme).left (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left (Isogenies.NeighborCounting.PoincareNormalization.familyZero A V).left p.left |
| 41 | (congrArg Over.Hom.left (Isogenies.NeighborCounting.PoincareNormalization.familyZero_naturality A p)) |
| 42 | (fst V A.scheme).left (Isogenies.NeighborCounting.PoincareNormalization.familyZero_projection A V) |
| 43 | (ConcreteCategory.bijective_of_isIso (fst V A.scheme).left.appTop).surjective |
| 44 | (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.isLineBundle_pullback (p ▷ A.scheme).left L hL) |
| 45 | _ _ (eL.hom ≫ eM.inv) |
| 46 | (NormalizedPicardLocal.NormalizedPicard.restrict_intrinsic A u L M eL eM a p ha e) |
| 47 | (NormalizedPicardLocal.NormalizedPicard.restrict_intrinsic A u L M eL eM b p hb e) |
| 48 | |
| 49 | /-- The normalized comparison agrees under all pairs of scheme maps |
| 50 | with the same image, including maps from nonreduced test schemes. -/ |
| 51 | theorem normalize_compatible (hL : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle L) : |
| 52 | Isogenies.NeighborCounting.FramedDescent.CompatibleHom (u ▷ A.scheme).left (NormalizedPicardLocal.NormalizedPicard.normalize A u L M eL eM e).hom := by |
| 53 | intro Z x y p hx hy |
| 54 | let a := Isogenies.NeighborCounting.ProductTestFactors.baseMap A.scheme u p x hx |
| 55 | let b := Isogenies.NeighborCounting.ProductTestFactors.baseMap A.scheme u p y hy |
| 56 | let pB := Isogenies.NeighborCounting.ProductTestFactors.baseTarget A.scheme p |
| 57 | have ha : a ≫ u = pB := Isogenies.NeighborCounting.ProductTestFactors.baseMap_comp A.scheme u p x hx |
| 58 | have hb : b ≫ u = pB := Isogenies.NeighborCounting.ProductTestFactors.baseMap_comp A.scheme u p y hy |
| 59 | have heq : Isogenies.NeighborCounting.FramedPullback.pullbackHomTo (a ▷ A.scheme).left (u ▷ A.scheme).left (pB ▷ A.scheme).left |
| 60 | (NormalizedPicardLocal.NormalizedPicard.product_comp A u a pB ha) (NormalizedPicardLocal.NormalizedPicard.normalize A u L M eL eM e).hom = |
| 61 | Isogenies.NeighborCounting.FramedPullback.pullbackHomTo (b ▷ A.scheme).left (u ▷ A.scheme).left (pB ▷ A.scheme).left |
| 62 | (NormalizedPicardLocal.NormalizedPicard.product_comp A u b pB hb) (NormalizedPicardLocal.NormalizedPicard.normalize A u L M eL eM e).hom := by |
| 63 | simpa only [NormalizedPicardLocal.NormalizedPicard.restrict, Isogenies.NeighborCounting.FramedPullback.pullbackIsoTo_hom] using |
| 64 | congrArg Iso.hom (restrictions_eq A u L M eL eM e hL a b pB ha hb) |
| 65 | exact Isogenies.NeighborCounting.PullHomCommonFactor.native_common_factor (u ▷ A.scheme).left |
| 66 | (NormalizedPicardLocal.NormalizedPicard.normalize A u L M eL eM e).hom |
| 67 | (a ▷ A.scheme).left (b ▷ A.scheme).left (pB ▷ A.scheme).left |
| 68 | (NormalizedPicardLocal.NormalizedPicard.product_comp A u a pB ha) (NormalizedPicardLocal.NormalizedPicard.product_comp A u b pB hb) heq |
| 69 | (Isogenies.NeighborCounting.ProductTestFactors.graph A.scheme p).left x y p |
| 70 | (Isogenies.NeighborCounting.ProductTestFactors.graph_to_test A.scheme u p x hx) (Isogenies.NeighborCounting.ProductTestFactors.graph_to_test A.scheme u p y hy) |
| 71 | (Isogenies.NeighborCounting.ProductTestFactors.graph_to_target A.scheme p) hx hy |
| 72 | |
| 73 | /-- An actual local line-bundle isomorphism over an fpqc parameter cover |
| 74 | descends after canonical normalization at the zero section. -/ |
| 75 | theorem normalize_descends (hL : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle L) (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) [Flat u.left] [Surjective u.left] [QuasiCompact u.left] : |
| 76 | ∃! d : L ≅ M, |
| 77 | (Scheme.Modules.pullback (u ▷ A.scheme).left).mapIso d = NormalizedPicardLocal.NormalizedPicard.normalize A u L M eL eM e := by |
| 78 | let : MorphismProperty.IsStableUnderComposition (@AlgebraicGeometry.Surjective) := |
| 79 | ⟨fun _ _ hf hg => ⟨hg.1.comp hf.1⟩⟩ |
| 80 | have : Flat (u ▷ A.scheme).left := by |
| 81 | simpa only [tensorHom_id] using IsogenyFactorizationIs.IsogenyFactorization.property_tensor_over (@Flat) |
| 82 | u (𝟙 A.scheme) inferInstance (inferInstanceAs (Flat (𝟙 A.scheme.left))) |
| 83 | have : Surjective (u ▷ A.scheme).left := by |
| 84 | simpa only [tensorHom_id] using IsogenyFactorizationIs.IsogenyFactorization.property_tensor_over (@AlgebraicGeometry.Surjective) |
| 85 | u (𝟙 A.scheme) inferInstance (inferInstanceAs (Surjective (𝟙 A.scheme.left))) |
| 86 | have : QuasiCompact (u ▷ A.scheme).left := by |
| 87 | simpa only [tensorHom_id] using IsogenyFactorizationIs.IsogenyFactorization.property_tensor_over (@QuasiCompact) |
| 88 | u (𝟙 A.scheme) inferInstance (inferInstanceAs (QuasiCompact (𝟙 A.scheme.left))) |
| 89 | exact Picard.LineHomDescent.PicardLineHomDescent.existsUnique_lineIso_descent (u ▷ A.scheme).left |
| 90 | hL hM (NormalizedPicardLocal.NormalizedPicard.normalize A u L M eL eM e) |
| 91 | (normalize_compatible A u L M eL eM e hL) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.NormalizedPicardDescent.NormalizedPicard |