{ (q `2) where q is Point of (TOP-REAL 2) : ( q `1 = W-bound (L~ g) & q in L~ g ) } c= REAL

set s1 = ((GoB g) * (1,(width (GoB g)))) `2 ;

defpred S_{1}[ Nat] means ( [1,$1] in Indices (GoB g) & ex i being Nat st

( i in dom g & g /. i = (GoB g) * (1,$1) ) );

set Y = { j where j is Element of NAT : S_{1}[j] } ;

A21: { j where j is Element of NAT : S_{1}[j] } c= Seg (width (GoB g))
_{1}[j] } is Subset of NAT
from DOMAIN_1:sch 7();

A23: 1 <= len (GoB g) by GOBOARD7:32;

then consider i, j being Nat such that

A24: i in dom g and

A25: [1,j] in Indices (GoB g) and

A26: g /. i = (GoB g) * (1,j) by Th7;

j in NAT by ORDINAL1:def 12;

then j in { j where j is Element of NAT : S_{1}[j] }
by A24, A25, A26;

then reconsider Y = { j where j is Element of NAT : S_{1}[j] } as non empty finite Subset of NAT by A21, A22;

reconsider i1 = max Y as Nat by TARSKI:1;

i1 in Y by XXREAL_2:def 8;

then consider j being Element of NAT such that

A27: j = i1 and

A28: [1,j] in Indices (GoB g) and

A29: ex i being Nat st

( i in dom g & g /. i = (GoB g) * (1,j) ) ;

A30: i1 <= width (GoB g) by A27, A28, MATRIX_0:32;

A31: 1 <= len (GoB g) by A28, MATRIX_0:32;

1 <= i1 by A27, A28, MATRIX_0:32;

then A32: ((GoB g) * (1,i1)) `1 = ((GoB g) * (1,1)) `1 by A31, A30, GOBOARD5:2;

then A33: ((GoB g) * (1,i1)) `1 = W-bound (L~ g) by Th37;

consider i being Nat such that

A34: i in dom g and

A35: g /. i = (GoB g) * (1,j) by A29;

A36: i <= len g by A34, FINSEQ_3:25;

A37: 1 <= i by A34, FINSEQ_3:25;

then A39: ((GoB g) * (1,i1)) `2 in { (q `2) where q is Point of (TOP-REAL 2) : ( q `1 = W-bound (L~ g) & q in L~ g ) } by A38;

for r being Real st r in B holds

r <= ((GoB g) * (1,i1)) `2

((GoB g) * (1,(width (GoB g)))) `2 is UpperBound of B

then upper_bound B >= ((GoB g) * (1,i1)) `2 by A39, SEQ_4:def 1;

then ((GoB g) * (1,i1)) `2 = upper_bound B by A40, XXREAL_0:1

.= upper_bound (proj2 | (W-most (L~ g))) by Th13 ;

hence ex b_{1} being Nat st

( [1,b_{1}] in Indices (GoB g) & (GoB g) * (1,b_{1}) = W-max (L~ g) )
by A27, A28, A33, EUCLID:53; :: thesis: verum

proof

then reconsider B = { (q `2) where q is Point of (TOP-REAL 2) : ( q `1 = W-bound (L~ g) & q in L~ g ) } as Subset of REAL ;
let X be object ; :: according to TARSKI:def 3 :: thesis: ( not X in { (q `2) where q is Point of (TOP-REAL 2) : ( q `1 = W-bound (L~ g) & q in L~ g ) } or X in REAL )

assume X in { (q `2) where q is Point of (TOP-REAL 2) : ( q `1 = W-bound (L~ g) & q in L~ g ) } ; :: thesis: X in REAL

then ex q being Point of (TOP-REAL 2) st

( X = q `2 & q `1 = W-bound (L~ g) & q in L~ g ) ;

hence X in REAL by XREAL_0:def 1; :: thesis: verum

end;assume X in { (q `2) where q is Point of (TOP-REAL 2) : ( q `1 = W-bound (L~ g) & q in L~ g ) } ; :: thesis: X in REAL

then ex q being Point of (TOP-REAL 2) st

( X = q `2 & q `1 = W-bound (L~ g) & q in L~ g ) ;

hence X in REAL by XREAL_0:def 1; :: thesis: verum

set s1 = ((GoB g) * (1,(width (GoB g)))) `2 ;

defpred S

( i in dom g & g /. i = (GoB g) * (1,$1) ) );

