Nominal/ExLF.thy
author Cezary Kaliszyk <kaliszyk@in.tum.de>
Sat, 27 Mar 2010 08:11:11 +0100
changeset 1670 ed89a26b7074
parent 1604 5ab97f43ec24
permissions -rw-r--r--
Fv/Alpha now takes into account Alpha_Type given from the parser.

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