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.NoetherianIdealSheafColon |
| 2 | import Mathlib.AlgebraicGeometry.IdealSheaf.Functorial |
| 3 | |
| 4 | /-! # Colon Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.ColonRestriction.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ideal quotients commute with actual open restrictions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem ideal_comap_colon_of_surjective {R S : Type*} [CommRing R] [CommRing S] |
| 15 | (g : R →+* S) (hg : Function.Surjective g) (J K : Ideal S) : |
| 16 | (J.colon (K : Set S)).comap g = (J.comap g).colon (K.comap g : Set R) := by |
| 17 | ext x |
| 18 | simp only [Ideal.mem_comap, Submodule.mem_colon, smul_eq_mul, map_mul] |
| 19 | constructor |
| 20 | · intro h y hy |
| 21 | exact h (g y) hy |
| 22 | · intro h y hy |
| 23 | obtain ⟨a, rfl⟩ := hg y |
| 24 | exact h a hy |
| 25 | |
| 26 | theorem ideal_comap_pow_of_bijective {R S : Type*} [CommRing R] [CommRing S] |
| 27 | (g : R →+* S) (hg : Function.Bijective g) (I : Ideal S) (n : ℕ) : |
| 28 | (I ^ n).comap g = (I.comap g) ^ n := by |
| 29 | let e := RingEquiv.ofBijective g hg |
| 30 | change (I ^ n).comap e = (I.comap e) ^ n |
| 31 | rw [← Ideal.map_symm e, Ideal.map_pow, Ideal.map_symm e] |
| 32 | |
| 33 | universe u |
| 34 | |
| 35 | variable {X Y : Scheme.{u}} [IsLocallyNoetherian X] [IsLocallyNoetherian Y] |
| 36 | |
| 37 | /-- The native quotient ideal sheaf commutes with pullback along an open |
| 38 | immersion, including the actual affine restriction identifications. -/ |
| 39 | theorem noetherianIdealSheafColon_comap_open (J K : Y.IdealSheafData) |
| 40 | (g : X ⟶ Y) [IsOpenImmersion g] : |
| 41 | (NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon J K).comap g = |
| 42 | NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon (J.comap g) (K.comap g) := by |
| 43 | apply Scheme.IdealSheafData.ext |
| 44 | funext U |
| 45 | rw [Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion, |
| 46 | NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon_ideal, NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon_ideal, |
| 47 | Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion, |
| 48 | Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion] |
| 49 | exact ideal_comap_colon_of_surjective (g.appIso U).inv.hom |
| 50 | (g.appIso U).symm.commRingCatIsoToRingEquiv.surjective _ _ |
| 51 | |
| 52 | omit [IsLocallyNoetherian X] [IsLocallyNoetherian Y] in |
| 53 | /-- Powers of ideal sheaves commute with actual open pullback. -/ |
| 54 | theorem idealSheaf_comap_pow_open (I : Y.IdealSheafData) (g : X ⟶ Y) [IsOpenImmersion g] (n : ℕ) : |
| 55 | (I ^ n).comap g = (I.comap g) ^ n := by |
| 56 | apply Scheme.IdealSheafData.ext |
| 57 | funext U |
| 58 | rw [Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion] |
| 59 | change ((I.ideal ⟨g ''ᵁ U, U.2.image_of_isOpenImmersion g⟩) ^ n).comap (g.appIso U).inv.hom = |
| 60 | ((I.comap g).ideal U) ^ n |
| 61 | rw [Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion] |
| 62 | exact ideal_comap_pow_of_bijective (g.appIso U).inv.hom |
| 63 | (g.appIso U).symm.commRingCatIsoToRingEquiv.bijective _ n |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.ColonRestriction.Construction |