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.IntersectionTheory.ProjectionFormula.Finite.Normalization |
| 2 | import Mathlib.RingTheory.Polynomial.IsIntegral |
| 3 | |
| 4 | /-! # Field Normalization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.FieldNormalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The integral closure of a finite-type characteristic-zero domain in a |
| 11 | finite extension of its function field is finite. This supplies the finite |
| 12 | intermediate scheme for a general proper generically finite morphism. -/ |
| 13 | |
| 14 | theorem finite_over_normal_base |
| 15 | (A B K L : Type*) [CommRing A] [CommRing B] [IsDomain A] [IsDomain B] |
| 16 | [IsNoetherianRing A] [IsIntegrallyClosed A] [CharZero A] |
| 17 | [Field K] [Field L] [Algebra A B] [Module.Finite A B] |
| 18 | [Algebra A K] [IsFractionRing A K] [Algebra K L] [Module.Finite K L] |
| 19 | [Algebra A L] [Algebra B L] [IsScalarTower A K L] [IsScalarTower A B L] |
| 20 | (hi : Function.Injective (algebraMap A L)) : |
| 21 | Module.Finite B (integralClosure B L) := by |
| 22 | let : FaithfulSMul A L := (faithfulSMul_iff_algebraMap_injective A L).mpr hi |
| 23 | let : CharZero K := charZero_of_injective_algebraMap (IsFractionRing.injective A K) |
| 24 | let : IsIntegralClosure (integralClosure B L) A L := |
| 25 | ⟨IsIntegralClosure.algebraMap_injective (integralClosure B L) B L, |
| 26 | fun {x} => ⟨fun hx => |
| 27 | (IsIntegralClosure.isIntegral_iff (A := integralClosure B L) (R := B)).mp |
| 28 | (show IsIntegral B x from hx.tower_top), |
| 29 | fun hx => isIntegral_trans (R := A) x |
| 30 | ((IsIntegralClosure.isIntegral_iff (A := integralClosure B L) (R := B)).mpr hx)⟩⟩ |
| 31 | let : Module.Finite A (integralClosure B L) := |
| 32 | IsIntegralClosure.finite A K L (integralClosure B L) |
| 33 | exact Module.Finite.of_restrictScalars_finite A B (integralClosure B L) |
| 34 | |
| 35 | theorem finite_integralClosure_extension |
| 36 | (k B K L : Type*) [Field k] [CharZero k] [CommRing B] [IsDomain B] |
| 37 | [Algebra k B] [Algebra.FiniteType k B] [Field K] [Field L] |
| 38 | [Algebra B K] [IsFractionRing B K] [Algebra K L] [Module.Finite K L] |
| 39 | [Algebra B L] [IsScalarTower B K L] : |
| 40 | Module.Finite B (integralClosure B L) := by |
| 41 | obtain ⟨n, g, hg, hfinite⟩ := exists_finite_inj_algHom_of_fg k B |
| 42 | let A := MvPolynomial (Fin n) k |
| 43 | let : Algebra A B := g.toRingHom.toAlgebra |
| 44 | let : Module.Finite A B := hfinite |
| 45 | let : Algebra A K := ((algebraMap B K).comp g.toRingHom).toAlgebra |
| 46 | let : IsScalarTower A B K := IsScalarTower.of_algebraMap_eq' rfl |
| 47 | let : Algebra A L := ((algebraMap K L).comp (algebraMap A K)).toAlgebra |
| 48 | let : IsScalarTower A K L := IsScalarTower.of_algebraMap_eq' rfl |
| 49 | let : IsScalarTower A B L := IsScalarTower.of_algebraMap_eq (fun a => by |
| 50 | change algebraMap K L (algebraMap B K (g a)) = algebraMap B L (g a) |
| 51 | exact (IsScalarTower.algebraMap_apply B K L (g a)).symm) |
| 52 | have hiK : Function.Injective (algebraMap A K) := (IsFractionRing.injective B K).comp hg |
| 53 | have hiL : Function.Injective (algebraMap A L) := (algebraMap K L).injective.comp hiK |
| 54 | let : FaithfulSMul A K := (faithfulSMul_iff_algebraMap_injective A K).mpr hiK |
| 55 | let : FaithfulSMul A L := (faithfulSMul_iff_algebraMap_injective A L).mpr hiL |
| 56 | let : Algebra (FractionRing A) K := FractionRing.liftAlgebra A K |
| 57 | let : Algebra (FractionRing A) L := FractionRing.liftAlgebra A L |
| 58 | let : IsScalarTower (FractionRing A) K L := by |
| 59 | apply IsScalarTower.of_algebraMap_eq' |
| 60 | apply IsFractionRing.ringHom_ext (A := A) |
| 61 | intro a |
| 62 | simp only [RingHom.comp_apply, ← IsScalarTower.algebraMap_apply] |
| 63 | let : Module.Finite (FractionRing A) K := |
| 64 | Normalization.finite_fraction_extension A B (FractionRing A) K hiK |
| 65 | let : Module.Finite (FractionRing A) L := Module.Finite.trans K L |
| 66 | exact finite_over_normal_base A B (FractionRing A) L hiL |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.FieldNormalization |