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.IntegralSphericalAlgebra |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.LinearMultiplicativity |
| 3 | |
| 4 | /-! # Integral Spherical Hom -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IntegralSphericalHom |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual family satisfying integral convolution defines an algebra |
| 11 | homomorphism on the integral spherical subalgebra. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable (s q : ℕ) [Fact q.Prime] (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 16 | {A : Type*} [Ring A] [Algebra ℚ A] (a : Local.IntegralType s → A) |
| 17 | |
| 18 | def integralSphericalLinear : HeckeKernel.Hecke s q →ₗ[ℚ] A := |
| 19 | (SphericalBasis.sphericalModuleBasis s q hElementaryDivisors).constr ℚ |
| 20 | (fun t => if h : t.IsIntegral then a ⟨t, h⟩ else 0) |
| 21 | |
| 22 | theorem integralSphericalLinear_basis (t : Local.IntegralType s) : |
| 23 | integralSphericalLinear s q hElementaryDivisors a (CentralConvolution.sphericalBasis s q t.val) = a t := by |
| 24 | rw [← SphericalBasis.sphericalModuleBasis_apply s q hElementaryDivisors] |
| 25 | simp only [integralSphericalLinear, Module.Basis.constr_basis, dite_eq_left t.property] |
| 26 | |
| 27 | def integralSphericalHom |
| 28 | (h1 : a (Local.IntegralType.identity s) = 1) |
| 29 | (hmul : ∀ u v, a u * a v = (ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v).sum (fun w n => n • a w)) : |
| 30 | IntegralSphericalAlgebra.integralSphericalAlgebra s q hElementaryDivisors →ₐ[ℚ] A := by |
| 31 | let f := integralSphericalLinear s q hElementaryDivisors a |
| 32 | apply AlgHom.ofLinearMap (f.comp (IntegralSphericalAlgebra.integralSphericalAlgebra s q hElementaryDivisors).val.toLinearMap) |
| 33 | · change f 1 = 1 |
| 34 | rw [← IntegralSphericalAlgebra.sphericalBasis_identity s q] |
| 35 | exact (integralSphericalLinear_basis s q hElementaryDivisors a _).trans h1 |
| 36 | · intro x y |
| 37 | change f (x.val * y.val) = f x.val * f y.val |
| 38 | apply LinearMultiplicativity.linearMap_mul_on_span (fun t : Local.IntegralType s => CentralConvolution.sphericalBasis s q t.val) f ?_ x.property y.property |
| 39 | intro u v |
| 40 | simp only [f, integralSphericalLinear_basis, ConvolutionCoefficients.spherical_convolution s q hElementaryDivisors, |
| 41 | map_finsuppSum, map_nsmul] |
| 42 | exact (hmul u v).symm |
| 43 | |
| 44 | theorem integralSphericalHom_basis |
| 45 | (h1 : a (Local.IntegralType.identity s) = 1) |
| 46 | (hmul : ∀ u v, a u * a v = (ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v).sum (fun w n => n • a w)) |
| 47 | (t : Local.IntegralType s) : |
| 48 | integralSphericalHom s q hElementaryDivisors a h1 hmul |
| 49 | ⟨CentralConvolution.sphericalBasis s q t.val, IntegralSphericalAlgebra.integralSphericalSpan_basis s q t⟩ = a t := |
| 50 | integralSphericalLinear_basis s q hElementaryDivisors a t |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IntegralSphericalHom |