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.Support.Projection |
| 2 | |
| 3 | /-! # Integrality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Support.Integrality.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: integrality of the deformation of an integral closed support |
| 11 | |
| 12 | The coefficient spectra are genuine open subschemes of the integral support. |
| 13 | Their nonempty deformation charts are integral and meet above intersections |
| 14 | of the support charts. This proves integrality without assuming that the |
| 15 | ambient scheme or the closed support is smooth. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 19 | open _root_.AlgebraicGeometry.Scheme.AffineZariskiSite |
| 20 | |
| 21 | universe u |
| 22 | variable {X : Scheme.{u}} (I P : X.IdealSheafData) |
| 23 | |
| 24 | /-- Discard coefficient charts that do not meet the closed support. -/ |
| 25 | def nonemptySupportDeformationCover : (Global.SupportDeformation.BundleCycles.globalSupportDeformation I P).OpenCover := |
| 26 | Scheme.Cover.mkOfCovers |
| 27 | {U : X.AffineZariskiSite // Nonempty (Spec ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)))} |
| 28 | (fun U => (Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).X U.1) |
| 29 | (fun U => (Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).f U.1) |
| 30 | (by |
| 31 | intro x |
| 32 | obtain ⟨U, y, rfl⟩ := (Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).exists_eq x |
| 33 | exact ⟨⟨U, ⟨Projection.BundleCycles.supportDeformationChartProjection I P U y⟩⟩, y, rfl⟩) |
| 34 | (fun U => Global.SupportDeformation.BundleCycles.globalSupportDeformationCover_isOpenImmersion I P U.1) |
| 35 | |
| 36 | variable [IsIntegral P.subscheme] |
| 37 | |
| 38 | /-- A nonempty coefficient chart of the integral support has an actual domain as its ring. -/ |
| 39 | instance supportCoefficientRing_isDomain (U : X.AffineZariskiSite) |
| 40 | [Nonempty (Spec ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)))] : |
| 41 | IsDomain ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) := |
| 42 | (affine_isIntegral_iff _).mp (isIntegral_of_isOpenImmersion (Projection.BundleCycles.supportCoefficientChart P U)) |
| 43 | |
| 44 | instance nonemptySupportDeformationCover_isIntegral |
| 45 | (U : (nonemptySupportDeformationCover I P).I₀) : |
| 46 | IsIntegral ((nonemptySupportDeformationCover I P).X U) := by |
| 47 | have : Nonempty (Spec ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U.1))) := U.2 |
| 48 | have : IsDomain ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U.1)) := supportCoefficientRing_isDomain P U.1 |
| 49 | exact inferInstanceAs (IsIntegral (Spec (CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra (CoefficientDiagram.BundleCycles.supportCenterIdeal P I U.1))))) |
| 50 | |
| 51 | instance globalSupportDeformation_isReduced : IsReduced (Global.SupportDeformation.BundleCycles.globalSupportDeformation I P) := by |
| 52 | have : ∀ U, IsReduced ((nonemptySupportDeformationCover I P).X U) := fun U => by |
| 53 | have := nonemptySupportDeformationCover_isIntegral I P U |
| 54 | infer_instance |
| 55 | exact IsReduced.of_openCover (Global.SupportDeformation.BundleCycles.globalSupportDeformation I P) (nonemptySupportDeformationCover I P) |
| 56 | |
| 57 | /-- Retained deformation charts intersect because their support charts intersect. -/ |
| 58 | theorem nonemptySupportDeformationCover_pairwise_inter : |
| 59 | Pairwise (fun U V : (nonemptySupportDeformationCover I P).I₀ => |
| 60 | ¬ Disjoint ((nonemptySupportDeformationCover I P).f U).opensRange |
| 61 | ((nonemptySupportDeformationCover I P).f V).opensRange) := by |
| 62 | intro U V _ |
| 63 | have hU : ((Projection.BundleCycles.supportCoefficientChart P U.1).opensRange : Set P.subscheme).Nonempty := |
| 64 | ⟨Projection.BundleCycles.supportCoefficientChart P U.1 (Classical.choice U.2), Classical.choice U.2, rfl⟩ |
| 65 | have hV : ((Projection.BundleCycles.supportCoefficientChart P V.1).opensRange : Set P.subscheme).Nonempty := |
| 66 | ⟨Projection.BundleCycles.supportCoefficientChart P V.1 (Classical.choice V.2), Classical.choice V.2, rfl⟩ |
| 67 | obtain ⟨x, hxU, hxV⟩ := nonempty_preirreducible_inter |
| 68 | (Projection.BundleCycles.supportCoefficientChart P U.1).opensRange.isOpen (Projection.BundleCycles.supportCoefficientChart P V.1).opensRange.isOpen hU hV |
| 69 | obtain ⟨y, hy⟩ := Projection.BundleCycles.globalSupportDeformationToSupport_surjective I P x |
| 70 | have hyU : y ∈ ((nonemptySupportDeformationCover I P).f U).opensRange := by |
| 71 | change y ∈ ((Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).f U.1).opensRange |
| 72 | rw [← Projection.BundleCycles.globalSupportDeformationToSupport_preimage I P U.1] |
| 73 | change Projection.BundleCycles.globalSupportDeformationToSupport I P y ∈ (Projection.BundleCycles.supportCoefficientChart P U.1).opensRange |
| 74 | exact hy.symm ▸ hxU |
| 75 | have hyV : y ∈ ((nonemptySupportDeformationCover I P).f V).opensRange := by |
| 76 | change y ∈ ((Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).f V.1).opensRange |
| 77 | rw [← Projection.BundleCycles.globalSupportDeformationToSupport_preimage I P V.1] |
| 78 | change Projection.BundleCycles.globalSupportDeformationToSupport I P y ∈ (Projection.BundleCycles.supportCoefficientChart P V.1).opensRange |
| 79 | exact hy.symm ▸ hxV |
| 80 | intro hd |
| 81 | exact Set.disjoint_left.mp (Opens.coe_disjoint.mpr hd) hyU hyV |
| 82 | |
| 83 | /-- The global deformation of an actual integral support is integral. -/ |
| 84 | instance globalSupportDeformation_isIntegral : IsIntegral (Global.SupportDeformation.BundleCycles.globalSupportDeformation I P) := by |
| 85 | have hpre : ∀ U : (nonemptySupportDeformationCover I P).I₀, |
| 86 | IsPreirreducible (((nonemptySupportDeformationCover I P).f U).opensRange : |
| 87 | Set (Global.SupportDeformation.BundleCycles.globalSupportDeformation I P)) := by |
| 88 | intro U |
| 89 | have := nonemptySupportDeformationCover_isIntegral I P U |
| 90 | have h := (IrreducibleSpace.isIrreducible_univ ((nonemptySupportDeformationCover I P).X U)).2.image |
| 91 | ((nonemptySupportDeformationCover I P).f U) |
| 92 | ((nonemptySupportDeformationCover I P).f U).continuous.continuousOn |
| 93 | simp only [Set.image_univ] at h |
| 94 | exact h |
| 95 | have : PreirreducibleSpace (Global.SupportDeformation.BundleCycles.globalSupportDeformation I P) := ⟨IsPreirreducible.of_subset_iUnion |
| 96 | (nonemptySupportDeformationCover_pairwise_inter I P) hpre isOpen_univ (by |
| 97 | change Set.univ ⊆ ⋃ U, Set.range ((nonemptySupportDeformationCover I P).f U) |
| 98 | rw [(nonemptySupportDeformationCover I P).iUnion_range])⟩ |
| 99 | have : Nonempty (Global.SupportDeformation.BundleCycles.globalSupportDeformation I P) := by |
| 100 | obtain ⟨y, _⟩ := Projection.BundleCycles.globalSupportDeformationToSupport_surjective I P |
| 101 | (Classical.choice (inferInstance : Nonempty P.subscheme)) |
| 102 | exact ⟨y⟩ |
| 103 | have : IrreducibleSpace (Global.SupportDeformation.BundleCycles.globalSupportDeformation I P) := |
| 104 | { toPreirreducibleSpace := inferInstance, toNonempty := inferInstance } |
| 105 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Support.Integrality.BundleCycles |