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.Morphisms.Flat |
| 2 | |
| 3 | /-! # Restriction Ring Pushout -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.RestrictionRingPushout |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restriction between affine opens, whose inverse images are affine, gives an actual pushout square on rings of sections. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | theorem affineRestriction_isPushout {X Y : Scheme.{u}} (f : Y ⟶ X) |
| 14 | {U V : X.Opens} (h : V ≤ U) (hU : IsAffineOpen U) (hV : IsAffineOpen V) |
| 15 | (hYU : IsAffineOpen (f ⁻¹ᵁ U)) : |
| 16 | IsPushout (f.app U) (X.presheaf.map (homOfLE h).op) |
| 17 | (Y.presheaf.map (homOfLE (show f ⁻¹ᵁ V ≤ f ⁻¹ᵁ U from fun _ hx => h hx)).op) |
| 18 | (f.app V) := by |
| 19 | let H : IsPullback (𝟙 Y) f f (𝟙 X) := IsPullback.of_horiz_isIso (by simp) |
| 20 | have hpre : f ⁻¹ᵁ V = (𝟙 Y) ⁻¹ᵁ (f ⁻¹ᵁ U) ⊓ f ⁻¹ᵁ V := by |
| 21 | rw [Scheme.Hom.id_preimage, inf_eq_right.mpr (fun _ hx => h hx)] |
| 22 | have hi : IsIso (pushoutSection H h (le_refl (f ⁻¹ᵁ U)) hpre) := |
| 23 | isIso_pushoutSection_of_isAffineOpen H h (le_refl (f ⁻¹ᵁ U)) hpre hU hV hYU |
| 24 | have hp := (isIso_pushoutSection_iff H h (le_refl (f ⁻¹ᵁ U)) hpre).mp hi |
| 25 | change IsPushout (f.app U ≫ Y.presheaf.map (𝟙 _)) |
| 26 | (𝟙 _ ≫ X.presheaf.map (homOfLE h).op) |
| 27 | (𝟙 _ ≫ Y.presheaf.map (homOfLE (show f ⁻¹ᵁ V ≤ f ⁻¹ᵁ U from fun _ hx => h hx)).op) |
| 28 | (f.app V ≫ Y.presheaf.map (𝟙 _)) at hp |
| 29 | simpa only [CategoryTheory.Functor.map_id, Category.comp_id, Category.id_comp] using hp |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.RestrictionRingPushout |