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.Minkowski.KillingForm |
| 2 | import Mathlib.Algebra.Lie.Derivation.Killing |
| 3 | |
| 4 | /-! # Derivation Defect -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Lie.DerivationDefect.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The real Minkowski Lie space is a Killing Lie algebra, and every |
| 13 | one of its derivations is an intrinsic adjoint operator. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField _root_.Matrix.Norms.Elementwise |
| 16 | open _root_.NumberField _root_.NumberField.mixedEmbedding |
| 17 | |
| 18 | attribute [local instance] LieRing.ofAssociativeRing |
| 19 | |
| 20 | def lieMixedRealSubalgebra |
| 21 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 22 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) : |
| 23 | LieSubalgebra ℝ (Matrix (Fin n) (Fin n) (mixedSpace k)) where |
| 24 | toSubmodule := MixedLattice.Construction.lieMixedSpan G |
| 25 | lie_mem' := fun {_ _} hA hB => Minkowski.LieBracket.Construction.lieMixedSpan_commutator_mem G hG hA hB |
| 26 | |
| 27 | theorem lieMixed_isKilling |
| 28 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 29 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) (hsemi : G.IsSemisimple) : |
| 30 | LieAlgebra.IsKilling ℝ (lieMixedRealSubalgebra G hG) := by |
| 31 | have hB : (killingForm ℝ (lieMixedRealSubalgebra G hG)).Nondegenerate := Minkowski.KillingForm.Construction.lieMixedKillingForm_nondegenerate G hG hsemi |
| 32 | constructor |
| 33 | apply le_antisymm _ bot_le |
| 34 | intro x hx |
| 35 | change x = 0 |
| 36 | exact hB.2 x (fun y => hx y (LieSubmodule.mem_top y)) |
| 37 | |
| 38 | theorem lieMixed_derivation_is_inner |
| 39 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 40 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) (hsemi : G.IsSemisimple) |
| 41 | (D : LieDerivation ℝ (lieMixedRealSubalgebra G hG) (lieMixedRealSubalgebra G hG)) : |
| 42 | ∃ A : MixedLattice.Construction.lieMixedSpan G, D.toLinearMap = Minkowski.AdjointOperator.Construction.lieMixedAdjoint G hG A := by |
| 43 | let : LieAlgebra.IsKilling ℝ (lieMixedRealSubalgebra G hG) := lieMixed_isKilling G hG hsemi |
| 44 | obtain ⟨A, hA⟩ := LieDerivation.IsKilling.exists_eq_ad D |
| 45 | refine ⟨A, ?_⟩ |
| 46 | have he : (LieDerivation.ad ℝ (lieMixedRealSubalgebra G hG) A : |
| 47 | Module.End ℝ (lieMixedRealSubalgebra G hG)) = D.toLinearMap := |
| 48 | congrArg LieDerivation.toLinearMap hA |
| 49 | rw [LieDerivation.coe_ad_apply_eq_ad_apply] at he |
| 50 | exact he.symm |
| 51 | |
| 52 | end |
| 53 | |
| 54 | /-! The linearized bracket-preservation equations have precisely the inner |
| 55 | derivations as their kernel for the real Minkowski Lie algebra. -/ |
| 56 | |
| 57 | open scoped Classical _root_.NumberField _root_.Matrix.Norms.Elementwise |
| 58 | |
| 59 | attribute [local instance] LieRing.ofAssociativeRing |
| 60 | |
| 61 | def lieDerivationDefect (R L : Type*) [CommRing R] [LieRing L] [LieAlgebra R L] : |
| 62 | Module.End R L →ₗ[R] (L →ₗ[R] L →ₗ[R] L) where |
| 63 | toFun T := |
| 64 | (LieAlgebra.ad R L).toLinearMap.compr₂ T - |
| 65 | (LieAlgebra.ad R L).toLinearMap.compl₁₂ T LinearMap.id - |
| 66 | (LieAlgebra.ad R L).toLinearMap.compl₁₂ LinearMap.id T |
| 67 | map_add' T S := by |
| 68 | ext x y |
| 69 | change (T + S) ⁅x, y⁆ - ⁅(T + S) x, y⁆ - ⁅x, (T + S) y⁆ = |
| 70 | (T ⁅x, y⁆ - ⁅T x, y⁆ - ⁅x, T y⁆) + (S ⁅x, y⁆ - ⁅S x, y⁆ - ⁅x, S y⁆) |
| 71 | simp only [LinearMap.add_apply, add_lie, lie_add] |
| 72 | abel |
| 73 | map_smul' c T := by |
| 74 | ext x y |
| 75 | change (c • T) ⁅x, y⁆ - ⁅(c • T) x, y⁆ - ⁅x, (c • T) y⁆ = |
| 76 | c • (T ⁅x, y⁆ - ⁅T x, y⁆ - ⁅x, T y⁆) |
| 77 | simp only [LinearMap.smul_apply, smul_lie, lie_smul, smul_sub] |
| 78 | |
| 79 | theorem lieDerivationDefect_apply |
| 80 | {R L : Type*} [CommRing R] [LieRing L] [LieAlgebra R L] |
| 81 | (T : Module.End R L) (x y : L) : |
| 82 | lieDerivationDefect R L T x y = T ⁅x, y⁆ - ⁅T x, y⁆ - ⁅x, T y⁆ := rfl |
| 83 | |
| 84 | theorem lieDerivationDefect_eq_zero_iff |
| 85 | {R L : Type*} [CommRing R] [LieRing L] [LieAlgebra R L] |
| 86 | (T : Module.End R L) : |
| 87 | lieDerivationDefect R L T = 0 ↔ |
| 88 | ∃ D : LieDerivation R L L, D.toLinearMap = T := by |
| 89 | constructor |
| 90 | · intro h |
| 91 | refine ⟨{ toLinearMap := T, leibniz' := ?_ }, rfl⟩ |
| 92 | intro x y |
| 93 | have he := DFunLike.congr_fun (DFunLike.congr_fun h x) y |
| 94 | change T ⁅x, y⁆ - ⁅T x, y⁆ - ⁅x, T y⁆ = 0 at he |
| 95 | rw [sub_eq_zero, sub_eq_iff_eq_add] at he |
| 96 | rw [he, sub_eq_add_neg, lie_skew] |
| 97 | · rintro ⟨D, rfl⟩ |
| 98 | ext x y |
| 99 | change D ⁅x, y⁆ - ⁅D x, y⁆ - ⁅x, D y⁆ = 0 |
| 100 | rw [LieDerivation.apply_lie_eq_add] |
| 101 | abel |
| 102 | |
| 103 | theorem lieDerivationDefect_ad |
| 104 | {R L : Type*} [CommRing R] [LieRing L] [LieAlgebra R L] (A : L) : |
| 105 | lieDerivationDefect R L (LieAlgebra.ad R L A) = 0 := by |
| 106 | apply (lieDerivationDefect_eq_zero_iff _).mpr |
| 107 | exact ⟨LieDerivation.ad R L A, LieDerivation.coe_ad_apply_eq_ad_apply A⟩ |
| 108 | |
| 109 | theorem lieDerivationDefect_of_bracket_preserving |
| 110 | {R L : Type*} [CommRing R] [LieRing L] [LieAlgebra R L] |
| 111 | (T : Module.End R L) |
| 112 | (hT : ∀ x y, (1 + T : Module.End R L) ⁅x, y⁆ = |
| 113 | ⁅(1 + T : Module.End R L) x, (1 + T : Module.End R L) y⁆) (x y : L) : |
| 114 | lieDerivationDefect R L T x y = ⁅T x, T y⁆ := by |
| 115 | have he := hT x y |
| 116 | simp only [LinearMap.add_apply, Module.End.one_apply, add_lie, lie_add] at he |
| 117 | rw [lieDerivationDefect_apply] |
| 118 | apply sub_eq_zero.mp |
| 119 | calc |
| 120 | _ = (⁅x, y⁆ + T ⁅x, y⁆) - |
| 121 | (⁅x, y⁆ + ⁅T x, y⁆ + (⁅x, T y⁆ + ⁅T x, T y⁆)) := by abel |
| 122 | _ = 0 := sub_eq_zero.mpr he |
| 123 | |
| 124 | theorem lieMixed_derivationDefect_ker |
| 125 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 126 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) (hsemi : G.IsSemisimple) : |
| 127 | LinearMap.ker (lieDerivationDefect ℝ (lieMixedRealSubalgebra G hG)) = |
| 128 | LinearMap.range (Minkowski.AdjointOperator.Construction.lieMixedAdjointLinear G hG) := by |
| 129 | ext T |
| 130 | constructor |
| 131 | · intro hT |
| 132 | obtain ⟨D, hD⟩ := (lieDerivationDefect_eq_zero_iff T).mp hT |
| 133 | obtain ⟨A, hA⟩ := lieMixed_derivation_is_inner G hG hsemi D |
| 134 | exact ⟨A, hA.symm.trans hD⟩ |
| 135 | · rintro ⟨A, rfl⟩ |
| 136 | exact lieDerivationDefect_ad (R := ℝ) (L := lieMixedRealSubalgebra G hG) A |
| 137 | |
| 138 | end |
| 139 | |
| 140 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Lie.DerivationDefect.Construction |