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.ArithmeticGeometry.Models.SpreadingOut.AbsoluteIrreducibility |
| 2 | import Mathlib.RingTheory.TensorProduct.Quotient |
| 3 | import Mathlib.RingTheory.TensorProduct.MvPolynomial |
| 4 | import Mathlib.RingTheory.Ideal.Maximal |
| 5 | |
| 6 | /-! # Hypersurface Scalar Extension -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.HypersurfaceScalarExtension.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Hypersurface scalar extension and the domain criterion for absolute |
| 13 | polynomial irreducibility. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | def hypersurfaceScalarExtensionIso |
| 20 | (R K : Type u) [CommRing R] [CommRing K] [Algebra R K] |
| 21 | {σ : Type*} (p : MvPolynomial σ R) : |
| 22 | K ⊗[R] (MvPolynomial σ R ⧸ Ideal.span ({p} : Set (MvPolynomial σ R))) ≃ₐ[K] |
| 23 | MvPolynomial σ K ⧸ Ideal.span ({MvPolynomial.map (algebraMap R K) p} : Set _) := by |
| 24 | let I := Ideal.span ({p} : Set (MvPolynomial σ R)) |
| 25 | let e : K ⊗[R] MvPolynomial σ R ≃ₐ[K] MvPolynomial σ K := |
| 26 | MvPolynomial.algebraTensorAlgEquiv R K |
| 27 | refine (Algebra.TensorProduct.tensorQuotientEquiv K (MvPolynomial σ R) K I).trans |
| 28 | (Ideal.quotientEquivAlg _ _ e ?_) |
| 29 | change Ideal.span {MvPolynomial.map (algebraMap R K) p} = |
| 30 | Ideal.map e.toRingHom (Ideal.map |
| 31 | (Algebra.TensorProduct.includeRight : MvPolynomial σ R →ₐ[R] K ⊗[R] MvPolynomial σ R).toRingHom |
| 32 | (Ideal.span {p})) |
| 33 | rw [Ideal.map_span, Set.image_singleton, Ideal.map_span, Set.image_singleton] |
| 34 | congr 1 |
| 35 | apply congrArg Set.singleton |
| 36 | exact ((MvPolynomial.algebraTensorAlgEquiv_tmul R K 1 p).trans (one_smul _ _)).symm |
| 37 | |
| 38 | theorem polynomial_irreducible_of_tensor_quotient_domain |
| 39 | (k K : Type u) [Field k] [Field K] [Algebra k K] |
| 40 | {σ : Type*} (p : MvPolynomial σ k) (hp : p ≠ 0) |
| 41 | [IsDomain (K ⊗[k] (MvPolynomial σ k ⧸ Ideal.span ({p} : Set _)))] : |
| 42 | Irreducible (MvPolynomial.map (algebraMap k K) p) := by |
| 43 | let e := hypersurfaceScalarExtensionIso k K p |
| 44 | have : IsDomain (MvPolynomial σ K ⧸ Ideal.span ({MvPolynomial.map (algebraMap k K) p} : Set _)) := |
| 45 | Function.Injective.isDomain e.symm.toRingHom e.symm.injective |
| 46 | have hprime := (Ideal.Quotient.isDomain_iff_prime |
| 47 | (Ideal.span ({MvPolynomial.map (algebraMap k K) p} : Set _))).mp this |
| 48 | have hp' : MvPolynomial.map (algebraMap k K) p ≠ 0 := by |
| 49 | exact fun h ↦ hp (MvPolynomial.map_injective (algebraMap k K) (algebraMap k K).injective |
| 50 | (h.trans (map_zero _).symm)) |
| 51 | exact ((Ideal.span_singleton_prime hp').mp hprime).irreducible |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.ArithmeticGeometry.Models.SpreadingOut.HypersurfaceScalarExtension.Construction |