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.ZariskisMainTheorem |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.UnderlyingMap |
| 3 | |
| 4 | /-! # Finite Surjective Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FiniteSurjectiveDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A proper morphism is finite if it becomes finite after any surjective scheme base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem proper_isFinite_of_surjective_baseChange |
| 17 | {X Y Z P : Scheme.{u}} {a : P ⟶ X} {b : P ⟶ Z} {f : X ⟶ Y} {g : Z ⟶ Y} |
| 18 | (H : IsPullback a b f g) [IsProper f] [Surjective g] [IsFinite b] : IsFinite f := by |
| 19 | have hfinite (y : Y) : (f ⁻¹' {y}).Finite := by |
| 20 | obtain ⟨z, hz⟩ := g.surjective y |
| 21 | apply ((b.finite_preimage (Set.finite_singleton z)).image a).subset |
| 22 | intro x hx |
| 23 | have hxy : f x = g z := hx.trans hz.symm |
| 24 | obtain ⟨p, hp, hq⟩ := Scheme.exists_preimage_of_isPullback H x z hxy |
| 25 | exact ⟨p, hq, hp⟩ |
| 26 | have : LocallyQuasiFinite f := LocallyQuasiFinite.of_finite_preimage_singleton f hfinite |
| 27 | exact IsFinite.of_isProper_of_locallyQuasiFinite f |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FiniteSurjectiveDescent |