5979
|
1 |
(* Title : Zorn.thy
|
7219
|
2 |
ID : $Id$
|
5979
|
3 |
Author : Jacques D. Fleuriot
|
|
4 |
Copyright : 1998 University of Cambridge
|
|
5 |
Description : Zorn's Lemma -- See lcp's Zorn.thy in ZF
|
|
6 |
*)
|
|
7 |
|
9279
|
8 |
Zorn = Main +
|
5979
|
9 |
|
|
10 |
constdefs
|
9279
|
11 |
chain :: 'a::ord set => 'a set set
|
5979
|
12 |
"chain S == {F. F <= S & (ALL x: F. ALL y: F. x <= y | y <= x)}"
|
|
13 |
|
9279
|
14 |
super :: ['a::ord set,'a set] => 'a set set
|
5979
|
15 |
"super S c == {d. d: chain(S) & c < d}"
|
|
16 |
|
9279
|
17 |
maxchain :: 'a::ord set => 'a set set
|
5979
|
18 |
"maxchain S == {c. c: chain S & super S c = {}}"
|
|
19 |
|
9279
|
20 |
succ :: ['a::ord set,'a set] => 'a set
|
5979
|
21 |
"succ S c == if (c ~: chain S| c: maxchain S)
|
|
22 |
then c else (@c'. c': (super S c))"
|
|
23 |
|
|
24 |
consts
|
9279
|
25 |
"TFin" :: 'a::ord set => 'a set set
|
5979
|
26 |
|
|
27 |
inductive "TFin(S)"
|
|
28 |
intrs
|
|
29 |
succI "x : TFin S ==> succ S x : TFin S"
|
|
30 |
Pow_UnionI "Y : Pow(TFin S) ==> Union(Y) : TFin S"
|
|
31 |
|
|
32 |
monos Pow_mono
|
|
33 |
end
|
|
34 |
|