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.SheafCohomology.Projective.KrullTranscendenceDimension |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.DimensionBound |
| 3 | |
| 4 | /-! # Intrinsic Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.IntrinsicDimension.Projective |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The scheme's topological Krull dimension equals its actual function-field dimension. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem topologicalKrullDim_openImmersion_le {X Y : Scheme.{u}} |
| 17 | (f : X ⟶ Y) [IsOpenImmersion f] : topologicalKrullDim X ≤ topologicalKrullDim Y := by |
| 18 | rw [Projective.IntegralDimension.Dimension.topologicalKrullDim_eq_specialization_krullDim, |
| 19 | Projective.IntegralDimension.Dimension.topologicalKrullDim_eq_specialization_krullDim, |
| 20 | Order.krullDim_eq_iSup_coheight] |
| 21 | apply iSup_le |
| 22 | intro x |
| 23 | rw [← coheight_eq_of_isOpenImmersion f (x := x)] |
| 24 | exact Order.coheight_le_krullDim (f x) |
| 25 | |
| 26 | theorem topologicalKrullDim_eq_schemeTranscendenceDimension |
| 27 | {K : Type u} [Field K] {X : Scheme.{u}} [IsIntegral X] |
| 28 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] : |
| 29 | topologicalKrullDim X = (Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f : WithBot ℕ∞) := by |
| 30 | apply le_antisymm (DimensionBound.Projective.topologicalKrullDim_le_schemeTranscendenceDimension f) |
| 31 | let x : X := Classical.choice inferInstance |
| 32 | obtain ⟨U, hU, hx, _⟩ := exists_isAffineOpen_mem_and_subset |
| 33 | (x := x) (U := (⊤ : X.Opens)) (by trivial) |
| 34 | have : Nonempty U := ⟨⟨x, hx⟩⟩ |
| 35 | rw [← Projective.KrullTranscendenceDimension.Dimension.affine_chart_krullDimension f U hU, |
| 36 | ← PrimeSpectrum.topologicalKrullDim_eq_ringKrullDim] |
| 37 | exact topologicalKrullDim_openImmersion_le hU.fromSpec |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.SheafCohomology.IntrinsicDimension.Projective |