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.CycleClass.Thom.Integral.TensorMaps |
| 2 | import Mathlib.RingTheory.NoetherNormalization |
| 3 | import Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis |
| 4 | import Mathlib.RingTheory.AlgebraicIndependent.Transcendental |
| 5 | import Mathlib.RingTheory.TensorProduct.MvPolynomial |
| 6 | import Mathlib.RingTheory.Flat.Basic |
| 7 | |
| 8 | /-! # Transcendence Dimension -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.TranscendenceDimension.Constructions |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Transcendence degrees of integral tensor products add. The proof uses |
| 15 | actual Noether normalization, injective tensor maps, and integral extensions. -/ |
| 16 | |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Integral.TensorMaps.Constructions |
| 20 | |
| 21 | theorem trdeg_eq_of_injective_integral {k P A : Type} |
| 22 | [Field k] [CommRing P] [IsDomain P] [CommRing A] [IsDomain A] |
| 23 | [Algebra k P] [Algebra k A] (f : P →ₐ[k] A) |
| 24 | (hf : Function.Injective f) (hi : f.IsIntegral) : |
| 25 | Algebra.trdeg k P = Algebra.trdeg k A := by |
| 26 | let : Algebra P A := f.toRingHom.toAlgebra |
| 27 | let : FaithfulSMul P A := (faithfulSMul_iff_algebraMap_injective P A).mpr hf |
| 28 | let : IsScalarTower k P A := IsScalarTower.of_algHom f |
| 29 | let : Algebra.IsIntegral P A := ⟨hi⟩ |
| 30 | have h := trdeg_add_eq k P (A := A) |
| 31 | simpa only [trdeg_eq_zero, add_zero] using h |
| 32 | |
| 33 | theorem tensorProduct_trdeg {k A B : Type} [Field k] |
| 34 | [CommRing A] [IsDomain A] [CommRing B] [IsDomain B] |
| 35 | [Algebra k A] [Algebra k B] [Algebra.FiniteType k A] [Algebra.FiniteType k B] |
| 36 | [IsDomain (A ⊗[k] B)] : |
| 37 | Algebra.trdeg k (A ⊗[k] B) = Algebra.trdeg k A + Algebra.trdeg k B := by |
| 38 | obtain ⟨n, f, hfi, hf⟩ := exists_integral_inj_algHom_of_fg k A |
| 39 | obtain ⟨m, g, hgi, hg⟩ := exists_integral_inj_algHom_of_fg k B |
| 40 | let φ := Algebra.TensorProduct.map f g |
| 41 | have hφ : Function.Injective φ := |
| 42 | TensorProduct.map_injective_of_flat_flat f.toLinearMap g.toLinearMap hfi hgi |
| 43 | let : IsDomain (MvPolynomial (Fin n) k ⊗[k] MvPolynomial (Fin m) k) := |
| 44 | Function.Injective.isDomain φ hφ |
| 45 | calc |
| 46 | Algebra.trdeg k (A ⊗[k] B) = |
| 47 | Algebra.trdeg k (MvPolynomial (Fin n) k ⊗[k] MvPolynomial (Fin m) k) := |
| 48 | (trdeg_eq_of_injective_integral φ hφ (Integral.TensorMaps.Constructions.tensorMap_isIntegral f g hf hg)).symm |
| 49 | _ = Algebra.trdeg k (MvPolynomial (Fin n ⊕ Fin m) k) := |
| 50 | (MvPolynomial.tensorEquivSum k (Fin n) (Fin m) k).trdeg_eq |
| 51 | _ = Algebra.trdeg k A + Algebra.trdeg k B := by |
| 52 | rw [← trdeg_eq_of_injective_integral f hfi hf, ← trdeg_eq_of_injective_integral g hgi hg] |
| 53 | simp only [MvPolynomial.trdeg_of_isDomain, Cardinal.mk_sum, Cardinal.lift_id] |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.TranscendenceDimension.Constructions |