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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.AlgebraTrace |
| 2 | import Mathlib.RingTheory.TensorProduct.IsBaseChangeFree |
| 3 | |
| 4 | /-! # Algebra Trace Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Free.AlgebraTraceBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Algebra trace for finite free algebras commutes with every actual scalar extension, using the transported finite basis. -/ |
| 11 | universe u v w z |
| 12 | |
| 13 | variable {R : Type u} {A : Type v} {S : Type w} {B : Type z} |
| 14 | variable [CommRing R] [CommRing A] [CommRing S] [CommRing B] |
| 15 | variable [Algebra R A] [Algebra R S] [Algebra S B] [Algebra R B] [IsScalarTower R S B] |
| 16 | |
| 17 | theorem freeAlgebraTrace_baseChange {ι : Type*} [Fintype ι] |
| 18 | (b : Module.Basis ι R A) (ε : A →ₐ[R] B) (h : IsBaseChange S ε.toLinearMap) (a : A) : |
| 19 | Algebra.trace S B (ε a) = algebraMap R S (Algebra.trace R A a) := by |
| 20 | classical |
| 21 | rw [Algebra.trace_eq_matrix_trace (h.basis b), Algebra.trace_eq_matrix_trace b, |
| 22 | AddMonoidHom.map_trace] |
| 23 | congr 1 |
| 24 | ext i j |
| 25 | simp only [Matrix.map_apply, Algebra.leftMulMatrix_eq_repr_mul, h.basis_apply] |
| 26 | change (h.basis b).repr (ε a * ε (b j)) i = _ |
| 27 | rw [← map_mul ε] |
| 28 | exact h.basis_repr_comp_apply b (a * b j) i |
| 29 | |
| 30 | theorem normalizedAlgebraTrace_baseChange {ι : Type*} [Fintype ι] |
| 31 | (b : Module.Basis ι R A) (ε : A →ₐ[R] B) (h : IsBaseChange S ε.toLinearMap) |
| 32 | (u : Rˣ) (a : A) : |
| 33 | Normalized.AlgebraTrace.normalizedAlgebraTrace (A := B) (Units.map (algebraMap R S) u) (ε a) = |
| 34 | algebraMap R S (Normalized.AlgebraTrace.normalizedAlgebraTrace (A := A) u a) := by |
| 35 | change algebraMap R S (↑u⁻¹ : R) * Algebra.trace S B (ε a) = |
| 36 | algebraMap R S ((↑u⁻¹ : R) * Algebra.trace R A a) |
| 37 | rw [freeAlgebraTrace_baseChange b ε h a, map_mul] |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Free.AlgebraTraceBaseChange |