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

Lemma wnot_def: forall sz (w: word sz), wnot w = NToWord sz (Npow2 sz - wordToN w - 1).