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.IntegralClosure.GoingDown |
| 3 | import Mathlib.RingTheory.Polynomial.UniqueFactorization |
| 4 | import Mathlib.RingTheory.Polynomial.IsIntegral |
| 5 | import Mathlib.RingTheory.Ideal.Height |
| 6 | import OAI.AlgebraicGeometry.DivisorClass.Chern.IntegralDimension |
| 7 | |
| 8 | /-! # Height -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.Height |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! An integral domain extension of a finite-type domain over a field |
| 15 | preserves prime heights. Noether normalization supplies a common normal |
| 16 | polynomial base; going down computes both heights over that base. -/ |
| 17 | |
| 18 | theorem integral_height_under (k R S : Type*) [Field k] [CommRing R] [CommRing S] |
| 19 | [IsDomain R] [IsDomain S] [Algebra k R] [Algebra.FiniteType k R] |
| 20 | [Algebra R S] [Algebra.IsIntegral R S] |
| 21 | (hinj : Function.Injective (algebraMap R S)) (q : PrimeSpectrum S) : |
| 22 | (q.asIdeal.under R).height = q.asIdeal.height := by |
| 23 | obtain ⟨n, f, hf, hint⟩ := exists_integral_inj_algHom_of_fg k R |
| 24 | let P := MvPolynomial (Fin n) k |
| 25 | let : Algebra P R := f.toRingHom.toAlgebra |
| 26 | let : Algebra.IsIntegral P R := ⟨hint⟩ |
| 27 | let : FaithfulSMul P R := (faithfulSMul_iff_algebraMap_injective P R).mpr hf |
| 28 | let : Algebra P S := ((algebraMap R S).comp f.toRingHom).toAlgebra |
| 29 | let : IsScalarTower P R S := IsScalarTower.of_algebraMap_eq' rfl |
| 30 | let : Algebra.IsIntegral P S := Algebra.IsIntegral.trans R |
| 31 | let : IsIntegrallyClosed P := inferInstance |
| 32 | let : FaithfulSMul P S := |
| 33 | (faithfulSMul_iff_algebraMap_injective P S).mpr (hinj.comp hf) |
| 34 | have hR := DivisorClass.Chern.IntegralDimension.Construction.integral_comap_height (R := P) (S := R) |
| 35 | (⟨q.asIdeal.under R, inferInstance⟩ : PrimeSpectrum R) |
| 36 | have hS := DivisorClass.Chern.IntegralDimension.Construction.integral_comap_height (R := P) (S := S) q |
| 37 | rw [← PrimeSpectrum.height_eq_orderHeight, ← PrimeSpectrum.height_eq_orderHeight] at hR hS |
| 38 | exact hR.trans hS.symm |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.Height |