Nominal/Ex/LF.thy
author Christian Urban <urbanc@in.tum.de>
Wed, 12 May 2010 16:26:06 +0100
changeset 2117 b3a5bda07007
parent 2105 e25b0fff0dd2
child 2120 2786ff1df475
permissions -rw-r--r--
added a test whether some of the constants already equivariant (then the procedure has to fail).

theory LF
imports "../NewParser"
begin

atom_decl name
atom_decl ident

nominal_datatype kind =
    Type
  | KPi "ty" n::"name" k::"kind"  bind_set n in k
and ty =
    TConst "ident"
  | TApp "ty" "trm"
  | TPi "ty" n::"name" t::"ty"    bind_set n in t
and trm =
    Const "ident"
  | Var "name"
  | App "trm" "trm"
  | Lam "ty" n::"name" t::"trm"   bind_set n in t

thm kind_ty_trm.supp

equivariance alpha_trm_raw




end