Nominal/Ex/ExLF.thy
author Christian Urban <urbanc@in.tum.de>
Wed, 05 May 2010 10:24:54 +0100
changeset 2064 2725853f43b9
parent 2059 c615095827e9
child 2082 0854af516f14
permissions -rw-r--r--
solved the problem with equivariance by first eta-normalising the goal

theory ExLF
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

end