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.TorAlgebra.DiagonalModule |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | |
| 4 | /-! # Algebra Diagonal Quotient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.AlgebraDiagonalQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual multiplication module is the quotient by the kernel |
| 11 | of tensor multiplication. The comparison preserves the tensor algebra |
| 12 | action, not only the underlying additive groups. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalModule |
| 18 | |
| 19 | universe u |
| 20 | variable (k R : Type u) [Field k] [CommRing R] [Algebra k R] |
| 21 | |
| 22 | def diagonalIdeal : Ideal (R ⊗[k] R) := |
| 23 | RingHom.ker (Algebra.TensorProduct.lmul' k (S := R)).toRingHom |
| 24 | |
| 25 | theorem multiplication_surjective : |
| 26 | Function.Surjective (Algebra.TensorProduct.lmul' k (S := R)).toRingHom := by |
| 27 | intro r |
| 28 | exact ⟨r ⊗ₜ[k] 1, mul_one r⟩ |
| 29 | |
| 30 | def diagonalQuotientEquiv : |
| 31 | ((R ⊗[k] R) ⧸ diagonalIdeal k R) ≃ₗ[R ⊗[k] R] DiagonalModule.diagonalModule k R where |
| 32 | __ := ((Algebra.TensorProduct.lmul' k (S := R)).toRingHom.quotientKerEquivOfSurjective |
| 33 | (multiplication_surjective k R)).toAddEquiv |
| 34 | map_smul' a x := by |
| 35 | obtain ⟨x, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 36 | change (Algebra.TensorProduct.lmul' k (S := R)).toRingHom.quotientKerEquivOfSurjective |
| 37 | (multiplication_surjective k R) (Ideal.Quotient.mk _ (a * x)) = |
| 38 | Algebra.TensorProduct.lmul' k a * |
| 39 | (Algebra.TensorProduct.lmul' k (S := R)).toRingHom.quotientKerEquivOfSurjective |
| 40 | (multiplication_surjective k R) (Ideal.Quotient.mk _ x) |
| 41 | rw [RingHom.quotientKerEquivOfSurjective_apply_mk, |
| 42 | RingHom.quotientKerEquivOfSurjective_apply_mk, map_mul] |
| 43 | rfl |
| 44 | |
| 45 | def diagonalQuotientIso : ModuleCat.of (R ⊗[k] R) ((R ⊗[k] R) ⧸ diagonalIdeal k R) ≅ |
| 46 | DiagonalModule.diagonalModule k R := (diagonalQuotientEquiv k R).toModuleIso |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.AlgebraDiagonalQuotient |