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.NoetherNormalization |
| 2 | import Mathlib.RingTheory.DedekindDomain.IntegralClosure |
| 3 | import Mathlib.RingTheory.Polynomial.UniqueFactorization |
| 4 | import Mathlib.RingTheory.Localization.Finiteness |
| 5 | |
| 6 | /-! # Normalization -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Finite.Normalization.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # ThomClass: finiteness of normalization in characteristic zero |
| 14 | |
| 15 | Noether normalization reduces finiteness to the trace-dual lattice bound |
| 16 | over a normal polynomial ring. These are constructions on actual integral |
| 17 | closures, to be applied to affine charts of the integral cycle supports. |
| 18 | -/ |
| 19 | |
| 20 | theorem finite_fraction_extension |
| 21 | (A B K L : Type*) [CommRing A] [CommRing B] [IsDomain A] [IsDomain B] |
| 22 | [Field K] [Field L] [Algebra A B] [Module.Finite A B] |
| 23 | [Algebra A K] [IsFractionRing A K] [Algebra A L] [Algebra B L] |
| 24 | [IsFractionRing B L] [IsScalarTower A B L] |
| 25 | [Algebra K L] [IsScalarTower A K L] |
| 26 | (hi : Function.Injective (algebraMap A L)) : Module.Finite K L := by |
| 27 | classical |
| 28 | obtain ⟨s, hs⟩ := Module.Finite.fg_top (R := A) (M := B) |
| 29 | apply Module.Finite.of_fg_top |
| 30 | refine ⟨s.image (algebraMap B L), ?_⟩ |
| 31 | apply top_unique |
| 32 | intro x _ |
| 33 | have hx := IsFractionRing.ideal_span_singleton_map_subset (R := A) (K := K) |
| 34 | (S := B) (L := L) (a := 1) (b := (s : Set B)) hi |
| 35 | (by rw [hs]; exact Set.subset_univ _) |
| 36 | (show x ∈ (Ideal.span ({algebraMap B L 1} : Set L) : Set L) by simp) |
| 37 | simpa only [Finset.coe_image, SetLike.mem_coe] using hx |
| 38 | |
| 39 | /-- Finite algebras over a normal Noetherian characteristic-zero domain |
| 40 | have finite normalization in their fraction field. -/ |
| 41 | theorem finite_integralClosure_over_normal |
| 42 | (A B L : Type*) [CommRing A] [CommRing B] [IsDomain A] [IsDomain B] |
| 43 | [IsNoetherianRing A] [IsIntegrallyClosed A] [CharZero A] |
| 44 | [Field L] [Algebra A B] [Module.Finite A B] |
| 45 | [Algebra A L] [Algebra B L] [IsFractionRing B L] [IsScalarTower A B L] |
| 46 | (hi : Function.Injective (algebraMap A L)) : |
| 47 | Module.Finite B (integralClosure B L) := by |
| 48 | let : FaithfulSMul A L := (faithfulSMul_iff_algebraMap_injective A L).mpr hi |
| 49 | let : Algebra (FractionRing A) L := FractionRing.liftAlgebra A L |
| 50 | let : Module.Finite (FractionRing A) L := |
| 51 | finite_fraction_extension A B (FractionRing A) L hi |
| 52 | let : IsIntegralClosure (integralClosure B L) A L := |
| 53 | ⟨IsIntegralClosure.algebraMap_injective (integralClosure B L) B L, |
| 54 | fun {x} => ⟨fun hx => |
| 55 | (IsIntegralClosure.isIntegral_iff (A := integralClosure B L) (R := B)).mp |
| 56 | (show IsIntegral B x from hx.tower_top), |
| 57 | fun hx => isIntegral_trans (R := A) x |
| 58 | ((IsIntegralClosure.isIntegral_iff (A := integralClosure B L) (R := B)).mpr hx)⟩⟩ |
| 59 | let : Module.Finite A (integralClosure B L) := |
| 60 | IsIntegralClosure.finite A (FractionRing A) L (integralClosure B L) |
| 61 | exact Module.Finite.of_restrictScalars_finite A B (integralClosure B L) |
| 62 | |
| 63 | /-- Normalization of a finite-type domain over a characteristic-zero field |
| 64 | is a finite module over that domain. -/ |
| 65 | theorem finite_integralClosure |
| 66 | (k B L : Type*) [Field k] [CharZero k] [CommRing B] [IsDomain B] |
| 67 | [Algebra k B] [Algebra.FiniteType k B] |
| 68 | [Field L] [Algebra B L] [IsFractionRing B L] : |
| 69 | Module.Finite B (integralClosure B L) := by |
| 70 | obtain ⟨n, g, hi, hf⟩ := exists_finite_inj_algHom_of_fg k B |
| 71 | let A := MvPolynomial (Fin n) k |
| 72 | let : Algebra A B := g.toRingHom.toAlgebra |
| 73 | let : Module.Finite A B := hf |
| 74 | let : Algebra A L := ((algebraMap B L).comp g.toRingHom).toAlgebra |
| 75 | let : IsScalarTower A B L := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 76 | exact finite_integralClosure_over_normal A B L |
| 77 | ((IsFractionRing.injective B L).comp hi) |
| 78 | |
| 79 | /-- Finiteness persists on the local rings of affine finite-type charts. -/ |
| 80 | theorem finite_integralClosure_localization |
| 81 | (k B R L : Type*) [Field k] [CharZero k] [CommRing B] [IsDomain B] |
| 82 | [Algebra k B] [Algebra.FiniteType k B] |
| 83 | [CommRing R] [Algebra B R] (M : Submonoid B) [IsLocalization M R] |
| 84 | [Field L] [Algebra B L] [Algebra R L] [IsScalarTower B R L] |
| 85 | [IsFractionRing B L] : Module.Finite R (integralClosure R L) := by |
| 86 | let C := integralClosure B L |
| 87 | let D := integralClosure R L |
| 88 | have hCD : C ≤ D.restrictScalars B := fun _ hx => hx.tower_top |
| 89 | let i : C →ₐ[B] D := Subalgebra.inclusion hCD |
| 90 | let : Algebra C D := i.toRingHom.toAlgebra |
| 91 | let : IsScalarTower B C D := IsScalarTower.of_algHom i |
| 92 | let : IsScalarTower C D L := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 93 | let : Module.Finite B C := finite_integralClosure k B L |
| 94 | let : IsLocalization (Algebra.algebraMapSubmonoid L M) L := |
| 95 | IsLocalization.of_le_isUnit (fun x hx => by |
| 96 | obtain ⟨m, hm, rfl⟩ := hx |
| 97 | have h := (IsLocalization.map_units R (⟨m, hm⟩ : M)).map (algebraMap R L) |
| 98 | change IsUnit (algebraMap B L m) |
| 99 | simpa only [← IsScalarTower.algebraMap_apply] using h) |
| 100 | let : IsLocalization (Algebra.algebraMapSubmonoid C M) D := |
| 101 | IsLocalization.integralClosure M |
| 102 | exact Module.Finite.of_isLocalization B C M |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.CycleClass.Thom.Finite.Normalization.Constructions |