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 Mathlib.AlgebraicGeometry.IdealSheaf.Functorial |
| 2 | |
| 3 | /-! # Ideal Sheaf Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Open.IdealSheafBaseChange.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact pullback of quasi-compact kernel ideals along open immersions, |
| 10 | and the corresponding base-change law for ideal sheaf extension. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | /-- A quasi-compact morphism's kernel ideal sheaf restricts exactly |
| 17 | along an actual open pullback square. -/ |
| 18 | theorem kernel_comap_of_open_pullback |
| 19 | {S X T Y : Scheme.{u}} (g : S ⟶ Y) (g' : T ⟶ X) (i : T ⟶ S) (f : X ⟶ Y) |
| 20 | [IsOpenImmersion f] [QuasiCompact g] (hpb : IsPullback g' i f g) : |
| 21 | g.ker.comap f = g'.ker := by |
| 22 | ext1 |
| 23 | funext W |
| 24 | rw [Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion] |
| 25 | exact (Scheme.ker_ideal_of_isPullback_of_isOpenImmersion g g' i f hpb W).symm |
| 26 | |
| 27 | /-- Restriction of the extended ideal equals extension of its |
| 28 | restriction to the overlap. This is the actual ideal-sheaf base-change |
| 29 | identity needed for gluing along open subschemes. -/ |
| 30 | theorem idealSheaf_open_comap_map |
| 31 | {X Y Z : Scheme.{u}} (f : X ⟶ Z) (g : Y ⟶ Z) |
| 32 | [IsOpenImmersion f] [IsOpenImmersion g] [QuasiCompact g] |
| 33 | (J : Y.IdealSheafData) : |
| 34 | (J.map g).comap f = |
| 35 | (J.comap (pullback.snd f g)).map (pullback.fst f g) := by |
| 36 | let a := pullback.fst (pullback.snd f g) J.subschemeι |
| 37 | let c := pullback.snd (pullback.snd f g) J.subschemeι |
| 38 | have h1 := IsPullback.of_hasPullback (pullback.snd f g) J.subschemeι |
| 39 | have h2 := IsPullback.of_hasPullback f g |
| 40 | have houter : IsPullback (a ≫ pullback.fst f g) c f (J.subschemeι ≫ g) := |
| 41 | (h1.flip.paste_vert h2.flip).flip |
| 42 | have he := kernel_comap_of_open_pullback (J.subschemeι ≫ g) |
| 43 | (a ≫ pullback.fst f g) c f houter |
| 44 | change (J.map g).comap f = (a.ker).map (pullback.fst f g) |
| 45 | simpa only [Scheme.Hom.ker_comp, Scheme.IdealSheafData.ker_subschemeι] using he |
| 46 | |
| 47 | /-- Open restriction commutes with finite intersections of ideal sheaves. -/ |
| 48 | theorem idealSheaf_open_comap_iInf |
| 49 | {X Y : Scheme.{u}} {ι : Type*} [Finite ι] |
| 50 | (f : X ⟶ Y) [IsOpenImmersion f] (J : ι → Y.IdealSheafData) : |
| 51 | (⨅ i, J i).comap f = ⨅ i, (J i).comap f := by |
| 52 | ext1 |
| 53 | funext W |
| 54 | simp only [Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion, |
| 55 | Scheme.IdealSheafData.ideal_iInf, iInf_apply, Ideal.comap_iInf] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Resolution.Blowups.Open.IdealSheafBaseChange.Construction |