set m := w.sum * d / (n + 1)
case H
n d : ℕ
inst✝ : NeZero d
w : Weight n d
k : ℕ
a : Weight n d
h✝ : a ∈ testvecs n d
⊢ Weight.sum w * d / (n + 1) + 1 - pair w a ≤ Nat.succ k * (Weight.sum w * d / (n + 1)) + 1 - Nat.succ k * pair w a
case H
n d : ℕ
inst✝ : NeZero d
w : Weight n d
k : ℕ
a : Weight n d
h✝ : a ∈ testvecs n d
m : ℕ := Weight.sum w * d / (n + 1)
⊢ m + 1 - pair w a ≤ Nat.succ k * m + 1 - Nat.succ k * pair w a