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.FormalGeometry.Completion.IntegralFiniteEmbedding |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.FractionBaseChangeDomain |
| 3 | import Mathlib.RingTheory.Unramified.Field |
| 4 | |
| 5 | /-! # Integral Generic Finiteness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralGenericFiniteness.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Completion: generic finiteness implies finiteness for the integral unramified domain |
| 13 | |
| 14 | The generic tensor algebra is a finite separable field. Injecting the |
| 15 | actual integral algebra into it permits the trace finiteness argument. |
| 16 | -/ |
| 17 | |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | universe u v w |
| 21 | |
| 22 | variable (R : Type u) (K : Type v) (T : Type w) |
| 23 | [CommRing R] [IsIntegrallyClosed R] [IsNoetherianRing R] |
| 24 | [Field K] [Algebra R K] [IsFractionRing R K] |
| 25 | [CommRing T] [IsDomain T] [Algebra R T] [FaithfulSMul R T] |
| 26 | [Algebra.IsIntegral R T] [Algebra.FormallyUnramified R T] |
| 27 | [Module.Finite K (K ⊗[R] T)] |
| 28 | |
| 29 | include K |
| 30 | |
| 31 | /-- A generically finite integral unramified domain over a normal Noetherian ring is finite. -/ |
| 32 | theorem integral_unramified_finite_of_generic_finite : Module.Finite R T := by |
| 33 | have : IsDomain R := Function.Injective.isDomain (algebraMap R T) |
| 34 | (FaithfulSMul.algebraMap_injective R T) |
| 35 | let L := K ⊗[R] T |
| 36 | have : IsDomain L := FractionBaseChangeDomain.Construction.fraction_tensor_isDomain R K T |
| 37 | have hf : IsField L := isField_of_isIntegral_of_isField' (Field.toIsField K) |
| 38 | let := hf.toField |
| 39 | have : Algebra.IsSeparable K L := Algebra.FormallyUnramified.isSeparable K L |
| 40 | exact IntegralFiniteEmbedding.Construction.integral_algebra_finite_of_separable_field_embedding R K L T |
| 41 | Algebra.TensorProduct.includeRight (FractionBaseChangeDomain.Construction.fraction_tensor_includeRight_injective R K T) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralGenericFiniteness.Construction |