src/ZF/Order.thy
author lcp
Tue Jun 21 17:20:34 1994 +0200 (1994-06-21)
changeset 435 ca5356bd315a
child 578 efc648d29dd0
permissions -rw-r--r--
Addition of cardinals and order types, various tidying
lcp@435
     1
(*  Title: 	ZF/Order.thy
lcp@435
     2
    ID:         $Id$
lcp@435
     3
    Author: 	Lawrence C Paulson, Cambridge University Computer Laboratory
lcp@435
     4
    Copyright   1994  University of Cambridge
lcp@435
     5
lcp@435
     6
Orders in Zermelo-Fraenkel Set Theory 
lcp@435
     7
*)
lcp@435
     8
lcp@435
     9
Order = WF + Perm + 
lcp@435
    10
consts
lcp@435
    11
  part_ord        :: "[i,i]=>o"		(*Strict partial ordering*)
lcp@435
    12
  linear, tot_ord :: "[i,i]=>o"		(*Strict total ordering*)
lcp@435
    13
  well_ord        :: "[i,i]=>o"		(*Well-ordering*)
lcp@435
    14
  ord_iso         :: "[i,i,i,i]=>i"	(*Order isomorphisms*)
lcp@435
    15
  pred            :: "[i,i,i]=>i"	(*Set of predecessors*)
lcp@435
    16
lcp@435
    17
rules
lcp@435
    18
  part_ord_def "part_ord(A,r) == irrefl(A,r) & trans[A](r)"
lcp@435
    19
lcp@435
    20
  linear_def   "linear(A,r) == (ALL x:A. ALL y:A. <x,y>:r | x=y | <y,x>:r)"
lcp@435
    21
lcp@435
    22
  tot_ord_def  "tot_ord(A,r) == part_ord(A,r) & linear(A,r)"
lcp@435
    23
lcp@435
    24
  well_ord_def "well_ord(A,r) == tot_ord(A,r) & wf[A](r)"
lcp@435
    25
lcp@435
    26
  ord_iso_def  "ord_iso(A,r,B,s) == \
lcp@435
    27
\                   {f: bij(A,B). ALL x:A. ALL y:A. <x,y>:r <-> <f`x,f`y>:s}"
lcp@435
    28
lcp@435
    29
  pred_def     "pred(A,x,r) == {y:A. <y,x>:r}"
lcp@435
    30
lcp@435
    31
end