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.NumberTheory.Quaternion.Arithmetic.SpectralRationalSpan |
| 2 | |
| 3 | /-! # Integer Spectral Span -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.IntegerSpectralSpan |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite eigenvalue families are spanned by integer-valued additive |
| 10 | spectral changes. Each such change integrates to a cocharacter once it |
| 11 | is applied to an algebraic infinitesimal matrix. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open Set |
| 15 | |
| 16 | variable {K ι : Type*} [Field K] [CharZero K] [Fintype ι] |
| 17 | |
| 18 | def integerSpectralVectors (w : ι → K) : Set (ι → K) := |
| 19 | {z | ∃ m : ι → ℤ, z = (fun i => (m i : K)) ∧ |
| 20 | ∃ ψ : K →+ K, ∀ i, ψ (w i) = (m i : K)} |
| 21 | |
| 22 | theorem rational_projection_mem_integer_spectral_span (w : ι → K) (φ : K →ₗ[ℚ] ℚ) : |
| 23 | (fun i => (φ (w i) : K)) ∈ Submodule.span K (integerSpectralVectors w) := by |
| 24 | obtain ⟨D, hD, m, hm⟩ := SpectralRationalSpan.finite_rational_family_integer_multiple (fun i => φ (w i)) |
| 25 | let ψ : K →+ K := { |
| 26 | toFun x := (D : K) * (φ x : K) |
| 27 | map_zero' := by simp |
| 28 | map_add' := fun x y => by simp [mul_add] } |
| 29 | have hψ (i : ι) : ψ (w i) = (m i : K) := by |
| 30 | have h := congrArg (Rat.castHom K) (hm i) |
| 31 | change (D : K) * (φ (w i) : K) = (m i : K) |
| 32 | simpa only [map_mul, Rat.coe_castHom, Rat.cast_intCast] using h.symm |
| 33 | have hmem : (fun i => (m i : K)) ∈ Submodule.span K (integerSpectralVectors w) := |
| 34 | Submodule.subset_span ⟨m, rfl, ψ, hψ⟩ |
| 35 | have he : (fun i => (m i : K)) = (D : K) • (fun i => (φ (w i) : K)) := |
| 36 | funext fun i => (hψ i).symm |
| 37 | have hD' : (D : K) ≠ 0 := Int.cast_ne_zero.mpr hD |
| 38 | have hs := (Submodule.span K (integerSpectralVectors w)).smul_mem (D : K)⁻¹ hmem |
| 39 | rw [he] at hs |
| 40 | simpa only [smul_smul, inv_mul_cancel₀ hD', one_smul] using hs |
| 41 | |
| 42 | theorem finite_family_mem_integer_spectral_span (w : ι → K) : |
| 43 | w ∈ Submodule.span K (integerSpectralVectors w) := by |
| 44 | have hle : Submodule.span K |
| 45 | {z : ι → K | ∃ φ : K →ₗ[ℚ] ℚ, z = fun i => (φ (w i) : K)} ≤ |
| 46 | Submodule.span K (integerSpectralVectors w) := by |
| 47 | apply Submodule.span_le.mpr |
| 48 | rintro z ⟨φ, rfl⟩ |
| 49 | exact rational_projection_mem_integer_spectral_span w φ |
| 50 | exact hle (SpectralRationalSpan.finite_family_mem_span_rational_projections w) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.Quaternion.Arithmetic.IntegerSpectralSpan |