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.DedekindDomain.IntegralClosure |
| 2 | |
| 3 | /-! # Integral Finite Embedding -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralFiniteEmbedding.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: finiteness of an integral algebra embedded in a finite separable extension |
| 11 | |
| 12 | The trace bound makes the integral closure finite over the normal |
| 13 | Noetherian base. An integral algebra embedded in that field is a |
| 14 | submodule of this finite module and is therefore finite as well. |
| 15 | -/ |
| 16 | |
| 17 | universe u v w z |
| 18 | |
| 19 | /-- The trace finiteness theorem applies to any injectively embedded integral algebra. -/ |
| 20 | theorem integral_algebra_finite_of_separable_field_embedding |
| 21 | (R : Type u) (K : Type v) (L : Type w) (S : Type z) |
| 22 | [CommRing R] [IsDomain R] [IsIntegrallyClosed R] [IsNoetherianRing R] |
| 23 | [Field K] [Algebra R K] [IsFractionRing R K] |
| 24 | [Field L] [Algebra K L] [Algebra R L] [IsScalarTower R K L] |
| 25 | [FiniteDimensional K L] [Algebra.IsSeparable K L] |
| 26 | [CommRing S] [Algebra R S] [Algebra.IsIntegral R S] |
| 27 | (j : S →ₐ[R] L) (hj : Function.Injective j) : Module.Finite R S := by |
| 28 | have : Module.Finite R (integralClosure R L) := |
| 29 | IsIntegralClosure.finite R K L (integralClosure R L) |
| 30 | let e : S →ₐ[R] integralClosure R L := |
| 31 | j.codRestrict _ (fun s => (Algebra.IsIntegral.isIntegral s).map j) |
| 32 | have he : Function.Injective e := fun _ _ h => hj (congrArg Subtype.val h) |
| 33 | have : IsNoetherian R S := isNoetherian_of_injective e.toLinearMap he |
| 34 | exact Module.IsNoetherian.finite R S |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralFiniteEmbedding.Construction |