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

Lemma extz_pow2_wordToZ: forall sz (w: word sz) n, wordToZ (extz w n) = (wordToZ w * Z.of_nat (pow2 n))%Z.