src/LCF/ex/Ex2.thy
author wenzelm
Sat, 03 Sep 2005 17:54:10 +0200
changeset 17248 81bf91654e73
parent 4905 be73ddff6c5a
child 19755 90f80de04c46
permissions -rw-r--r--
converted to Isar theory format;


(* $Id$ *)

header {* Example 3.8 *}

theory Ex2
imports LCF
begin

consts
  P     :: "'a => tr"
  F     :: "'a => 'a"
  G     :: "'a => 'a"
  H     :: "'a => 'b => 'b"
  K     :: "('a => 'b => 'b) => ('a => 'b => 'b)"

axioms
  F_strict:     "F(UU) = UU"
  K:            "K = (%h x y. P(x) => y | F(h(G(x),y)))"
  H:            "H = FIX(K)"

ML {* use_legacy_bindings (the_context ()) *}

end