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 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Commutativity |
| 3 | |
| 4 | /-! # Rational Algebra -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual rational pullback reverses multiplication. Commutativity of |
| 11 | the spherical algebra turns this into the required algebra action. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | theorem RationalAlgebra.rationalExtensionOfAddHom_mul {R V : Type*} [Ring R] [Ring V] [Algebra ℚ V] |
| 17 | (f : R →+ V) (hmul : ∀ a b, f (a * b) = f b * f a) (x y : ℚ ⊗[ℤ] R) : |
| 18 | RationalExtension.rationalExtensionOfAddHom f (x * y) = RationalExtension.rationalExtensionOfAddHom f y * RationalExtension.rationalExtensionOfAddHom f x := by |
| 19 | induction x using TensorProduct.inductionOn with |
| 20 | | add x z hx hz => simp only [add_mul, map_add, hx, hz, mul_add] |
| 21 | | tmul r a => |
| 22 | induction y using TensorProduct.inductionOn with |
| 23 | | add y z hy hz => simp only [mul_add, map_add, hy, hz, add_mul] |
| 24 | | tmul t b => |
| 25 | rw [Algebra.TensorProduct.tmul_mul_tmul, RationalExtension.rationalExtensionOfAddHom_tmul, |
| 26 | RationalExtension.rationalExtensionOfAddHom_tmul, RationalExtension.rationalExtensionOfAddHom_tmul, hmul, smul_mul_smul] |
| 27 | rw [mul_comm r t] |
| 28 | |
| 29 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 30 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 31 | (D : Data.SphericalPELAlbaneseData E K s q) |
| 32 | (hadd : ∀ a b : D.EndK, D.pullbackH1Integral (a + b) = D.pullbackH1Integral a + D.pullbackH1Integral b) |
| 33 | |
| 34 | theorem Data.SphericalPELAlbaneseData.rationalH1Pullback_one : D.rationalH1Pullback hadd 1 = 1 := by |
| 35 | change RationalExtension.rationalExtensionOfAddHom (D.integralH1PullbackAddHom hadd) (1 ⊗ₜ[ℤ] (1 : D.EndK)) = _ |
| 36 | rw [RationalExtension.rationalExtensionOfAddHom_tmul, one_smul] |
| 37 | exact D.pullbackH1Integral_one |
| 38 | |
| 39 | theorem Data.SphericalPELAlbaneseData.rationalH1Pullback_mul (x y : D.EndQ) : |
| 40 | D.rationalH1Pullback hadd (x * y) = D.rationalH1Pullback hadd y * D.rationalH1Pullback hadd x := |
| 41 | RationalAlgebra.rationalExtensionOfAddHom_mul (D.integralH1PullbackAddHom hadd) (D.pullbackH1Integral_mul) x y |
| 42 | |
| 43 | def Data.SphericalPELAlbaneseData.rationalH1OppositeAction : D.EndQᵐᵒᵖ →ₐ[ℚ] Module.End ℚ D.H1 where |
| 44 | toFun x := D.rationalH1Pullback hadd x.unop |
| 45 | map_zero' := map_zero _ |
| 46 | map_add' x y := map_add _ x.unop y.unop |
| 47 | map_one' := D.rationalH1Pullback_one hadd |
| 48 | map_mul' x y := D.rationalH1Pullback_mul hadd y.unop x.unop |
| 49 | commutes' r := by |
| 50 | change D.rationalH1Pullback hadd (algebraMap ℚ D.EndQ r) = algebraMap ℚ (Module.End ℚ D.H1) r |
| 51 | rw [Algebra.algebraMap_eq_smul_one, map_smul, Data.SphericalPELAlbaneseData.rationalH1Pullback_one, |
| 52 | Algebra.algebraMap_eq_smul_one] |
| 53 | |
| 54 | def Data.SphericalPELAlbaneseData.sphericalActionOpposite (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) (ρ : HeckeKernel.Hecke s q →ₐ[ℚ] D.EndQ) : |
| 55 | HeckeKernel.Hecke s q →ₐ[ℚ] D.EndQᵐᵒᵖ where |
| 56 | toFun x := MulOpposite.op (ρ x) |
| 57 | map_zero' := congrArg MulOpposite.op ρ.map_zero |
| 58 | map_add' x y := congrArg MulOpposite.op (ρ.map_add x y) |
| 59 | map_one' := congrArg MulOpposite.op ρ.map_one |
| 60 | map_mul' x y := congrArg MulOpposite.op |
| 61 | ((congrArg ρ (Commutativity.spherical_mul_comm s q hElementaryDivisors x y)).trans (ρ.map_mul y x)) |
| 62 | commutes' r := congrArg MulOpposite.op (ρ.commutes r) |
| 63 | |
| 64 | def Data.SphericalPELAlbaneseData.sphericalH1Action (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) (ρ : HeckeKernel.Hecke s q →ₐ[ℚ] D.EndQ) : |
| 65 | HeckeKernel.Hecke s q →ₐ[ℚ] Module.End ℚ D.H1 := |
| 66 | (D.rationalH1OppositeAction hadd).comp (D.sphericalActionOpposite hElementaryDivisors ρ) |
| 67 | |
| 68 | theorem Data.SphericalPELAlbaneseData.sphericalH1Action_spec (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) (ρ : HeckeKernel.Hecke s q →ₐ[ℚ] D.EndQ) |
| 69 | (h : HeckeKernel.Hecke s q) : D.IsRationalH1Pullback (ρ h) (D.sphericalH1Action hadd hElementaryDivisors ρ h) := |
| 70 | D.rationalH1Pullback_spec hadd (ρ h) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |