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.Basis.Defs |
| 2 | |
| 3 | /-! # Semilinear Basis Vectors -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SemilinearBasisVectors |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: a semilinear map on finite basis expansions |
| 11 | -/ |
| 12 | |
| 13 | universe u v w z t |
| 14 | |
| 15 | variable {R : Type u} {S : Type v} [Semiring R] [Semiring S] |
| 16 | {M : Type w} {N : Type z} [AddCommMonoid M] [AddCommMonoid N] [Module R M] [Module S N] |
| 17 | {ι : Type t} [Fintype ι] |
| 18 | |
| 19 | theorem map_vectors (φ : R →+* S) (f : M →+ N) |
| 20 | (hf : ∀ r m, f (r • m) = φ r • f m) |
| 21 | (b : Module.Basis ι R M) (c : Module.Basis ι S N) (hb : ∀ i, f (b i) = c i) (x : ι → R) : |
| 22 | f (b.equivFun.symm x) = c.equivFun.symm (fun i => φ (x i)) := by |
| 23 | rw [Module.Basis.equivFun_symm_apply, map_sum, Module.Basis.equivFun_symm_apply] |
| 24 | apply Finset.sum_congr rfl |
| 25 | intro i _ |
| 26 | exact (hf (x i) (b i)).trans (congrArg (fun m => φ (x i) • m) (hb i)) |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SemilinearBasisVectors |