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.ExteriorAlgebra.Basic |
| 2 | |
| 3 | /-! # Word Sign -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Exterior.WordSign |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Moving one exterior generator through a word contributes its |
| 10 | degree sign, over an arbitrary commutative coefficient ring. -/ |
| 11 | |
| 12 | variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 13 | |
| 14 | theorem generator_word (x : M) (n : ℕ) (v : Fin n → M) : |
| 15 | ExteriorAlgebra.ι R x * ExteriorAlgebra.ιMulti R n v = |
| 16 | (-1 : ℤ) ^ n • (ExteriorAlgebra.ιMulti R n v * ExteriorAlgebra.ι R x) := by |
| 17 | induction n with |
| 18 | | zero => simp only [ExteriorAlgebra.ιMulti_zero_apply, mul_one, one_mul, pow_zero, one_smul] |
| 19 | | succ n ih => |
| 20 | rw [ExteriorAlgebra.ιMulti_succ_apply] |
| 21 | have hswap : ExteriorAlgebra.ι R x * ExteriorAlgebra.ι R (v 0) = |
| 22 | -(ExteriorAlgebra.ι R (v 0) * ExteriorAlgebra.ι R x) := |
| 23 | eq_neg_iff_add_eq_zero.mpr (ExteriorAlgebra.ι_add_mul_swap x (v 0)) |
| 24 | calc |
| 25 | _ = -(ExteriorAlgebra.ι R (v 0) * |
| 26 | (ExteriorAlgebra.ι R x * ExteriorAlgebra.ιMulti R n (Matrix.vecTail v))) := by |
| 27 | rw [← mul_assoc, hswap, neg_mul, mul_assoc] |
| 28 | _ = -(ExteriorAlgebra.ι R (v 0) * |
| 29 | ((-1 : ℤ) ^ n • (ExteriorAlgebra.ιMulti R n (Matrix.vecTail v) * ExteriorAlgebra.ι R x))) := by |
| 30 | rw [ih] |
| 31 | _ = _ := by |
| 32 | simp only [pow_succ, mul_neg_one, neg_smul, mul_smul_comm, mul_assoc] |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Exterior.WordSign |