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 | /-! # Standard Smooth Basic Opens -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StandardSmoothBasicOpens |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restricting a standard smooth affine chart to a basic open of its base preserves its relative dimension. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem standardSmooth_basicOpen_appLE {X S : Scheme.{u}} (p : X ⟶ S) |
| 16 | {U : S.Opens} (hU : IsAffineOpen U) {V : X.Opens} (hV : IsAffineOpen V) |
| 17 | (e : V ≤ p ⁻¹ᵁ U) (d : ℕ) |
| 18 | (h : RingHom.IsStandardSmoothOfRelativeDimension d (p.appLE U V e).hom) (r : Γ(S, U)) : |
| 19 | RingHom.IsStandardSmoothOfRelativeDimension d |
| 20 | (p.appLE (S.basicOpen r) (X.basicOpen (p.appLE U V e r)) |
| 21 | (by simp [Scheme.Hom.appLE])).hom := by |
| 22 | have := hU.isLocalization_basicOpen r |
| 23 | have := hV.isLocalization_basicOpen (p.appLE U V e r) |
| 24 | rw [hU.appLE_eq_away_map p hV] |
| 25 | exact (RingHom.isStandardSmoothOfRelativeDimension_localizationPreserves d).away _ _ _ _ h |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StandardSmoothBasicOpens |