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.Algebra.Module.Pi |
| 3 | |
| 4 | /-! # Compatible Bilinear Product -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CompatibleBilinearProduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A pointwise bilinear operation restricts to submodules of compatible |
| 11 | families whenever its actual coordinates satisfy the compatibility relation. -/ |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] (V : ℕ → ℕ → Type v) |
| 16 | [∀ n i, AddCommGroup (V n i)] [∀ n i, Module R (V n i)] |
| 17 | (C : ∀ i, Submodule R (∀ n, V n i)) |
| 18 | (b : ∀ n i j, V n i →ₗ[R] V n j →ₗ[R] V n (i + j)) |
| 19 | (hb : ∀ i j (x : C i) (y : C j), (fun n => b n i j (x.val n) (y.val n)) ∈ C (i + j)) |
| 20 | |
| 21 | def cup (i j : ℕ) : C i →ₗ[R] C j →ₗ[R] C (i + j) := |
| 22 | LinearMap.mk₂ R (fun (x : C i) (y : C j) => |
| 23 | (⟨fun n => b n i j (x.val n) (y.val n), hb i j x y⟩ : C (i + j))) |
| 24 | (fun x z y => Subtype.ext (funext (fun n => LinearMap.congr_fun ((b n i j).map_add (x.val n) (z.val n)) (y.val n)))) |
| 25 | (fun r x y => Subtype.ext (funext (fun n => LinearMap.congr_fun ((b n i j).map_smul r (x.val n)) (y.val n)))) |
| 26 | (fun x y z => Subtype.ext (funext (fun n => (b n i j (x.val n)).map_add (y.val n) (z.val n)))) |
| 27 | (fun r x y => Subtype.ext (funext (fun n => (b n i j (x.val n)).map_smul r (y.val n)))) |
| 28 | |
| 29 | theorem coordinate (i j n : ℕ) (x : C i) (y : C j) : |
| 30 | (cup R V C b hb i j x y).val n = b n i j (x.val n) (y.val n) := rfl |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CompatibleBilinearProduct |