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.Affine |
| 2 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 3 | |
| 4 | /-! # Affine Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.AffineBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Affineness of a base-changed open subscheme is affineness of the |
| 11 | literal inverse-image open in the base-changed ambient scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem baseChange_open_affine {S T : Scheme.{0}} (f : T ⟶ S) (X : Over S) |
| 16 | (U : X.left.Opens) (hU : IsAffine (pullback (U.ι ≫ X.hom) f)) : |
| 17 | IsAffineOpen (pullback.fst X.hom f ⁻¹ᵁ U) := by |
| 18 | let q := pullback.fst X.hom f |
| 19 | let W := q ⁻¹ᵁ U |
| 20 | have hs := (isPullback_morphismRestrict q U).paste_vert (IsPullback.of_hasPullback X.hom f) |
| 21 | let e : W.toScheme ≅ pullback (U.ι ≫ X.hom) f := hs.isoPullback |
| 22 | have : IsAffine (pullback (U.ι ≫ X.hom) f) := hU |
| 23 | exact isAffine_of_isAffineHom e.hom |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.AffineBaseChange |