Nominal/Ex/LF.thy
author Cezary Kaliszyk <kaliszyk@in.tum.de>
Tue, 25 May 2010 17:09:29 +0200
changeset 2179 7687f97eca53
parent 2120 2786ff1df475
child 2311 4da5c5c29009
permissions -rw-r--r--
A lemma about substitution in TypeSchemes.

theory LF
imports "../NewParser"
begin

atom_decl name
atom_decl ident

nominal_datatype kind =
    Type
  | KPi "ty" n::"name" k::"kind"  bind_set n in k
and ty =
    TConst "ident"
  | TApp "ty" "trm"
  | TPi "ty" n::"name" t::"ty"    bind_set n in t
and trm =
    Const "ident"
  | Var "name"
  | App "trm" "trm"
  | Lam "ty" n::"name" t::"trm"   bind_set n in t

thm kind_ty_trm.supp





end