-- Lean 4 proof step from Mathlib.Algebra.Lie.Weights.IsSimple (goal)
Goal:
K : Type u_1
L : Type u_2
inst : Field K
inst_1 : CharZero K
inst_2 : LieRing L
inst_3 : LieAlgebra K L
inst_4 : FiniteDimensional K L
inst_5 : IsKilling K L
H : LieSubalgebra K L
inst_6 : H.IsCartanSubalgebra
inst_7 : IsTriangularizable K (↥H) L
q : Submodule K (Dual.{u_1, u_2} K ↥H)
hq :
  ∀ (i : ↥(LieSubalgebra.root : Finset (Weight K (↥H) L))),
    q ∈ End.invtSubmodule (↑(RootPairing.reflection (rootSystem H) i) : Dual K ↥H →ₗ[K] Dual K ↥H)
χ : Weight K (↥H) L
x_χ m_α : L
hx_χ : Membership.mem (γ := LieSubmodule K (↥H) L) (genWeightSpace L (⇑χ : (a : ↥H) → K)) x_χ
α : Weight K (↥H) L
hαq : Weight.toLinear K (↥H) L α ∈ q
hα₀ : α.IsNonZero
w_plus : Weight.toLinear K (↥H) L χ + Weight.toLinear K (↥H) L α ≠ 0
w_minus : Weight.toLinear K (↥H) L χ - Weight.toLinear K (↥H) L α ≠ 0
w_chi : Weight.toLinear K (↥H) L χ ≠ 0
m_pos m_neg : L
y : ↥H
hy : Membership.mem (γ := LieIdeal K ↥H) (corootSpace (⇑α : (a : ↥H) → K)) y
h_bracket_sum : ⁅x_χ, m_α⁆ = ⁅x_χ, m_pos⁆ + ⁅x_χ, m_neg⁆ + ⁅x_χ, (↑y : L)⁆
h_pos_containment :
  Membership.mem (γ := LieSubmodule K (↥H) L)
    (genWeightSpace L (HAdd.hAdd (α := (a : ↥H) → K) (⇑χ : (a : ↥H) → K) (⇑α : (a : ↥H) → K))) ⁅x_χ, m_pos⁆
h_neg_containment :
  Membership.mem (γ := LieSubmodule K (↥H) L)
    (genWeightSpace L (HSub.hSub (α := (a : ↥H) → K) (⇑χ : (a : ↥H) → K) (⇑α : (a : ↥H) → K))) ⁅x_χ, m_neg⁆
h_chi_not_in_q : Weight.toLinear K (↥H) L χ ∉ q
S : RootPairing (↥(LieSubalgebra.root : Finset (Weight K (↥H) L))) K (Dual.{u_1, u_2} K ↥H) ↥H := rootSystem H
exists_root_index :
  ∀ (γ : Weight K (↥H) L) (hγ : γ.IsNonZero),
    ∃ (i : ↥(LieSubalgebra.root : Finset (Weight K (↥H) L))),
      (S.root : (a : ↥LieSubalgebra.root) → Dual K ↥H) i = Weight.toLinear K (↥H) L γ
h_plus_bot :
  Eq (α := LieSubmodule K (↥H) L)
    (genWeightSpace L (⇑(Weight.toLinear K (↥H) L χ + Weight.toLinear K (↥H) L α) : (a : ↥H) → K)) ⊥
h_minus_ne_bot :
  ¬Eq (α := LieSubmodule K (↥H) L)
      (genWeightSpace L (⇑(Weight.toLinear K (↥H) L χ - Weight.toLinear K (↥H) L α) : (a : ↥H) → K)) ⊥
γ : Weight K (↥H) L :=
  {
    toFun :=
      HSub.hSub (α := (a : ↥H) → K) (⇑(Weight.toLinear K (↥H) L χ) : (a : ↥H) → K)
        (⇑(Weight.toLinear K (↥H) L α) : (a : ↥H) → K),
    genWeightSpace_ne_bot' := h_minus_ne_bot }
hγ_nonzero : γ.IsNonZero
i : ↥(LieSubalgebra.root : Finset (Weight K (↥H) L))
hi : (S.root : (a : ↥LieSubalgebra.root) → Dual K ↥H) i = Weight.toLinear K (↥H) L χ
j : ↥(LieSubalgebra.root : Finset (Weight K (↥H) L))
hj : (S.root : (a : ↥LieSubalgebra.root) → Dual K ↥H) j = Weight.toLinear K (↥H) L (-α)
h_sum_in_range :
  Membership.mem (γ := Set (Dual.{u_1, u_2} K ↥H))
    (Set.range (ι := ↥(LieSubalgebra.root : Finset (Weight K (↥H) L)))
      (⇑S.root : (a : ↥LieSubalgebra.root) → Dual K ↥H))
    (HAdd.hAdd (α := Dual.{u_1, u_2} K ↥H) (β := Dual.{u_1, u_2} K ↥H)
      ((S.root : (a : ↥LieSubalgebra.root) → Dual K ↥H) i : Dual.{u_1, u_2} K ↥H)
      ((S.root : (a : ↥LieSubalgebra.root) → Dual K ↥H) j : Dual.{u_1, u_2} K ↥H))
h_equiv :
  Weight.toLinear K (↥H) L χ ∈
      (↑(Subtype.mk (p := fun (x : Submodule K (Dual.{u_1, u_2} K ↥H)) ↦ x ∈ S.invtRootSubmodule) q ⋯) :
        Submodule K (Dual K ↥H)) ↔
    Membership.mem (α := Dual.{u_1, u_2} K ↥H)
      (↑(Subtype.mk (p := fun (x : Submodule K (Dual.{u_1, u_2} K ↥H)) ↦ x ∈ S.invtRootSubmodule) q ⋯) :
        Submodule K (Dual K ↥H))
      ((S.root : (a : ↥LieSubalgebra.root) → Dual K ↥H) j : Dual.{u_1, u_2} K ↥H)
⊢ -Weight.toLinear K (↥H) L α ∈
    (↑(Subtype.mk (p := fun (x : Submodule K (Dual.{u_1, u_2} K ↥H)) ↦ x ∈ S.invtRootSubmodule) q ⋯) :
      Submodule K (Dual K ↥H))
have h : -Weight.toLinear K (↥H) L α = HSMul.hSMul (α := K) (-1) (Weight.toLinear K (↥H) L α)
Tactic: convert! q.smul_mem (-1) hαq using 1