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.IntersectionTheory.ProjectionFormula.Smooth.DiagonalParameters |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.TensorKernel |
| 3 | |
| 4 | /-! # Relative Diagonal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.RelativeDiagonal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The kernel of passing from the ground-field product to the product |
| 11 | over polynomial coordinates is precisely the ideal of coordinate |
| 12 | differences. This is an equality of native tensor-product ideals. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open _root_.MvPolynomial OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.DiagonalParameters |
| 22 | |
| 23 | variable (K A : Type u) [CommRing K] [CommRing A] [Algebra K A] |
| 24 | (σ : Type) [Algebra (MvPolynomial σ K) A] [IsScalarTower K (MvPolynomial σ K) A] |
| 25 | |
| 26 | local notation "φ" => IsScalarTower.toAlgHom K (MvPolynomial σ K) A |
| 27 | |
| 28 | def map : A ⊗[K] A →ₐ[A] A ⊗[MvPolynomial σ K] A := |
| 29 | Relative.TensorKernel.map K (MvPolynomial σ K) A |
| 30 | |
| 31 | def ideal : Ideal (A ⊗[K] A) := Ideal.span (Set.range (Smooth.DiagonalParameters.parameter K A σ φ)) |
| 32 | |
| 33 | theorem all_differences (p : MvPolynomial σ K) : |
| 34 | φ p ⊗ₜ[K] (1 : A) - (1 : A) ⊗ₜ[K] φ p ∈ ideal K A σ := by |
| 35 | let J := ideal K A σ |
| 36 | let q := Ideal.Quotient.mkₐ K J |
| 37 | let l := q.comp ((Algebra.TensorProduct.includeLeft : A →ₐ[K] A ⊗[K] A).comp φ) |
| 38 | let r := q.comp ((Algebra.TensorProduct.includeRight : A →ₐ[K] A ⊗[K] A).comp φ) |
| 39 | have he : l = r := by |
| 40 | ext i |
| 41 | apply sub_eq_zero.mp |
| 42 | change q (φ (X i) ⊗ₜ[K] (1 : A)) - q ((1 : A) ⊗ₜ[K] φ (X i)) = 0 |
| 43 | rw [← map_sub] |
| 44 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 45 | have h : Smooth.DiagonalParameters.parameter K A σ φ i ∈ J := Ideal.subset_span ⟨i, rfl⟩ |
| 46 | simpa only [Smooth.DiagonalParameters.parameter, neg_sub] using J.neg_mem h |
| 47 | apply (Ideal.Quotient.eq_zero_iff_mem (I := J)).mp |
| 48 | change q (φ p ⊗ₜ[K] (1 : A) - (1 : A) ⊗ₜ[K] φ p) = 0 |
| 49 | rw [map_sub] |
| 50 | exact sub_eq_zero.mpr (DFunLike.congr_fun he p) |
| 51 | |
| 52 | theorem kernel : RingHom.ker (map K A σ).toRingHom = ideal K A σ := by |
| 53 | apply le_antisymm |
| 54 | · exact Relative.TensorKernel.kernel_le K (MvPolynomial σ K) A (ideal K A σ) |
| 55 | (all_differences K A σ) |
| 56 | · apply Ideal.span_le.mpr |
| 57 | rintro _ ⟨i, rfl⟩ |
| 58 | change (1 : A) ⊗ₜ[MvPolynomial σ K] φ (X i) - φ (X i) ⊗ₜ[MvPolynomial σ K] (1 : A) = 0 |
| 59 | have h := TensorProduct.tmul_smul (R := MvPolynomial σ K) (X (R := K) i) (1 : A) (1 : A) |
| 60 | rw [TensorProduct.smul_tmul'] at h |
| 61 | simp only [Algebra.smul_def] at h |
| 62 | change (1 : A) ⊗ₜ[MvPolynomial σ K] (φ (X i) * 1) = (φ (X i) * 1) ⊗ₜ[MvPolynomial σ K] (1 : A) at h |
| 63 | simpa only [mul_one] using sub_eq_zero.mpr h |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.RelativeDiagonal |