theorem Th3: :: XBOOLE_0:3
for b1, b2 being set holds
( b1 meets b2 iff ex b3 being set st
( b3 in b1 & b3 in b2 ) )
proof end;

theorem Th4: :: XBOOLE_0:4
for b1, b2 being set holds
( b1 meets b2 iff ex b3 being set st b3 in b1 /\ b2 )
proof end;

theorem Th1: :: XBOOLE_1:1
for b1, b2, b3 being set st b1 c= b2 & b2 c= b3 holds
b1 c= b3
proof end;

theorem Th2: :: XBOOLE_1:2
for b1 being set holds {} c= b1
proof end;

theorem Th3: :: XBOOLE_1:3
for b1 being set st b1 c= {} holds
b1 = {}
proof end;

theorem Th7: :: XBOOLE_1:7
for b1, b2 being set holds b1 c= b1 \/ b2
proof end;

theorem Th8: :: XBOOLE_1:8
for b1, b2, b3 being set st b1 c= b2 & b3 c= b2 holds
b1 \/ b3 c= b2
proof end;

theorem Th12: :: XBOOLE_1:12
for b1, b2 being set st b1 c= b2 holds
b1 \/ b2 = b2
proof end;

theorem Th17: :: XBOOLE_1:17
for b1, b2 being set holds b1 /\ b2 c= b1
proof end;

theorem Th19: :: XBOOLE_1:19
for b1, b2, b3 being set st b1 c= b2 & b1 c= b3 holds
b1 c= b2 /\ b3
proof end;

theorem Th26: :: XBOOLE_1:26
for b1, b2, b3 being set st b1 c= b2 holds
b1 /\ b3 c= b2 /\ b3
proof end;

theorem Th28: :: XBOOLE_1:28
for b1, b2 being set st b1 c= b2 holds
b1 /\ b2 = b1
proof end;

Lemma17: :: XBOOLE_1:lemma 32
for b1, b2 being
set holds
( b1 \ b2 = {} iff b1 c= b2 )
proof end;

theorem Th33: :: XBOOLE_1:33
for b1, b2, b3 being set st b1 c= b2 holds
b1 \ b3 c= b2 \ b3
proof end;

theorem Th36: :: XBOOLE_1:36
for b1, b2 being set holds b1 \ b2 c= b1
proof end;

theorem Th37: :: XBOOLE_1:37
for b1, b2 being set holds
( b1 \ b2 = {} iff b1 c= b2 ) by Lemma17;

theorem Th39: :: XBOOLE_1:39
for b1, b2 being set holds b1 \/ (b2 \ b1) = b1 \/ b2
proof end;

theorem Th40: :: XBOOLE_1:40
for b1, b2 being set holds (b1 \/ b2) \ b2 = b1 \ b2
proof end;

theorem Th45: :: XBOOLE_1:45
for b1, b2 being set st b1 c= b2 holds
b2 = b1 \/ (b2 \ b1)
proof end;

theorem Th48: :: XBOOLE_1:48
for b1, b2 being set holds b1 \ (b1 \ b2) = b1 /\ b2
proof end;

theorem Th60: :: XBOOLE_1:60
for b1, b2 being set st b1 c= b2 holds
not b2 c< b1
proof end;

theorem Th63: :: XBOOLE_1:63
for b1, b2, b3 being set st b1 c= b2 & b2 misses b3 holds
b1 misses b3
proof end;

theorem Th83: :: XBOOLE_1:83
for b1, b2 being set holds
( b1 misses b2 iff b1 \ b2 = b1 )
proof end;

theorem Th69: :: ENUMSET1:69
for b1 being set holds {b1,b1} = {b1}
proof end;

Lemma1: :: ZFMISC_1:lemma 1
for b1 being
set holds {b1} <> {}
proof end;

Lemma2: :: ZFMISC_1:lemma 2
for b1, b2 being
set holds
( {b1} c= b2 iff b1 in b2 )
proof end;

Lemma3: :: ZFMISC_1:lemma 3
for b1, b2, b3 being
set st b1 c= b2 & not b3 in b1 holds
b1 c= b2 \ {b3}
proof end;

Lemma4: :: ZFMISC_1:lemma 4
for b1, b2 being
set holds
( b1 c= {b2} iff ( b1 = {} or b1 = {b2} ) )
proof end;

theorem Th1: :: ZFMISC_1:1
bool {} = {{} }
proof end;

theorem Th6: :: ZFMISC_1:6
for b1, b2 being set st {b1} c= {b2} holds
b1 = b2
proof end;

theorem Th8: :: ZFMISC_1:8
for b1, b2, b3 being set st {b1} = {b2,b3} holds
b1 = b2
proof end;

theorem Th9: :: ZFMISC_1:9
for b1, b2, b3 being set st {b1} = {b2,b3} holds
b2 = b3
proof end;

theorem Th10: :: ZFMISC_1:10
for b1, b2, b3, b4 being set holds
( not {b1,b2} = {b3,b4} or b1 = b3 or b1 = b4 )
proof end;

Lemma13: :: ZFMISC_1:lemma 23
for b1, b2 being
set st b1 in b2 holds
{b1} \/ b2 = b2
proof end;

Lemma14: :: ZFMISC_1:lemma 25
for b1, b2 being
set st {b1} misses b2 holds
not b1 in b2
proof end;

Lemma15: :: ZFMISC_1:lemma 28
for b1, b2 being
set st not b1 in b2 holds
{b1} misses b2
proof end;

Lemma25: :: ZFMISC_1:lemma 50
for b1, b2 being
set st b1 in b2 holds
b1 c= union b2
proof end;

theorem Th33: :: ZFMISC_1:33
for b1, b2, b3, b4 being set st [b1,b2] = [b3,b4] holds
( b1 = b3 & b2 = b4 )
proof end;

Lemma28: :: ZFMISC_1:lemma 55
for b1, b2, b3, b4 being
set holds
( [b1,b2] in [:b3,b4:] iff ( b1 in b3 & b2 in b4 ) )
proof end;

theorem Th37: :: ZFMISC_1:37
for b1, b2 being set holds
( {b1} c= b2 iff b1 in b2 ) by Lemma2;

