author | wenzelm |
Fri, 21 May 1999 11:40:15 +0200 | |
changeset 6685 | e33ae2af0d36 |
parent 3296 | 2ee6c397003d |
child 8262 | 08ad0a986db2 |
permissions | -rw-r--r-- |
3193 | 1 |
(* Title: HOL/WF_Rel |
2 |
ID: $Id$ |
|
3 |
Author: Konrad Slind |
|
4 |
Copyright 1995 TU Munich |
|
5 |
||
3296 | 6 |
Derived WF relations: inverse image, lexicographic product, measure, ... |
7 |
||
8 |
The simple relational product, in which (x',y')<(x,y) iff x'<x and y'<y, is a |
|
9 |
subset of the lexicographic product, and therefore does not need to be defined |
|
10 |
separately. |
|
3193 | 11 |
*) |
12 |
||
3222
726a9b069947
Distributed Psubset stuff to basic set theory files, incl Finite.
nipkow
parents:
3193
diff
changeset
|
13 |
WF_Rel = Finite + |
3193 | 14 |
consts |
3237
4da86d44de33
Relation "less_than" internalizes "<" for easy use of TFL
paulson
parents:
3222
diff
changeset
|
15 |
less_than :: "(nat*nat)set" |
4da86d44de33
Relation "less_than" internalizes "<" for easy use of TFL
paulson
parents:
3222
diff
changeset
|
16 |
inv_image :: "('b * 'b)set => ('a => 'b) => ('a * 'a)set" |
4da86d44de33
Relation "less_than" internalizes "<" for easy use of TFL
paulson
parents:
3222
diff
changeset
|
17 |
measure :: "('a => nat) => ('a * 'a)set" |
4da86d44de33
Relation "less_than" internalizes "<" for easy use of TFL
paulson
parents:
3222
diff
changeset
|
18 |
"**" :: "[('a*'a)set, ('b*'b)set] => (('a*'b)*('a*'b))set" (infixl 70) |
4da86d44de33
Relation "less_than" internalizes "<" for easy use of TFL
paulson
parents:
3222
diff
changeset
|
19 |
finite_psubset :: "('a set * 'a set) set" |
4da86d44de33
Relation "less_than" internalizes "<" for easy use of TFL
paulson
parents:
3222
diff
changeset
|
20 |
|
3193 | 21 |
|
22 |
defs |
|
3237
4da86d44de33
Relation "less_than" internalizes "<" for easy use of TFL
paulson
parents:
3222
diff
changeset
|
23 |
less_than_def "less_than == trancl pred_nat" |
4da86d44de33
Relation "less_than" internalizes "<" for easy use of TFL
paulson
parents:
3222
diff
changeset
|
24 |
|
3193 | 25 |
inv_image_def "inv_image r f == {(x,y). (f(x), f(y)) : r}" |
26 |
||
3237
4da86d44de33
Relation "less_than" internalizes "<" for easy use of TFL
paulson
parents:
3222
diff
changeset
|
27 |
measure_def "measure == inv_image less_than" |
3193 | 28 |
|
29 |
lex_prod_def "ra**rb == {p. ? a a' b b'. |
|
30 |
p = ((a,b),(a',b')) & |
|
31 |
((a,a') : ra | a=a' & (b,b') : rb)}" |
|
32 |
||
33 |
(* finite proper subset*) |
|
34 |
finite_psubset_def "finite_psubset == {(A,B). A < B & finite B}" |
|
35 |
end |