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 | |
| 3 | /-! # Open Source Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.OpenSourceCriterion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An open subscheme contained in the source smooth locus is smooth over the base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem smooth_open_source_of_le_smoothLocus |
| 16 | {X S : Scheme.{u}} (f : X ⟶ S) [LocallyOfFinitePresentation f] |
| 17 | (U : X.Opens) (hU : U ≤ f.smoothLocus) : Smooth (U.ι ≫ f) := by |
| 18 | apply Scheme.Hom.smoothLocus_eq_top_iff.mp |
| 19 | rw [← Scheme.Hom.preimage_smoothLocus_eq] |
| 20 | apply top_le_iff.mp |
| 21 | intro x _ |
| 22 | exact hU x.property |
| 23 | |
| 24 | end |
| 25 | |
| 26 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.OpenSourceCriterion |