Nominal/LFex.thy
author Cezary Kaliszyk <kaliszyk@in.tum.de>
Tue, 23 Mar 2010 09:05:23 +0100
changeset 1600 e33e37fd4c7d
parent 1595 aeed597d2043
permissions -rw-r--r--
More reorganization.

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