Nominal/Ex/ExLF.thy
author Christian Urban <urbanc@in.tum.de>
Wed, 14 Apr 2010 10:29:34 +0200
changeset 1828 f374ffd50c7c
parent 1773 c0eac04ae3b4
child 2059 c615095827e9
permissions -rw-r--r--
preliminary tests

theory ExLF
imports "../Parser"
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

end