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 Mathlib.LinearAlgebra.Charpoly.Basic |
| 2 | |
| 3 | /-! # Polynomial Intertwining -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.PolynomialIntertwining |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Polynomial evaluation respects an actual intertwining linear map, |
| 10 | including when the target has a larger scalar ring. -/ |
| 11 | |
| 12 | open _root_.Polynomial |
| 13 | |
| 14 | variable {R S V W : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 15 | [AddCommGroup V] [Module R V] |
| 16 | [AddCommGroup W] [Module R W] [Module S W] [IsScalarTower R S W] |
| 17 | |
| 18 | theorem polynomial_intertwining_apply (f : Module.End R V) (g : Module.End S W) |
| 19 | (i : V →ₗ[R] W) (hi : ∀ x, g (i x) = i (f x)) (p : R[X]) (x : V) : |
| 20 | aeval g p (i x) = i (aeval f p x) := by |
| 21 | have hpow (n : ℕ) : ∀ x, (g ^ n) (i x) = i ((f ^ n) x) := by |
| 22 | induction n with |
| 23 | | zero => intro x; rfl |
| 24 | | succ n hn => |
| 25 | intro x |
| 26 | rw [pow_succ', pow_succ', Module.End.mul_apply, Module.End.mul_apply, hn, hi] |
| 27 | induction p using Polynomial.induction_on' with |
| 28 | | add p q hp hq => |
| 29 | rw [map_add, map_add, LinearMap.add_apply, LinearMap.add_apply, hp, hq, map_add] |
| 30 | | monomial n a => |
| 31 | rw [aeval_monomial, aeval_monomial, Module.End.mul_apply, Module.End.mul_apply, |
| 32 | Algebra.algebraMap_eq_smul_one, Algebra.algebraMap_eq_smul_one, |
| 33 | LinearMap.smul_apply, LinearMap.smul_apply, Module.End.one_apply, Module.End.one_apply, |
| 34 | hpow, map_smul] |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.RepresentationTheory.Theta.Geometric.PolynomialIntertwining |