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.InvariantDualTensor |
| 2 | import Mathlib.Algebra.Lie.Cochain |
| 3 | |
| 4 | /-! # Killing Cocycle Contraction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.KillingCocycleContraction.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! An explicit contraction of adjoint-valued two-cocycles for a |
| 13 | finite-dimensional Lie algebra with nondegenerate Killing form. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open _root_.Module LieAlgebra |
| 17 | |
| 18 | attribute [local instance] LieRing.ofAssociativeRing |
| 19 | |
| 20 | def killingCocycleContraction |
| 21 | {k L ι : Type*} [Field k] [LieRing L] [LieAlgebra k L] [Fintype ι] |
| 22 | (hB : (killingForm k L).Nondegenerate) (b : Basis ι k L) |
| 23 | (φ : L →ₗ[k] L →ₗ[k] L) : L →ₗ[k] L := |
| 24 | ∑ i, (ad k L (b i)).comp (φ ((killingForm k L).dualBasis hB b i)) |
| 25 | |
| 26 | theorem killing_contraction_lie |
| 27 | {k L ι : Type*} [Field k] [LieRing L] [LieAlgebra k L] [Fintype ι] |
| 28 | (hB : (killingForm k L).Nondegenerate) (b : Basis ι k L) |
| 29 | (φ : L →ₗ[k] L →ₗ[k] L) (x y : L) : |
| 30 | (∑ i, ⁅x, ⁅b i, φ ((killingForm k L).dualBasis hB b i) y⁆⁆) = |
| 31 | ∑ i, ⁅b i, ⁅x, φ ((killingForm k L).dualBasis hB b i) y⁆ - |
| 32 | φ ⁅x, (killingForm k L).dualBasis hB b i⁆ y⁆ := by |
| 33 | let d := (killingForm k L).dualBasis hB b |
| 34 | have hd : (∑ i, ⁅⁅x, b i⁆, φ (d i) y⁆) + (∑ i, ⁅b i, φ ⁅x, d i⁆ y⁆) = 0 := |
| 35 | InvariantDualTensor.Construction.killing_dualBasis_lie_sum hB b x ((ad k L).toLinearMap.compl₂ (φ.flip y)) |
| 36 | have hm : (∑ i, ⁅⁅x, b i⁆, φ (d i) y⁆) = -(∑ i, ⁅b i, φ ⁅x, d i⁆ y⁆) := |
| 37 | eq_neg_iff_add_eq_zero.mpr hd |
| 38 | change (∑ i, ⁅x, ⁅b i, φ (d i) y⁆⁆) = ∑ i, ⁅b i, ⁅x, φ (d i) y⁆ - φ ⁅x, d i⁆ y⁆ |
| 39 | calc |
| 40 | _ = ∑ i, (⁅⁅x, b i⁆, φ (d i) y⁆ + ⁅b i, ⁅x, φ (d i) y⁆⁆) := by |
| 41 | apply Finset.sum_congr rfl |
| 42 | intro i _ |
| 43 | exact leibniz_lie x (b i) (φ (d i) y) |
| 44 | _ = _ := by |
| 45 | simp only [lie_sub, Finset.sum_add_distrib, Finset.sum_sub_distrib, hm] |
| 46 | abel |
| 47 | |
| 48 | theorem killing_cocycle_contraction_coboundary |
| 49 | {k L ι : Type*} [Field k] [LieRing L] [LieAlgebra k L] [Fintype ι] |
| 50 | (hB : (killingForm k L).Nondegenerate) (b : Basis ι k L) |
| 51 | (φ : L →ₗ[k] L →ₗ[k] L) (hskew : ∀ x y, φ x y = -φ y x) |
| 52 | (hcoc : ∀ x y z, ⁅x, φ y z⁆ - ⁅y, φ x z⁆ + ⁅z, φ x y⁆ - |
| 53 | φ ⁅x, y⁆ z + φ ⁅x, z⁆ y - φ ⁅y, z⁆ x = 0) (x y : L) : |
| 54 | ⁅x, killingCocycleContraction hB b φ y⁆ - ⁅y, killingCocycleContraction hB b φ x⁆ - |
| 55 | killingCocycleContraction hB b φ ⁅x, y⁆ = φ x y := by |
| 56 | let d := (killingForm k L).dualBasis hB b |
| 57 | have hc (i : ι) : (⁅x, φ (d i) y⁆ - φ ⁅x, d i⁆ y) - |
| 58 | (⁅y, φ (d i) x⁆ - φ ⁅y, d i⁆ x) - φ (d i) ⁅x, y⁆ = ⁅d i, φ x y⁆ := by |
| 59 | have h := hcoc (d i) x y |
| 60 | rw [← lie_skew (d i) x, ← lie_skew (d i) y, map_neg, LinearMap.neg_apply, |
| 61 | map_neg, LinearMap.neg_apply, hskew ⁅x, y⁆ (d i)] at h |
| 62 | apply sub_eq_zero.mp |
| 63 | convert congrArg (fun z : L => -z) h using 1 <;> abel |
| 64 | simp only [killingCocycleContraction, LinearMap.sum_apply, LinearMap.comp_apply, ad_apply, lie_sum] |
| 65 | rw [killing_contraction_lie hB b φ x y, killing_contraction_lie hB b φ y x, |
| 66 | ← Finset.sum_sub_distrib, ← Finset.sum_sub_distrib] |
| 67 | calc |
| 68 | _ = ∑ i, ⁅b i, ⁅d i, φ x y⁆⁆ := by |
| 69 | apply Finset.sum_congr rfl |
| 70 | intro i _ |
| 71 | rw [← lie_sub, ← lie_sub, hc i] |
| 72 | _ = φ x y := InvariantDualTensor.Construction.killing_casimir_apply hB b (φ x y) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | /-! Adjoint-valued second cohomology vanishes when the Killing form |
| 77 | is nondegenerate. The proof supplies an explicit coboundary. -/ |
| 78 | |
| 79 | open scoped Classical |
| 80 | open _root_.Module LieModule.Cohomology |
| 81 | |
| 82 | theorem killing_twoCocycle_is_coboundary |
| 83 | {k L : Type*} [Field k] [LieRing L] [LieAlgebra k L] [FiniteDimensional k L] |
| 84 | (hB : (killingForm k L).Nondegenerate) (c : twoCocycle k L L) : |
| 85 | ∃ T : L →ₗ[k] L, d₁₂ k L L T = c.val := by |
| 86 | let b := Module.finBasis k L |
| 87 | let φ := c.val.val |
| 88 | have hs : ∀ x y, φ x y = -φ y x := fun x y => (twoCochain_skew c.val y x).symm |
| 89 | have hc : ∀ x y z, ⁅x, φ y z⁆ - ⁅y, φ x z⁆ + ⁅z, φ x y⁆ - |
| 90 | φ ⁅x, y⁆ z + φ ⁅x, z⁆ y - φ ⁅y, z⁆ x = 0 := by |
| 91 | intro x y z |
| 92 | exact congrArg (fun f : L →ₗ[k] L →ₗ[k] L →ₗ[k] L => f x y z) c.property |
| 93 | refine ⟨killingCocycleContraction hB b φ, ?_⟩ |
| 94 | apply Subtype.ext |
| 95 | apply LinearMap.ext |
| 96 | intro x |
| 97 | apply LinearMap.ext |
| 98 | intro y |
| 99 | exact killing_cocycle_contraction_coboundary hB b φ hs hc x y |
| 100 | |
| 101 | theorem killing_second_cocycle_kernel_eq_range |
| 102 | {k L : Type*} [Field k] [LieRing L] [LieAlgebra k L] [FiniteDimensional k L] |
| 103 | (hB : (killingForm k L).Nondegenerate) : |
| 104 | (d₂₃ k L L).ker = (d₁₂ k L L).range := by |
| 105 | apply le_antisymm |
| 106 | · intro c hc |
| 107 | exact killing_twoCocycle_is_coboundary hB ⟨c, hc⟩ |
| 108 | · rintro _ ⟨T, rfl⟩ |
| 109 | have h := congrArg (fun f => (f : (L →ₗ[k] L) →ₗ[k] L →ₗ[k] L →ₗ[k] L →ₗ[k] L) T) |
| 110 | (d₂₃_comp_d₁₂ k L L) |
| 111 | exact h |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.ArithmeticGroups.Lattices.KillingCocycleContraction.Construction |