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.TensorProduct.Quotient |
| 2 | |
| 3 | /-! # Tensor Kernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.TensorKernel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The kernel of changing the tensor base is generated by the actual |
| 10 | balancing relations. Ideal containment can therefore be checked on the |
| 11 | differences of the two scalar embeddings. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (K P A : Type u) [CommRing K] [CommRing P] [CommRing A] |
| 21 | [Algebra K P] [Algebra K A] [Algebra P A] [IsScalarTower K P A] |
| 22 | |
| 23 | def map : A ⊗[K] A →ₐ[A] A ⊗[P] A := |
| 24 | Algebra.TensorProduct.mapOfCompatibleSMul P K A A A |
| 25 | |
| 26 | theorem map_tmul (a b : A) : map K P A (a ⊗ₜ[K] b) = a ⊗ₜ[P] b := rfl |
| 27 | |
| 28 | theorem surjective : Function.Surjective (map K P A) := |
| 29 | Algebra.TensorProduct.mapOfCompatibleSMul_surjective P K A A A |
| 30 | |
| 31 | theorem kernel_le (J : Ideal (A ⊗[K] A)) |
| 32 | (hJ : ∀ p : P, algebraMap P A p ⊗ₜ[K] (1 : A) - (1 : A) ⊗ₜ[K] algebraMap P A p ∈ J) : |
| 33 | RingHom.ker (map K P A).toRingHom ≤ J := by |
| 34 | have h : (TensorProduct.mapOfCompatibleSMul P K P A A).ker ≤ J.restrictScalars P := by |
| 35 | rw [TensorProduct.AlgebraTensorModule.ker_mapOfCompatibleSMul] |
| 36 | apply Submodule.span_le.mpr |
| 37 | rintro _ ⟨p, a, b, rfl⟩ |
| 38 | change (p • a) ⊗ₜ[K] b - a ⊗ₜ[K] (p • b) ∈ J |
| 39 | simp only [Algebra.smul_def] |
| 40 | simpa only [sub_mul, Algebra.TensorProduct.tmul_mul_tmul, one_mul] using J.mul_mem_right (a ⊗ₜ[K] b) (hJ p) |
| 41 | intro x hx |
| 42 | exact h hx |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.TensorKernel |