let i be Nat; for P being Subset of (TOP-REAL 2)
for f1, f2 being FinSequence of the carrier of (TOP-REAL 2) st f1,f2 are_generators_of P & 1 < i & i < len f1 holds
f1 /. i is_extremal_in P
let P be Subset of (TOP-REAL 2); for f1, f2 being FinSequence of the carrier of (TOP-REAL 2) st f1,f2 are_generators_of P & 1 < i & i < len f1 holds
f1 /. i is_extremal_in P
let f1, f2 be FinSequence of the carrier of (TOP-REAL 2); ( f1,f2 are_generators_of P & 1 < i & i < len f1 implies f1 /. i is_extremal_in P )
set p0 = f1 /. i;
set q1 = f1 /. 1;
set q2 = f1 /. (len f1);
set F1 = { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) } ;
set PP = union { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) } ;
reconsider u0 = f1 /. i as Point of (Euclid 2) by EUCLID:22;
reconsider F2 = { (LSeg (f2,k)) where k is Nat : ( 1 <= k & k + 1 <= len f2 ) } as Subset-Family of (TOP-REAL 2) by Th25;
assume that
A1:
f1,f2 are_generators_of P
and
A2:
1 < i
and
A3:
i < len f1
; f1 /. i is_extremal_in P
set P2 = union F2;
A4:
(L~ f1) /\ (L~ f2) = {(f1 /. 1),(f1 /. (len f1))}
by A1;
reconsider j = i - 1 as Element of NAT by A2, INT_1:3, XREAL_1:48;
1 + 1 <= i
by A2, NAT_1:13;
then A5:
(1 + 1) - 1 <= j
by XREAL_1:9;
reconsider F = { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 & k <> j & k <> j + 1 ) } as Subset-Family of (TOP-REAL 2) by Lm3;
set P1 = union F;
set Q = (union F) \/ (union F2);
A6:
j + 1 = i
;
then
LSeg (f1,j) = LSeg ((f1 /. j),(f1 /. i))
by A3, A5, TOPREAL1:def 3;
then A7:
f1 /. i in LSeg (f1,j)
by RLTOPSP1:68;
A8:
P = (L~ f1) \/ (L~ f2)
by A1;
A9:
f1 is being_S-Seq
by A1;
then A10:
f1 is one-to-one
;
A11:
len f1 >= 1 + 1
by A9;
A12:
i + 1 <= len f1
by A3, NAT_1:13;
then A13:
LSeg (f1,i) in { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) }
by A2;
LSeg (f1,i) = LSeg ((f1 /. i),(f1 /. (i + 1)))
by A2, A12, TOPREAL1:def 3;
then A14:
f1 /. i in LSeg (f1,i)
by RLTOPSP1:68;
then A15:
f1 /. i in L~ f1
by A13, TARSKI:def 4;
not f1 /. i in (union F) \/ (union F2)
proof
assume A16:
f1 /. i in (union F) \/ (union F2)
;
contradiction
per cases
( f1 /. i in union F or f1 /. i in union F2 )
by A16, XBOOLE_0:def 3;
suppose A25:
f1 /. i in union F2
;
contradiction
1
<= len f1
by A11, XXREAL_0:2;
then
1
in Seg (len f1)
by FINSEQ_1:1;
then A26:
1
in dom f1
by FINSEQ_1:def 3;
1
<= len f1
by A2, A3, XXREAL_0:2;
then A27:
len f1 in dom f1
by FINSEQ_3:25;
i in Seg (len f1)
by A2, A3, FINSEQ_1:1;
then A28:
i in dom f1
by FINSEQ_1:def 3;
f1 /. i in {(f1 /. 1),(f1 /. (len f1))}
by A4, A15, A25, XBOOLE_0:def 4;
then
(
f1 /. i = f1 /. 1 or
f1 /. i = f1 /. (len f1) )
by TARSKI:def 2;
hence
contradiction
by A2, A3, A10, A26, A28, A27, PARTFUN2:10;
verum end; end;
end;
then A29:
u0 in ((union F) \/ (union F2)) `
by SUBSET_1:29;
A30:
f1 is alternating
by A1;
A31:
TopStruct(# the carrier of (TOP-REAL 2), the topology of (TOP-REAL 2) #) = TopSpaceMetr (Euclid 2)
by EUCLID:def 8;
then reconsider QQ = ((union F) \/ (union F2)) ` as Subset of (TopSpaceMetr (Euclid 2)) ;
A32:
f1 is special
by A9;
( union F is closed & union F2 is closed )
by Lm4, Th26;
then
(union F) \/ (union F2) is closed
by TOPS_1:9;
then
((union F) \/ (union F2)) ` is open
by TOPS_1:3;
then
QQ is open
by A31, PRE_TOPC:30;
then consider r0 being Real such that
A33:
r0 > 0
and
A34:
Ball (u0,r0) c= ((union F) \/ (union F2)) `
by A29, TOPMETR:15;
reconsider r0 = r0 as Real ;
A35:
j + 2 <= len f1
by A12;
now for y being object holds
( ( y in ((union F) \/ (LSeg (f1,j))) \/ (LSeg (f1,i)) implies y in union { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) } ) & ( y in union { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) } implies y in ((union F) \/ (LSeg (f1,j))) \/ (LSeg (f1,i)) ) )let y be
object ;
( ( y in ((union F) \/ (LSeg (f1,j))) \/ (LSeg (f1,i)) implies y in union { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) } ) & ( y in union { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) } implies b1 in ((union F) \/ (LSeg (f1,j))) \/ (LSeg (f1,i)) ) )assume
y in union { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) }
;
b1 in ((union F) \/ (LSeg (f1,j))) \/ (LSeg (f1,i))then consider Z2 being
set such that A40:
y in Z2
and A41:
Z2 in { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) }
by TARSKI:def 4;
consider k being
Nat such that A42:
LSeg (
f1,
k)
= Z2
and A43:
( 1
<= k &
k + 1
<= len f1 )
by A41;
end;
then A45:
((union F) \/ (LSeg (f1,j))) \/ (LSeg (f1,i)) = union { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) }
by TARSKI:2;
A46:
now for p, q being Point of (TOP-REAL 2) st f1 /. i in LSeg (p,q) & LSeg (p,q) c= P & not f1 /. i = p holds
f1 /. i = qlet p,
q be
Point of
(TOP-REAL 2);
( f1 /. i in LSeg (p,q) & LSeg (p,q) c= P & not f1 /. i = b1 implies f1 /. i = b2 )assume that A47:
f1 /. i in LSeg (
p,
q)
and A48:
LSeg (
p,
q)
c= P
;
( f1 /. i = b1 or f1 /. i = b2 )per cases
( LSeg (p,q) c= (LSeg (f1,j)) \/ (LSeg (f1,i)) or not LSeg (p,q) c= (LSeg (f1,j)) \/ (LSeg (f1,i)) )
;
suppose
not
LSeg (
p,
q)
c= (LSeg (f1,j)) \/ (LSeg (f1,i))
;
( f1 /. i = b1 or f1 /. i = b2 )then consider x being
object such that A50:
x in LSeg (
p,
q)
and A51:
not
x in (LSeg (f1,j)) \/ (LSeg (f1,i))
;
reconsider p8 =
x as
Point of
(TOP-REAL 2) by A50;
A52:
LSeg (
p,
q)
= (LSeg (p,p8)) \/ (LSeg (p8,q))
by A50, TOPREAL1:5;
now ( f1 /. i = p or f1 /. i = q )per cases
( f1 /. i in LSeg (p,p8) or f1 /. i in LSeg (p8,q) )
by A47, A52, XBOOLE_0:def 3;
suppose A53:
f1 /. i in LSeg (
p,
p8)
;
( f1 /. i = p or f1 /. i = q )now not f1 /. i <> passume
f1 /. i <> p
;
contradictionthen consider q3 being
Point of
(TOP-REAL 2) such that A54:
not
q3 in (LSeg (f1,j)) \/ (LSeg (f1,i))
and A55:
q3 in LSeg (
p8,
p)
and A56:
q3 in Ball (
u0,
r0)
by A30, A5, A35, A32, A33, A34, A51, A53, Th37;
A57:
not
q3 in (union F) \/ (union F2)
by A34, A56, XBOOLE_0:def 5;
then
not
q3 in union F
by XBOOLE_0:def 3;
then
not
q3 in (union F) \/ ((LSeg (f1,j)) \/ (LSeg (f1,i)))
by A54, XBOOLE_0:def 3;
then A58:
not
q3 in union { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) }
by A45, XBOOLE_1:4;
LSeg (
p8,
p)
c= LSeg (
p,
q)
by A52, XBOOLE_1:7;
then A59:
LSeg (
p8,
p)
c= P
by A48;
not
q3 in L~ f2
by A57, XBOOLE_0:def 3;
hence
contradiction
by A8, A55, A58, A59, XBOOLE_0:def 3;
verum end; hence
(
f1 /. i = p or
f1 /. i = q )
;
verum end; suppose A60:
f1 /. i in LSeg (
p8,
q)
;
( f1 /. i = p or f1 /. i = q )now not f1 /. i <> qassume
f1 /. i <> q
;
contradictionthen consider q3 being
Point of
(TOP-REAL 2) such that A61:
not
q3 in (LSeg (f1,j)) \/ (LSeg (f1,i))
and A62:
q3 in LSeg (
p8,
q)
and A63:
q3 in Ball (
u0,
r0)
by A30, A5, A35, A32, A33, A34, A51, A60, Th37;
A64:
not
q3 in (union F) \/ (union F2)
by A34, A63, XBOOLE_0:def 5;
then
not
q3 in union F
by XBOOLE_0:def 3;
then
not
q3 in (union F) \/ ((LSeg (f1,j)) \/ (LSeg (f1,i)))
by A61, XBOOLE_0:def 3;
then A65:
not
q3 in union { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) }
by A45, XBOOLE_1:4;
LSeg (
p8,
q)
c= LSeg (
p,
q)
by A52, XBOOLE_1:7;
then A66:
LSeg (
p8,
q)
c= P
by A48;
not
q3 in L~ f2
by A64, XBOOLE_0:def 3;
hence
contradiction
by A8, A62, A65, A66, XBOOLE_0:def 3;
verum end; hence
(
f1 /. i = p or
f1 /. i = q )
;
verum end; end; end; hence
(
f1 /. i = p or
f1 /. i = q )
;
verum end; end; end;
f1 /. i in union { (LSeg (f1,k)) where k is Nat : ( 1 <= k & k + 1 <= len f1 ) }
by A14, A13, TARSKI:def 4;
then
f1 /. i in P
by A8, XBOOLE_0:def 3;
hence
f1 /. i is_extremal_in P
by A46; verum