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.Divisors.LineBundles.Open.AffineOrderApproximation |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.FiniteAffine |
| 3 | |
| 4 | /-! # Common Affine Order Approximation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.CommonAffineOrderApproximation.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: actual finite-point order approximation on schemes affine over projective schemes -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.Order |
| 13 | |
| 14 | variable {X : Scheme.{0}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 15 | |
| 16 | theorem exists_commonAffine_prescribed_orders {ι : Type*} [Finite ι] |
| 17 | (x : ι → X) (hx : ∀ i, coheight (x i) = 1) (hinj : Function.Injective x) |
| 18 | [∀ i, IsIntegrallyClosed (X.presheaf.stalk (x i))] |
| 19 | (U : X.Opens) (hU : IsAffineOpen U) (hxU : ∀ i, x i ∈ U) (n : ι → ℤ) : |
| 20 | ∃ g : X.functionFieldˣ, ∀ i, X.ord (g : X.functionField) (x i) = n i := by |
| 21 | classical |
| 22 | by_cases hι : Nonempty ι |
| 23 | · let := hι |
| 24 | let : Nonempty U := ⟨⟨x (Classical.choice hι), hxU _⟩⟩ |
| 25 | let : IsNoetherianRing Γ(X, U) := IsLocallyNoetherian.component_noetherian ⟨U, hU⟩ |
| 26 | have hpre : ∀ i, ∃ y : Spec Γ(X, U), hU.fromSpec y = x i := by |
| 27 | intro i |
| 28 | exact (show x i ∈ Set.range hU.fromSpec by rw [IsAffineOpen.range_fromSpec]; exact hxU i) |
| 29 | choose y hy using hpre |
| 30 | have hyh : ∀ i, coheight (hU.fromSpec (y i)) = 1 := fun i => by rw [hy i]; exact hx i |
| 31 | have hyinj : Function.Injective y := by |
| 32 | intro i j hij |
| 33 | apply hinj |
| 34 | exact (hy i).symm.trans ((congrArg hU.fromSpec hij).trans (hy j)) |
| 35 | let : ∀ i, IsIntegrallyClosed (X.presheaf.stalk (hU.fromSpec (y i))) := |
| 36 | fun i => (hy i).symm ▸ inferInstance |
| 37 | obtain ⟨g, hg⟩ := Open.AffineOrderApproximation.BundleCycles.exists_openAffine_prescribed_orders hU.fromSpec y hyh hyinj n |
| 38 | exact ⟨g, fun i => (hy i) ▸ hg i⟩ |
| 39 | · let : IsEmpty ι := not_nonempty_iff.mp hι |
| 40 | exact ⟨1, fun i => isEmptyElim i⟩ |
| 41 | |
| 42 | theorem exists_affineOverProjective_prescribed_orders {Y : Scheme.{0}} {f : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 43 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation Y f) (q : X ⟶ Y) [IsAffineHom q] |
| 44 | {ι : Type*} [Finite ι] (x : ι → X) (hx : ∀ i, coheight (x i) = 1) |
| 45 | (hinj : Function.Injective x) [∀ i, IsIntegrallyClosed (X.presheaf.stalk (x i))] |
| 46 | (n : ι → ℤ) : ∃ g : X.functionFieldˣ, ∀ i, X.ord (g : X.functionField) (x i) = n i := by |
| 47 | obtain ⟨U, hU, hxU⟩ := Projective.FiniteAffine.BundleCycles.exists_affineOverProjective_commonAffine P q x |
| 48 | exact exists_commonAffine_prescribed_orders x hx hinj U hU hxU n |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Divisors.LineBundles.CommonAffineOrderApproximation.BundleCycles |