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 Mathlib.RingTheory.Unramified.LocalStructure |
| 2 | import Mathlib.RingTheory.Unramified.Field |
| 3 | import Mathlib.RingTheory.Smooth.Flat |
| 4 | import Mathlib.RingTheory.LocalProperties.Reduced |
| 5 | |
| 6 | /-! # Smooth Reduced Of -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.SmoothReducedOf.Construction.SmoothReduced |
| 9 | |
| 10 | /-! |
| 11 | # Smooth algebras over fields are reduced |
| 12 | |
| 13 | Locally a smooth algebra is étale over a polynomial algebra. Flatness embeds |
| 14 | each such chart into its generic fiber, which is unramified over a field and |
| 15 | hence reduced. |
| 16 | -/ |
| 17 | |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | /-- A flat unramified algebra over a domain embeds in its reduced generic |
| 23 | fiber, and is therefore reduced. -/ |
| 24 | theorem of_flat_unramified_domain |
| 25 | {R A : Type*} [CommRing R] [IsDomain R] [CommRing A] [Algebra R A] |
| 26 | [Module.Flat R A] [Algebra.FormallyUnramified R A] [Algebra.FiniteType R A] : IsReduced A := by |
| 27 | let K := FractionRing R |
| 28 | have : IsReduced (K ⊗[R] A) := Algebra.FormallyUnramified.isReduced_of_field K _ |
| 29 | exact isReduced_of_injective |
| 30 | (Algebra.TensorProduct.includeRight : A →ₐ[R] K ⊗[R] A) |
| 31 | (Algebra.TensorProduct.includeRight_injective (IsFractionRing.injective R K)) |
| 32 | |
| 33 | /-- Every smooth algebra over a field is reduced. -/ |
| 34 | theorem of_smooth_field |
| 35 | {K A : Type*} [Field K] [CommRing A] [Algebra K A] [Algebra.Smooth K A] : |
| 36 | IsReduced A := by |
| 37 | let D := {r : A | IsReduced (Localization.Away r)} |
| 38 | have hD : Ideal.span D = ⊤ := by |
| 39 | by_contra h |
| 40 | obtain ⟨P, hP, hle⟩ := Ideal.exists_le_maximal _ h |
| 41 | let := hP |
| 42 | obtain ⟨r, hr, n, a, ht, he⟩ := |
| 43 | Algebra.IsSmoothAt.exists_isStandardEtale_mvPolynomial (R := K) (p := P) |
| 44 | let := a |
| 45 | let := ht |
| 46 | let := he |
| 47 | have hred : IsReduced (Localization.Away r) := |
| 48 | of_flat_unramified_domain (R := MvPolynomial (Fin n) K) |
| 49 | exact hr (hle (Ideal.subset_span hred)) |
| 50 | have : ∀ r : D, IsReduced (Localization.Away r.val) := fun r => r.property |
| 51 | exact isReduced_of_injective (algebraMap A (∀ r : D, Localization.Away r.val)) |
| 52 | (Localization.algebraMap_injective_of_span_eq_top D hD) |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.SmoothReducedOf.Construction.SmoothReduced |