simp_rw [eval_f_tw, hw, hw'] at h
n d : ℕ
inst✝ : NeZero d
w w' : Weight n d
hw : w 0 = 0
hw' : w' 0 = 0
h : f w (tw n d 0) ≤ f w' (tw n d 0)
⊢ E w ≤ E w'
n d : ℕ
inst✝ : NeZero d
w w' : Weight n d
hw : w 0 = 0
hw' : w' 0 = 0
h : E w - (d - 1) * 0 - 0 ≤ E w' - (d - 1) * 0 - 0
⊢ E w ≤ E w'