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.Dual.BaseChange |
| 2 | import Mathlib.Tactic |
| 3 | |
| 4 | /-! # Tensor Dual Ext -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.TensorDualExt.DualBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Functionals on a scalar extension are determined by the original vectors. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable {R S V W : Type*} [Field R] [Field S] [Algebra R S] |
| 15 | [AddCommGroup V] [Module R V] [AddCommGroup W] [Module S W] |
| 16 | |
| 17 | theorem ext_via_tensor (e : (S ⊗[R] V) ≃ₗ[S] W) (f g : Module.Dual S W) |
| 18 | (h : ∀ v, f (e (1 ⊗ₜ[R] v)) = g (e (1 ⊗ₜ[R] v))) : f = g := by |
| 19 | apply LinearMap.ext |
| 20 | intro w |
| 21 | obtain ⟨x, rfl⟩ := e.surjective w |
| 22 | induction x using TensorProduct.inductionOn with |
| 23 | | tmul s v => |
| 24 | have hs : s ⊗ₜ[R] v = s • ((1 : S) ⊗ₜ[R] v) := by |
| 25 | rw [TensorProduct.smul_tmul', smul_eq_mul, mul_one] |
| 26 | rw [hs, e.map_smul, f.map_smul, g.map_smul, h v] |
| 27 | | add x y hx hy => simp only [map_add, hx, hy] |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.NumberTheory.PadicHodge.GeometricComparison.TensorDualExt.DualBaseChange |