theorem Th38: :: ZFMISC_1:38
for b1, b2, b3 being set holds
( {b1,b2} c= b3 iff ( b1 in b3 & b2 in b3 ) )
proof end;

theorem Th39: :: ZFMISC_1:39
for b1, b2 being set holds
( b1 c= {b2} iff ( b1 = {} or b1 = {b2} ) ) by Lemma4;

theorem Th46: :: ZFMISC_1:46
for b1, b2 being set st b1 in b2 holds
{b1} \/ b2 = b2 by Lemma13;

theorem Th65: :: ZFMISC_1:65
for b1, b2 being set holds
( b1 \ {b2} = b1 iff not b2 in b1 )
proof end;

theorem Th92: :: ZFMISC_1:92
for b1, b2 being set st b1 in b2 holds
b1 c= union b2 by Lemma25;

theorem Th99: :: ZFMISC_1:99
for b1 being set holds union (bool b1) = b1
proof end;

theorem Th106: :: ZFMISC_1:106
for b1, b2, b3, b4 being set holds
( [b1,b2] in [:b3,b4:] iff ( b1 in b3 & b2 in b4 ) ) by Lemma28;

theorem Th118: :: ZFMISC_1:118
for b1, b2, b3 being set st b1 c= b2 holds
( [:b1,b3:] c= [:b2,b3:] & [:b3,b1:] c= [:b3,b2:] )
proof end;

theorem Th119: :: ZFMISC_1:119
for b1, b2, b3, b4 being set st b1 c= b2 & b3 c= b4 holds
[:b1,b3:] c= [:b2,b4:]
proof end;

theorem Th136: :: ZFMISC_1:136
for b1 being set ex b2 being set st
( b1 in b2 & ( for b3, b4 being set st b3 in b2 & b4 c= b3 holds
b4 in b2 ) & ( for b3 being set st b3 in b2 holds
bool b3 in b2 ) & ( for b3 being set holds
( not b3 c= b2 or b3,b2 are_equipotent or b3 in b2 ) ) )
proof end;

Lemma2: :: SUBSET_1:lemma 3
for b1 being
set
for b2 being Subset of b1
for b3 being set st b3 in b2 holds
b3 in b1
proof end;

