Nominal/Ex/LF.thy
author Christian Urban <urbanc@in.tum.de>
Sun, 09 May 2010 12:38:59 +0100
changeset 2083 9568f9f31822
parent 2082 Nominal/Ex/ExLF.thy@0854af516f14
child 2099 9454feb74b45
permissions -rw-r--r--
tuned file names for examples

theory LF
imports "../NewParser"
begin

atom_decl name
atom_decl ident

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

thm kind_ty_trm.supp

declare permute_kind_raw_permute_ty_raw_permute_trm_raw.simps[eqvt]
declare alpha_gen_eqvt[eqvt]

equivariance alpha_trm_raw




end