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.IdealSheaf.CongruencePullback |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.EtalePullback |
| 3 | |
| 4 | /-! # Carrier Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.CarrierBaseChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical actual maps on independently named pulled-back closed carriers. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | def idealSheafCarrierMapTo {X Y : Scheme.{u}} (H : X.IdealSheafData) (K : Y.IdealSheafData) |
| 17 | (j : Y ⟶ X) (he : H.comap j = K) : K.subscheme ⟶ H.subscheme := by |
| 18 | subst K |
| 19 | exact (H.comapIso j).hom ≫ pullback.snd j H.subschemeι |
| 20 | |
| 21 | theorem idealSheafCarrierMapTo_over {X Y : Scheme.{u}} (H : X.IdealSheafData) (K : Y.IdealSheafData) |
| 22 | (j : Y ⟶ X) (he : H.comap j = K) : |
| 23 | idealSheafCarrierMapTo H K j he ≫ H.subschemeι = K.subschemeι ≫ j := by |
| 24 | subst K |
| 25 | change ((H.comapIso j).hom ≫ pullback.snd j H.subschemeι) ≫ H.subschemeι = _ |
| 26 | rw [Category.assoc, ← pullback.condition, ← Category.assoc, H.comapIso_hom_fst] |
| 27 | |
| 28 | theorem idealSheafCarrierMapTo_isPullback {X Y : Scheme.{u}} (H : X.IdealSheafData) (K : Y.IdealSheafData) |
| 29 | (j : Y ⟶ X) (he : H.comap j = K) : |
| 30 | IsPullback (idealSheafCarrierMapTo H K j he) K.subschemeι H.subschemeι j := by |
| 31 | subst K |
| 32 | apply IsPullback.flip |
| 33 | apply IsPullback.of_iso_pullback ⟨(idealSheafCarrierMapTo_over H (H.comap j) j rfl).symm⟩ (H.comapIso j) |
| 34 | · exact H.comapIso_hom_fst j |
| 35 | · rfl |
| 36 | |
| 37 | instance idealSheafCarrierMapTo_etale {X Y : Scheme.{u}} (H : X.IdealSheafData) (K : Y.IdealSheafData) |
| 38 | (j : Y ⟶ X) [Etale j] (he : H.comap j = K) : Etale (idealSheafCarrierMapTo H K j he) := |
| 39 | MorphismProperty.of_isPullback (P := @Etale) (idealSheafCarrierMapTo_isPullback H K j he).flip inferInstance |
| 40 | |
| 41 | instance idealSheafCarrierMapTo_isOpenImmersion {X Y : Scheme.{u}} (H : X.IdealSheafData) |
| 42 | (K : Y.IdealSheafData) (j : Y ⟶ X) [IsOpenImmersion j] (he : H.comap j = K) : |
| 43 | IsOpenImmersion (idealSheafCarrierMapTo H K j he) := |
| 44 | MorphismProperty.of_isPullback (P := @IsOpenImmersion) |
| 45 | (idealSheafCarrierMapTo_isPullback H K j he).flip inferInstance |
| 46 | |
| 47 | theorem idealSheaf_comap_subscheme_isIntegral {X Y : Scheme.{u}} |
| 48 | (H : X.IdealSheafData) [IsIntegral H.subscheme] (j : Y ⟶ X) [IsOpenImmersion j] |
| 49 | (x : Y) (hx : j x ∈ H.support) : IsIntegral (H.comap j).subscheme := by |
| 50 | have hrange : x ∈ Set.range (H.comap j).subschemeι := by |
| 51 | rw [Scheme.IdealSheafData.range_subschemeι, Scheme.IdealSheafData.support_comap] |
| 52 | exact hx |
| 53 | obtain ⟨y, _⟩ := hrange |
| 54 | let : Nonempty (H.comap j).subscheme := ⟨y⟩ |
| 55 | exact isIntegral_of_isOpenImmersion (idealSheafCarrierMapTo H (H.comap j) j rfl) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.CarrierBaseChange.Construction |