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.ArithmeticGroups.Lattices.SemilinearBasisCoordinates |
| 2 | import Mathlib.LinearAlgebra.Trace |
| 3 | |
| 4 | /-! # Semilinear Trace -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.SemilinearTrace.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Trace is compatible with a semilinear intertwiner carrying one |
| 11 | basis onto another. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | theorem semilinear_intertwining_trace |
| 16 | {R S V W ι : Type*} [CommRing R] [CommRing S] |
| 17 | [AddCommGroup V] [Module R V] [AddCommGroup W] [Module S W] |
| 18 | [Fintype ι] |
| 19 | (σ : R →+* S) (b : Module.Basis ι R V) (c : Module.Basis ι S W) |
| 20 | (f : V →ₛₗ[σ] W) (hf : ∀ i, f (b i) = c i) |
| 21 | (A : Module.End R V) (B : Module.End S W) (hAB : ∀ x, f (A x) = B (f x)) : |
| 22 | σ (LinearMap.trace R V A) = LinearMap.trace S W B := by |
| 23 | rw [LinearMap.trace_eq_matrix_trace R b, LinearMap.trace_eq_matrix_trace S c, |
| 24 | ← SemilinearBasisCoordinates.Construction.semilinear_intertwining_matrix σ b c f hf A B hAB] |
| 25 | simp only [Matrix.trace, Matrix.diag, map_sum, Matrix.map_apply] |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.NumberTheory.ArithmeticGroups.Lattices.SemilinearTrace.Construction |