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.BilinearMap |
| 2 | import Mathlib.LinearAlgebra.Span.Basic |
| 3 | |
| 4 | /-! # Bilinear Diagonal -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BilinearDiagonal.BilinearDiagonalSpan |
| 7 | |
| 8 | /-! Alternation of a skew bilinear map can be checked on a spanning set, including in characteristic two. -/ |
| 9 | |
| 10 | universe u v w |
| 11 | |
| 12 | variable {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 13 | {N : Type w} [AddCommGroup N] [Module R N] |
| 14 | |
| 15 | theorem diagonal_zero (B : M →ₗ[R] M →ₗ[R] N) (s : Set M) |
| 16 | (hs : Submodule.span R s = ⊤) (hskew : ∀ x y, B x y + B y x = 0) |
| 17 | (hgen : ∀ x ∈ s, B x x = 0) (x : M) : B x x = 0 := by |
| 18 | have hx : x ∈ Submodule.span R s := hs.symm ▸ Submodule.mem_top |
| 19 | induction hx using Submodule.span_induction with |
| 20 | | mem x hx => exact hgen x hx |
| 21 | | zero => simp only [map_zero] |
| 22 | | add x y _ _ hx hy => |
| 23 | simp only [map_add, LinearMap.add_apply, hx, hy, zero_add, add_zero] |
| 24 | exact hskew y x |
| 25 | | smul a x _ hx => |
| 26 | simp only [map_smul, LinearMap.smul_apply, hx, smul_zero] |
| 27 | |
| 28 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BilinearDiagonal.BilinearDiagonalSpan |