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.CentralConvolution |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IdentityCorrespondence |
| 5 | |
| 6 | /-! # Integral Spherical Algebra -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IntegralSphericalAlgebra |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The rational span of the integral raw operators is a unital |
| 13 | subalgebra of the actual spherical Hecke algebra. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | variable (s q : ℕ) [Fact q.Prime] |
| 18 | |
| 19 | theorem sphericalBasis_identity : CentralConvolution.sphericalBasis s q (Local.IntegralType.identity s).val = 1 := by |
| 20 | have h := CentralConvolution.sphericalBasis_central_shift s q (Local.IntegralType.identity s).val 1 |
| 21 | have he : (Local.IntegralType.identity s).val.shift 1 = Local.LocalType.central s := rfl |
| 22 | rw [pow_one, he] at h |
| 23 | exact (CentralConvolution.sphericalBasis_central_isUnit s q).mul_right_inj.mp (h.trans (mul_one _).symm) |
| 24 | |
| 25 | def integralSphericalSpan : Submodule ℚ (HeckeKernel.Hecke s q) := |
| 26 | Submodule.span ℚ (Set.range (fun t : Local.IntegralType s => CentralConvolution.sphericalBasis s q t.val)) |
| 27 | |
| 28 | theorem integralSphericalSpan_basis (t : Local.IntegralType s) : |
| 29 | CentralConvolution.sphericalBasis s q t.val ∈ integralSphericalSpan s q := |
| 30 | Submodule.subset_span ⟨t, rfl⟩ |
| 31 | |
| 32 | theorem integralSphericalSpan_one : (1 : HeckeKernel.Hecke s q) ∈ integralSphericalSpan s q := by |
| 33 | rw [← sphericalBasis_identity s q] |
| 34 | exact integralSphericalSpan_basis s q _ |
| 35 | |
| 36 | theorem integralSphericalSpan_mul (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) (x y : HeckeKernel.Hecke s q) |
| 37 | (hx : x ∈ integralSphericalSpan s q) (hy : y ∈ integralSphericalSpan s q) : |
| 38 | x * y ∈ integralSphericalSpan s q := by |
| 39 | apply LinearMap.BilinMap.apply_apply_mem_of_mem_span (integralSphericalSpan s q) |
| 40 | (Set.range (fun t : Local.IntegralType s => CentralConvolution.sphericalBasis s q t.val)) |
| 41 | (Set.range (fun t : Local.IntegralType s => CentralConvolution.sphericalBasis s q t.val)) |
| 42 | (LinearMap.mul ℚ (HeckeKernel.Hecke s q)) ?_ x y hx hy |
| 43 | rintro _ ⟨u, rfl⟩ _ ⟨v, rfl⟩ |
| 44 | change CentralConvolution.sphericalBasis s q u.val * CentralConvolution.sphericalBasis s q v.val ∈ _ |
| 45 | rw [ConvolutionCoefficients.spherical_convolution s q hElementaryDivisors] |
| 46 | exact Submodule.sum_mem _ (fun w _ => nsmul_mem (integralSphericalSpan_basis s q w) _) |
| 47 | |
| 48 | def integralSphericalAlgebra (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) : Subalgebra ℚ (HeckeKernel.Hecke s q) := |
| 49 | (integralSphericalSpan s q).toSubalgebra (integralSphericalSpan_one s q) |
| 50 | (integralSphericalSpan_mul s q hElementaryDivisors) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IntegralSphericalAlgebra |