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.ArithmeticGroups.Lattices.KillingCocycleContraction |
| 2 | |
| 3 | /-! # Jacobi Linearization -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.JacobiLinearization.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The Jacobi equations are quadratic in the bracket. Their |
| 10 | linearization at a Lie bracket is the second cochain differential. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open LieAlgebra LieModule.Cohomology |
| 14 | |
| 15 | def jacobiPair {k V : Type*} [Field k] [AddCommGroup V] [Module k V] |
| 16 | (B C : V →ₗ[k] V →ₗ[k] V) : V →ₗ[k] V →ₗ[k] V →ₗ[k] V where |
| 17 | toFun x := { |
| 18 | toFun y := { |
| 19 | toFun z := B x (C y z) - B y (C x z) - B (C x y) z |
| 20 | map_add' z w := by simp; abel |
| 21 | map_smul' c z := by simp [smul_sub] } |
| 22 | map_add' y z := by ext w; simp; abel |
| 23 | map_smul' c y := by ext z; simp [smul_sub] } |
| 24 | map_add' x y := by ext z w; simp; abel |
| 25 | map_smul' c x := by ext y z; simp [smul_sub] |
| 26 | |
| 27 | theorem jacobiPair_apply {k V : Type*} [Field k] [AddCommGroup V] [Module k V] |
| 28 | (B C : V →ₗ[k] V →ₗ[k] V) (x y z : V) : |
| 29 | jacobiPair B C x y z = B x (C y z) - B y (C x z) - B (C x y) z := rfl |
| 30 | |
| 31 | def jacobiBilinear {k V : Type*} [Field k] [AddCommGroup V] [Module k V] : |
| 32 | (V →ₗ[k] V →ₗ[k] V) →ₗ[k] (V →ₗ[k] V →ₗ[k] V) →ₗ[k] |
| 33 | V →ₗ[k] V →ₗ[k] V →ₗ[k] V where |
| 34 | toFun B := { |
| 35 | toFun C := jacobiPair B C |
| 36 | map_add' C D := by |
| 37 | ext x y z |
| 38 | simp only [jacobiPair_apply, LinearMap.add_apply, map_add] |
| 39 | abel |
| 40 | map_smul' c C := by |
| 41 | ext x y z |
| 42 | simp [jacobiPair_apply, smul_sub] } |
| 43 | map_add' B C := by |
| 44 | ext D x y z |
| 45 | simp [jacobiPair_apply] |
| 46 | abel |
| 47 | map_smul' c B := by |
| 48 | ext C x y z |
| 49 | simp [jacobiPair_apply, smul_sub] |
| 50 | |
| 51 | def jacobiLinearization {k V : Type*} [Field k] [AddCommGroup V] [Module k V] |
| 52 | (B : V →ₗ[k] V →ₗ[k] V) : |
| 53 | (V →ₗ[k] V →ₗ[k] V) →ₗ[k] V →ₗ[k] V →ₗ[k] V →ₗ[k] V := |
| 54 | jacobiBilinear B + jacobiBilinear.flip B |
| 55 | |
| 56 | theorem jacobi_perturbation |
| 57 | {k V : Type*} [Field k] [AddCommGroup V] [Module k V] |
| 58 | (B C : V →ₗ[k] V →ₗ[k] V) : |
| 59 | jacobiPair (B + C) (B + C) = jacobiPair B B + jacobiLinearization B C + jacobiPair C C := by |
| 60 | change jacobiBilinear (B + C) (B + C) = _ |
| 61 | simp only [map_add, LinearMap.add_apply, jacobiLinearization, LinearMap.flip_apply] |
| 62 | change jacobiPair B B + jacobiPair C B + (jacobiPair B C + jacobiPair C C) = |
| 63 | jacobiPair B B + (jacobiPair B C + jacobiPair C B) + jacobiPair C C |
| 64 | abel |
| 65 | |
| 66 | attribute [local instance] LieRing.ofAssociativeRing |
| 67 | |
| 68 | theorem jacobiPair_lie_self |
| 69 | {k L : Type*} [Field k] [LieRing L] [LieAlgebra k L] : |
| 70 | jacobiPair (ad k L).toLinearMap (ad k L).toLinearMap = 0 := by |
| 71 | ext x y z |
| 72 | change ⁅x, ⁅y, z⁆⁆ - ⁅y, ⁅x, z⁆⁆ - ⁅⁅x, y⁆, z⁆ = 0 |
| 73 | rw [leibniz_lie x y z] |
| 74 | abel |
| 75 | |
| 76 | theorem jacobiLinearization_eq_coboundary |
| 77 | {k L : Type*} [Field k] [LieRing L] [LieAlgebra k L] (c : twoCochain k L L) : |
| 78 | jacobiLinearization (ad k L).toLinearMap c.val = d₂₃ k L L c := by |
| 79 | ext x y z |
| 80 | change (⁅x, c y z⁆ - ⁅y, c x z⁆ - ⁅c x y, z⁆) + |
| 81 | (c x ⁅y, z⁆ - c y ⁅x, z⁆ - c ⁅x, y⁆ z) = _ |
| 82 | rw [d₂₃_apply, ← lie_skew (c x y) z, |
| 83 | ← twoCochain_skew c ⁅y, z⁆ x, ← twoCochain_skew c ⁅x, z⁆ y] |
| 84 | abel |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.ArithmeticGroups.Lattices.JacobiLinearization.Construction |