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 | /-! # Smooth Dimension Charts -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothDimensionCharts.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Smooth charts with a fixed relative dimension around each point. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | /-- A standard smooth affine chart gives a scheme morphism of the same |
| 14 | relative dimension. -/ |
| 15 | theorem smoothOfRelativeDimension_resLE_of_appLE |
| 16 | {X Y : Scheme} (f : X ⟶ Y) (n : ℕ) |
| 17 | (U : Y.Opens) (V : X.Opens) (hU : IsAffineOpen U) (hV : IsAffineOpen V) |
| 18 | (e : V ≤ f ⁻¹ᵁ U) |
| 19 | (hstd : RingHom.IsStandardSmoothOfRelativeDimension n (f.appLE U V e).hom) : |
| 20 | SmoothOfRelativeDimension n (f.resLE U V e) := by |
| 21 | have : IsAffine U := hU |
| 22 | have : IsAffine V := hV |
| 23 | rw [HasRingHomProperty.iff_of_isAffine (P := @SmoothOfRelativeDimension n)] |
| 24 | apply RingHom.locally_of (RingHom.isStandardSmoothOfRelativeDimension_respectsIso (n := n)) |
| 25 | have : (RingHom.toMorphismProperty |
| 26 | (RingHom.IsStandardSmoothOfRelativeDimension n)).RespectsIso := |
| 27 | RingHom.toMorphismProperty_respectsIso_iff.mp |
| 28 | (RingHom.isStandardSmoothOfRelativeDimension_respectsIso (n := n)) |
| 29 | exact (MorphismProperty.arrow_mk_iso_iff |
| 30 | (RingHom.toMorphismProperty (RingHom.IsStandardSmoothOfRelativeDimension n)) |
| 31 | (arrowResLEAppIso f U V e)).mpr hstd |
| 32 | |
| 33 | /-- Every point of a smooth morphism has an affine chart with one fixed |
| 34 | relative dimension. -/ |
| 35 | theorem exists_smoothOfRelativeDimension_chart |
| 36 | {X Y : Scheme} (f : X ⟶ Y) [Smooth f] (x : X) : |
| 37 | ∃ (n : ℕ) (U : Y.Opens) (V : X.Opens), |
| 38 | IsAffineOpen U ∧ IsAffineOpen V ∧ x ∈ V ∧ |
| 39 | ∃ e : V ≤ f ⁻¹ᵁ U, SmoothOfRelativeDimension n (f.resLE U V e) := by |
| 40 | obtain ⟨U, hU, V, hV, hx, e, hstd⟩ := Smooth.exists_isStandardSmooth f x |
| 41 | let : Algebra Γ(Y, U) Γ(X, V) := (f.appLE U V e).hom.toAlgebra |
| 42 | change Algebra.IsStandardSmooth Γ(Y, U) Γ(X, V) at hstd |
| 43 | obtain ⟨ι, σ, hσ, hι, ⟨P⟩⟩ := hstd |
| 44 | let := hσ |
| 45 | let := hι |
| 46 | have hP := P.isStandardSmoothOfRelativeDimension rfl |
| 47 | refine ⟨P.dimension, U, V, hU, hV, hx, e, ?_⟩ |
| 48 | exact smoothOfRelativeDimension_resLE_of_appLE f P.dimension U V hU hV e hP |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothDimensionCharts.Construction |