Nominal/ExLF.thy
author Cezary Kaliszyk <kaliszyk@in.tum.de>
Thu, 01 Apr 2010 17:00:52 +0200
changeset 1758 731d39fb26b7
parent 1604 5ab97f43ec24
permissions -rw-r--r--
Update fv_bn definition for bindings allowed in types for which bn is present.

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