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.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothRelativeDimension |
| 2 | |
| 3 | /-! # Relative Dimension Unique -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.RelativeDimensionUnique |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Relative smooth dimension over a perfect field is determined by |
| 10 | the local ring at any closed point of a nonempty scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | universe u |
| 15 | theorem eq {k : Type u} [Field k] [PerfectField k] |
| 16 | {X : Scheme.{u}} [Nonempty X] (f : X ⟶ Spec (CommRingCat.of k)) |
| 17 | (n m : ℕ) [SmoothOfRelativeDimension n f] [SmoothOfRelativeDimension m f] : n = m := by |
| 18 | let : Smooth f := SmoothOfRelativeDimension.smooth n f |
| 19 | let : JacobsonSpace X := LocallyOfFiniteType.jacobsonSpace f |
| 20 | obtain ⟨x, _, hx⟩ := nonempty_inter_closedPoints |
| 21 | (Z := (Set.univ : Set X)) Set.univ_nonempty isClosed_univ.isLocallyClosed |
| 22 | have hn := ArithmeticGeometry.OrdinaryLocus.Openness.SmoothRelativeDimension.Construction.ringKrullDim_stalk_of_smoothOfRelativeDimension n f x hx |
| 23 | have hm := ArithmeticGeometry.OrdinaryLocus.Openness.SmoothRelativeDimension.Construction.ringKrullDim_stalk_of_smoothOfRelativeDimension m f x hx |
| 24 | exact_mod_cast hn.symm.trans hm |
| 25 | |
| 26 | end |
| 27 | |
| 28 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.RelativeDimensionUnique |