Ltac wlt_ind :=
  match goal with
  | [ |- forall (n: word ?len), ?P ] =>
    refine (well_founded_ind (@wlt_wf len) (fun n => P) _)
  end.

Lemma sext_WS: forall sz (w: word (S sz)) b n, sext (WS b w) n = WS b (sext w n).