set Y = { j where j is Element of NAT : S

A21: { j where j is Element of NAT : S

proof

A22:
{ j where j is Element of NAT : S
let y be object ; :: according to TARSKI:def 3 :: thesis: ( not y in { j where j is Element of NAT : S_{1}[j] } or y in Seg (width (GoB g)) )

assume y in { j where j is Element of NAT : S_{1}[j] }
; :: thesis: y in Seg (width (GoB g))

then ex j being Element of NAT st

( y = j & [1,j] in Indices (GoB g) & ex i being Nat st

( i in dom g & g /. i = (GoB g) * (1,j) ) ) ;

then [1,y] in [:(dom (GoB g)),(Seg (width (GoB g))):] by MATRIX_0:def 4;

hence y in Seg (width (GoB g)) by ZFMISC_1:87; :: thesis: verum

end;assume y in { j where j is Element of NAT : S

then ex j being Element of NAT st

( y = j & [1,j] in Indices (GoB g) & ex i being Nat st

( i in dom g & g /. i = (GoB g) * (1,j) ) ) ;

then [1,y] in [:(dom (GoB g)),(Seg (width (GoB g))):] by MATRIX_0:def 4;

hence y in Seg (width (GoB g)) by ZFMISC_1:87; :: thesis: verum

A23: 1 <= len (GoB g) by GOBOARD7:32;

then consider i, j being Nat such that

A24: i in dom g and

A25: [1,j] in Indices (GoB g) and

A26: g /. i = (GoB g) * (1,j) by Th7;

j in NAT by ORDINAL1:def 12;

then j in { j where j is Element of NAT : S

then reconsider Y = { j where j is Element of NAT : S

reconsider i1 = max Y as Nat by TARSKI:1;

i1 in Y by XXREAL_2:def 8;

then consider j being Element of NAT such that

A27: j = i1 and

A28: [1,j] in Indices (GoB g) and

A29: ex i being Nat st

( i in dom g & g /. i = (GoB g) * (1,j) ) ;

A30: i1 <= width (GoB g) by A27, A28, MATRIX_0:32;

A31: 1 <= len (GoB g) by A28, MATRIX_0:32;

1 <= i1 by A27, A28, MATRIX_0:32;

then A32: ((GoB g) * (1,i1)) `1 = ((GoB g) * (1,1)) `1 by A31, A30, GOBOARD5:2;

then A33: ((GoB g) * (1,i1)) `1 = W-bound (L~ g) by Th37;

consider i being Nat such that

A34: i in dom g and

A35: g /. i = (GoB g) * (1,j) by A29;

A36: i <= len g by A34, FINSEQ_3:25;

A37: 1 <= i by A34, FINSEQ_3:25;

A38: now :: thesis: ( ( i < len g & (GoB g) * (1,i1) in L~ g ) or ( i = len g & (GoB g) * (1,i1) in L~ g ) )

((GoB g) * (1,i1)) `1 = W-bound (L~ g)
by A32, Th37;end;

then A39: ((GoB g) * (1,i1)) `2 in { (q `2) where q is Point of (TOP-REAL 2) : ( q `1 = W-bound (L~ g) & q in L~ g ) } by A38;

for r being Real st r in B holds

r <= ((GoB g) * (1,i1)) `2

proof

then A40:
upper_bound B <= ((GoB g) * (1,i1)) `2
by A39, SEQ_4:45;
let r be Real; :: thesis: ( r in B implies r <= ((GoB g) * (1,i1)) `2 )

assume r in B ; :: thesis: r <= ((GoB g) * (1,i1)) `2

then ex q being Point of (TOP-REAL 2) st

( r = q `2 & q `1 = W-bound (L~ g) & q in L~ g ) ;

hence r <= ((GoB g) * (1,i1)) `2 by Lm2; :: thesis: verum

end;assume r in B ; :: thesis: r <= ((GoB g) * (1,i1)) `2

then ex q being Point of (TOP-REAL 2) st

( r = q `2 & q `1 = W-bound (L~ g) & q in L~ g ) ;

hence r <= ((GoB g) * (1,i1)) `2 by Lm2; :: thesis: verum

((GoB g) * (1,(width (GoB g)))) `2 is UpperBound of B

proof

then
B is bounded_above
;
let r be ExtReal; :: according to XXREAL_2:def 1 :: thesis: ( not r in B or r <= ((GoB g) * (1,(width (GoB g)))) `2 )

assume r in B ; :: thesis: r <= ((GoB g) * (1,(width (GoB g)))) `2

then ex q being Point of (TOP-REAL 2) st

( r = q `2 & q `1 = W-bound (L~ g) & q in L~ g ) ;

hence r <= ((GoB g) * (1,(width (GoB g)))) `2 by A23, Th34; :: thesis: verum

end;assume r in B ; :: thesis: r <= ((GoB g) * (1,(width (GoB g)))) `2

then ex q being Point of (TOP-REAL 2) st

( r = q `2 & q `1 = W-bound (L~ g) & q in L~ g ) ;

hence r <= ((GoB g) * (1,(width (GoB g)))) `2 by A23, Th34; :: thesis: verum

then upper_bound B >= ((GoB g) * (1,i1)) `2 by A39, SEQ_4:def 1;

then ((GoB g) * (1,i1)) `2 = upper_bound B by A40, XXREAL_0:1

.= upper_bound (proj2 | (W-most (L~ g))) by Th13 ;

hence ex b

( [1,b