:: RCOMP_3 semantic presentation

Lemma1: REAL = [#] REAL
by SUBSET_1:def 4;

registration
let c1 be non empty set ;
cluster [#] a1 -> non empty ;
coherence
not [#] c1 is empty
by SUBSET_1:def 4;
end;

registration
cluster -> real-membered SubSpace of RealSpace ;
coherence
for b1 being SubSpace of RealSpace holds b1 is real-membered
proof end;
end;

registration
let c1 be real-membered 1-sorted ;
cluster the carrier of a1 -> real-membered ;
coherence
the carrier of c1 is real-membered
by BORSUK_6:def 1;
end;

registration
cluster non empty finite real-membered bounded_above bounded_below set ;
existence
ex b1 being real-membered set st
( not b1 is empty & b1 is finite & b1 is bounded_below & b1 is bounded_above )
proof end;
end;

theorem Th1: :: RCOMP_3:1
for b1 being non empty real-membered bounded_below set
for b2 being closed Subset of REAL st b1 c= b2 holds
inf b1 in b2
proof end;

theorem Th2: :: RCOMP_3:2
for b1 being non empty real-membered bounded_above set
for b2 being closed Subset of REAL st b1 c= b2 holds
sup b1 in b2
proof end;

theorem Th3: :: RCOMP_3:3
for b1, b2 being Subset of REAL holds Cl (b1 \/ b2) = (Cl b1) \/ (Cl b2)
proof end;

registration
let c1, c2 be real number ;
cluster [.a1,a2.[ -> bounded ;
coherence
[.c1,c2.[ is bounded
proof end;
cluster ].a1,a2.] -> bounded ;
coherence
].c1,c2.] is bounded
proof end;
cluster ].a1,a2.[ -> bounded ;
coherence
].c1,c2.[ is bounded
proof end;
end;

registration
let c1, c2 be real number ;
cluster [.a1,a2.] -> connected ;
coherence
[.c1,c2.] is connected
proof end;
cluster [.a1,a2.[ -> bounded connected ;
coherence
[.c1,c2.[ is connected
proof end;
cluster ].a1,a2.] -> bounded connected ;
coherence
].c1,c2.] is connected
proof end;
cluster ].a1,a2.[ -> bounded connected ;
coherence
].c1,c2.[ is connected
proof end;
end;

registration
cluster non empty bounded open connected Element of K10(REAL );
existence
ex b1 being Subset of REAL st
( b1 is open & b1 is bounded & b1 is connected & not b1 is empty )
proof end;
end;

theorem Th4: :: RCOMP_3:4
for b1, b2 being real number st b1 < b2 holds
inf [.b1,b2.[ = b1
proof end;

theorem Th5: :: RCOMP_3:5
for b1, b2 being real number st b1 < b2 holds
sup [.b1,b2.[ = b2
proof end;

theorem Th6: :: RCOMP_3:6
for b1, b2 being real number st b1 < b2 holds
inf ].b1,b2.] = b1
proof end;

theorem Th7: :: RCOMP_3:7
for b1, b2 being real number st b1 < b2 holds
sup ].b1,b2.] = b2
proof end;

theorem Th8: :: RCOMP_3:8
for b1, b2, b3, b4 being real number st ( b1 <= b2 or b3 <= b4 ) & [.b1,b2.] = [.b3,b4.] holds
( b1 = b3 & b2 = b4 )
proof end;

theorem Th9: :: RCOMP_3:9
for b1, b2, b3, b4 being real number st ( b1 < b2 or b3 < b4 ) & ].b1,b2.[ = ].b3,b4.[ holds
( b1 = b3 & b2 = b4 )
proof end;

theorem Th10: :: RCOMP_3:10
for b1, b2, b3, b4 being real number st ( b1 < b2 or b3 < b4 ) & ].b1,b2.] = ].b3,b4.] holds
( b1 = b3 & b2 = b4 )
proof end;

