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.SphericalBasis |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.ConvolutionCoefficients |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Commutativity |
| 4 | |
| 5 | /-! # Coefficient Uniqueness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CoefficientUniqueness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Raw kernel evaluation recovers the ordinary natural convolution |
| 12 | coefficients uniquely and proves their symmetry. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | variable (s q : ℕ) [Fact q.Prime] (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 17 | |
| 18 | include hElementaryDivisors in |
| 19 | theorem sphericalCoefficient_integral_sum (c : Local.IntegralType s →₀ ℕ) (w : Local.IntegralType s) : |
| 20 | SphericalBasis.sphericalCoefficient s q w.val (c.sum (fun t n => n • CentralConvolution.sphericalBasis s q t.val)) = (c w : ℚ) := by |
| 21 | rw [map_finsuppSum] |
| 22 | have ht (t : Local.IntegralType s) (n : ℕ) : |
| 23 | SphericalBasis.sphericalCoefficient s q w.val (n • CentralConvolution.sphericalBasis s q t.val) = |
| 24 | if t = w then (n : ℚ) else 0 := by |
| 25 | rw [map_nsmul, SphericalBasis.sphericalCoefficient_basis s q hElementaryDivisors] |
| 26 | simp only [Subtype.val_inj, nsmul_eq_mul, mul_ite, mul_one, mul_zero] |
| 27 | simp only [ht] |
| 28 | simp_all |
| 29 | |
| 30 | theorem convolutionCoefficients_unique (u v : Local.IntegralType s) (c : Local.IntegralType s →₀ ℕ) |
| 31 | (hc : CentralConvolution.sphericalBasis s q u.val * CentralConvolution.sphericalBasis s q v.val = |
| 32 | c.sum (fun t n => n • CentralConvolution.sphericalBasis s q t.val)) : |
| 33 | c = ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v := by |
| 34 | ext w |
| 35 | have h := congrArg (SphericalBasis.sphericalCoefficient s q w.val) |
| 36 | (hc.symm.trans (ConvolutionCoefficients.spherical_convolution s q hElementaryDivisors u v)) |
| 37 | rw [sphericalCoefficient_integral_sum s q hElementaryDivisors, sphericalCoefficient_integral_sum s q hElementaryDivisors] at h |
| 38 | exact_mod_cast h |
| 39 | |
| 40 | theorem convolutionCoefficients_comm (u v : Local.IntegralType s) : |
| 41 | ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v = ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors v u := by |
| 42 | apply convolutionCoefficients_unique s q hElementaryDivisors v u |
| 43 | exact (Commutativity.spherical_mul_comm s q hElementaryDivisors _ _).trans (ConvolutionCoefficients.spherical_convolution s q hElementaryDivisors u v) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CoefficientUniqueness |