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.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenBaseChangePushout |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Separated |
| 3 | |
| 4 | /-! # Base Change Cover -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.BaseChangeCover.AffineBaseChangeCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual inverse-image family of an affine cover is an affine cover after scalar base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {R S : Type} [CommRing R] [CommRing S] (ρ : R →+* S) |
| 15 | (X : Over (Spec (CommRingCat.of R))) (Y : Over (Spec (CommRingCat.of S))) |
| 16 | (f : Y.left ⟶ X.left) (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom ρ))) |
| 17 | |
| 18 | include hp in |
| 19 | theorem affineMorphism : IsAffineHom f := |
| 20 | MorphismProperty.of_isPullback hp.flip (inferInstance : IsAffineHom (Spec.map (CommRingCat.ofHom ρ))) |
| 21 | |
| 22 | include hp in |
| 23 | theorem affine (U : X.left.Opens) (hU : IsAffineOpen U) : IsAffineOpen (f ⁻¹ᵁ U) := by |
| 24 | have : IsAffineHom f := affineMorphism ρ X Y f hp |
| 25 | exact hU.preimage f |
| 26 | |
| 27 | include hp in |
| 28 | theorem separated [IsSeparated X.hom] : IsSeparated Y.hom := |
| 29 | MorphismProperty.of_isPullback hp (inferInstance : IsSeparated X.hom) |
| 30 | |
| 31 | theorem cover {ι : Type} (U : ι → X.left.Opens) (hU : iSup U = ⊤) : |
| 32 | (⨆ i, f ⁻¹ᵁ U i) = ⊤ := by |
| 33 | rw [← Scheme.Hom.preimage_iSup, hU] |
| 34 | rfl |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.BaseChangeCover.AffineBaseChangeCover |