ex/PL0.thy
author clasohm
Fri, 17 Jun 1994 14:16:50 +0200
changeset 81 fded09018308
parent 56 385d51d74f71
child 91 a94029edb01f
permissions -rw-r--r--
adopted to new datatype definition method

(*  Title: 	HOL/ex/pl0.thy
    ID:         $Id$
    Author: 	Tobias Nipkow
    Copyright   1994  TU Muenchen

Syntax of propositional logic formulae.
*)

PL0 = HOL +
types 'a pl
arities pl :: (term)term
consts
    false	:: "'a pl"
    "->"	:: "['a pl,'a pl] => 'a pl"	(infixr 90)
    var		:: "'a => 'a pl"		("#_")
datatype
    'a pl = false | var('a) | "op->" ('a pl,'a pl)
end