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.NumberTheory.ArithmeticGroups.Lattices.GeometricIrreducibility |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.BaseChange |
| 3 | |
| 4 | /-! # Separable Coordinate Ideal -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.SeparableCoordinateIdeal.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Prime polynomial ideals remain radical under separable algebraic |
| 13 | field extension. -/ |
| 14 | |
| 15 | open scoped Classical TensorProduct |
| 16 | |
| 17 | theorem polynomial_ideal_extension_radical_of_reduced_tensor |
| 18 | {k K σ : Type*} [Field k] [Field K] [Algebra k K] |
| 19 | (I : Ideal (MvPolynomial σ k)) [IsReduced (K ⊗[k] (MvPolynomial σ k ⧸ I))] : |
| 20 | (I.map (MvPolynomial.map (algebraMap k K))).IsRadical := by |
| 21 | let P := MvPolynomial σ k |
| 22 | let f : P →ₐ[k] K ⊗[k] P := Algebra.TensorProduct.includeRight |
| 23 | let J := I.map f |
| 24 | let e : K ⊗[k] P ≃ₐ[K] MvPolynomial σ K := MvPolynomial.algebraTensorAlgEquiv k K |
| 25 | have he : e.toRingHom.comp f.toRingHom = MvPolynomial.map (algebraMap k K) := by |
| 26 | apply RingHom.ext |
| 27 | intro p |
| 28 | change e (1 ⊗ₜ[k] p) = MvPolynomial.map (algebraMap k K) p |
| 29 | exact (MvPolynomial.algebraTensorAlgEquiv_tmul k K 1 p).trans (one_smul K _) |
| 30 | have hJ : J.map e.toRingHom = I.map (MvPolynomial.map (algebraMap k K)) := by |
| 31 | change (I.map f.toRingHom).map e.toRingHom = _ |
| 32 | rw [Ideal.map_map, he] |
| 33 | let e1 := Algebra.TensorProduct.tensorQuotientEquiv (R := k) K P K I |
| 34 | let e2 := Ideal.quotientEquiv J (I.map (MvPolynomial.map (algebraMap k K))) e.toRingEquiv hJ.symm |
| 35 | let E := e1.toRingEquiv.trans e2 |
| 36 | apply (Ideal.isRadical_iff_quotient_reduced _).mpr |
| 37 | exact isReduced_of_injective E.symm E.symm.injective |
| 38 | |
| 39 | theorem prime_polynomial_ideal_separable_extension_radical |
| 40 | {k K σ : Type*} [Field k] [Field K] [Algebra k K] [Algebra.IsSeparable k K] |
| 41 | (I : Ideal (MvPolynomial σ k)) [I.IsPrime] : |
| 42 | (I.map (MvPolynomial.map (algebraMap k K))).IsRadical := by |
| 43 | let : IsReduced (K ⊗[k] (MvPolynomial σ k ⧸ I)) := |
| 44 | GeometricIrreducibility.Construction.separable_tensor_domain_reduced k K (MvPolynomial σ k ⧸ I) |
| 45 | exact polynomial_ideal_extension_radical_of_reduced_tensor I |
| 46 | |
| 47 | end |
| 48 | |
| 49 | /-! The universal vanishing ideal commutes with separable algebraic |
| 50 | field extension for geometrically connected matrix groups. -/ |
| 51 | |
| 52 | open scoped Classical |
| 53 | open _root_.MvPolynomial Set |
| 54 | |
| 55 | theorem coefficient_map_determinantEquation |
| 56 | {k K : Type} [Field k] [Field K] {n : ℕ} (ι : k →+* K) : |
| 57 | MvPolynomial.map ι (CoordinateIdeal.Construction.determinantEquation k n) = CoordinateIdeal.Construction.determinantEquation K n := by |
| 58 | let Xk : Matrix (Fin n) (Fin n) (Algebraic.CoordinatePolynomial n k) := fun i j => X (i, j) |
| 59 | have hX : (MvPolynomial.map ι).mapMatrix Xk = |
| 60 | (fun i j : Fin n => (X (i, j) : Algebraic.CoordinatePolynomial n K)) := by |
| 61 | ext i j : 1 |
| 62 | change MvPolynomial.map ι (X (i, j)) = X (i, j) |
| 63 | simp |
| 64 | change MvPolynomial.map ι (Xk.det - 1) = _ |
| 65 | rw [map_sub, map_one, (MvPolynomial.map ι).map_det, hX] |
| 66 | rfl |
| 67 | |
| 68 | theorem affineDefiningIdeal_baseChange |
| 69 | {k K : Type} [Field k] [Field K] {n : ℕ} |
| 70 | (G : Algebraic.MatrixAlgebraicGroup k n) (ι : k →+* K) : |
| 71 | (CoordinateIdeal.Construction.affineDefiningIdeal G).map (MvPolynomial.map ι) = |
| 72 | CoordinateIdeal.Construction.affineDefiningIdeal (BaseChange.Construction.matrixGroupBaseChange G ι) := by |
| 73 | rw [CoordinateIdeal.Construction.affineDefiningIdeal, Ideal.map_span, image_insert_eq, coefficient_map_determinantEquation] |
| 74 | rfl |
| 75 | |
| 76 | theorem vanishingIdeal_separable_baseChange |
| 77 | {k K : Type} [Field k] [Field K] [Algebra k K] [Algebra.IsSeparable k K] {n : ℕ} |
| 78 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) : |
| 79 | VanishingIdeal.Construction.coordinateVanishingIdeal (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K)) = |
| 80 | (VanishingIdeal.Construction.coordinateVanishingIdeal G).map (MvPolynomial.map (algebraMap k K)) := by |
| 81 | let : (VanishingIdeal.Construction.coordinateVanishingIdeal G).IsPrime := GeometricIrreducibility.Construction.coordinateVanishingIdeal_isPrime G hG |
| 82 | have hrad := prime_polynomial_ideal_separable_extension_radical |
| 83 | (K := K) (VanishingIdeal.Construction.coordinateVanishingIdeal G) |
| 84 | apply le_antisymm |
| 85 | · rw [CoordinateIdeal.Construction.vanishingIdeal_eq_radical_definingIdeal, ← affineDefiningIdeal_baseChange] |
| 86 | apply hrad.radical_le_iff.mpr |
| 87 | exact Ideal.map_mono (CoordinateIdeal.Construction.definingIdeal_le_vanishingIdeal G) |
| 88 | · rw [Ideal.map_le_iff_le_comap] |
| 89 | intro p hp |
| 90 | exact BaseChange.Construction.coefficient_map_mem_baseChange_vanishingIdeal G (algebraMap k K) hp |
| 91 | |
| 92 | theorem vanishingIdeal_algebraicClosure_baseChange |
| 93 | {k : Type} [Field k] [CharZero k] {n : ℕ} |
| 94 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) : |
| 95 | VanishingIdeal.Construction.coordinateVanishingIdeal (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k (AlgebraicClosure k))) = |
| 96 | (VanishingIdeal.Construction.coordinateVanishingIdeal G).map (MvPolynomial.map (algebraMap k (AlgebraicClosure k))) := |
| 97 | vanishingIdeal_separable_baseChange G hG |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.ArithmeticGroups.Lattices.SeparableCoordinateIdeal.Construction |