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.RingTheory.Trace.Defs |
| 2 | |
| 3 | /-! # Algebra Trace -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.AlgebraTrace |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The trace of a finite free algebra, divided by its invertible rank, is an explicit linear retraction of the structural algebra map. -/ |
| 10 | universe u v |
| 11 | |
| 12 | variable {R : Type u} {A : Type v} [CommRing R] [CommRing A] [Algebra R A] |
| 13 | |
| 14 | def normalizedAlgebraTrace (u : Rˣ) : A →ₗ[R] R := (↑u⁻¹ : R) • Algebra.trace R A |
| 15 | |
| 16 | theorem normalizedAlgebraTrace_algebraMap {n : ℕ} (b : Module.Basis (Fin n) R A) |
| 17 | (u : Rˣ) (hu : (u : R) = n) (r : R) : |
| 18 | normalizedAlgebraTrace (A := A) u (algebraMap R A r) = r := by |
| 19 | change (↑u⁻¹ : R) * Algebra.trace R A (algebraMap R A r) = r |
| 20 | rw [Algebra.trace_algebraMap_of_basis b, Fintype.card_fin, nsmul_eq_mul, ← hu, ← mul_assoc] |
| 21 | simp |
| 22 | |
| 23 | theorem normalizedAlgebraTrace_one {n : ℕ} (b : Module.Basis (Fin n) R A) |
| 24 | (u : Rˣ) (hu : (u : R) = n) : normalizedAlgebraTrace (A := A) u 1 = 1 := by |
| 25 | simpa only [map_one] using normalizedAlgebraTrace_algebraMap b u hu 1 |
| 26 | |
| 27 | theorem normalizedAlgebraTrace_comp_algebraLinearMap {n : ℕ} (b : Module.Basis (Fin n) R A) |
| 28 | (u : Rˣ) (hu : (u : R) = n) : |
| 29 | (normalizedAlgebraTrace (A := A) u).comp (Algebra.linearMap R A) = LinearMap.id := by |
| 30 | apply LinearMap.ext |
| 31 | intro r |
| 32 | exact normalizedAlgebraTrace_algebraMap b u hu r |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.AlgebraTrace |