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 | |
| 3 | /-! # Finite Images -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.FiniteImages.Construction.Schemes |
| 6 | |
| 7 | /-! |
| 8 | # CartierDuality: finiteness of proper images of finite schemes over a base |
| 9 | -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | /-- A surjective image of a finite scheme over a base has finite |
| 16 | fibers over that base. -/ |
| 17 | theorem finite_fibers_of_surjective_comp {X Q S : Scheme.{u}} (q : X ⟶ Q) (b : Q ⟶ S) |
| 18 | [Surjective q] [IsFinite (q ≫ b)] (s : S) : (b ⁻¹' {s}).Finite := by |
| 19 | apply (((q ≫ b).finite_preimage_singleton s).image q).subset |
| 20 | intro y hy |
| 21 | obtain ⟨x, rfl⟩ := q.surjective y |
| 22 | exact ⟨x, hy, rfl⟩ |
| 23 | |
| 24 | /-- A proper surjective image of a finite scheme over a base is |
| 25 | finite over that base. -/ |
| 26 | theorem finite_of_proper_of_surjective_comp {X Q S : Scheme.{u}} (q : X ⟶ Q) (b : Q ⟶ S) |
| 27 | [Surjective q] [IsProper b] [IsFinite (q ≫ b)] : IsFinite b := by |
| 28 | let : LocallyQuasiFinite b := |
| 29 | LocallyQuasiFinite.of_finite_preimage_singleton b (finite_fibers_of_surjective_comp q b) |
| 30 | exact IsFinite.of_isProper_of_locallyQuasiFinite b |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.FiniteImages.Construction.Schemes |