Nominal/Ex/ExLF.thy
author Brian Huffman <brianh@cs.pdx.edu>
Fri, 09 Apr 2010 08:16:08 -0700
changeset 1798 d8bd4923b3aa
parent 1773 c0eac04ae3b4
child 2059 c615095827e9
permissions -rw-r--r--
edit 'contributions' section so we do not just quote directly from the reviewer

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