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.Resolution.Blowups.Finite.OpenIdealSheafGluing |
| 2 | |
| 3 | /-! # Open Ideal Sheaf Uniqueness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Finite.OpenIdealSheafUniqueness.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Uniqueness of gluing on an affine open cover, for independence of chart choices. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | /-- Ideal sheaves agreeing on an affine open cover are equal, expressed |
| 16 | using actual open immersions and their ideal-sheaf pullbacks. -/ |
| 17 | theorem idealSheaf_eq_of_open_affine_restrictions |
| 18 | {X : Scheme.{u}} {ι : Type v} (U : ι → Scheme.{u}) (j : ∀ i, U i ⟶ X) |
| 19 | [∀ i, IsAffine (U i)] [∀ i, IsOpenImmersion (j i)] |
| 20 | (hcover : ⨆ i, (j i).opensRange = ⊤) (I L : X.IdealSheafData) |
| 21 | (hlocal : ∀ i, I.comap (j i) = L.comap (j i)) : I = L := by |
| 22 | let W : ι → X.affineOpens := fun i => |
| 23 | ⟨(j i) ''ᵁ ⊤, (isAffineOpen_top (U i)).image_of_isOpenImmersion (j i)⟩ |
| 24 | have hW : ⨆ i, (W i).1 = ⊤ := by |
| 25 | simpa only [W, Scheme.Hom.image_top_eq_opensRange] using hcover |
| 26 | apply Scheme.IdealSheafData.ext_of_iSup_eq_top W hW |
| 27 | intro i |
| 28 | let V : (U i).affineOpens := ⟨⊤, isAffineOpen_top (U i)⟩ |
| 29 | have he := congrArg (fun Q : (U i).IdealSheafData => Q.ideal V) (hlocal i) |
| 30 | rw [Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion, |
| 31 | Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion] at he |
| 32 | have hsurj : Function.Surjective ((j i).appIso (⊤ : (U i).Opens)).inv.hom := |
| 33 | (ConcreteCategory.bijective_of_isIso ((j i).appIso (⊤ : (U i).Opens)).inv).2 |
| 34 | exact Ideal.comap_injective_of_surjective _ hsurj he |
| 35 | |
| 36 | /-- Compatible data on a finite affine open cover determine exactly one |
| 37 | global ideal sheaf, constructed by the proved finite intersection formula. -/ |
| 38 | theorem existsUnique_idealSheaf_of_finite_affine_cover |
| 39 | {X : Scheme.{u}} {ι : Type v} [Finite ι] (U : ι → Scheme.{u}) (j : ∀ i, U i ⟶ X) |
| 40 | [∀ i, IsAffine (U i)] [∀ i, IsOpenImmersion (j i)] [∀ i, QuasiCompact (j i)] |
| 41 | (hcover : ⨆ i, (j i).opensRange = ⊤) (J : ∀ i, (U i).IdealSheafData) |
| 42 | (hcompat : ∀ a b : ι, |
| 43 | (J a).comap (pullback.fst (j a) (j b)) = |
| 44 | (J b).comap (pullback.snd (j a) (j b))) : |
| 45 | ∃! I : X.IdealSheafData, ∀ a, I.comap (j a) = J a := by |
| 46 | have hglue := OpenIdealSheafGluing.Construction.gluedFiniteOpenIdealSheaf_restrict U j J hcompat |
| 47 | refine ⟨OpenIdealSheafGluing.Construction.gluedFiniteOpenIdealSheaf U j J, hglue, ?_⟩ |
| 48 | intro I hI |
| 49 | exact idealSheaf_eq_of_open_affine_restrictions U j hcover I (OpenIdealSheafGluing.Construction.gluedFiniteOpenIdealSheaf U j J) |
| 50 | (fun a => (hI a).trans (hglue a).symm) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Resolution.Blowups.Finite.OpenIdealSheafUniqueness.Construction |