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.PadicHodge.IntegralComparison.FiniteEtale.TraceDuality |
| 2 | import Mathlib.LinearAlgebra.Contraction |
| 3 | |
| 4 | /-! # Line Trace -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.LineTrace |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite étale duality with a genuine coefficient line (or module). |
| 11 | The tensor extension of the algebra trace is exactly evaluation at one. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | variable (A B : Type u) [CommRing A] [CommRing B] [Algebra A B] |
| 17 | [Module.Free A B] [Module.Finite A B] [Algebra.Etale A B] |
| 18 | (L : Type u) [AddCommGroup L] [Module A L] |
| 19 | |
| 20 | def equiv : B ⊗[A] L ≃ₗ[A] (B →ₗ[A] L) := |
| 21 | (TensorProduct.congr (TraceDuality.equiv A B) (LinearEquiv.refl A L)).trans |
| 22 | (dualTensorHomEquiv A B L) |
| 23 | |
| 24 | theorem equiv_tmul (b x : B) (l : L) : |
| 25 | equiv A B L (b ⊗ₜ[A] l) x = Algebra.trace A B (b * x) • l := rfl |
| 26 | |
| 27 | def trace : B ⊗[A] L →ₗ[A] L := |
| 28 | (TensorProduct.lid A L).toLinearMap.comp ((Algebra.trace A B).rTensor L) |
| 29 | |
| 30 | omit [Module.Free A B] [Module.Finite A B] [Algebra.Etale A B] in |
| 31 | theorem trace_tmul (b : B) (l : L) : |
| 32 | LineTrace.trace A B L (b ⊗ₜ[A] l) = Algebra.trace A B b • l := rfl |
| 33 | |
| 34 | theorem trace_eq_eval_one (x : B ⊗[A] L) : LineTrace.trace A B L x = equiv A B L x 1 := by |
| 35 | induction x using TensorProduct.inductionOn with |
| 36 | | add x y hx hy => simp only [map_add, LinearMap.add_apply, hx, hy] |
| 37 | | tmul b l => rw [trace_tmul, equiv_tmul, mul_one] |
| 38 | |
| 39 | theorem trace_symm (f : B →ₗ[A] L) : |
| 40 | LineTrace.trace A B L ((equiv A B L).symm f) = f 1 := by |
| 41 | rw [trace_eq_eval_one, LinearEquiv.apply_symm_apply] |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.LineTrace |