src/CCL/Wfd.thy
author wenzelm
Fri Oct 10 17:10:12 1997 +0200 (1997-10-10)
changeset 3837 d7f033c74b38
parent 1474 3f7d67927fe2
child 17456 bcf7544875b2
permissions -rw-r--r--
fixed dots;
clasohm@1474
     1
(*  Title:      CCL/wfd.thy
clasohm@0
     2
    ID:         $Id$
clasohm@1474
     3
    Author:     Martin Coen, Cambridge University Computer Laboratory
clasohm@0
     4
    Copyright   1993  University of Cambridge
clasohm@0
     5
clasohm@0
     6
Well-founded relations in CCL.
clasohm@0
     7
*)
clasohm@0
     8
clasohm@0
     9
Wfd = Trancl + Type +
clasohm@0
    10
clasohm@0
    11
consts
clasohm@0
    12
      (*** Predicates ***)
clasohm@0
    13
  Wfd        ::       "[i set] => o"
clasohm@0
    14
      (*** Relations ***)
clasohm@0
    15
  wf         ::       "[i set] => i set"
clasohm@0
    16
  wmap       ::       "[i=>i,i set] => i set"
clasohm@0
    17
  "**"       ::       "[i set,i set] => i set"      (infixl 70)
clasohm@0
    18
  NatPR      ::       "i set"
clasohm@0
    19
  ListPR     ::       "i set => i set"
clasohm@0
    20
clasohm@0
    21
rules
clasohm@0
    22
clasohm@0
    23
  Wfd_def
wenzelm@3837
    24
  "Wfd(R) == ALL P.(ALL x.(ALL y.<y,x> : R --> y:P) --> x:P) --> (ALL a. a:P)"
clasohm@0
    25
wenzelm@3837
    26
  wf_def         "wf(R) == {x. x:R & Wfd(R)}"
clasohm@0
    27
clasohm@0
    28
  wmap_def       "wmap(f,R) == {p. EX x y. p=<x,y>  &  <f(x),f(y)> : R}"
clasohm@0
    29
  lex_def
wenzelm@3837
    30
  "ra**rb == {p. EX a a' b b'. p = <<a,b>,<a',b'>> & (<a,a'> : ra | (a=a' & <b,b'> : rb))}"
clasohm@0
    31
wenzelm@3837
    32
  NatPR_def      "NatPR == {p. EX x:Nat. p=<x,succ(x)>}"
wenzelm@3837
    33
  ListPR_def     "ListPR(A) == {p. EX h:A. EX t:List(A). p=<t,h$t>}"
clasohm@0
    34
end