theorem Th43: :: SUBSET_1:43
for b1 being set
for b2, b3 being Subset of b1 holds
( b2 misses b3 iff b2 c= b3 ` )
proof end;

theorem Th50: :: SUBSET_1:50
for b1 being set st b1 <> {} holds
for b2 being Subset of b1
for b3 being Element of b1 st not b3 in b2 holds
b3 in b2 `
proof end;

theorem Th54: :: SUBSET_1:54
for b1, b2 being set
for b3 being Subset of b1 st b2 in b3 ` holds
not b2 in b3 by XBOOLE_0:def 4;

Lemma11: :: SUBSET_1:lemma 71
for b1, b2 being
set st ( for b3 being set st b3 in b1 holds
b3 in b2 ) holds
b1 is Subset of b2
proof end;

theorem Th46: :: SETFAM_1:46
for b1 being set
for b2 being Subset-Family of b1 st b2 <> {} holds
COMPLEMENT b2 <> {}
proof end;

theorem Th47: :: SETFAM_1:47
for b1 being set
for b2 being Subset-Family of b1 st b2 <> {} holds
([#] b1) \ (union b2) = meet (COMPLEMENT b2)
proof end;

theorem Th48: :: SETFAM_1:48
for b1 being set
for b2 being Subset-Family of b1 st b2 <> {} holds
union (COMPLEMENT b2) = ([#] b1) \ (meet b2)
proof end;

theorem Th20: :: RELAT_1:20
for b1, b2 being set
for b3 being Relation st [b1,b2] in b3 holds
( b1 in dom b3 & b2 in rng b3 ) by Def4, Def5;

theorem Th21: :: RELAT_1:21
for b1 being Relation holds b1 c= [:(dom b1),(rng b1):]
proof end;

theorem Th25: :: RELAT_1:25
for b1, b2 being Relation st b1 c= b2 holds
( dom b1 c= dom b2 & rng b1 c= rng b2 )
proof end;

theorem Th30: :: RELAT_1:30
for b1, b2 being set
for b3 being Relation st [b1,b2] in b3 holds
( b1 in field b3 & b2 in field b3 )
proof end;

theorem Th37: :: RELAT_1:37
for b1 being Relation holds
( rng b1 = dom (b1 ~ ) & dom b1 = rng (b1 ~ ) )
proof end;

theorem Th44: :: RELAT_1:44
for b1, b2 being Relation holds dom (b1 * b2) c= dom b1
proof end;

theorem Th45: :: RELAT_1:45
for b1, b2 being Relation holds rng (b1 * b2) c= rng b2
proof end;

theorem Th46: :: RELAT_1:46
for b1, b2 being Relation st rng b1 c= dom b2 holds
dom (b1 * b2) = dom b1
proof end;

theorem Th47: :: RELAT_1:47
for b1, b2 being Relation st dom b1 c= rng b2 holds
rng (b2 * b1) = rng b1
proof end;

theorem Th56: :: RELAT_1:56
for b1 being Relation st ( for b2, b3 being set holds not [b2,b3] in b1 ) holds
b1 = {}
proof end;

theorem Th60: :: RELAT_1:60
( dom {} = {} & rng {} = {} )
proof end;

theorem Th64: :: RELAT_1:64
for b1 being Relation st ( dom b1 = {} or rng b1 = {} ) holds
b1 = {}
proof end;

theorem Th65: :: RELAT_1:65
for b1 being Relation holds
( dom b1 = {} iff rng b1 = {} ) by Th60, Th64;

theorem Th71: :: RELAT_1:71
for b1 being set holds
( dom (id b1) = b1 & rng (id b1) = b1 )
proof end;

theorem Th74: :: RELAT_1:74
for b1, b2, b3 being set
for b4 being Relation holds
( [b1,b2] in (id b3) * b4 iff ( b1 in b3 & [b1,b2] in b4 ) )
proof end;

theorem Th86: :: RELAT_1:86
for b1, b2 being set
for b3 being Relation holds
( b1 in dom (b3 | b2) iff ( b1 in b2 & b1 in dom b3 ) )
proof end;

theorem Th88: :: RELAT_1:88
for b1 being set
for b2 being Relation holds b2 | b1 c= b2
proof end;

theorem Th90: :: RELAT_1:90
for b1 being set
for b2 being Relation holds dom (b2 | b1) = (dom b2) /\ b1
proof end;

theorem Th94: :: RELAT_1:94
for b1 being set
for b2 being Relation holds b2 | b1 = (id b1) * b2
proof end;

theorem Th99: :: RELAT_1:99
for b1 being set
for b2 being Relation holds rng (b2 | b1) c= rng b2
proof end;

theorem Th115: :: RELAT_1:115
for b1, b2 being set
for b3 being Relation holds
( b1 in rng (b2 | b3) iff ( b1 in b2 & b1 in rng b3 ) )
proof end;

theorem Th116: :: RELAT_1:116
for b1 being set
for b2 being Relation holds rng (b1 | b2) c= b1
proof end;

theorem Th117: :: RELAT_1:117
for b1 being set
for b2 being Relation holds b1 | b2 c= b2
proof end;

theorem Th118: :: RELAT_1:118
for b1 being set
for b2 being Relation holds rng (b1 | b2) c= rng b2
proof end;

theorem Th119: :: RELAT_1:119
for b1 being set
for b2 being Relation holds rng (b1 | b2) = (rng b2) /\ b1
proof end;

theorem Th140: :: RELAT_1:140
for b1, b2 being set
for b3 being Relation holds (b1 | b3) | b2 = b1 | (b3 | b2)
proof end;

theorem Th143: :: RELAT_1:143
for b1, b2 being set
for b3 being Relation holds
( b1 in b3 .: b2 iff ex b4 being set st
( b4 in dom b3 & [b4,b1] in b3 & b4 in b2 ) )
proof end;

theorem Th144: :: RELAT_1:144
for b1 being set
for b2 being Relation holds b2 .: b1 c= rng b2
proof end;

theorem Th145: :: RELAT_1:145
for b1 being set
for b2 being Relation holds b2 .: b1 = b2 .: ((dom b2) /\ b1)
proof end;

theorem Th146: :: RELAT_1:146
for b1 being Relation holds b1 .: (dom b1) = rng b1
proof end;

theorem Th160: :: RELAT_1:160
for b1, b2 being Relation holds rng (b1 * b2) = b2 .: (rng b1)
proof end;

theorem Th166: :: RELAT_1:166
for b1, b2 being set
for b3 being Relation holds
( b1 in b3 " b2 iff ex b4 being set st
( b4 in rng b3 & [b1,b4] in b3 & b4 in b2 ) )
proof end;

theorem Th167: :: RELAT_1:167
for b1 being set
for b2 being Relation holds b2 " b1 c= dom b2
proof end;

theorem Th174: :: RELAT_1:174
for b1 being set
for b2 being Relation st b1 <> {} & b1 c= rng b2 holds
b2 " b1 <> {}
proof end;

theorem Th178: :: RELAT_1:178
for b1, b2 being set
for b3 being Relation st b1 c= b2 holds
b3 " b1 c= b3 " b2
proof end;

theorem Th8: :: FUNCT_1:8
for b1, b2 being set
for b3 being Function holds
( [b1,b2] in b3 iff ( b1 in dom b3 & b2 = b3 . b1 ) )
proof end;

theorem Th21: :: FUNCT_1:21
for b1 being set
for b2, b3 being Function holds
( b1 in dom (b2 * b3) iff ( b1 in dom b3 & b3 . b1 in dom b2 ) )
proof end;

theorem Th22: :: FUNCT_1:22
for b1 being set
for b2, b3 being Function st b1 in dom (b2 * b3) holds
(b2 * b3) . b1 = b2 . (b3 . b1)
proof end;

theorem Th23: :: FUNCT_1:23
for b1 being set
for b2, b3 being Function st b1 in dom b2 holds
(b3 * b2) . b1 = b3 . (b2 . b1)
proof end;

theorem Th34: :: FUNCT_1:34
for b1 being set
for b2 being Function holds
( b2 = id b1 iff ( dom b2 = b1 & ( for b3 being set st b3 in b1 holds
b2 . b3 = b3 ) ) )
proof end;

theorem Th35: :: FUNCT_1:35
for b1, b2 being set st b2 in b1 holds
(id b1) . b2 = b2 by Th34;

theorem Th54: :: FUNCT_1:54
for b1 being Function st b1 is one-to-one holds
for b2 being Function holds
( b2 = b1 " iff ( dom b2 = rng b1 & ( for b3, b4 being set holds
( b3 in rng b1 & b4 = b2 . b3 iff ( b4 in dom b1 & b3 = b1 . b4 ) ) ) ) )
proof end;

theorem Th55: :: FUNCT_1:55
for b1 being Function st b1 is one-to-one holds
( rng b1 = dom (b1 " ) & dom b1 = rng (b1 " ) )
proof end;

theorem Th57: :: FUNCT_1:57
for b1 being set
for b2 being Function st b2 is one-to-one & b1 in rng b2 holds
( b1 = b2 . ((b2 " ) . b1) & b1 = (b2 * (b2 " )) . b1 )
proof end;

theorem Th62: :: FUNCT_1:62
for b1 being Function st b1 is one-to-one holds
b1 " is one-to-one
proof end;

theorem Th68: :: FUNCT_1:68
for b1 being set
for b2, b3 being Function holds
( b2 = b3 | b1 iff ( dom b2 = (dom b3) /\ b1 & ( for b4 being set st b4 in dom b2 holds
b2 . b4 = b3 . b4 ) ) )
proof end;

theorem Th70: :: FUNCT_1:70
for b1, b2 being set
for b3 being Function st b2 in dom (b3 | b1) holds
(b3 | b1) . b2 = b3 . b2 by Th68;

Lemma30: :: FUNCT_1:lemma 82
for b1, b2 being
set
for b3 being Function holds
( b2 in dom (b3 | b1) iff ( b2 in dom b3 & b2 in b1 ) )
proof end;

theorem Th72: :: FUNCT_1:72
for b1, b2 being set
for b3 being Function st b2 in b1 holds
(b3 | b1) . b2 = b3 . b2
proof end;

theorem Th145: :: FUNCT_1:145
for b1 being set
for b2 being Function holds b2 .: (b2 " b1) c= b1
proof end;

theorem Th146: :: FUNCT_1:146
for b1 being set
for b2 being Relation st b1 c= dom b2 holds
b1 c= b2 " (b2 .: b1)
proof end;

theorem Th147: :: FUNCT_1:147
for b1 being set
for b2 being Function st b1 c= rng b2 holds
b2 .: (b2 " b1) = b1
proof end;

theorem Th3: :: ORDINAL1:3
for b1, b2, b3 being set holds
( not b1 in b2 or not b2 in b3 or not b3 in b1 )
proof end;

theorem Th10: :: ORDINAL1:10
for b1 being set holds b1 in succ b1
proof end;

theorem Th21: :: ORDINAL1:21
for b1 being epsilon-transitive set
for b2 being Ordinal st b1 c< b2 holds
b1 in b2
proof end;

theorem Th23: :: ORDINAL1:23
for b1 being set
for b2 being Ordinal st b1 in b2 holds
b1 is Ordinal
proof end;

theorem Th24: :: ORDINAL1:24
for b1, b2 being Ordinal holds
( b1 in b2 or b1 = b2 or b2 in b1 )
proof end;

theorem Th31: :: ORDINAL1:31
for b1 being set st ( for b2 being set st b2 in b1 holds
( b2 is Ordinal & b2 c= b1 ) ) holds
b1 is ordinal
proof end;

theorem Th32: :: ORDINAL1:32
for b1 being set
for b2 being Ordinal st b1 c= b2 & b1 <> {} holds
ex b3 being Ordinal st
( b3 in b1 & ( for b4 being Ordinal st b4 in b1 holds
b3 c= b4 ) )
proof end;

theorem Th33: :: ORDINAL1:33
for b1, b2 being Ordinal holds
( b1 in b2 iff succ b1 c= b2 )
proof end;

theorem Th41: :: ORDINAL1:41
for b1 being Ordinal holds
( b1 is_limit_ordinal iff for b2 being Ordinal st b2 in b1 holds
succ b2 in b1 )
proof end;

theorem Th42: :: ORDINAL1:42
for b1 being Ordinal holds
( not b1 is_limit_ordinal iff ex b2 being Ordinal st b1 = succ b2 )
proof end;

Lemma1: :: WELLORD1:lemma 1
for b1 being
Relation holds
( b1 is reflexive iff for b2 being set st b2 in field b1 holds
[b2,b2] in b1 )
proof end;

Lemma2: :: WELLORD1:lemma 2
for b1 being
Relation holds
( b1 is transitive iff for b2, b3, b4 being set st [b2,b3] in b1 & [b3,b4] in b1 holds
[b2,b4] in b1 )
proof end;

Lemma3: :: WELLORD1:lemma 3
for b1 being
Relation holds
( b1 is antisymmetric iff for b2, b3 being set st [b2,b3] in b1 & [b3,b2] in b1 holds
b2 = b3 )
proof end;

Lemma4: :: WELLORD1:lemma 4
for b1 being
Relation holds
( b1 is connected iff for b2, b3 being set st b2 in field b1 & b3 in field b1 & b2 <> b3 & not [b2,b3] in b1 holds
[b3,b2] in b1 )
proof end;

theorem Th5: :: WELLORD1:5
for b1 being Relation holds
( b1 is well_founded iff b1 is_well_founded_in field b1 )
proof end;

theorem Th8: :: WELLORD1:8
for b1 being Relation holds
( b1 well_orders field b1 iff b1 is well-ordering )
proof end;

theorem Th16: :: WELLORD1:16
for b1, b2 being set
for b3 being Relation holds
( b1 in b3 |_2 b2 iff ( b1 in b3 & b1 in [:b2,b2:] ) ) by XBOOLE_0:def 3;

theorem Th17: :: WELLORD1:17
for b1 being set
for b2 being Relation holds b2 |_2 b1 = (b1 | b2) | b1
proof end;

theorem Th18: :: WELLORD1:18
for b1 being set
for b2 being Relation holds b2 |_2 b1 = b1 | (b2 | b1)
proof end;

Lemma17: :: WELLORD1:lemma 29
for b1 being
set
for b2 being Relation holds dom (b1 | b2) c= dom b2
proof end;

theorem Th19: :: WELLORD1:19
for b1, b2 being set
for b3 being Relation st b1 in field (b3 |_2 b2) holds
( b1 in field b3 & b1 in b2 )
proof end;

theorem Th20: :: WELLORD1:20
for b1 being set
for b2 being Relation holds
( field (b2 |_2 b1) c= field b2 & field (b2 |_2 b1) c= b1 )
proof end;

theorem Th21: :: WELLORD1:21
for b1, b2 being set
for b3 being Relation holds (b3 |_2 b1) -Seg b2 c= b3 -Seg b2
proof end;

theorem Th22: :: WELLORD1:22
for b1 being set
for b2 being Relation st b2 is reflexive holds
b2 |_2 b1 is reflexive
proof end;

theorem Th23: :: WELLORD1:23
for b1 being set
for b2 being Relation st b2 is connected holds
b2 |_2 b1 is connected
proof end;

theorem Th24: :: WELLORD1:24
for b1 being set
for b2 being Relation st b2 is transitive holds
b2 |_2 b1 is transitive
proof end;

theorem Th25: :: WELLORD1:25
for b1 being set
for b2 being Relation st b2 is antisymmetric holds
b2 |_2 b1 is antisymmetric
proof end;

theorem Th31: :: WELLORD1:31
for b1 being set
for b2 being Relation st b2 is well_founded holds
b2 |_2 b1 is well_founded
proof end;

theorem Th32: :: WELLORD1:32
for b1 being set
for b2 being Relation st b2 is well-ordering holds
b2 |_2 b1 is well-ordering
proof end;

theorem Th39: :: WELLORD1:39
for b1 being set
for b2 being Relation st b2 is well-ordering & b1 c= field b2 holds
field (b2 |_2 b1) = b1
proof end;

theorem Th49: :: WELLORD1:49
for b1, b2 being Relation
for b3 being Function st b3 is_isomorphism_of b1,b2 holds
b3 " is_isomorphism_of b2,b1
proof end;

theorem Th53: :: WELLORD1:53
for b1, b2 being Relation
for b3 being Function st b3 is_isomorphism_of b1,b2 holds
( ( b1 is reflexive implies b2 is reflexive ) & ( b1 is transitive implies b2 is transitive ) & ( b1 is connected implies b2 is connected ) & ( b1 is antisymmetric implies b2 is antisymmetric ) & ( b1 is well_founded implies b2 is well_founded ) )
proof end;

theorem Th54: :: WELLORD1:54
for b1, b2 being Relation
for b3 being Function st b1 is well-ordering & b3 is_isomorphism_of b1,b2 holds
b2 is well-ordering
proof end;

theorem Th12: :: RELSET_1:12
for b1, b2 being set
for b3 being Relation of b1,b2 holds
( dom b3 c= b1 & rng b3 c= b2 )
proof end;

theorem Th14: :: RELSET_1:14
for b1, b2, b3 being set
for b4 being Relation of b3,b1 st rng b4 c= b2 holds
b4 is Relation of b3,b2
proof end;

theorem Th16: :: RELSET_1:16
for b1, b2, b3 being set
for b4 being Relation of b3,b1 st b1 c= b2 holds
b4 is Relation of b3,b2
proof end;

theorem Th22: :: RELSET_1:22
for b1, b2 being set
for b3 being Relation of b2,b1 holds
( ( for b4 being set st b4 in b2 holds
ex b5 being set st [b4,b5] in b3 ) iff dom b3 = b2 )
proof end;

theorem Th23: :: RELSET_1:23
for b1, b2 being set
for b3 being Relation of b1,b2 holds
( ( for b4 being set st b4 in b2 holds
ex b5 being set st [b5,b4] in b3 ) iff rng b3 = b2 )
proof end;

theorem Th7: :: MCART_1:7
for b1, b2 being set holds
( [b1,b2] `1 = b1 & [b1,b2] `2 = b2 ) by Def1, Def2;

theorem Th2: :: WELLORD2:2
for b1 being set holds RelIncl b1 is reflexive
proof end;

theorem Th3: :: WELLORD2:3
for b1 being set holds RelIncl b1 is transitive
proof end;

theorem Th4: :: WELLORD2:4
for b1 being Ordinal holds RelIncl b1 is connected
proof end;

theorem Th5: :: WELLORD2:5
for b1 being set holds RelIncl b1 is antisymmetric
proof end;

theorem Th6: :: WELLORD2:6
for b1 being Ordinal holds RelIncl b1 is well_founded
proof end;

theorem Th7: :: WELLORD2:7
for b1 being Ordinal holds RelIncl b1 is well-ordering
proof end;

theorem Th25: :: WELLORD2:25
for b1 being set
for b2 being Relation st b2 well_orders b1 holds
( field (b2 |_2 b1) = b1 & b2 |_2 b1 is well-ordering )
proof end;

Lemma17: :: WELLORD2:lemma 30
for b1 being
set
for b2 being Relation st b2 is well-ordering & b1, field b2 are_equipotent holds
ex b3 being Relation st b3 well_orders b1
proof end;

theorem Th26: :: WELLORD2:26
for b1 being set ex b2 being Relation st b2 well_orders b1
proof end;

theorem Th28: :: WELLORD2:28
for b1 being non empty set st ( for b2 being set st b2 in b1 holds
b2 <> {} ) holds
ex b2 being Function st
( dom b2 = b1 & ( for b3 being set st b3 in b1 holds
b2 . b3 in b3 ) )
proof end;

theorem Th6: :: FUNCT_2:6
for b1, b2, b3 being set
for b4 being Function of b1,b2 st b2 <> {} & b3 in b1 holds
b4 . b3 in rng b4
proof end;

theorem Th9: :: FUNCT_2:9
for b1, b2, b3 being set
for b4 being Function of b1,b2 st ( b2 = {} implies b1 = {} ) & b2 c= b3 holds
b4 is Function of b1,b3
proof end;

theorem Th21: :: FUNCT_2:21
for b1, b2, b3 being set
for b4 being Function of b1,b2
for b5 being Function st b2 <> {} & b3 in b1 holds
(b5 * b4) . b3 = b5 . (b4 . b3)
proof end;

theorem Th46: :: FUNCT_2:46
for b1, b2, b3 being set
for b4 being Function of b1,b2 st b2 <> {} holds
for b5 being set holds
( b5 in b4 " b3 iff ( b5 in b1 & b4 . b5 in b3 ) )
proof end;

theorem Th13: :: FINSET_1:13
for b1, b2 being set st b1 c= b2 & b2 is finite holds
b1 is finite
proof end;

theorem Th15: :: FINSET_1:15
for b1, b2 being set st b1 is finite holds
b1 /\ b2 is finite
proof end;

theorem Th17: :: FINSET_1:17
for b1 being set
for b2 being Function st b1 is finite holds
b2 .: b1 is finite
proof end;

theorem Th18: :: FINSET_1:18
for b1 being set st b1 is finite holds
for b2 being Subset-Family of b1 st b2 <> {} holds
ex b3 being set st
( b3 in b2 & ( for b4 being set st b4 in b2 & b3 c= b4 holds
b4 = b3 ) )
proof end;

theorem Th26: :: FINSET_1:26
for b1 being Function st dom b1 is finite holds
rng b1 is finite
proof end;

theorem Th23: :: LATTICES:23
for b1 being non empty meet-commutative meet-absorbing LattStr
for b2, b3 being Element of b1 holds b2 "/\" b3 [= b2
proof end;

theorem Th26: :: LATTICES:26
for b1 being non empty join-commutative \/-SemiLattStr
for b2, b3 being Element of b1 st b2 [= b3 & b3 [= b2 holds
b2 = b3
proof end;

theorem Th12: :: PRE_TOPC:12
for b1 being 1-sorted holds [#] b1 = the carrier of b1 ;

theorem Th15: :: PRE_TOPC:15
for b1 being 1-sorted
for b2 being Subset of b1 holds b2 /\ ([#] b1) = b2 by XBOOLE_1:28;

theorem Th17: :: PRE_TOPC:17
for b1 being 1-sorted
for b2 being Subset of b1 holds b2 ` = ([#] b1) \ b2 by SUBSET_1:def 5;

theorem Th22: :: PRE_TOPC:22
for b1 being 1-sorted
for b2 being Subset of b1 holds ([#] b1) \ (([#] b1) \ b2) = b2
proof end;

theorem Th44: :: PRE_TOPC:44
for b1 being TopSpace
for b2 being Subset-Family of b1 st ( for b3 being Subset of b1 st b3 in b2 holds
b3 is closed ) holds
meet b2 is closed
proof end;

theorem Th45: :: PRE_TOPC:45
for b1 being TopStruct
for b2 being Subset of b1
for b3 being set st b3 in the carrier of b1 holds
( b3 in Cl b2 iff for b4 being Subset of b1 st b4 is closed & b2 c= b4 holds
b3 in b4 )
proof end;

theorem Th46: :: PRE_TOPC:46
for b1 being TopSpace
for b2 being Subset of b1 ex b3 being Subset-Family of b1 st
( ( for b4 being Subset of b1 holds
( b4 in b3 iff ( b4 is closed & b2 c= b4 ) ) ) & Cl b2 = meet b3 )
proof end;

theorem Th48: :: PRE_TOPC:48
for b1 being TopStruct
for b2 being Subset of b1 holds b2 c= Cl b2
proof end;

theorem Th52: :: PRE_TOPC:52
for b1 being TopStruct
for b2 being Subset of b1 holds
( ( b2 is closed implies Cl b2 = b2 ) & ( b1 is TopSpace-like & Cl b2 = b2 implies b2 is closed ) )
proof end;

theorem Th29: :: TOPS_1:29
for b1 being TopStruct
for b2 being Subset of b1 holds
( b2 is closed iff b2 ` is open )
proof end;

theorem Th30: :: TOPS_1:30
for b1 being TopStruct
for b2 being Subset of b1 holds
( b2 is open iff b2 ` is closed )
proof end;

Lemma15: :: TOPS_1:lemma 40
for b1 being non
empty 1-sorted
for b2 being Subset of b1
for b3 being Element of b1 holds
( b3 in b2 ` iff not b3 in b2 ) by SUBSET_1:50, SUBSET_1:54;

theorem Th44: :: TOPS_1:44
for b1 being TopStruct
for b2 being Subset of b1 holds Int b2 c= b2
proof end;

theorem Th51: :: TOPS_1:51
for b1 being TopSpace
for b2 being Subset of b1 holds Int b2 is open ;

theorem Th55: :: TOPS_1:55
for b1 being TopSpace
for b2 being TopStruct
for b3 being Subset of b1
for b4 being Subset of b2 holds
( ( b4 is open implies Int b4 = b4 ) & ( Int b3 = b3 implies b3 is open ) )
proof end;

theorem Th5: :: TOPS_2:5
for b1 being non empty 1-sorted
for b2 being Subset-Family of b1 st b2 is_a_cover_of b1 holds
b2 <> {}
proof end;

theorem Th10: :: TOPS_2:10
for b1 being set
for b2 being Subset-Family of b1 holds
( b2 <> {} iff COMPLEMENT b2 <> {} )
proof end;

theorem Th11: :: TOPS_2:11
for b1 being set
for b2 being Subset-Family of b1 st b2 <> {} holds
meet (COMPLEMENT b2) = (union b2) `
proof end;

theorem Th12: :: TOPS_2:12
for b1 being set
for b2 being Subset-Family of b1 st b2 <> {} holds
union (COMPLEMENT b2) = (meet b2) `
proof end;

theorem Th13: :: TOPS_2:13
for b1 being 1-sorted
for b2 being Subset-Family of b1 holds
( COMPLEMENT b2 is finite iff b2 is finite )
proof end;

theorem Th16: :: TOPS_2:16
for b1 being TopStruct
for b2 being Subset-Family of b1 holds
( b2 is closed iff COMPLEMENT b2 is open )
proof end;

theorem Th17: :: TOPS_2:17
for b1 being TopStruct
for b2 being Subset-Family of b1 holds
( b2 is open iff COMPLEMENT b2 is closed )
proof end;

theorem Th13: :: COMPTS_1:13
for b1 being non empty TopSpace holds
( b1 is compact iff for b2 being Subset-Family of b1 st b2 is centered & b2 is closed holds
meet b2 <> {} )
proof end;

theorem Th25: :: ORDERS_2:25
for b1 being antisymmetric RelStr
for b2, b3 being Element of b1 st b2 <= b3 & b3 <= b2 holds
b2 = b3
proof end;

theorem Th26: :: ORDERS_2:26
for b1 being transitive RelStr
for b2, b3, b4 being Element of b1 st b2 <= b3 & b3 <= b4 holds
b2 <= b4
proof end;

theorem Th5: :: CONNSP_2:5
for b1 being non empty TopSpace
for b2 being Subset of b1
for b3 being Point of b1 st b2 is open & b3 in b2 holds
b2 is a_neighborhood of b3
proof end;

theorem Th32: :: FILTER_1:32
for b1 being Lattice
for b2, b3 being Element of b1 holds
( [b2,b3] in LattRel b1 iff b2 [= b3 )
proof end;

theorem Th1: :: LATTICE3:1
for b1 being set
for b2, b3 being Element of (BooleLatt b1) holds
( b2 "\/" b3 = b2 \/ b3 & b2 "/\" b3 = b2 /\ b3 )
proof end;

theorem Th2: :: LATTICE3:2
for b1 being set
for b2, b3 being Element of (BooleLatt b1) holds
( b2 [= b3 iff b2 c= b3 )
proof end;

theorem Th3: :: LATTICE3:3
for b1 being set holds
( BooleLatt b1 is lower-bounded & Bottom (BooleLatt b1) = {} )
proof end;

theorem Th7: :: LATTICE3:7
for b1 being Lattice
for b2, b3 being Element of b1 holds
( b2 [= b3 iff b2 % <= b3 % )
proof end;

theorem Th28: :: LATTICE3:28
for b1 being set
for b2 being Lattice
for b3 being Element of b2 holds
( b3 is_less_than b1 iff b3 % is_<=_than b1 )
proof end;

theorem Th29: :: LATTICE3:29
for b1 being set
for b2 being Lattice
for b3 being Element of (LattPOSet b2) holds
( b3 is_<=_than b1 iff % b3 is_less_than b1 )
proof end;

theorem Th30: :: LATTICE3:30
for b1 being set
for b2 being Lattice
for b3 being Element of b2 holds
( b1 is_less_than b3 iff b1 is_<=_than b3 % )
proof end;

theorem Th31: :: LATTICE3:31
for b1 being set
for b2 being Lattice
for b3 being Element of (LattPOSet b2) holds
( b1 is_<=_than b3 iff b1 is_less_than % b3 )
proof end;

theorem Th34: :: LATTICE3:34
for b1 being complete Lattice
for b2 being Element of b1
for b3 being set holds
( b2 = "/\" b3,b1 iff ( b2 is_less_than b3 & ( for b4 being Element of b1 st b4 is_less_than b3 holds
b4 [= b2 ) ) )
proof end;

theorem Th50: :: LATTICE3:50
for b1 being complete Lattice holds
( b1 is 0_Lattice & Bottom b1 = "\/" {} ,b1 )
proof end;

theorem Th91: :: TMAP_1:91
for b1 being non empty 1-sorted
for b2 being Element of b1 holds (id b1) . b2 = b2
proof end;

theorem Th5: :: TEX_2:5
for b1 being set
for b2 being Subset of b1 holds
( b2 is proper iff b2 <> b1 )
proof end;

theorem Th6: :: YELLOW_0:6
for b1 being RelStr
for b2 being Element of b1 holds
( {} is_<=_than b2 & {} is_>=_than b2 )
proof end;

theorem Th15: :: YELLOW_0:15
for b1 being antisymmetric RelStr
for b2 being set holds
( ex_sup_of b2,b1 iff ex b3 being Element of b1 st
( b2 is_<=_than b3 & ( for b4 being Element of b1 st b2 is_<=_than b4 holds
b3 <= b4 ) ) )
proof end;

theorem Th16: :: YELLOW_0:16
for b1 being antisymmetric RelStr
for b2 being set holds
( ex_inf_of b2,b1 iff ex b3 being Element of b1 st
( b2 is_>=_than b3 & ( for b4 being Element of b1 st b2 is_>=_than b4 holds
b3 >= b4 ) ) )
proof end;

theorem Th29: :: YELLOW_0:29
for b1 being complete Lattice
for b2 being set holds
( "\/" b2,b1 = "\/" b2,(LattPOSet b1) & "/\" b2,b1 = "/\" b2,(LattPOSet b1) )
proof end;

theorem Th30: :: YELLOW_0:30
for b1 being antisymmetric RelStr
for b2 being Element of b1
for b3 being set holds
( b2 = "\/" b3,b1 & ex_sup_of b3,b1 iff ( b2 is_>=_than b3 & ( for b4 being Element of b1 st b4 is_>=_than b3 holds
b2 <= b4 ) ) )
proof end;

theorem Th42: :: YELLOW_0:42
for b1 being non empty antisymmetric lower-bounded RelStr holds
( ex_sup_of {} ,b1 & ex_inf_of the carrier of b1,b1 )
proof end;

theorem Th44: :: YELLOW_0:44
for b1 being non empty antisymmetric lower-bounded RelStr
for b2 being Element of b1 holds Bottom b1 <= b2
proof end;

theorem Th60: :: YELLOW_0:60
for b1 being RelStr
for b2 being SubRelStr of b1
for b3, b4 being Element of b1
for b5, b6 being Element of b2 st b5 = b3 & b6 = b4 & b5 <= b6 holds
b3 <= b4
proof end;

theorem Th61: :: YELLOW_0:61
for b1 being RelStr
for b2 being full SubRelStr of b1
for b3, b4 being Element of b1
for b5, b6 being Element of b2 st b5 = b3 & b6 = b4 & b3 <= b4 & b5 in the carrier of b2 & b6 in the carrier of b2 holds
b5 <= b6
proof end;

theorem Th1: :: WAYBEL_0:1
for b1 being non empty transitive RelStr
for b2 being Subset of b1 holds
( ( not b2 is empty & b2 is directed ) iff for b3 being finite Subset of b2 ex b4 being Element of b1 st
( b4 in b2 & b4 is_>=_than b3 ) )
proof end;

theorem Th8: :: WAYBEL_0:8
for b1 being non empty 1-sorted
for b2 being non empty NetStr of b1
for b3, b4 being set st b3 c= b4 holds
( ( b2 is_eventually_in b3 implies b2 is_eventually_in b4 ) & ( b2 is_often_in b3 implies b2 is_often_in b4 ) )
proof end;

theorem Th1: :: YELLOW_1:1
for b1 being set holds
( the carrier of (InclPoset b1) = b1 & the InternalRel of (InclPoset b1) = RelIncl b1 ) ;

theorem Th2: :: YELLOW_1:2
for b1 being set
for b2, b3 being Element of (BoolePoset b1) holds
( b2 <= b3 iff b2 c= b3 )
proof end;

theorem Th4: :: YELLOW_1:4
for b1 being set holds BoolePoset b1 = InclPoset (bool b1)
proof end;

theorem Th18: :: YELLOW_1:18
for b1 being set holds Bottom (BoolePoset b1) = {}
proof end;

theorem Th6: :: YELLOW_6:6
for b1 being non empty TopSpace
for b2 being Subset of b1
for b3 being Point of b1 holds
( b3 in Cl b2 iff for b4 being a_neighborhood of b3 holds b4 meets b2 )
proof end;

theorem Th19: :: YELLOW_6:19
for b1 being 1-sorted
for b2 being NetStr of b1
for b3 being SubNetStr of b2 holds the carrier of b3 c= the carrier of b2
proof end;

theorem Th20: :: YELLOW_6:20
for b1 being 1-sorted
for b2 being NetStr of b1
for b3 being SubNetStr of b2
for b4, b5 being Element of b2
for b6, b7 being Element of b3 st b4 = b6 & b5 = b7 & b6 <= b7 holds
b4 <= b5
proof end;

theorem Th21: :: YELLOW_6:21
for b1 being 1-sorted
for b2 being non empty NetStr of b1
for b3 being non empty full SubNetStr of b2
for b4, b5 being Element of b2
for b6, b7 being Element of b3 st b4 = b6 & b5 = b7 & b4 <= b5 holds
b6 <= b7
proof end;

theorem Th28: :: YELLOW_6:28
for b1 being non empty 1-sorted
for b2 being net of b1
for b3 being set st b2 is_eventually_in b3 holds
b2 is_often_in b3
proof end;

theorem Th30: :: YELLOW_6:30
for b1 being non empty 1-sorted
for b2 being net of b1
for b3 being set st b2 is_often_in b3 holds
( not b2 " b3 is empty & b2 " b3 is directed )
proof end;

theorem Th31: :: YELLOW_6:31
for b1 being non empty 1-sorted
for b2 being net of b1
for b3 being set st b2 is_often_in b3 holds
b2 " b3 is subnet of b2
proof end;

theorem Th32: :: YELLOW_6:32
for b1 being non empty 1-sorted
for b2 being net of b1
for b3 being set
for b4 being subnet of b2 st b4 = b2 " b3 holds
b4 is_eventually_in b3
proof end;

theorem Th41: :: YELLOW_6:41
for b1 being non empty TopSpace
for b2 being net of b1
for b3 being subnet of b2 holds Lim b2 c= Lim b3
proof end;

theorem Th11: :: WAYBEL_7:11
for b1 being set
for b2 being Subset of (BoolePoset b1) holds
( b2 is upper iff for b3, b4 being set st b3 c= b4 & b4 c= b1 & b3 in b2 holds
b4 in b2 )
proof end;

theorem Th4: :: WAYBEL_7:4
for b1 being set holds the carrier of (BoolePoset b1) = bool b1
proof end;

theorem Th8: :: WAYBEL_7:8
for b1 being non empty lower-bounded Poset
for b2 being Filter of b1 holds
( b2 is proper iff not Bottom b1 in b2 )
proof end;

theorem Th12: :: WAYBEL_9:12
for b1 being non empty 1-sorted
for b2 being non empty NetStr of b1
for b3 being Element of b2 holds the carrier of (b2 | b3) = { b4 where B is Element of b2 : b3 <= b4 }
proof end;

theorem Th16: :: WAYBEL_9:16
for b1 being non empty 1-sorted
for b2 being non empty directed NetStr of b1
for b3, b4 being Element of b2
for b5 being Element of (b2 | b3) st b4 = b5 holds
b2 . b4 = (b2 | b3) . b5
proof end;

theorem Th29: :: WAYBEL_9:29
for b1 being non empty TopSpace
for b2 being net of b1
for b3 being Point of b1 st b3 in Lim b2 holds
b3 is_a_cluster_point_of b2
proof end;

theorem Th2: :: YELLOW19:2
for b1 being non empty set
for b2 being proper Filter of (BoolePoset b1)
for b3 being set st b3 in b2 holds
not b3 is empty
proof end;

theorem Th3: :: YELLOW19:3
for b1 being non empty TopSpace
for b2 being Point of b1
for b3 being set holds
( b3 in NeighborhoodSystem b2 iff b3 is a_neighborhood of b2 )
proof end;

theorem Th4: :: YELLOW19:4
for b1 being non empty TopSpace
for b2 being Point of b1
for b3 being upper Subset of (BoolePoset ([#] b1)) holds
( b2 is_a_convergence_point_of b3,b1 iff NeighborhoodSystem b2 c= b3 )
proof end;

theorem Th9: :: YELLOW19:9
for b1 being non empty 1-sorted
for b2 being net of b1
for b3 being Subset of b1,b2 holds b2 is_eventually_in b3
proof end;

theorem Th11: :: YELLOW19:11
for b1 being non empty 1-sorted
for b2 being non empty NetStr of b1
for b3 being set holds
( b3 in a_filter b2 iff ( b2 is_eventually_in b3 & b3 is Subset of b1 ) )
proof end;

theorem Th13: :: YELLOW19:13
for b1 being non empty TopSpace
for b2 being net of b1
for b3 being Point of b1 holds
( b3 in Lim b2 iff b3 is_a_convergence_point_of a_filter b2,b1 )
proof end;

theorem Th14: :: YELLOW19:14
for b1 being non empty 1-sorted
for b2 being Filter of (BoolePoset ([#] b1)) holds b2 \ {{} } = a_filter (a_net b2)
proof end;

theorem Th15: :: YELLOW19:15
for b1 being non empty 1-sorted
for b2 being proper Filter of (BoolePoset ([#] b1)) holds b2 = a_filter (a_net b2)
proof end;

theorem Th18: :: YELLOW19:18
for b1 being non empty TopSpace
for b2 being proper Filter of (BoolePoset ([#] b1))
for b3 being Point of b1 holds
( b3 in Lim (a_net b2) iff b3 is_a_convergence_point_of b2,b1 )
proof end;

theorem Th20: :: YELLOW19:20
for b1 being non empty TopSpace
for b2 being Point of b1
for b3 being Subset of b1 st b2 in Cl b3 holds
for b4 being proper Filter of (BoolePoset ([#] b1)) st b4 = NeighborhoodSystem b2 holds
a_net b4 is_often_in b3
proof end;

theorem Th23: :: YELLOW19:23
for b1 being non empty TopSpace
for b2 being Subset of b1
for b3 being Point of b1 holds
( b3 in Cl b2 iff ex b4 being net of b1 st
( b4 is_eventually_in b2 & b3 is_a_cluster_point_of b4 ) )
proof end;

theorem Th31: :: YELLOW19:31
for b1 being non empty TopSpace
for b2 being net of b1
for b3 being Point of b1 holds
( b3 is_a_cluster_point_of b2 iff for b4 being Subset of b1,b2 holds b3 in Cl b4 )
proof end;

Lemma24: :: YELLOW19:lemma 37
for b1 being non
empty TopSpace st b1 is compact holds
for b2 being net of b1 ex b3 being Point of b1 st b3 is_a_cluster_point_of b2
proof end;