src/LCF/ex/Ex1.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;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4905
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     1
17248
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
     2
(* $Id$ *)
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
     3
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
     4
header {*  Section 10.4 *}
4905
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     5
17248
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
     6
theory Ex1
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
     7
imports LCF
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
     8
begin
4905
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     9
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    10
consts
17248
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
    11
  P     :: "'a => tr"
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
    12
  G     :: "'a => 'a"
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
    13
  H     :: "'a => 'a"
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
    14
  K     :: "('a => 'a) => ('a => 'a)"
4905
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    15
17248
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
    16
axioms
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
    17
  P_strict:     "P(UU) = UU"
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
    18
  K:            "K = (%h x. P(x) => x | h(h(G(x))))"
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
    19
  H:            "H = FIX(K)"
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
    20
81bf91654e73 converted to Isar theory format;
wenzelm
parents: 4905
diff changeset
    21
ML {* use_legacy_bindings (the_context ()) *}
4905
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    22
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    23
end