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.AbelianScheme.TateComparison.RationalExtension |
| 2 | |
| 3 | /-! # Contravariant Extension -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.Rational.ContravariantExtension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Rational extension preserves the reversed composition law of |
| 10 | actual pullbacks. The proof uses the literal tensor-product arithmetic. -/ |
| 11 | |
| 12 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | theorem rationalExtensionOfAddHom_mul_reverse |
| 16 | {A B : Type*} [Ring A] [Ring B] [Algebra ℚ B] |
| 17 | (f : A →+ B) (hf : ∀ a b, f (a * b) = f b * f a) |
| 18 | (a b : ℚ ⊗[ℤ] A) : |
| 19 | AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom f (a * b) = |
| 20 | AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom f b * AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom f a := by |
| 21 | induction a using TensorProduct.inductionOn with |
| 22 | | tmul r a => |
| 23 | induction b using TensorProduct.inductionOn with |
| 24 | | tmul s b => |
| 25 | rw [Algebra.TensorProduct.tmul_mul_tmul, AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom_tmul, |
| 26 | AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom_tmul, AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom_tmul, hf] |
| 27 | simp only [smul_mul_assoc, mul_smul_comm, smul_smul] |
| 28 | | add b c hb hc => simp only [mul_add, map_add, add_mul, hb, hc] |
| 29 | | add a c ha hc => simp only [add_mul, map_add, mul_add, ha, hc] |
| 30 | |
| 31 | theorem rationalExtensionOfAddHom_one |
| 32 | {A B : Type*} [Ring A] [Ring B] [Algebra ℚ B] |
| 33 | (f : A →+ B) (hf : f 1 = 1) : AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom f (1 : ℚ ⊗[ℤ] A) = 1 := by |
| 34 | change AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom f (1 ⊗ₜ[ℤ] (1 : A)) = 1 |
| 35 | rw [AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom_tmul, one_smul, hf] |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.RepresentationTheory.Theta.Geometric.Rational.ContravariantExtension |