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.Quotients.FiniteDescent.QuotientGluingIs |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.Quotient |
| 3 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 4 | |
| 5 | /-! # Global Quotient Of -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.GlobalQuotientOf.Construction.GlobalQuotient |
| 8 | |
| 9 | /-! |
| 10 | # Global quotients from compatible local quotient charts |
| 11 | |
| 12 | The source is the original scheme, identified with the gluing of its open |
| 13 | cover. The hypotheses concern only local quotient maps and their cartesian |
| 14 | transition squares. Effectiveness and the universal property of the global |
| 15 | map are conclusions. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | attribute [local instance] QuotientGluingIs.Construction.QuotientGluing.openCoverLocallyDirected |
| 23 | |
| 24 | /-- Compatible finite locally free quotient charts produce a quotient of the |
| 25 | original scheme, with the prescribed global kernel pair and descent for every |
| 26 | scheme target. -/ |
| 27 | theorem exists_of_cartesian_charts |
| 28 | {R X : Scheme.{u}} (s t : R ⟶ X) (𝒰 : X.OpenCover) |
| 29 | [Category.{v} 𝒰.I₀] [Small.{u} 𝒰.I₀] [Quiver.IsThin 𝒰.I₀] [𝒰.LocallyDirected] |
| 30 | (G : 𝒰.I₀ ⥤ Scheme.{u}) |
| 31 | [hG : ∀ {i j} (f : i ⟶ j), IsOpenImmersion (G.map f)] |
| 32 | (q : 𝒰.functorOfLocallyDirected ⟶ G) (hq : q.Equifibered) |
| 33 | (hf : ∀ i, IsFinite (q.app i)) (hflat : ∀ i, Flat (q.app i)) |
| 34 | (hfp : ∀ i, LocallyOfFinitePresentation (q.app i)) (hsurj : ∀ i, Surjective (q.app i)) |
| 35 | (Rᵢ : 𝒰.I₀ → Scheme.{u}) (jR : ∀ i, Rᵢ i ⟶ R) |
| 36 | (sᵢ tᵢ : ∀ i, Rᵢ i ⟶ 𝒰.X i) |
| 37 | (hs : ∀ i, IsPullback (sᵢ i) (jR i) (𝒰.f i) s) |
| 38 | (ht : ∀ i, tᵢ i ≫ 𝒰.f i = jR i ≫ t) |
| 39 | (hk : ∀ i, IsKernelPair (q.app i) (sᵢ i) (tᵢ i)) : |
| 40 | ∃ (Q : Scheme.{u}) (π : X ⟶ Q), |
| 41 | IsFinite π ∧ Flat π ∧ LocallyOfFinitePresentation π ∧ Surjective π ∧ |
| 42 | IsKernelPair π s t ∧ |
| 43 | ∀ (T : Scheme.{u}) (f : X ⟶ T), s ≫ f = t ≫ f → |
| 44 | ∃! g : Q ⟶ T, π ≫ g = f := by |
| 45 | let : (G ⋙ Scheme.forget).IsLocallyDirected := |
| 46 | QuotientGluingIs.Construction.QuotientGluing.isLocallyDirected_of_equifibered_of_surjective q hq hsurj |
| 47 | let F := 𝒰.functorOfLocallyDirected |
| 48 | let d := QuotientGluingIs.Construction.QuotientGluing.relativeData G q hq |
| 49 | let e : colimit F ≅ X := |
| 50 | (colimit.isColimit F).coconePointUniqueUpToIso 𝒰.isColimitCoconeOfLocallyDirected |
| 51 | let q₀ : colimit F ⟶ colimit G := d.toBase |
| 52 | let π : X ⟶ colimit G := e.inv ≫ q₀ |
| 53 | have he (i : 𝒰.I₀) : colimit.ι F i ≫ e.hom = 𝒰.f i := by |
| 54 | exact (colimit.isColimit F).comp_coconePointUniqueUpToIso_hom |
| 55 | 𝒰.isColimitCoconeOfLocallyDirected i |
| 56 | have hcharts (i : 𝒰.I₀) : IsPullback (q.app i) (𝒰.f i) (colimit.ι G i) π := by |
| 57 | have h : IsPullback (q.app i) (colimit.ι F i) (colimit.ι G i) q₀ := |
| 58 | d.isPullback_natTrans_ι_toBase i |
| 59 | exact h.of_iso |
| 60 | (Iso.refl _) (Iso.refl _) e (Iso.refl _) |
| 61 | (by simp) (by exact (he i).trans (Category.id_comp _).symm) (by simp) |
| 62 | (by change q₀ ≫ 𝟙 _ = e.hom ≫ e.inv ≫ q₀ |
| 63 | exact (Category.comp_id _).trans (e.hom_inv_id_assoc _).symm) |
| 64 | obtain ⟨hfin, hfl, hpres, hsur⟩ := QuotientGluingIs.Construction.QuotientGluing.glued_projection_properties G q hq |
| 65 | hf hflat hfp hsurj |
| 66 | let : IsFinite q₀ := hfin |
| 67 | let : Flat q₀ := hfl |
| 68 | let : LocallyOfFinitePresentation q₀ := hpres |
| 69 | let : Surjective q₀ := hsur |
| 70 | have hπfin : IsFinite π := by dsimp [π]; infer_instance |
| 71 | have hπflat : Flat π := by dsimp [π]; infer_instance |
| 72 | have hπfp : LocallyOfFinitePresentation π := by dsimp [π]; infer_instance |
| 73 | have hπsurj : Surjective π := by dsimp [π]; infer_instance |
| 74 | have hπker : IsKernelPair π s t := QuotientGluingIs.Construction.QuotientGluing.isKernelPair_of_cartesian_openCover |
| 75 | s t π 𝒰 G.obj Rᵢ q.app (colimit.ι G) jR sᵢ tᵢ hs ht hcharts hk |
| 76 | refine ⟨colimit G, π, hπfin, hπflat, hπfp, hπsurj, hπker, ?_⟩ |
| 77 | intro T f h |
| 78 | exact Quotient.Construction.QuotientDescent.existsUnique_desc π hπker f h |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.GlobalQuotientOf.Construction.GlobalQuotient |