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.RepresentationTheory.Theta.Geometric.PolynomialIntertwining |
| 2 | import Mathlib.LinearAlgebra.FreeModule.Finite.Basic |
| 3 | |
| 4 | /-! # Lattice Integral Operator -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.LatticeIntegralOperator |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Preserving an actual full integral lattice makes a rational or |
| 11 | number-field-linear operator integral over the integers. The annihilating |
| 12 | polynomial is the characteristic polynomial of its lattice restriction. -/ |
| 13 | |
| 14 | open _root_.Polynomial |
| 15 | |
| 16 | theorem lattice_operator_isIntegral {E V I : Type*} [Field E] [Algebra ℚ E] |
| 17 | [AddCommGroup V] [Module ℚ V] [Module E V] [IsScalarTower ℚ E V] [Fintype I] |
| 18 | (L : Submodule ℤ V) (b : Module.Basis I ℤ L) |
| 19 | (hspan : Submodule.span ℚ (L : Set V) = ⊤) (f : Module.End E V) |
| 20 | (hf : ∀ x ∈ L, f x ∈ L) : IsIntegral ℤ f := by |
| 21 | let : Module.Finite ℤ L := Module.Finite.of_basis b |
| 22 | let : Module.Free ℤ L := Module.Free.of_basis b |
| 23 | let g : Module.End ℤ L := (f.restrictScalars ℤ).restrict hf |
| 24 | have hz (x : L) : aeval f g.charpoly x.val = 0 := by |
| 25 | have h := PolynomialIntertwining.polynomial_intertwining_apply g f L.subtype (fun _ => rfl) g.charpoly x |
| 26 | rw [g.aeval_self_charpoly, LinearMap.zero_apply, map_zero] at h |
| 27 | exact h |
| 28 | have he : (aeval f g.charpoly).restrictScalars ℚ = 0 := by |
| 29 | apply LinearMap.ext_on hspan |
| 30 | intro x hx |
| 31 | exact hz ⟨x, hx⟩ |
| 32 | refine ⟨g.charpoly, g.charpoly_monic, ?_⟩ |
| 33 | apply LinearMap.ext |
| 34 | intro x |
| 35 | exact LinearMap.congr_fun he x |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.RepresentationTheory.Theta.Geometric.LatticeIntegralOperator |