theorem Th11: :: RCOMP_3:11
for b1, b2, b3, b4 being real number st ( b1 < b2 or b3 < b4 ) & [.b1,b2.[ = [.b3,b4.[ holds
( b1 = b3 & b2 = b4 )
proof end;

theorem Th12: :: RCOMP_3:12
for b1, b2, b3, b4 being real number st b1 < b2 & [.b1,b2.[ c= [.b3,b4.] holds
( b3 <= b1 & b2 <= b4 )
proof end;

theorem Th13: :: RCOMP_3:13
for b1, b2, b3, b4 being real number st b1 < b2 & [.b1,b2.[ c= [.b3,b4.[ holds
( b3 <= b1 & b2 <= b4 )
proof end;

theorem Th14: :: RCOMP_3:14
for b1, b2, b3, b4 being real number st b1 < b2 & ].b1,b2.] c= [.b3,b4.] holds
( b3 <= b1 & b2 <= b4 )
proof end;

theorem Th15: :: RCOMP_3:15
for b1, b2, b3, b4 being real number st b1 < b2 & ].b1,b2.] c= ].b3,b4.] holds
( b3 <= b1 & b2 <= b4 )
proof end;

theorem Th16: :: RCOMP_3:16
for b1, b2 being real number holds [.b1,b2.] ` = (left_open_halfline b1) \/ (right_open_halfline b2)
proof end;

theorem Th17: :: RCOMP_3:17
for b1, b2 being real number holds ].b1,b2.[ ` = (left_closed_halfline b1) \/ (right_closed_halfline b2)
proof end;

theorem Th18: :: RCOMP_3:18
for b1, b2 being real number holds [.b1,b2.[ ` = (left_open_halfline b1) \/ (right_closed_halfline b2)
proof end;

theorem Th19: :: RCOMP_3:19
for b1, b2 being real number holds ].b1,b2.] ` = (left_closed_halfline b1) \/ (right_open_halfline b2)
proof end;

theorem Th20: :: RCOMP_3:20
for b1, b2 being real number st b1 <= b2 holds
[.b1,b2.] /\ ((left_closed_halfline b1) \/ (right_closed_halfline b2)) = {b1,b2}
proof end;

E16: now
let c1 be real number ;
assume left_open_halfline c1 is bounded_below ;
then consider c2 being real number such that
E17: for b1 being real number st b1 in left_open_halfline c1 holds
c2 <= b1 by SEQ_4:def 2;
E18: c1 - 1 < c1 - 0 by XREAL_1:17;
then c1 - 1 in left_open_halfline c1 by BORSUK_5:17;
then c2 <= c1 - 1 by E17;
then c2 - 1 < (c1 - 1) - 0 by XREAL_1:17;
then c2 - 1 < c1 by E18, XREAL_1:2;
then c2 - 1 in left_open_halfline c1 by BORSUK_5:17;
then c2 - 0 <= c2 - 1 by E17;
hence contradiction by XREAL_1:17;
end;

E17: now
let c1 be real number ;
assume right_open_halfline c1 is bounded_above ;
then consider c2 being real number such that
E18: for b1 being real number st b1 in right_open_halfline c1 holds
b1 <= c2 by SEQ_4:def 1;
E19: c1 + 0 < c1 + 1 by XREAL_1:8;
then c1 + 1 in right_open_halfline c1 by BORSUK_5:14;
then c1 + 1 <= c2 by E18;
then (c1 + 1) + 0 <= c2 + 1 by XREAL_1:9;
then c1 < c2 + 1 by E19, XREAL_1:2;
then c2 + 1 in right_open_halfline c1 by BORSUK_5:14;
then c2 + 1 <= c2 + 0 by E18;
hence contradiction by XREAL_1:8;
end;

registration
let c1 be real number ;
cluster left_closed_halfline a1 -> bounded_above non bounded_below connected ;
coherence
( not left_closed_halfline c1 is bounded_below & left_closed_halfline c1 is bounded_above & left_closed_halfline c1 is connected )
proof end;
cluster left_open_halfline a1 -> bounded_above non bounded_below connected ;
coherence
( not left_open_halfline c1 is bounded_below & left_open_halfline c1 is bounded_above & left_open_halfline c1 is connected )
proof end;
cluster right_closed_halfline a1 -> non bounded_above bounded_below connected ;
coherence
( right_closed_halfline c1 is bounded_below & not right_closed_halfline c1 is bounded_above & right_closed_halfline c1 is connected )
proof end;
cluster right_open_halfline a1 -> non bounded_above bounded_below connected ;
coherence
( right_open_halfline c1 is bounded_below & not right_open_halfline c1 is bounded_above & right_open_halfline c1 is connected )
proof end;
end;

theorem Th21: :: RCOMP_3:21
for b1 being real number holds sup (left_closed_halfline b1) = b1
proof end;

theorem Th22: :: RCOMP_3:22
for b1 being real number holds sup (left_open_halfline b1) = b1
proof end;

theorem Th23: :: RCOMP_3:23
for b1 being real number holds inf (right_closed_halfline b1) = b1
proof end;

theorem Th24: :: RCOMP_3:24
for b1 being real number holds inf (right_open_halfline b1) = b1
proof end;

registration
cluster [#] REAL -> non empty non bounded_above non bounded_below connected ;
coherence
( [#] REAL is connected & not [#] REAL is bounded_below & not [#] REAL is bounded_above )
proof end;
end;

theorem Th25: :: RCOMP_3:25
for b1 being bounded connected Subset of REAL st inf b1 in b1 & sup b1 in b1 holds
b1 = [.(inf b1),(sup b1).]
proof end;

theorem Th26: :: RCOMP_3:26
for b1 being bounded Subset of REAL st not inf b1 in b1 holds
b1 c= ].(inf b1),(sup b1).]
proof end;

theorem Th27: :: RCOMP_3:27
for b1 being bounded connected Subset of REAL st not inf b1 in b1 & sup b1 in b1 holds
b1 = ].(inf b1),(sup b1).]
proof end;

theorem Th28: :: RCOMP_3:28
for b1 being bounded Subset of REAL st not sup b1 in b1 holds
b1 c= [.(inf b1),(sup b1).[
proof end;

theorem Th29: :: RCOMP_3:29
for b1 being bounded connected Subset of REAL st inf b1 in b1 & not sup b1 in b1 holds
b1 = [.(inf b1),(sup b1).[
proof end;

theorem Th30: :: RCOMP_3:30
for b1 being bounded Subset of REAL st not inf b1 in b1 & not sup b1 in b1 holds
b1 c= ].(inf b1),(sup b1).[
proof end;

theorem Th31: :: RCOMP_3:31
for b1 being non empty bounded connected Subset of REAL st not inf b1 in b1 & not sup b1 in b1 holds
b1 = ].(inf b1),(sup b1).[
proof end;

theorem Th32: :: RCOMP_3:32
for b1 being Subset of REAL st b1 is bounded_above holds
b1 c= left_closed_halfline (sup b1)
proof end;

theorem Th33: :: RCOMP_3:33
for b1 being connected Subset of REAL st not b1 is bounded_below & b1 is bounded_above & sup b1 in b1 holds
b1 = left_closed_halfline (sup b1)
proof end;

theorem Th34: :: RCOMP_3:34
for b1 being Subset of REAL st b1 is bounded_above & not sup b1 in b1 holds
b1 c= left_open_halfline (sup b1)
proof end;

theorem Th35: :: RCOMP_3:35
for b1 being non empty connected Subset of REAL st not b1 is bounded_below & b1 is bounded_above & not sup b1 in b1 holds
b1 = left_open_halfline (sup b1)
proof end;

theorem Th36: :: RCOMP_3:36
for b1 being Subset of REAL st b1 is bounded_below holds
b1 c= right_closed_halfline (inf b1)
proof end;

theorem Th37: :: RCOMP_3:37
for b1 being connected Subset of REAL st b1 is bounded_below & not b1 is bounded_above & inf b1 in b1 holds
b1 = right_closed_halfline (inf b1)
proof end;

theorem Th38: :: RCOMP_3:38
for b1 being Subset of REAL st b1 is bounded_below & not inf b1 in b1 holds
b1 c= right_open_halfline (inf b1)
proof end;

theorem Th39: :: RCOMP_3:39
for b1 being non empty connected Subset of REAL st b1 is bounded_below & not b1 is bounded_above & not inf b1 in b1 holds
b1 = right_open_halfline (inf b1)
proof end;

theorem Th40: :: RCOMP_3:40
for b1 being connected Subset of REAL st not b1 is bounded_above & not b1 is bounded_below holds
b1 = REAL
proof end;

theorem Th41: :: RCOMP_3:41
for b1 being connected Subset of REAL holds
( b1 is empty or b1 = REAL or ex b2 being real number st b1 = left_closed_halfline b2 or ex b2 being real number st b1 = left_open_halfline b2 or ex b2 being real number st b1 = right_closed_halfline b2 or ex b2 being real number st b1 = right_open_halfline b2 or ex b2, b3 being real number st
( b2 <= b3 & b1 = [.b2,b3.] ) or ex b2, b3 being real number st
( b2 < b3 & b1 = [.b2,b3.[ ) or ex b2, b3 being real number st
( b2 < b3 & b1 = ].b2,b3.] ) or ex b2, b3 being real number st
( b2 < b3 & b1 = ].b2,b3.[ ) )
proof end;

theorem Th42: :: RCOMP_3:42
for b1 being real number
for b2 being non empty connected Subset of REAL holds
( b1 in b2 or b1 <= inf b2 or sup b2 <= b1 )
proof end;

theorem Th43: :: RCOMP_3:43
for b1, b2 being non empty bounded connected Subset of REAL st inf b1 <= inf b2 & sup b2 <= sup b1 & ( inf b1 = inf b2 & inf b2 in b2 implies inf b1 in b1 ) & ( sup b1 = sup b2 & sup b2 in b2 implies sup b1 in b1 ) holds
b2 c= b1
proof end;

registration
cluster non empty non bounded closed open connected Element of K10(REAL );
existence
ex b1 being Subset of REAL st
( b1 is open & b1 is closed & b1 is connected & not b1 is empty & not b1 is bounded )
proof end;
end;

theorem Th44: :: RCOMP_3:44
for b1, b2 being real number
for b3 being Subset of R^1 st b1 <= b2 & b3 = [.b1,b2.] holds
Fr b3 = {b1,b2}
proof end;

theorem Th45: :: RCOMP_3:45
for b1, b2 being real number
for b3 being Subset of R^1 st b1 < b2 & b3 = ].b1,b2.[ holds
Fr b3 = {b1,b2}
proof end;

theorem Th46: :: RCOMP_3:46
for b1, b2 being real number
for b3 being Subset of R^1 st b1 < b2 & b3 = [.b1,b2.[ holds
Fr b3 = {b1,b2}
proof end;

theorem Th47: :: RCOMP_3:47
for b1, b2 being real number
for b3 being Subset of R^1 st b1 < b2 & b3 = ].b1,b2.] holds
Fr b3 = {b1,b2}
proof end;

theorem Th48: :: RCOMP_3:48
for b1, b2 being real number
for b3 being Subset of R^1 st b3 = [.b1,b2.] holds
Int b3 = ].b1,b2.[
proof end;

theorem Th49: :: RCOMP_3:49
for b1, b2 being real number
for b3 being Subset of R^1 st b3 = ].b1,b2.[ holds
Int b3 = ].b1,b2.[
proof end;

theorem Th50: :: RCOMP_3:50
for b1, b2 being real number
for b3 being Subset of R^1 st b3 = [.b1,b2.[ holds
Int b3 = ].b1,b2.[
proof end;

theorem Th51: :: RCOMP_3:51
for b1, b2 being real number
for b3 being Subset of R^1 st b3 = ].b1,b2.] holds
Int b3 = ].b1,b2.[
proof end;

registration
let c1 be convex Subset of R^1 ;
cluster R^1 | a1 -> convex ;
coherence
R^1 | c1 is convex
proof end;
end;

registration
let c1 be connected Subset of REAL ;
cluster R^1 a1 -> convex ;
coherence
R^1 c1 is convex
proof end;
end;

theorem Th52: :: RCOMP_3:52
for b1 being Subset of R^1
for b2 being Subset of REAL st b1 = b2 holds
( b1 is connected iff b2 is connected )
proof end;

registration
let c1 be real number ;
cluster Closed-Interval-TSpace a1,a1 -> trivial ;
coherence
Closed-Interval-TSpace c1,c1 is trivial
proof end;
end;

theorem Th53: :: RCOMP_3:53
for b1, b2 being real number st b1 <= b2 holds
for b3 being Subset of (Closed-Interval-TSpace b1,b2) holds b3 is bounded Subset of REAL
proof end;

theorem Th54: :: RCOMP_3:54
for b1, b2, b3, b4 being real number st b1 <= b2 holds
for b5 being Subset of (Closed-Interval-TSpace b1,b2) st b5 = [.b3,b4.[ & b1 < b3 & b4 <= b2 holds
Int b5 = ].b3,b4.[
proof end;

theorem Th55: :: RCOMP_3:55
for b1, b2, b3, b4 being real number st b1 <= b2 holds
for b5 being Subset of (Closed-Interval-TSpace b1,b2) st b5 = ].b3,b4.] & b1 <= b3 & b4 < b2 holds
Int b5 = ].b3,b4.[
proof end;

theorem Th56: :: RCOMP_3:56
for b1, b2 being real number
for b3 being Subset of (Closed-Interval-TSpace b1,b2)
for b4 being Subset of REAL st b3 = b4 holds
( b3 is connected iff b4 is connected )
proof end;

registration
let c1 be TopSpace;
cluster open closed connected Element of K10(the carrier of a1);
existence
ex b1 being Subset of c1 st
( b1 is open & b1 is closed & b1 is connected )
proof end;
end;

registration
let c1 be non empty connected TopSpace;
cluster non empty open closed connected Element of K10(the carrier of a1);
existence
ex b1 being Subset of c1 st
( not b1 is empty & b1 is open & b1 is closed & b1 is connected )
proof end;
end;

theorem Th57: :: RCOMP_3:57
for b1, b2 being real number st b1 <= b2 holds
for b3 being open connected Subset of (Closed-Interval-TSpace b1,b2) holds
( b3 is empty or b3 = [.b1,b2.] or ex b4 being real number st
( b1 < b4 & b4 <= b2 & b3 = [.b1,b4.[ ) or ex b4 being real number st
( b1 <= b4 & b4 < b2 & b3 = ].b4,b2.] ) or ex b4, b5 being real number st
( b1 <= b4 & b4 < b5 & b5 <= b2 & b3 = ].b4,b5.[ ) )
proof end;

deffunc H1( set ) -> set = a1;

defpred S1[ set , set ] means a1 c= a2;

theorem Th58: :: RCOMP_3:58
for b1 being 1-sorted
for b2 being Subset-Family of b1 holds
( b2 is_a_cover_of b1 iff b2 is_a_cover_of [#] b1 )
proof end;

theorem Th59: :: RCOMP_3:59
for b1 being 1-sorted
for b2 being finite Subset-Family of b1
for b3 being Subset-Family of b1 st b2 is_a_cover_of b1 & b3 = b2 \ { b4 where B is Subset of b1 : ( b4 in b2 & ex b1 being Subset of b1 st
( b5 in b2 & b4 c= b5 & b4 <> b5 ) )
}
holds
b3 is_a_cover_of b1
proof end;

theorem Th60: :: RCOMP_3:60
for b1 being non empty trivial 1-sorted
for b2 being Point of b1
for b3 being Subset-Family of b1 st b3 is_a_cover_of b1 holds
{b2} in b3
proof end;

definition
let c1 be TopStruct ;
let c2 be Subset-Family of c1;
attr a2 is connected means :Def1: :: RCOMP_3:def 1
for b1 being Subset of a1 st b1 in a2 holds
b1 is connected;
end;

:: deftheorem Def1 defines connected RCOMP_3:def 1 :
for b1 being TopStruct
for b2 being Subset-Family of b1 holds
( b2 is connected iff for b3 being Subset of b1 st b3 in b2 holds
b3 is connected );

registration
let c1 be TopSpace;
cluster non empty open closed connected Element of K10(K10(the carrier of a1));
existence
ex b1 being Subset-Family of c1 st
( not b1 is empty & b1 is open & b1 is closed & b1 is connected )
proof end;
end;

Lemma55: for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2) st [.b1,b2.] in b3 & b1 <= b2 holds
( rng <*[.b1,b2.]*> c= b3 & union (rng <*[.b1,b2.]*>) = [.b1,b2.] & ( for b4 being natural number st 1 <= b4 holds
( ( b4 <= len <*[.b1,b2.]*> implies not <*[.b1,b2.]*> /. b4 is empty ) & ( b4 + 1 <= len <*[.b1,b2.]*> implies ( inf (<*[.b1,b2.]*> /. b4) <= inf (<*[.b1,b2.]*> /. (b4 + 1)) & sup (<*[.b1,b2.]*> /. b4) <= sup (<*[.b1,b2.]*> /. (b4 + 1)) & inf (<*[.b1,b2.]*> /. (b4 + 1)) < sup (<*[.b1,b2.]*> /. b4) ) ) & ( b4 + 2 <= len <*[.b1,b2.]*> implies sup (<*[.b1,b2.]*> /. b4) <= inf (<*[.b1,b2.]*> /. (b4 + 2)) ) ) ) )
proof end;

theorem Th61: :: RCOMP_3:61
for b1 being TopSpace
for b2, b3 being Subset-Family of b1 st b2 is_a_cover_of b1 & b2 is finite holds
for b4 being set st b3 = b2 \ { b5 where B is Subset of b1 : ( b5 in b2 & ex b1 being Subset of b1 st
( b6 in b2 & b5 c= b6 & b5 <> b6 ) )
}
& b4 = { b5 where B is Subset-Family of b1 : ( b5 is_a_cover_of b1 & b5 c= b3 ) } holds
b4 has_lower_Zorn_property_wrt RelIncl b4
proof end;

theorem Th62: :: RCOMP_3:62
for b1 being TopSpace
for b2, b3 being set st b3 = { b4 where B is Subset-Family of b1 : ( b4 is_a_cover_of b1 & b4 c= b2 ) } holds
for b4 being set st b4 is_minimal_in RelIncl b3 & b4 in field (RelIncl b3) holds
for b5 being Subset of b1 st b5 in b4 holds
for b6, b7 being Subset of b1 holds
( not b6 in b4 or not b7 in b4 or not b5 c= b6 \/ b7 or not b5 <> b6 or not b5 <> b7 )
proof end;

definition
let c1, c2 be real number ;
let c3 be Subset-Family of (Closed-Interval-TSpace c1,c2);
assume that
E58: c3 is_a_cover_of Closed-Interval-TSpace c1,c2 and
E59: c3 is open and
E60: c3 is connected and
E61: c1 <= c2 ;
mode IntervalCover of c3 -> FinSequence of bool REAL means :Def2: :: RCOMP_3:def 2
( rng a4 c= a3 & union (rng a4) = [.a1,a2.] & ( for b1 being natural number st 1 <= b1 holds
( ( b1 <= len a4 implies not a4 /. b1 is empty ) & ( b1 + 1 <= len a4 implies ( inf (a4 /. b1) <= inf (a4 /. (b1 + 1)) & sup (a4 /. b1) <= sup (a4 /. (b1 + 1)) & inf (a4 /. (b1 + 1)) < sup (a4 /. b1) ) ) & ( b1 + 2 <= len a4 implies sup (a4 /. b1) <= inf (a4 /. (b1 + 2)) ) ) ) & ( [.a1,a2.] in a3 implies a4 = <*[.a1,a2.]*> ) & ( not [.a1,a2.] in a3 implies ( ex b1 being real number st
( a1 < b1 & b1 <= a2 & a4 . 1 = [.a1,b1.[ ) & ex b1 being real number st
( a1 <= b1 & b1 < a2 & a4 . (len a4) = ].b1,a2.] ) & ( for b1 being natural number st 1 < b1 & b1 < len a4 holds
ex b2, b3 being real number st
( a1 <= b2 & b2 < b3 & b3 <= a2 & a4 . b1 = ].b2,b3.[ ) ) ) ) );
existence
ex b1 being FinSequence of bool REAL st
( rng b1 c= c3 & union (rng b1) = [.c1,c2.] & ( for b2 being natural number st 1 <= b2 holds
( ( b2 <= len b1 implies not b1 /. b2 is empty ) & ( b2 + 1 <= len b1 implies ( inf (b1 /. b2) <= inf (b1 /. (b2 + 1)) & sup (b1 /. b2) <= sup (b1 /. (b2 + 1)) & inf (b1 /. (b2 + 1)) < sup (b1 /. b2) ) ) & ( b2 + 2 <= len b1 implies sup (b1 /. b2) <= inf (b1 /. (b2 + 2)) ) ) ) & ( [.c1,c2.] in c3 implies b1 = <*[.c1,c2.]*> ) & ( not [.c1,c2.] in c3 implies ( ex b2 being real number st
( c1 < b2 & b2 <= c2 & b1 . 1 = [.c1,b2.[ ) & ex b2 being real number st
( c1 <= b2 & b2 < c2 & b1 . (len b1) = ].b2,c2.] ) & ( for b2 being natural number st 1 < b2 & b2 < len b1 holds
ex b3, b4 being real number st
( c1 <= b3 & b3 < b4 & b4 <= c2 & b1 . b2 = ].b3,b4.[ ) ) ) ) )
proof end;
end;

:: deftheorem Def2 defines IntervalCover RCOMP_3:def 2 :
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2) st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 <= b2 holds
for b4 being FinSequence of bool REAL holds
( b4 is IntervalCover of b3 iff ( rng b4 c= b3 & union (rng b4) = [.b1,b2.] & ( for b5 being natural number st 1 <= b5 holds
( ( b5 <= len b4 implies not b4 /. b5 is empty ) & ( b5 + 1 <= len b4 implies ( inf (b4 /. b5) <= inf (b4 /. (b5 + 1)) & sup (b4 /. b5) <= sup (b4 /. (b5 + 1)) & inf (b4 /. (b5 + 1)) < sup (b4 /. b5) ) ) & ( b5 + 2 <= len b4 implies sup (b4 /. b5) <= inf (b4 /. (b5 + 2)) ) ) ) & ( [.b1,b2.] in b3 implies b4 = <*[.b1,b2.]*> ) & ( not [.b1,b2.] in b3 implies ( ex b5 being real number st
( b1 < b5 & b5 <= b2 & b4 . 1 = [.b1,b5.[ ) & ex b5 being real number st
( b1 <= b5 & b5 < b2 & b4 . (len b4) = ].b5,b2.] ) & ( for b5 being natural number st 1 < b5 & b5 < len b4 holds
ex b6, b7 being real number st
( b1 <= b6 & b6 < b7 & b7 <= b2 & b4 . b5 = ].b6,b7.[ ) ) ) ) ) );

theorem Th63: :: RCOMP_3:63
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2) st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 <= b2 & [.b1,b2.] in b3 holds
<*[.b1,b2.]*> is IntervalCover of b3
proof end;

theorem Th64: :: RCOMP_3:64
for b1 being real number
for b2 being Subset-Family of (Closed-Interval-TSpace b1,b1)
for b3 being IntervalCover of b2 st b2 is_a_cover_of Closed-Interval-TSpace b1,b1 & b2 is open & b2 is connected holds
b3 = <*[.b1,b1.]*>
proof end;

theorem Th65: :: RCOMP_3:65
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b4 being IntervalCover of b3 st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 <= b2 holds
1 <= len b4
proof end;

theorem Th66: :: RCOMP_3:66
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b4 being IntervalCover of b3 st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 <= b2 & len b4 = 1 holds
b4 = <*[.b1,b2.]*>
proof end;

theorem Th67: :: RCOMP_3:67
for b1, b2 being real number
for b3, b4 being natural number
for b5 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b6 being IntervalCover of b5 st b5 is_a_cover_of Closed-Interval-TSpace b1,b2 & b5 is open & b5 is connected & b1 <= b2 & b3 in dom b6 & b4 in dom b6 & b3 < b4 holds
inf (b6 /. b3) <= inf (b6 /. b4)
proof end;

theorem Th68: :: RCOMP_3:68
for b1, b2 being real number
for b3, b4 being natural number
for b5 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b6 being IntervalCover of b5 st b5 is_a_cover_of Closed-Interval-TSpace b1,b2 & b5 is open & b5 is connected & b1 <= b2 & b3 in dom b6 & b4 in dom b6 & b3 < b4 holds
sup (b6 /. b3) <= sup (b6 /. b4)
proof end;

theorem Th69: :: RCOMP_3:69
for b1, b2 being real number
for b3 being natural number
for b4 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b5 being IntervalCover of b4 st b4 is_a_cover_of Closed-Interval-TSpace b1,b2 & b4 is open & b4 is connected & b1 <= b2 & 1 <= b3 & b3 + 1 <= len b5 holds
not ].(inf (b5 /. (b3 + 1))),(sup (b5 /. b3)).[ is empty
proof end;

theorem Th70: :: RCOMP_3:70
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b4 being IntervalCover of b3 st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 <= b2 holds
inf (b4 /. 1) = b1
proof end;

theorem Th71: :: RCOMP_3:71
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b4 being IntervalCover of b3 st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 <= b2 holds
b1 in b4 /. 1
proof end;

theorem Th72: :: RCOMP_3:72
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b4 being IntervalCover of b3 st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 <= b2 holds
sup (b4 /. (len b4)) = b2
proof end;

theorem Th73: :: RCOMP_3:73
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b4 being IntervalCover of b3 st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 <= b2 holds
b2 in b4 /. (len b4)
proof end;

definition
let c1, c2 be real number ;
let c3 be Subset-Family of (Closed-Interval-TSpace c1,c2);
let c4 be IntervalCover of c3;
assume that
E65: c3 is_a_cover_of Closed-Interval-TSpace c1,c2 and
E66: c3 is open and
E67: c3 is connected and
E68: c1 <= c2 ;
mode IntervalCoverPts of c4 -> FinSequence of REAL means :Def3: :: RCOMP_3:def 3
( len a5 = (len a4) + 1 & a5 . 1 = a1 & a5 . (len a5) = a2 & ( for b1 being natural number st 1 <= b1 & b1 + 1 < len a5 holds
a5 . (b1 + 1) in ].(inf (a4 /. (b1 + 1))),(sup (a4 /. b1)).[ ) );
existence
ex b1 being FinSequence of REAL st
( len b1 = (len c4) + 1 & b1 . 1 = c1 & b1 . (len b1) = c2 & ( for b2 being natural number st 1 <= b2 & b2 + 1 < len b1 holds
b1 . (b2 + 1) in ].(inf (c4 /. (b2 + 1))),(sup (c4 /. b2)).[ ) )
proof end;
end;

:: deftheorem Def3 defines IntervalCoverPts RCOMP_3:def 3 :
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b4 being IntervalCover of b3 st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 <= b2 holds
for b5 being FinSequence of REAL holds
( b5 is IntervalCoverPts of b4 iff ( len b5 = (len b4) + 1 & b5 . 1 = b1 & b5 . (len b5) = b2 & ( for b6 being natural number st 1 <= b6 & b6 + 1 < len b5 holds
b5 . (b6 + 1) in ].(inf (b4 /. (b6 + 1))),(sup (b4 /. b6)).[ ) ) );

theorem Th74: :: RCOMP_3:74
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b4 being IntervalCover of b3
for b5 being IntervalCoverPts of b4 st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 <= b2 holds
2 <= len b5
proof end;

theorem Th75: :: RCOMP_3:75
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b4 being IntervalCover of b3
for b5 being IntervalCoverPts of b4 st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 <= b2 & len b4 = 1 holds
b5 = <*b1,b2*>
proof end;

theorem Th76: :: RCOMP_3:76
for b1, b2 being real number
for b3 being natural number
for b4 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b5 being IntervalCover of b4
for b6 being IntervalCoverPts of b5 st b4 is_a_cover_of Closed-Interval-TSpace b1,b2 & b4 is open & b4 is connected & b1 <= b2 & 1 <= b3 & b3 + 1 < len b6 holds
b6 . (b3 + 1) < sup (b5 /. b3)
proof end;

theorem Th77: :: RCOMP_3:77
for b1, b2 being real number
for b3 being natural number
for b4 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b5 being IntervalCover of b4
for b6 being IntervalCoverPts of b5 st b4 is_a_cover_of Closed-Interval-TSpace b1,b2 & b4 is open & b4 is connected & b1 <= b2 & 1 < b3 & b3 <= len b5 holds
inf (b5 /. b3) < b6 . b3
proof end;

theorem Th78: :: RCOMP_3:78
for b1, b2 being real number
for b3 being natural number
for b4 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b5 being IntervalCover of b4
for b6 being IntervalCoverPts of b5 st b4 is_a_cover_of Closed-Interval-TSpace b1,b2 & b4 is open & b4 is connected & b1 <= b2 & 1 <= b3 & b3 < len b5 holds
b6 . b3 <= inf (b5 /. (b3 + 1))
proof end;

theorem Th79: :: RCOMP_3:79
for b1, b2 being real number
for b3 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b4 being IntervalCover of b3
for b5 being IntervalCoverPts of b4 st b3 is_a_cover_of Closed-Interval-TSpace b1,b2 & b3 is open & b3 is connected & b1 < b2 holds
b5 is increasing
proof end;

theorem Th80: :: RCOMP_3:80
for b1, b2 being real number
for b3 being natural number
for b4 being Subset-Family of (Closed-Interval-TSpace b1,b2)
for b5 being IntervalCover of b4
for b6 being IntervalCoverPts of b5 st b4 is_a_cover_of Closed-Interval-TSpace b1,b2 & b4 is open & b4 is connected & b1 <= b2 & 1 <= b3 & b3 < len b6 holds
[.(b6 . b3),(b6 . (b3 + 1)).] c= b5 . b3
proof end;