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.Smooth.RelativeDimensionRingUniqueness |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 3 | import Mathlib.AlgebraicGeometry.Properties |
| 4 | |
| 5 | /-! # Relative Dimension Uniqueness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.RelativeDimensionUniqueness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonempty scheme morphism has at most one smooth relative dimension. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem smoothRelativeDimension_unique {X S : Scheme.{u}} (f : X ⟶ S) (n m : ℕ) |
| 18 | [SmoothOfRelativeDimension n f] [SmoothOfRelativeDimension m f] (x : X) : n = m := by |
| 19 | obtain ⟨U, hU, V, hV, hx, e, _⟩ := |
| 20 | SmoothOfRelativeDimension.exists_isStandardSmoothOfRelativeDimension (n := n) (f := f) x |
| 21 | have : Nonempty V := ⟨⟨x, hx⟩⟩ |
| 22 | exact RelativeDimensionRingUniqueness.locallyStandardSmoothRelativeDimension_unique (f.appLE U V e).hom n m |
| 23 | (HasRingHomProperty.appLE (P := @SmoothOfRelativeDimension n) f inferInstance ⟨U, hU⟩ ⟨V, hV⟩ e) |
| 24 | (HasRingHomProperty.appLE (P := @SmoothOfRelativeDimension m) f inferInstance ⟨U, hU⟩ ⟨V, hV⟩ e) |
| 25 | |
| 26 | end |
| 27 | |
| 28 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.RelativeDimensionUniqueness |