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.PELModuli.IntegralModel.SmoothDimensionCharts |
| 2 | import Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 3 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 4 | |
| 5 | /-! # Dimension Uniqueness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.DimensionUniqueness.DimensionSupport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Relative smooth dimension is uniquely determined on a nonempty |
| 12 | scheme, over arbitrary bases and in arbitrary characteristic. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem smooth_relative_dimension_unique |
| 17 | {X S : Scheme} (f : X ⟶ S) [Nonempty X] (m n : ℕ) |
| 18 | [SmoothOfRelativeDimension m f] [SmoothOfRelativeDimension n f] : m = n := by |
| 19 | let x : X := Classical.arbitrary X |
| 20 | let K := AlgebraicClosure (S.residueField (f x)) |
| 21 | let t : Spec (.of K) ⟶ S := |
| 22 | Spec.map (CommRingCat.ofHom (algebraMap (S.residueField (f x)) K)) ≫ |
| 23 | S.fromSpecResidueField (f x) |
| 24 | let Y := pullback f t |
| 25 | let p : Y ⟶ Spec (.of K) := pullback.snd f t |
| 26 | have hdimension (d : ℕ) [SmoothOfRelativeDimension d f] : SmoothOfRelativeDimension d p := by |
| 27 | have hstable := smoothOfRelativeDimension_isStableUnderBaseChange d |
| 28 | exact hstable.of_isPullback (IsPullback.of_hasPullback f t) inferInstance |
| 29 | have : SmoothOfRelativeDimension m p := hdimension m |
| 30 | have : SmoothOfRelativeDimension n p := hdimension n |
| 31 | have : Smooth p := SmoothOfRelativeDimension.smooth m p |
| 32 | have : JacobsonSpace Y := LocallyOfFiniteType.jacobsonSpace p |
| 33 | have : Nonempty Y := by |
| 34 | have hx : f x = t (IsLocalRing.closedPoint K) := |
| 35 | (S.fromSpecResidueField_apply (f x) _).symm |
| 36 | obtain ⟨z, _, _⟩ := Scheme.Pullback.exists_preimage_pullback (f := f) (g := t) |
| 37 | x (IsLocalRing.closedPoint K) hx |
| 38 | exact ⟨z⟩ |
| 39 | obtain ⟨y, _, hy⟩ := nonempty_inter_closedPoints |
| 40 | (X := Y) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 41 | have hm := SmoothRelativeDimension.DimensionSupport.ringKrullDim_stalk_of_smoothOfRelativeDimension m p y hy |
| 42 | have hn := SmoothRelativeDimension.DimensionSupport.ringKrullDim_stalk_of_smoothOfRelativeDimension n p y hy |
| 43 | have he : (m : WithBot ℕ∞) = (n : WithBot ℕ∞) := hm.symm.trans hn |
| 44 | exact_mod_cast he |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.DimensionUniqueness.DimensionSupport |