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.Basic |
| 2 | import Mathlib.RingTheory.TensorProduct.Free |
| 3 | |
| 4 | /-! # Algebra Trace Base Change -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.AlgebraTraceBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Canonical algebra trace after base change -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable (R S A : Type*) [CommRing R] [CommRing S] [CommRing A] |
| 15 | [Algebra R S] [Algebra R A] |
| 16 | |
| 17 | theorem multiplication (y : S) : |
| 18 | Algebra.lmul A (A ⊗[R] S) (1 ⊗ₜ[R] y) = (Algebra.lmul R S y).baseChange A := by |
| 19 | ext a |
| 20 | simp [Algebra.TensorProduct.tmul_mul_tmul] |
| 21 | |
| 22 | variable [Module.Free R S] [Module.Finite R S] |
| 23 | |
| 24 | theorem includeRight (y : S) : |
| 25 | Algebra.trace A (A ⊗[R] S) (1 ⊗ₜ[R] y) = algebraMap R A (Algebra.trace R S y) := by |
| 26 | rw [Algebra.trace_apply, multiplication, LinearMap.trace_baseChange] |
| 27 | rfl |
| 28 | |
| 29 | theorem tmul (a : A) (y : S) : |
| 30 | Algebra.trace A (A ⊗[R] S) (a ⊗ₜ[R] y) = a * algebraMap R A (Algebra.trace R S y) := by |
| 31 | have h := (Algebra.trace A (A ⊗[R] S)).map_smul a (1 ⊗ₜ[R] y) |
| 32 | simpa only [TensorProduct.smul_tmul', smul_eq_mul, mul_one, includeRight R S A] using h |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.AlgebraTraceBaseChange |