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.Quotients.FiniteDescent.SmoothClosed |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 3 | |
| 4 | /-! # Smooth Stalk -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.SmoothStalk.Construction.SmoothStalkFactorial |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Factoriality of the actual stalks of a smooth scheme over an algebraically closed field. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem stalk {K : Type u} [Field K] [IsAlgClosed K] {X : Scheme.{u}} |
| 17 | (f : X ⟶ Spec (.of K)) [Smooth f] (x : X) : |
| 18 | UniqueFactorizationMonoid (X.presheaf.stalk x) := by |
| 19 | obtain ⟨_, ⟨U, hU, rfl⟩, hxU, _⟩ := |
| 20 | X.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ x) isOpen_univ |
| 21 | let ρ : K →+* Γ(X, U) := ((Scheme.ΓSpecIso (.of K)).inv ≫ f.appLE ⊤ U le_top).hom |
| 22 | have hρ : ρ.Smooth := |
| 23 | (RingHom.Smooth.respectsIso.cancel_left_isIso |
| 24 | (Scheme.ΓSpecIso (.of K)).inv (f.appLE ⊤ U le_top)).mpr |
| 25 | (f.smooth_appLE (isAffineOpen_top (Spec (.of K))) hU le_top) |
| 26 | let : Algebra K Γ(X, U) := ρ.toAlgebra |
| 27 | have : Algebra.Smooth K Γ(X, U) := hρ |
| 28 | let := X.presheaf.algebra_section_stalk ⟨x, hxU⟩ |
| 29 | have := hU.isLocalization_stalk ⟨x, hxU⟩ |
| 30 | let p := (hU.primeIdealOf ⟨x, hxU⟩).asIdeal |
| 31 | have : UniqueFactorizationMonoid (Localization.AtPrime p) := |
| 32 | SmoothClosed.Construction.SmoothClosedFactorial.at_prime (K := K) p |
| 33 | let e := IsLocalization.algEquiv p.primeCompl (Localization.AtPrime p) (X.presheaf.stalk x) |
| 34 | exact e.toRingEquiv.toMulEquiv.uniqueFactorizationMonoid inferInstance |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.SmoothStalk.Construction.SmoothStalkFactorial |