Library Binders

Require Export LibDefaultSimp.

Process variables


Inductive incV (V : Set) : Set :=
| VZ : incV V
| VS : V incV V
.

Arguments VZ {V}.
Arguments VS {V} _.

Definition incV_map {V W : Set} (f : V W) (x : incV V) : incV W :=
  match x with
  | VZVZ
  | VS yVS (f y)
  end.

some utils


Ltac destruct_hyps :=
  repeat match goal with H: ?T |- _
    match T with
    | _ _destruct H
    | a, _destruct H
    end
  end.