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.Smooth |
| 2 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 3 | import Mathlib.CategoryTheory.Limits.Constructions.Over.Connected |
| 4 | |
| 5 | /-! # Over Pullback Properties -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.OverPullbackProperties |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pulling an affine smooth chart back along an ambient affine open immersion preserves its properties. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {C : Type u} [CommRing C] {B X Y : Over (Spec (.of C))} |
| 18 | variable (b : B ⟶ Y) (g : X ⟶ Y) |
| 19 | |
| 20 | theorem affineOverPullback_isPullback : |
| 21 | IsPullback (pullback.fst b g).left (pullback.snd b g).left b.left g.left := |
| 22 | (IsPullback.of_hasPullback b g).map (Over.forget _) |
| 23 | |
| 24 | theorem affineOverPullback_affine [IsAffine B.left] [IsAffine X.left] [IsAffine Y.left] : |
| 25 | IsAffine (pullback b g).left := by |
| 26 | have : IsAffine (pullback b.left g.left) := inferInstance |
| 27 | exact IsAffine.of_isIso (affineOverPullback_isPullback b g).isoPullback.hom |
| 28 | |
| 29 | theorem affineOverPullback_smooth [Smooth B.hom] [IsOpenImmersion g.left] : |
| 30 | Smooth (pullback b g).hom := by |
| 31 | have : IsOpenImmersion (pullback.fst b g).left := |
| 32 | MorphismProperty.of_isPullback (affineOverPullback_isPullback b g).flip inferInstance |
| 33 | have hs : Smooth ((pullback.fst b g).left ≫ B.hom) := inferInstance |
| 34 | exact (congrArg Smooth (pullback.fst b g).w).mp hs |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.OverPullbackProperties |