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 OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Common.SmoothBaseCharts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DimensionEtaleRingMaps |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Etale |
| 4 | |
| 5 | /-! # Equal Dimension Etale Schemes -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EqualDimensionEtaleSchemes |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An unramified map between schemes smooth of the same relative dimension over a common base is etale. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem etale_of_smooth_equal_dimension {X Y S : Scheme.{u}} (f : X ⟶ Y) (q : Y ⟶ S) |
| 18 | (d : ℕ) [SmoothOfRelativeDimension d q] [SmoothOfRelativeDimension d (f ≫ q)] |
| 19 | [FormallyUnramified f] : Etale f := by |
| 20 | apply (Etale.iff_smoothOfRelativeDimension_zero f).mpr |
| 21 | constructor |
| 22 | intro x |
| 23 | obtain ⟨U, V, W, hx, eq, ef, hq, hp⟩ := Common.SmoothBaseCharts.exists_common_standardSmooth_charts f q d x |
| 24 | have hc : (f.appLE V.1 W.1 ef).hom.comp (q.appLE U.1 V.1 eq).hom = |
| 25 | ((f ≫ q).appLE U.1 W.1 (ef.trans (f.preimage_mono eq))).hom := |
| 26 | congrArg CommRingCat.Hom.hom (Scheme.Hom.appLE_comp_appLE f q U.1 V.1 W.1 eq ef) |
| 27 | have h := DimensionEtaleRingMaps.ringHom_etale_of_standardSmooth_equal_dimension |
| 28 | (q.appLE U.1 V.1 eq).hom (f.appLE V.1 W.1 ef).hom d hq |
| 29 | ((congrArg (RingHom.IsStandardSmoothOfRelativeDimension d) hc).mpr hp) |
| 30 | (f.formallyUnramified_appLE V.2 W.2 ef) |
| 31 | exact ⟨V.1, V.2, W.1, W.2, hx, ef, |
| 32 | RingHom.etale_iff_isStandardSmoothOfRelativeDimension_zero.mp h⟩ |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EqualDimensionEtaleSchemes |