let F be non empty disjoint_valued FinSequence of Family_of_Intervals ; ( Union F is Interval implies ex n being Nat st
( n in dom F & (Union F) \ (F . n) is Interval ) )
assume A1:
Union F is Interval
; ex n being Nat st
( n in dom F & (Union F) \ (F . n) is Interval )
then reconsider UF = Union F as Interval ;
A2:
Union F = union (rng F)
by CARD_3:def 4;
per cases
( Union F = {} or Union F is non empty closed_interval Subset of REAL or Union F is non empty left_open_interval Subset of REAL or Union F is non empty right_open_interval Subset of REAL or Union F is non empty open_interval Subset of REAL )
by A1, MEASURE5:1;
suppose A5:
Union F is non
empty closed_interval Subset of
REAL
;
ex n being Nat st
( n in dom F & (Union F) \ (F . n) is Interval )then A6:
Union F = [.(inf UF),(sup UF).]
by MEASURE6:17;
then
inf UF <= sup UF
by A5, XXREAL_1:29;
then
inf UF in Union F
by A6, XXREAL_1:1;
then consider A being
set such that A7:
(
inf UF in A &
A in rng F )
by A2, TARSKI:def 4;
consider n being
Element of
NAT such that A8:
(
n in dom F &
A = F . n )
by A7, PARTFUN1:3;
A9:
(
inf UF <= inf (F . n) &
sup (F . n) <= sup UF )
by A2, A7, A8, ZFMISC_1:74, XXREAL_2:59, XXREAL_2:60;
inf (F . n) is
LowerBound of
F . n
by XXREAL_2:def 4;
then
inf (F . n) <= inf UF
by A7, A8, XXREAL_2:def 2;
then A10:
inf UF = inf (F . n)
by A9, XXREAL_0:1;
then A11:
F . n is
left_end
by A7, A8, XXREAL_2:def 5;
end; suppose A12:
Union F is non
empty left_open_interval Subset of
REAL
;
ex n being Nat st
( n in dom F & (Union F) \ (F . n) is Interval )then A13:
Union F = ].(inf UF),(sup UF).]
by MEASURE6:19;
then
sup UF in Union F
by A12, XXREAL_1:26, XXREAL_1:2;
then consider A being
set such that A14:
(
sup UF in A &
A in rng F )
by A2, TARSKI:def 4;
consider n being
Element of
NAT such that A15:
(
n in dom F &
A = F . n )
by A14, PARTFUN1:3;
A16:
(
inf UF <= inf (F . n) &
sup (F . n) <= sup UF )
by A2, A14, A15, ZFMISC_1:74, XXREAL_2:59, XXREAL_2:60;
sup (F . n) is
UpperBound of
F . n
by XXREAL_2:def 3;
then
sup (F . n) >= sup UF
by A14, A15, XXREAL_2:def 1;
then A17:
sup UF = sup (F . n)
by A16, XXREAL_0:1;
then A18:
F . n is
right_end
by A14, A15, XXREAL_2:def 6;
end; suppose A19:
Union F is non
empty right_open_interval Subset of
REAL
;
ex n being Nat st
( n in dom F & (Union F) \ (F . n) is Interval )then A20:
Union F = [.(inf UF),(sup UF).[
by MEASURE6:18;
then
inf UF in Union F
by A19, XXREAL_1:27, XXREAL_1:3;
then consider A being
set such that A21:
(
inf UF in A &
A in rng F )
by A2, TARSKI:def 4;
consider n being
Element of
NAT such that A22:
(
n in dom F &
A = F . n )
by A21, PARTFUN1:3;
A23:
(
inf UF <= inf (F . n) &
sup (F . n) <= sup UF )
by A2, A21, A22, ZFMISC_1:74, XXREAL_2:59, XXREAL_2:60;
inf (F . n) is
LowerBound of
F . n
by XXREAL_2:def 4;
then
inf (F . n) <= inf UF
by A21, A22, XXREAL_2:def 2;
then A24:
inf UF = inf (F . n)
by A23, XXREAL_0:1;
then A25:
F . n is
left_end
by A21, A22, XXREAL_2:def 5;
end; suppose A26:
Union F is non
empty open_interval Subset of
REAL
;
ex n being Nat st
( n in dom F & (Union F) \ (F . n) is Interval )then A27:
Union F = ].(inf UF),(sup UF).[
by MEASURE6:16;
deffunc H1(
Nat)
-> Element of
ExtREAL =
inf (F . $1);
consider G being
FinSequence of
ExtREAL such that A28:
(
len G = len F & ( for
n being
Nat st
n in dom G holds
G . n = H1(
n) ) )
from FINSEQ_2:sch 1();
A29:
min_p G in dom G
by A28, Def2;
A30:
for
n being
Nat st
n in dom F holds
inf (F . (min_p G)) <= inf (F . n)
A34:
min_p G in dom F
by A29, A28, FINSEQ_3:29;
then
F . (min_p G) c= UF
by A2, ZFMISC_1:74, FUNCT_1:3;
then A35:
(
inf UF <= inf (F . (min_p G)) &
sup (F . (min_p G)) <= sup UF )
by XXREAL_2:59, XXREAL_2:60;
then A43:
inf (F . (min_p G)) <= sup (F . (min_p G))
by XXREAL_2:38, XXREAL_2:40;
A44:
rng F c= bool REAL
by XBOOLE_1:1;
now not inf UF < inf (F . (min_p G))assume
inf UF < inf (F . (min_p G))
;
contradictionthen consider x being
R_eal such that A45:
(
inf UF < x &
x < inf (F . (min_p G)) &
x in REAL )
by MEASURE5:2;
x < sup (F . (min_p G))
by A45, A43, XXREAL_0:2;
then
x < sup UF
by A35, XXREAL_0:2;
then
x in UF
by A45, XXREAL_2:83;
then consider A being
set such that A46:
(
x in A &
A in rng F )
by A2, TARSKI:def 4;
reconsider A =
A as non
empty Subset of
REAL by A46, A44;
consider n being
Element of
NAT such that A47:
(
n in dom F &
A = F . n )
by A46, PARTFUN1:3;
inf (F . (min_p G)) <= inf A
by A30, A47;
then
x < inf A
by A45, XXREAL_0:2;
hence
contradiction
by A46, XXREAL_2:3;
verum end; then A48:
inf UF = inf (F . (min_p G))
by A35, XXREAL_0:1;
then A50:
not
F . (min_p G) is
left_end
by XXREAL_2:def 5;
per cases
( F . (min_p G) is right_end or not F . (min_p G) is right_end )
;
suppose
not
F . (min_p G) is
right_end
;
ex n being Nat st
( n in dom F & (Union F) \ (F . n) is Interval )then
F . (min_p G) = ].(inf (F . (min_p G))),(sup (F . (min_p G))).[
by A50, A36, XXREAL_2:38, XXREAL_2:78;
then
(Union F) \ (F . (min_p G)) = [.(sup (F . (min_p G))),(sup UF).[
by A27, A48, A36, XXREAL_2:38, XXREAL_1:28, XXREAL_1:189;
then
UF \ (F . (min_p G)) is
interval Subset of
REAL
;
hence
ex
n being
Nat st
(
n in dom F &
(Union F) \ (F . n) is
Interval )
by A34;
verum end; end; end; end;