|
|
|
|
Quelle fintopo6.miz
Sprache: Mizar
|
|
:: Connectedness and Continuous Sequences in Finite Topological Spaces
:: by Yatsuka Nakamura
::
:: Received August 18, 2006
:: Copyright (c) 2006-2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.
environ
vocabularies NUMBERS, XBOOLE_0, ORDERS_2, SUBSET_1, RELAT_2, FIN_TOPO, TARSKI,
CONNSP_1, PRE_TOPC, STRUCT_0, RELAT_1, RCOMP_1, FINSEQ_1, ORDINAL2,
XXREAL_0, NAT_1, ARYTM_3, FUNCT_1, ORDINAL4, PARTFUN1, CARD_1, ARYTM_1,
BORSUK_2, RFINSEQ, FINTOPO3, FINTOPO6;
notations TARSKI, XBOOLE_0, SUBSET_1, XCMPLX_0, ORDINAL1, NUMBERS, XXREAL_0,
NAT_1, DOMAIN_1, RELAT_1, FUNCT_1, RELSET_1, PARTFUN1, FINSEQ_1,
STRUCT_0, ORDERS_2, FIN_TOPO, FINTOPO3, NAT_D, ENUMSET1, FINTOPO4,
PRE_TOPC, RFINSEQ;
constructors DOMAIN_1, EQREL_1, RFINSEQ, RFUNCT_3, NAT_D, FIN_TOPO, FINTOPO3,
FINTOPO4, REAL_1, RELSET_1;
registrations XBOOLE_0, RELAT_1, FUNCT_1, XREAL_0, NAT_1, FINSEQ_1, STRUCT_0,
FIN_TOPO, ORDINAL1;
requirements REAL, NUMERALS, SUBSET, BOOLE, ARITHM;
definitions TARSKI, XBOOLE_0, FIN_TOPO;
equalities STRUCT_0, SUBSET_1, FIN_TOPO, FINSEQ_1;
expansions TARSKI, XBOOLE_0, FIN_TOPO;
theorems NAT_1, ZFMISC_1, FUNCT_1, FINSEQ_1, RELSET_1, XBOOLE_0, XBOOLE_1,
FIN_TOPO, FINTOPO3, ENUMSET1, FINTOPO4, FINSEQ_6, TARSKI, XREAL_1,
SUBSET_1, PRE_TOPC, RFINSEQ, FINSEQ_3, FINSEQ_5, REVROT_1, ORDINAL1,
XXREAL_0, PARTFUN1, XREAL_0, NAT_D;
schemes NAT_1, RELSET_1;
begin :: Connectedness and Subspaces
reserve FT for non empty RelStr,
A,B,C for Subset of FT;
registration
let FT;
cluster empty -> connected for Subset of FT;
coherence;
end;
::$CT
theorem Th1:
({}FT)^b={}
proof
assume not thesis;
then consider x being object such that
A1: x in ({}FT)^b by XBOOLE_0:def 1;
ex y being Element of FT st x=y & U_FT y meets {}FT by A1;
hence contradiction;
end;
registration
let FT;
cluster ({}FT)^b -> empty;
coherence by Th1;
end;
theorem
for A being Subset of FT st for B,C being Subset of FT st A = B
\/ C & B <> {} & C <> {} & B misses C holds B^b meets C & B meets C^b holds A
is connected;
definition
let FT be non empty RelStr;
attr FT is connected means
[ #]FT is connected;
end;
theorem Th3:
for A being Subset of FT holds A is connected implies for A2, B2
being Subset of FT st A = A2 \/ B2 & A2 misses B2 & A2,B2 are_separated holds
A2 = {}FT or B2 = {}FT
proof
let A be Subset of FT;
assume
A1: A is connected;
let A2, B2 be Subset of FT;
assume that
A2: A = A2 \/ B2 & A2 misses B2 and
A3: A2,B2 are_separated;
A2^b misses B2 by A3,FINTOPO4:def 1;
hence thesis by A1,A2;
end;
theorem Th4:
FT is connected implies for A, B being Subset of FT st [ #]FT = A
\/ B & A misses B & A,B are_separated holds A = {}FT or B = {}FT
proof
assume FT is connected;
then
A1: [ #]FT is connected;
let A, B be Subset of FT;
assume that
A2: [ #]FT = A \/ B & A misses B and
A3: A,B are_separated;
A^b misses B by A3,FINTOPO4:def 1;
hence thesis by A1,A2;
end;
theorem Th5:
for A,B being Subset of FT st FT is symmetric & A^b misses B
holds A misses B^b
proof
let A,B be Subset of FT;
assume that
A1: FT is symmetric and
A2: A^b misses B;
assume A meets B^b;
then consider x being object such that
A3: x in A and
A4: x in B^b by XBOOLE_0: 3;
consider y being Element of FT such that
A5: x=y and
A6: U_FT y meets B by A4;
consider z being object such that
A7: z in U_FT y and
A8: z in B by A6,XBOOLE_0: 3;
reconsider z2=z as Element of FT by A7;
y in U_FT z2 by A1,A7;
then U_FT z2 meets A by A3,A5,XBOOLE_0: 3;
then
A9: z in A^b;
A^b /\ B={} by A2;
hence contradiction by A8,A9,XBOOLE_0:def 4;
end;
theorem Th6:
for A being Subset of FT st FT is symmetric & for A2, B2 being
Subset of FT st A = A2 \/ B2 & A2 misses B2 & A2,B2 are_separated holds A2 = {}
FT or B2 = {}FT holds A is connected
proof
let A be Subset of FT;
assume
A1: FT is symmetric;
assume
A2: for A2, B2 being Subset of FT st A = A2 \/ B2 & A2 misses B2 & A2,B2
are_separated holds A2 = {}FT or B2 = {}FT;
for B,C being Subset of FT st A = B \/ C & B <> {} & C <> {} & B misses
C holds B^b meets C & B meets C^b
proof
let B,C be Subset of FT;
assume A = B \/ C & B <> {} & C <> {} & B misses C;
then not B,C are_separated by A2;
then not(B^b misses C & B misses (C^b)) by FINTOPO4:def 1;
hence thesis by A1,Th5;
end;
hence thesis;
end;
definition
let T be RelStr;
mode SubSpace of T -> RelStr means
:Def2:
the carrier of it c= the carrier
of T & for x being Element of it st x in the carrier of it holds U_FT x =Im(the
InternalRel of T,x) /\ the carrier of it;
existence
proof
for x being Element of T st x in the carrier of T holds U_FT x =Im(the
InternalRel of T,x)/\ the carrier of T by XBOOLE_1: 28;
hence thesis;
end;
end;
Lm1: for T being RelStr holds the RelStr of T is SubSpace of T
proof
let T be RelStr;
set S = the RelStr of T;
for x being Element of S st x in the carrier of S holds U_FT x =Im(the
InternalRel of T,x)/\ (the carrier of T) by XBOOLE_1: 28;
hence thesis by Def2;
end;
registration
let T be RelStr;
cluster strict for SubSpace of T;
existence
proof
the RelStr of T is SubSpace of T by Lm1;
hence thesis;
end;
end;
registration
let T be non empty RelStr;
cluster strict non empty for SubSpace of T;
existence
proof
the RelStr of T is SubSpace of T & the RelStr of T is non empty by Lm1;
hence thesis;
end;
end;
definition
let T be non empty RelStr, P be non empty Subset of T;
func T|P -> strict non empty SubSpace of T means
:Def3:
[ #]it = P;
existence
proof
deffunc F(set) = Im(the InternalRel of T,$ 1) /\ P;
A1: for x being Element of T st x in P holds F(x) c= P by XBOOLE_1: 17;
consider G being Relation of P such that
A2: for y being Element of T st y in P holds Im(G,y)=F(y) from
RELSET_1:sch 3(A1);
set FS=RelStr( # P,G #);
for x being Element of FS st x in the carrier of FS holds U_FT x =Im(
the InternalRel of T,x)/\ (the carrier of FS) by A2;
then
[ #]FS = the carrier of FS & FS is strict non empty SubSpace of T by Def2;
hence thesis;
end;
uniqueness
proof
let Z1,Z2 be strict non empty SubSpace of T;
assume that
A3: [ #] Z1 = P and
A4: [ #] Z2 = P;
reconsider R1 = the InternalRel of Z1, R2 = the InternalRel of Z2 as
Relation of P by A3,A4;
for z being set st z in P holds Im(R1,z) = Im(R2,z)
proof
let z be set;
assume
A5: z in P;
then reconsider z1=z as Element of Z1 by A3;
reconsider z2=z as Element of Z2 by A4,A5;
thus Im(R1,z) = U_FT z1
.= Im(the InternalRel of T,z1)/\ (the carrier of Z1) by Def2
.= U_FT z2 by A3,A4,Def2
.= Im(R2,z);
end;
hence thesis by A3,A4,RELSET_1: 31;
end;
end;
theorem Th7:
for X being non empty SubSpace of FT st FT is filled holds X is filled
proof
let X be non empty SubSpace of FT;
assume
A1: FT is filled;
let x be Element of X;
the carrier of X c= the carrier of FT by Def2;
then reconsider x2=x as Element of FT;
A2: U_FT x= (U_FT x2) /\ ([ #]X) by Def2;
x2 in U_FT x2 by A1;
hence thesis by A2,XBOOLE_0:def 4;
end;
registration
let FT be filled non empty RelStr;
cluster -> filled for non empty SubSpace of FT;
coherence by Th7;
end;
theorem
for X being non empty SubSpace of FT st FT is symmetric holds X is symmetric
proof
let X be non empty SubSpace of FT;
assume
A1: FT is symmetric;
for x, y being Element of X holds y in U_FT x implies x in U_FT y
proof
let x, y be Element of X;
assume
A2: y in U_FT x;
the carrier of X c= the carrier of FT by Def2;
then reconsider x2=x, y2=y as Element of FT;
A3: U_FT x=U_FT x2 /\ ([ #]X) & U_FT y=U_FT y2 /\ ([ #]X) by Def2;
y2 in U_FT x2 implies x2 in U_FT y2 by A1;
hence thesis by A2,A3,XBOOLE_0:def 4;
end;
hence thesis;
end;
theorem Th9:
for X9 being SubSpace of FT, A being Subset of X9 holds A is Subset of FT
proof
let X9 be SubSpace of FT, A be Subset of X9;
the carrier of X9 c= the carrier of FT by Def2;
hence thesis by XBOOLE_1: 1;
end;
theorem
for P being Subset of FT holds P is closed iff P` is open
proof
let P be Subset of FT;
P` is open implies P`` is closed by FIN_TOPO: 23;
hence thesis by FIN_TOPO: 24;
end;
theorem
for A being Subset of FT holds A is open iff ( for z being Element of
FT st U_FT z c= A holds z in A)& for x being Element of FT st x in A holds U_FT
x c= A
proof
let A be Subset of FT;
hereby
assume A is open;
then
A1: A = A^i;
hence for z being Element of FT st U_FT z c= A holds z in A;
for x being Element of FT st x in A holds U_FT x c= A
proof
let x be Element of FT;
assume x in A;
then ex y being Element of FT st x=y & U_FT y c= A by A1;
hence thesis;
end;
hence for x being Element of FT st x in A holds U_FT x c= A;
end;
assume that
A2: for z being Element of FT st U_FT z c= A holds z in A and
A3: for x being Element of FT st x in A holds U_FT x c= A;
A4: A c= { y where y is Element of FT: U_FT y c= A}
proof
let u be object;
assume
A5: u in A;
then reconsider y2=u as Element of FT;
U_FT y2 c= A by A3,A5;
hence thesis;
end;
{ y where y is Element of FT: U_FT y c= A} c= A
proof
let u be object;
assume u in { y where y is Element of FT: U_FT y c= A};
then ex y being Element of FT st y=u & U_FT y c= A;
hence thesis by A2;
end;
then A = A^i by A4;
hence thesis;
end;
theorem Th12:
for X9 being non empty SubSpace of FT, A being Subset of FT, A1
being Subset of X9 st A = A1 holds A1^b = (A^b) /\ ([ #]X9)
proof
let X9 be non empty SubSpace of FT, A be Subset of FT, A1 be Subset of X9
such that
A1: A = A1;
A2: (A^b) /\ ([ #]X9) c= A1^b
proof
let u be object;
assume
A3: u in (A^b) /\ ([ #]X9);
then u in A^b by XBOOLE_0:def 4;
then consider y2 being Element of FT such that
A4: u=y2 and
A5: (U_FT y2) meets A;
reconsider y3=y2 as Element of X9 by A3,A4;
consider z being object such that
A6: z in (U_FT y2) and
A7: z in A by A5,XBOOLE_0: 3;
U_FT y3=(U_FT y2) /\ [ #]X9 by Def2;
then z in U_FT y3 by A1,A6,A7,XBOOLE_0:def 4;
then (U_FT y3) meets A1 by A1,A7,XBOOLE_0: 3;
hence thesis by A4;
end;
A1^b c= (A^b) /\ ([ #]X9)
proof
reconsider Y=X9 as non empty RelStr;
let x be object;
assume x in A1^b;
then consider y being Element of Y such that
A8: y=x and
A9: U_FT y meets A1;
y in the carrier of X9 & the carrier of Y c= the carrier of FT by Def2;
then reconsider z=y as Element of FT;
U_FT y =Im(the InternalRel of FT,y)/\ (the carrier of X9) by Def2;
then U_FT z meets A by A1,A9,XBOOLE_1: 74;
then z in {u where u is Element of FT: U_FT u meets A};
hence thesis by A8,XBOOLE_0:def 4;
end;
hence thesis by A2;
end;
theorem
for X9 being non empty SubSpace of FT, P1,Q1 being Subset of FT, P,Q
being Subset of X9 st P=P1 & Q=Q1 holds P,Q are_separated implies P1,Q1
are_separated
proof
let X9 be non empty SubSpace of FT, P1,Q1 be Subset of FT, P,Q be Subset of
X9 such that
A1: P = P1 & Q = Q1;
reconsider P2 = P, Q2 = Q as Subset of FT by Th9;
assume
A2: P,Q are_separated;
then P^b misses Q by FINTOPO4:def 1;
then
A3: (P^b) /\ Q = {};
P misses (Q^b) by A2,FINTOPO4:def 1;
then
A4: P /\ (Q^b) = {};
P /\ (Q^b) = P /\ (([ #] X9) /\ (Q2^b)) by Th12
.= P /\ [ #] X9 /\ (Q2^b) by XBOOLE_1: 16
.= P2 /\ (Q2^b) by XBOOLE_1: 28;
then
A5: P2 misses Q2^b by A4;
(P^b) /\ Q = ((P2^b) /\ ([ #](X9))) /\ Q by Th12
.= (P2^b) /\ (Q /\ [ #] X9) by XBOOLE_1: 16
.= (P2^b) /\ Q2 by XBOOLE_1: 28;
then (P2^b) misses Q2 by A3;
hence thesis by A1,A5,FINTOPO4:def 1;
end;
theorem
for X9 being non empty SubSpace of FT, P,Q being Subset of FT, P1,Q1
being Subset of X9 st P=P1 & Q=Q1 & P \/ Q c= [ #](X9) holds P,Q are_separated
implies P1,Q1 are_separated
proof
let X9 be non empty SubSpace of FT, P,Q be Subset of FT, P1,Q1 be Subset of
X9 such that
A1: P = P1 & Q = Q1 and
A2: P \/ Q c= [ #](X9);
P c= P \/ Q & Q c= P \/ Q by XBOOLE_1: 7;
then reconsider P2 = P, Q2 = Q as Subset of X9 by A2,XBOOLE_1: 1;
assume
A3: P,Q are_separated;
then P misses (Q^b) by FINTOPO4:def 1;
then
A4: P /\ (Q^b) = {};
P2 /\ (Q2^b) = P2 /\ (([ #] X9) /\ (Q^b)) by Th12
.= (P2 /\ [ #] X9) /\ (Q^b) by XBOOLE_1: 16
.= P /\ (Q^b) by XBOOLE_1: 28;
then
A5: P2 misses (Q2^b) by A4;
P2^b = (P^b) /\ [ #] X9 by Th12;
then
A6: (P2^b) /\ Q2 = (P^b) /\ (Q2 /\ [ #] X9) by XBOOLE_1: 16
.= (P^b) /\ Q by XBOOLE_1: 28;
P^b misses Q by A3,FINTOPO4:def 1;
then (P^b) /\ Q = {};
then (P2^b) misses Q2 by A6;
hence thesis by A1,A5,FINTOPO4:def 1;
end;
theorem Th15:
for A being non empty Subset of FT holds A is connected iff FT|A is connected
proof
let A be non empty Subset of FT;
A1: [ #](FT|A)=A by Def3;
thus A is connected implies (FT|A) is connected
proof
assume
A2: A is connected;
for B2,C2 being Subset of (FT|A) st [ #](FT|A) = B2 \/ C2 & B2 <> {} &
C2 <> {} & B2 misses C2 holds B2^b meets C2
proof
let B2,C2 be Subset of (FT|A);
A3: ([ #](FT|A))/\ C2=C2 by XBOOLE_1: 28;
the carrier of (FT|A)=[ #](FT|A) .=A by Def3;
then reconsider B3=B2, C3=C2 as Subset of FT by XBOOLE_1: 1;
assume [ #](FT|A) = B2 \/ C2 & B2 <> {} & C2 <> {} & B2 misses C2;
then
A4: B3^b meets C3 by A1,A2;
B2^b /\ C2= B3^b /\ [ #](FT|A)/\ C2 by Th12
.= B3^b /\ C3 by A3,XBOOLE_1: 16;
then B2^b /\ C2 <> {} by A4;
hence thesis;
end;
then [ #](FT|A) is connected;
hence thesis;
end;
assume (FT|A) is connected;
then
A5: [ #](FT|A) is connected;
let B,C be Subset of FT;
assume that
A6: A = B \/ C and
A7: B <> {} & C <> {} & B misses C;
A8: [ #](FT|A) =A by Def3;
then reconsider B2=B as Subset of (FT|A) by A6,XBOOLE_1: 7;
reconsider C2=C as Subset of (FT|A) by A6,A8,XBOOLE_1: 7;
([ #](FT|A))/\ C2=C2 & B2^b=B^b /\ [ #](FT|A) by Th12,XBOOLE_1: 28;
then
A9: B^b /\ C = B2^b /\ C2 by XBOOLE_1: 16;
B2^b meets C2 by A5,A6,A7,A8;
hence B^b /\ C <> {} by A9;
end;
theorem
for FT being filled non empty RelStr, A being non empty Subset of FT
st FT is symmetric holds A is connected iff for P,Q being Subset of FT st A = P
\/ Q & P misses Q & P,Q are_separated holds P = {}FT or Q = {}FT
proof
let FT be filled non empty RelStr, A be non empty Subset of FT;
assume
A1: FT is symmetric;
now
assume not A is connected;
then not FT|A is connected by Th15;
then not [ #](FT|A) is connected;
then consider P,Q being Subset of FT|A such that
A2: [ #](FT|A) = P \/ Q and
A3: P <> {} & Q <> {} and
A4: P misses Q and
A5: P^b misses Q;
reconsider P1 = P, Q1 = Q as Subset of FT by Th9;
take P1,Q1;
thus A = P1 \/ Q1 & P1 misses Q1 by A2,A4,Def3;
A6: P^b=P1^b /\ [ #](FT|A) by Th12;
([ #](FT|A))/\ Q1=Q1 by XBOOLE_1: 28;
then P1^b /\ Q1=P1^b /\ ([ #](FT|A))/\ Q by XBOOLE_1: 16
.={} by A5,A6;
then P1^b misses Q1;
hence P1,Q1 are_separated & P1 <> {}FT & Q1 <> {}FT by A1,A3,FINTOPO4: 10;
end;
hence thesis by Th3;
end;
theorem
for A being Subset of FT st FT is filled connected & A <> {} & A` <>
{} holds A^delta <>{}
proof
let A be Subset of FT;
assume that
A1: FT is filled connected and
A2: A <> {} & A` <>{};
A3: now
assume A^b meets A`;
then consider x being object such that
A4: x in A^b and
A5: x in A` by XBOOLE_0: 3;
reconsider x as Element of FT by A4;
x in U_FT x by A1;
then
A6: U_FT x meets A` by A5,XBOOLE_0: 3;
U_FT x meets A by A4,FIN_TOPO: 8;
hence ex z being Element of FT st U_FT z meets A & U_FT z meets A` by A6;
end;
A7: now
assume A meets (A`)^b;
then consider x being object such that
A8: x in (A`)^b and
A9: x in A by XBOOLE_0: 3;
reconsider x as Element of FT by A8;
x in U_FT x by A1;
then
A10: U_FT x meets A by A9,XBOOLE_0: 3;
U_FT x meets A` by A8,FIN_TOPO: 8;
hence ex z being Element of FT st U_FT z meets A & U_FT z meets A` by A10;
end Connectedness and Continuous Sequences in Finite Topological Spaces
{}={}FT & A \/ A` = [ #]FT :: This code can be distributed under the GNU :: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
then not A,A` are_separated by A1,A2,Th4,XBOOLE_1:java.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [47, 2) out of bounds for length 50
end;
theorem
for A being Subset of FT st FT is filled symmetric & FT is connected &
A <> {} & A` <> {} holds A^deltai <>{}
proof
let A be Subset of FT;
assume that
A1: FT is filled symmetric and
A2: FT is connected > { A <{}
A3:java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
assume ^ meets `java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
then consider x being object such that
x in Ab and
A5` XBOOLE_0:3;
x Element of byA4;
U_FT x meets A by A4,FIN_TOPO:8;
oy beingobject such that
A6: y java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A7 in Aby XBOOLE_0:;
reconsider y as Element of FT by A6;
y in U_FT A1: in (}FT^ byXBOOLE_0:def1;
then
A8: U_FT y meets A by A7,XBOOLE_0:3;
xin yby A1,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
then U_FT y meets A`by ,XBOOLE_0:3;
then y in A^delta by A8;
hence thesis A7XBOOLE_0d4java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
end;
A9: now
assume A meets (A` /C& B < }&C< }&holds^bmeetsC ^holds java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
tconsider x being object such that
A10: xin A)^ and
A11:x A XBOOLE_0:;
reconsider x as A2 =} orB2 {FT
x in U_FT x by assume
then
A12: U_FT x meets A by A11,XBOOLE_0assume that
U_FT x meets A` by A10,FIN_TOPO:8;
b by Fdefjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
hence / & A misses B &A are_separated holds A={}orB={FT
end;
java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 43
then assume FTisconnected;
hence java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 6
end;
A3: A,B are_separated;
Abeing of FT filled &FT is connected&
{} holdsAdeltao<{java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
proof
let A be Subset of FT;
assumeproof
FT isfilled symmetricand
A2 FT symmetric and
A3: now
assume A meets (A`) then consider being java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
then consider java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 11
A4: x A7: in yand
5 x in A by by XBOOLE_0;
reconsiderx asElementofFT by
U_FT x meets A` by A4,FIN_TOPO:8;
then consider y being object such that
A6: y in U_FT x and
A7: y in A` by XBOOLE_0:3;
reconsider y as Element of FT by A6;
y in U_FT y by A1;
then
A8: U_FT y meets A` by A7,XBOOLE_0:3;
x in U_FT y by A1,A6;
then U_FT y meets A by A5,XBOOLE_0:3java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A^by;
hence byA7XBOOLE_0:def 4;
end;
A9: now
assume A^b meets A`;
then consider x being object such that
:x inA
A11:3;
Subset of st = A2 \ B2 &A2 misses B2& A2, are_separated holds {java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
n U_FT byA1;
then
A` byA11,XBOOLE_0:;
U_FT x meets A by A10,FIN_TOPO:8;
then x in A^delta by A12;
hencethesisby ,BOOLE_0: 4;
end;
{}={}FT & A \/ A` = [#]FT by XBOOLE_1:45;
then not A,A` are_separated by A2,Th4,XBOOLE_1:79;
hence thesis by A9,A3,FINTOPO4:def 1;
end;
theorem
for A being Subset of FT holds A^deltai misses A^deltao
proof
let A be Subset of FT;
A misses A` by XBOOLE_1:79;
then
A1: A /\ A` = {};
thus A^deltai /\ (A^deltao) = A /\ ((A^delta) /\ A`) /\ (A^delta) by
XBOOLE_1:16
.= A /\ A` /\ (A^delta) /\ (A^delta) by XBOOLE_1:16
.= {} by A1;
end;
theorem
for FT being filled non empty RelStr, A being Subset of FT holds A
^deltao=(A^b) \ A
proof
let FT be filled non empty RelStr,A be Subset of FT;
A1: A` /\ ((A`)^b)=A` by FIN_TOPO:13,XBOOLE_1:28;
thus A^deltao=A` /\ ((A^b) /\ ((A`)^b)) by FIN_TOPO:18
.= (A^b) /\ (A` /\ ((A`)^b)) by XBOOLE_1:16
.= A^b \ A by A1,SUBSET_1:13;
end;
theorem
for A, B being Subset of FT st A,B are_separated holds A^deltao misses B
proof
let A,B be Subset of FT;
assume A,B are_separated;
then
A1: A^b misses B by FINTOPO4:def 1;
thus (A^deltao)/\ B = A` /\ ((A^delta) /\ B) by XBOOLE_1:16
.= A` /\ ((A^b) /\ ((A`)^b)/\ B) by FIN_TOPO:18
.= A` /\ (((A`)^b) /\ ((A^b)/\ B)) by XBOOLE_1:16
.= A` /\ (((A`)^b) /\ ({})) by A1
.= {};
end;
theorem
for A, B being Subset of FT st FT is filled & A misses B & A^deltao
misses B & let B, be ofFTjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
let beRelStr;
letA Subsetof;
assume that
A1: FT is filled and
A2: A /of for Element it xin thecarrier of holdsholds U_FT =(the
A3:(^deltao) B = }and
A4 proof
B`/ (^delta \A) ={ A4,XBOOLE_1:6java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
then B` \(B)/ (B)b/ )={ FIN_TOPO;
n `/ (B)b \((Bb/ ) = {} by XBOOLE_1:16;
then
A5: B` /\ ((B`)^b) /\ ((B^b)/\ A) = {} by XBOOLE_1:16java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
B` /\ ((B`)^b)=B` by A1,FIN_TOPO:13,XBOOLE_1:28;
then `misses(Bb/ A) by;
then (^)\ c=Bby SUBSET_1:24;
end
then (B^ et T be RelStr;
then B^b /\ A ={} by A2,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
roof
thenA` / ((A^b / (A`^b/\B 1;
then A` thesis
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
` \(A)b) / (A^)\ )=}by 1;
A` /\ ((A`)^b)=A` by A1,FIN_TOPO:13,XBOOLE_1:28;
then A` misses ((A^b)/\ B) by :ef3
(^)\ B)c=Aby :24;
then (Ab)\/ c=A/\ B by XBOOLE_1:26java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
then (A^b)/\ (B/\ B) c= A /\ B by XBOOLE_1:16;
then A^b /\ B ={} by A2,XBOOLE_1:3;
then A^b misses B;
hence thesis by A6,FINTOPO4:def 1;
end;
theorem Th24:
for x being Point of FT holds {x} is connected
proof
let Point ofFT;
assume not {x} is connected;
then consider P,Q consider G being Rela P such that
A1: {}=P/Q java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
A2 P < { and
A3: Q <> {} and
A4: misses and
not(P^b meets Q & P meets Q^b);
P <> Q
hencethesisjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
hence contradiction by assume that
end;
registration
letFT;
let x be Point of FT;
cluster { z being setstzi Pholds (z = ImR2z)
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
end;
java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 10
FT non empty RelStr, A be Subset ofFT;
pred A FTmeans
A is connected & for B being Subset
of stB connected holdsA =Bimplies A =B
end;
theoremtheorem Th7:
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 68
proof
A Subset of FT;
set x = the Point of FT;
{} c= assume
hence xElementjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 24
end;
theorem
A is closedhence by: ;
by FT be fillednon java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
theorem Th27
#FT /B &A A is penclosed
proof
let Xbe SubSpaceof FT;
A1 FT is
#F A\ nd
A3: A,B are_separated;
=B byA1FIN_TOPO:;
then A misses (B^b) implies B^b = B by A2,XBOOLE_1assume
then
A4: B is closed by A3,FINTOPO4:def 1;
Ac AbbyA1,:java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
y2in U_FT x2 java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 46
A5: A^b misses B proof
,FINTOPO46PRE_TOPC:;
hence the carrier =thecarrier ofFT by Def2;
end;
theoremTh28java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
forend;
A & B1 c= B implies A1,B1 are_separated
proof
let A,B,A1,B1 be java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 7
assume that
A1: A,B are_separated and
A2: java.lang.StringIndexOutOfBoundsException: Range [26, 6) out of bounds for length 26
A3: B1 c= B;
A misses (B^b) by A1,FINTOPO4 then in bby XBOOLE_0:def4
then
A4: A/\(B^b)={};
B1^b c= B^b by A3,reconsider y3=y2 as X9 byA3,4;
then A1 /\ (B1^b) = {java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 22
then
:A1 misses B1b)
^misses by,FINTOPO4def;
then
A6: A^b /\ B={};
A1^b c= A^b by A2,FIN_TOPO:14;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
then (A1^b) then consider beingElement ofYsuch that
thesis by A5,INTOPO4:1;
yinthe carrier ofY carrier ofFTbyDef2;
theorem Th29:
A &AC implies A, /Care_separated
proof
assume that
:A, are_separated and
A2: A,C are_separated;
:(^b missesC byA2,FINTOPO4:ef1java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
(being X9 P =holds ,are_separated implies P1Q1
then
:(^)/\B }
(A^b) /\ (B benon emptySubSpace, Subset ,Qbe Subsetof
. }byA3,
then
A5: (A^b) misses A: Pb \Q={;
A misses (B^b) by A1,FINTOPO4: P misses (Q^b) by A2,FINTOPO4:defmisses(^)by FINTOPO4:ef ;
then
A/ (^)=}java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
A7: A misses (C^b) by A2,FINTOPO4:def 1;
A /\ ((B \/ C)^b) = A /\ ((B^b) \/ (C^b)) by FINTOPO3:8
. A/ Bb) /( / (^)by 23
={ by ,;
A misses( /C)b;
hence thesis by ,FINTOPO4:1;
theorem
end;
< } B >} closed & B&B holdsA )implies
FT is connected
proof
A1: filledsymmetric;
assume
A2: for A, B java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A1: P Q Q1and
assume java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
then not [#]FT is connected;
=P =P;
3 ]=P/Qand
java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
A5: P,Q are_separated and
A6 P< }T & < }byA1,;
P is closed . (^)\Qby XBOOLE_128;
hence P^b missesQby 3FINTOPO4:1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
endhence thesisbyA1,FINTOPO4def ;
theorem
FT is connected implies for A forAbeing empty ofFTholds is iff FTAis connected
& A <> {}FT Aby Def3java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
proofforB2 Subset of F|A #(FTA)=B2 \ &B2< {
assume
A1 #FTis
java.lang.StringIndexOutOfBoundsException: Range [25, 2) out of bounds for length 41
:[]T=A\ B A >} & >{FT& is B closedjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
reconsider B2 C3=2as Subsetof byXBOOLE_11;
end;
then
java.lang.StringIndexOutOfBoundsException: Range [14, 2) out of bounds for length 65
impliesc=BorA=C
proof
assume that
A1: FT is filled and
A2:Ais connected and
A3: A c= thus P1 / Q1 P1 missesQ1 byA2A,
A4: B,C are_separated;
A5: (A /\ B) \/ (A /\ C (#(|)/ = XBOOLE_128;
. A3,BOOLE_128java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
assume for A being ofFTstis filledconnected A >}&A <>
6 notA Band
A7: not A c= C let Subsetofjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
A meetsBby A3,A7,BOOLE_1:3;
then
A8: A /\ B <> A3:
Ameets C by A3,A6,BOOLE_1:;
then
A9: A / then considerxbeing objectsuch that
A10 \ c=B&A /\C c=C by XBOOLE_117;
then {}FT={} & (A /\ reconsider xasElementofFT ;
hence contradiction by A2,A4then
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
theoremjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 7
for A,B being then consider x such
is ¬ Bare_separated A\ Bis connected
proof
let A,B be Subset of FT;
assume that
A1: FT is symmetric and
A2: A is connected and
A3: B is connected and
A4:not A, are_separated;
given P,Q being Subset of FT such that
A5: A \/ B = P \/ Q and
A6: P <> {} }{FT& \ `=[] by 45;
A7: Q <> {} and
A8 misses and
A9: P^b misses Q;
set P2=A/\P,Q2=A/\Q;
A10 P2 misses Q2 by A8,XBOOLE_1:76;
A11: Q^b misses P by A1,A9,Th5;
A12: now
assume java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
A13: A c= Q A1:FTis filledsymmetricand
A14: B c P;
per cases by java.lang.StringIndexOutOfBoundsException: Range [42, 8) out of bounds for length 42
suppose
^meets ;
U_FT Aby FIN_TOPO:8;
hence contradiction by A11,A14,XBOOLE_1:63;
end;
uppose
A meets (B^b reconsider Element A6;
then in U_FT byA1java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
then Q^b meets B by A13,then U_FT y meets A` by A5,XBOOLE_0
hence contradiction by A11,A14,XBOOLE_1:63;
end;
now
assume
A16: A/\P={};
then
A17: A/\Q=A/\P \/ A/\Q . reconsider xas Element of FT by ;
.=A by A5, x inU_FT A1java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A18: now
assume B/\Q={};
then B/\P=B/\Q \/ B/\P .=B/\(Q\/P) by XBOOLE_1 hencethesis 11,def;
.=B by A5,XBOOLE_1:21;
hence contradiction by A12,A17,XBOOLE_1:18;
end;
set P3=B/\P,Q3=B/\Q;
A19:P3\=B\P/) byXBOOLE_1:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.=B by A5,XBOOLE_1:21;
A20A8,76
^b & = byFIN_TOPO:,17;
A4: xin A)band
A21:P3^misses byby A4;
B/\P=A/\P \/ B/\P by A16
.=(A\/B)/\P by XBOOLE_1:23
.=P by A5,XBOOLE_1:21;
hence contradiction by ,A6A18AA20,21
endA7: by BOOLE_0:;
A22: now
assume that
A23: A c= P and
A24y ;
A25: A^b c= P^b by A23,FIN_TOPOthen
per by FINTOPO4def java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
assume A^ ;
A^b meets B;
hencecontradiction ,24A25,64java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
suppose
A meets (B^b);
then not A then
,A24A25,:64;
end;
end;
A26: now
assume
A27: A/\Q={};
then
A28: A/\P=A/\Q \/ A/\P .=A/\(Q\/P) by XBOOLE_1:23
=by A5XBOOLE_1:;
A29: now
assume B/\P={};
then B/\Q=B/\P \/ B/\Q .=B/\(java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 4
.=B by A5,XBOOLE_1:21;
hence contradiction by A22,A28,XBOOLE_1:18;
end;
s P3B\,B\Pjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
A30: Q3\/P3=B/\(P\/Q) by XBOOLE_1A1 / ` = {}java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
=by ,XBOOLE_121
A31: P3 misses Q3 by A8,XBOOLE_1:76;
P3 f FTfilled RelStr, \((`)b)byFIN_TOPO:8
then
A32: P3^b misses=^ A A1,UBSET_1:3;
B/Q=/Q\/B/Q by
.=(A\java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
.=Q by A5,XBOOLE_1assumeA, java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
hence contradiction by A3,A7,A29,A30,A31,A32;
end;
P^ =Pb&Q2 =Q FIN_TOPO14XBOOLE_117
33:P2
P2\/2A\P/) :java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
.=A by A5,XBOOLE_1:21;
hence contradiction byA3 Adeltao\B }and
end;
theorem Th34:
for A,C being Subset of FT st FT is then B` /\ ((B^b) /\ ((B`)^b)/\ A) = {} by:18;
A =^bholdsA
proof
ACbe Subset of FT;
that
1 is
A2: C is then ((B^b)/\ Ac SUBSET_1
A3 Cc=A and
A4 then B^b/ (/ )c= B / A by XBOOLE_116;
let P2Q2 SubsetFT
assume that
5 =P2/2
and
>} java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
A8: P2 misses Q2;
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
:
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 29
A10: x2 in Q2 by A7;
c / yXBOOLE_1:7 ,A3ZFMISC_1:8java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
then Q2 c= C^b by A4,A5;
then x2 in C^b by A10;
then consider z2 being Element of FT such that
A11: z2=x2 and
A12: U_FT z2 meets C;
set y3 = the Element of U_FT z2 /\ C;
A13: U_FT z2 /\ C <> {} by A12;
then y3 in U_FT z2 /\ C;
then reconsider y4=y3 as Element of FT;
y3 in U_FT z2 by A13,XBOOLE_0:def 4;
then z2 in U_FT y4 by A1;
then z2 in U_FT y4 /\ Q2 by A7,A11,XBOOLE_0:def 4;
then
A14: U_FT y4 meets Q2;
set P3=P2/\C,Q3=Q2/\C;
A15: C = A /\ C by A3java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
.=P3 \/ Q3endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
set closed is closed ABAB
:x in A;
P2 c= P2\/Q2 by XBOOLE_1:7;
then P2 c= C^b by A4,A5;
then x in
then consider z being ElementFTis filled &[] \ &Ajava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 76
A17: z=x and
meetsCjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
set y = the Element of U_FT z /\ C;
A19: U_FT z /\ C <> {} by A18;
theny \Cjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
then reconsider y2=y as Element of FT;
y in U_FT z by A19,XBOOLE_0:def 4;
then z in U_FT y2 by A1;
then z in (U_FT y2)/\P2 by A6,A17,XBOOLE_0:def 4;
then (U_FT y2) meets P2;
then
A20: y2 in P2^b;
A21: y4 in C by A13,XBOOLE_0:def 4;
A22: now
assume Q3={};
then
A23: y4 in P2 by A21,A15,XBOOLE_0:def 4;
consider w being Element of FT such that
A24: w=y4 and
A25: U_FT w meets Q2 by A14;
consider s being object such that
A26: s in U_FT w and
A27: s in Q2 by A25,XBOOLE_0:3;
reconsider s2=s as Element of FT by A26;
w in U_FT s2 by A1,A26;
then U_FT s2 meets P2 by A23,A24,XBOOLE_0:3;
then s2 in P2^b;
hence contradiction by A9,A27,XBOOLE_0:3;
end;
A28: P3 c= P2 by XBOOLE_1:17;
A29: y2 in C by A19,XBOOLE_0:def 4;
A30: now
assume P3= then
then y2 in A5: A^b misses B impliesA^b=A by A2,BOOLE_1;
then y2 P2^ \Q2by A20,XBOOLE_0:;
hence contradiction by A9;
end;
P3 misses Q2 by A8,XBOOLE_1:17,63;
then P3 misses Q3 XBOOLE_1:17,63;
then P3^b meets Q3 by A2,A15,A30,A22;
then P2^b meets Q3 by A28,FIN_TOPOjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hencecontradiction by A9,XBOOLE_1:17,63;
end;
theorem Th35:
for C being java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 13
connected holds C^ isconnected
A3: B1 = Bjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
let C be Subset of FT;
A4: A/\(B^b)={};
A1: FT is filled symmetric and
A2: C is connected;
Cc=^bby FIN_TOPO1;
hence thesis by A1,A2, then
endjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
FTis java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 65
B \/ C & B,C are_separated implies A \/ B is connected
proof
assume that
A1: FT is filled symmetric hence thesis by A5,FINTOPO4: thesis by ,FINTOPO4:def 1;
A2: FT is connected and
A3: A is connected and
A4: [#]FT \ A = B \/ C and
A5: B,C are_separated;
A6: [#]FT is connected by A2;
now
let P,Q be Subset A3:(Ab misses C by A2FINTOPO4:ef 1;
A7:A\ B =P \ Qajava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
missesQ java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
P, java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
Bb byA1,INTOPO4:1;
.= P \/ Q \/ C by A7,XBOOLE_1:4;
A10
: #FT=P\ Q\ ) A9XBOOLE_1:;
Ac=Q;
then P A by ,Th28,FINTOPO4:6
then P c= B by A7,XBOOLE_1:7,73;
by FINTOPO4:ef1
A12: P,C are_separated by A5,Th28;
then P misses Q \/ Tjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 72
hence P = {}FT or Q = {}FT by A6,A8,A12,A11,Th3,Th29;
;
now
A13: [#]FTproof
assume A c= P;
thenQmisses A by A1,A8,Th28,FINTOPO4:6;
then Q c= B by A7,XBOOLE_1:7,73;
then
A14: Q,C are_separated by A5,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 29
then considerP being Subset of FTsuch that
hence {FT Q {FT A6,,,A13,Th3,Th29
end;
hence P = {}FT or Q = {}FT by A1,A3,A7,A8,A10,Th32,XBOOLE_1:7;
end;
hence thesis by A1,Th6;
hence contradiction by A2,A3,A4,A6;
theoremjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
for X9 non emptySubSpace FT being Subset ofFT,B
A =B connectediffBis
proof
letn
assume
A1: A8 = B8;
per cases;
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 9
A8={};
hence thesis by A1;
end;
suppose
>}java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
then AA8as non Subset FT;
reconsider B=B8 as non empty Subset of X9 by A1,A2;
on empty RelStr;
A3: now
notA8 is ;
consider P,Q being Subset of A^b misses B by A1,Th5;
A4: A8 = P \/ Q and
A5: P <> {} & Q <> {} & P misses Q and
A6: P^b misses Q;
Q c= A8 by A4,XBOOLE_1:7;
then reconsider Q9=Q as Subset of X by A1,XBOOLE_1:1;
c A8 A4,BOOLE_17;
then reconsider P9=P as Subset of X by A1,XBOOLE_1:1;
A7: Q9 c= the carrier of X;
P9^b=P^b /\ [#]X by Th12;
then P9^b /\ Q9 =P^b /\ ([#]X /\ Q) by XBOOLE_1:16
.=P^b / /Q.A/(PQ XBOOLE_123
.{ byA6java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
thenB=/Qjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 44
end;
assume not B is connected;
then Pbeing Subsetof java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
8 P>} Q>{} misses java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
9 PbmissesQ
heofX thecarrier byDef2
then reconsider Q9=Q as Subset of FT by XBOOLE_1:1;
the carrier of X;
then reconsider P9=P as Subset of FT by XBOOLE_1:1;
A10: P^b=P9^b /\ [#]X by Th12;
P9^b /\ Q9 =P9^b /\ ([#]X /\ Q) by XBOOLE_1:28
.=P^b /\ Q by A10,XBOOLE_1:16
.={} by A9;
then (P9^b) misses Q9;
hence not A is connected by A1,A8;
end;
hence thesis by A3;
end;
end;
theorem
for A being Subset of FT st FT is filled symmetric & A
a_component_of FT holds A is closed
proof
let A be Subset of FT;
assume that
A1: FTassume
A2:Ais_a_component_of FT;
A is connected by A2;
A3A28:A/\=/Q\ /P=/(\P XBOOLE_1:java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
A c= A^b by A1,FIN_TOPO:13;
hence A = A^b by A2,A3;
end;
theorem Th39:
for A,B being Subset java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
FT & is_a_component_of FT B or ,Bare_separated
proof
let A,B be Subset of FT;
assume that
A1: FT is symmetric and
A2: A is_a_component_of FT and
A3:B java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A4: A is connected by A2;
assume that
A5 A < Band
A6 not ,Bjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
B is connected by A3;
thenA32 P3^ missesQ3A11,XBOOLE_1:;
then B c= A \/ B & A = A \/ B by A2,XBOOLE_1:7;
hence contradiction by A3,A5,A4;
end;
theorem
for A,B being Subset of FT st FT is filled symmetric & A
is_a_component_of P\Q2A\P/)by XBOOLE_123
,FINTOPO4:6;
for C being Subset of FT st FT is filled symmetric & C is connected
holds forTh34java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
c S
proof
let C be Subset l ACbe Subset of FT;
assume
A1: FT is filled symmetric & C is connected;
let SA1:FT symmetric and
assume
A2: S is_a_component_of FT;
A3: S c= C \/ S by XBOOLE_1:7;
S;
A7:Q<{ and
\ S is by,,FINTOPO46
then S = C \/ S by assume
thesis by 7java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
end;
then x2 ^ byA10;
pred B is_a_component_of A then consider z2 being ElementofFT that
ex B1 being Subset of FT|A =
end;
theorem
for D being non empty Subset of FT st FT is filled symmetric & D=[ injava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 20
\ A holds U_FTs2by A1A;
FT \ C thenU_FTs2 eetsP2by ,XBOOLE_03
proof
letD nonemptySubsetofFTjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
assume c XBOOLE_117
isfilled
A2: DA30
A3:FTis connected and
: java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 22
A5: C is_a_component_of D;
consider C1 hence contradiction A9;
A6: C1 = C and
A7: C1 A7: C1 is_a_component_of
reconsider C2 = C1 as Subset of FT by A6;
C1 c= [#](FT|D);
hen c=[#FT\AbyA2,Def3;
([]FT \A`c C2`by SUBSET_1:12;
then
A9: A c= C2` by hence contradiction by A9,XBOOLE_1:17,63;
A10: A c= [#]FT \ C2 by A8,PRE_TOPC:3;
:C1 connected by A7;
now
A misses C1 by A9,SUBSET_1:23;
then
A12: A /\ C1 = {};
let P,Q be Subset of FT such that
A13: [#]FT \ C = P \/ Q and
A14: P misses Q and
A15: P,Q are_separated;
A16: C is connected by A6,A11,Th37;
A17: now
assume
A18: A c= Q;
P c= Q` by A14,SUBSET_1:23;
then Q misses Q` & A /\ P c= Q /\ Q` by A18,XBOOLE_1:27,79;
then
A19: A /\ P c= {};
(C \/ P ) /\ A = (A /\ C) \/ (A /\ P) by XBOOLE_1:23
.= {} by A6,A12,A19,XBOOLE_1:3;
then C \/ P misses A;
then C \/ P c= A` by SUBSET_1:23;
then C \/ P c= [#](FT|D) by A2, connected holds C^b is connected
then reconsider C1P1 = C \/ P as Subset of FT|D;
C
then
A20: C1P1 is A2 connectedjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
C c= C1 \/ P by A6,XBOOLE_1e;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
A21: P c= C by A6,XBOOLE_1:7;
P c= [#]FT \ C by A13,XBOOLE_1:7;
missesC`&Pc C / (#FT\ C by A21,XBOOLE_1:19,9java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
then P c= {};
hence P = {}FT by XBOOLE_1:3;
end;
A22: P misses P` by XBOOLE_1:79;
A23: Q c= [#]FT \ C by A13,XBOOLE_1:7;
now
assume
: A c P
Q c= A4 []FT \A=B \ C and
then A \ Q= / P` by A24,XBOOLE_1:;
then
A25: A /\ Q c= {} by A22;
C\ Q) / A = (A /\ C) \/ (A /\ Q) by XBOOLE_1:23
.= {} by A6,A12,A25,XBOOLE_1:3;
then (C \/ Q) misses A;
then C \/ Q c= A` by SUBSET_1:23;
then C \/ Q c= [#](FT|D) by A2,Def3;
then reconsider C1Q1 = C \/ Q as Subset of FT|D;
C \/ Q is connected by A1,A3,A13,A15,A16,Th36;
then
A26: C1Q1 is connected by Th37;
C1 c= C1 \/ Q by XBOOLE_1:7;
then C1Q1 = C1 by A6,A7,A26;
then Q c= C by A6,XBOOLE_1:7;
then C misses C` & Q c= C /\ ([#]FT \ C) by A23,XBOOLE_1:19,79;
then Q c= {};
hence Q = {}FT by XBOOLE_1:3;
end;
hence P = }FT orQ={}FT by A1,A4,6,10,A13,A15,A17,h32
;
hence
A11:[]FT /( /C)by A9,:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
definition
let FT;
letf be FinSequence of FT;
attr f then Pmisses Q /Cby A1,,h29,FINTOPO4:6
1<=len f & for i beingend;
Element now
Lm2 xbeing Elementof holds <*x* is
by FINSEQ_1:then QmissesA by A1,8Th28FINTOPO4:;
registration
let FT;
let x be Element of FT;
cluster <*x*> -> continuous for FinSequence of FT;
coherence by Lm2;
end;
theorem Th43:
for f being FinSequence of FT,x,y being Element of FT st f is
continuous & y=f.(len f) & x in U_FT y holds f^(<*x*>) is continuous
proof
of FTjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
assume that
A1: f is continuous and
A2: y=f.(len f) and
A3: x in U_FT y;
reconsider g=f^(<*x*>) as FinSequence of FT;
A4: dom f=Seg len f by FINSEQ_1:def 3;
A5: len (<*x*>)=1 by FINSEQ_1:39;
A6: for i being Nat,x1 being Element of FT st 1<=i & i<len g & x1=g.i holds
g.(i+1) in U_FT x1
proof
let i be Nat,x1 be Element of FT;
assume that
end
A8:<len g and
A9: x1=g.i;
i+1 <=len g & 1<i+1 by theorem Th37
then i+1 in dom g FINSEQ_3:25;
then g.(i+1)=g/.(i+1) by PARTFUN1:def 6;
then x2=g(+1)asElement ofFT;
now
per cases;
suppose
A10: i<len f;
A11: 1<=i+1 by NAT_1:11;
i+1
then i+1 in dom f by A11,FINSEQ_3:25;
then
g.i1)f.i+) by FINSEQ_1:def 7;
A2: >}
thengif.by FINSEQ_1d 7;
hence x2 in U_FT x1 by A1,A7,A9,A10,A12;
end;
suppose
A13:A3:now
len =en f+ by 5FINSEQ_1:;
then
A14: i<=len f by A8,NAT_1:13;
then
A15: i=len f by A13,XXREAL_0:1;
iin fby A4,A7,14;
then x1=y bQ
x2in x1by A3A,42;
end;
end;
hence thesisthen reconsider P9=P as Subset of X by A1,XBOOLE_1:1;
end;
len (f^<*x*>) ^b=^b \ []X by Th12;
.lenf+ FINSEQ_139java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
then len (f^<*x*.=} ;
hencethesisbyA6
end;
theorem Th44:
for f,g being assume not B is not B is connected;
continuous & g.1 in U_FT (f/.(len f)) holds f^g is continuous
proof
let f,g be FinSequence of FT;
assume that
A1: f is continuous and: =P\ &P <>{ &Q <>{ &P missesQ
A2: g is continuousA9: P^b misses Q;
: g. in U_FT (/( f);
A4: len (f^g)=len then reconsider Q9=Q as Subset of FT by XBOOLE_1:1;
len g>=1 by A2;
then len (f^g)>=0+1 by A4,XREAL_1:7;
hence len (f^g)>=1 thecarrier X=thecarrier Def2java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
let i be Nat,x1 be Element of FT;
set g2=f^g;
A5: dom f=Seg len f by FINSEQ_1:def 3;
A6: len f>=1 by A1;
assume that
A7: 1<=i and
A8: i<len(f^g)A10: ^=P9b/ [#X Th12;
A9 (^g.;
i+ =^b /\ byA10,BOOLE_116
then i+1 in dom g2 by FINSEQ_3:25;
then.i1=.(i+)by PARTFUN1def6
x2=g2.i+) Elementof ;
per cases;
suppose
A10: i<len f;
A11endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
i+1<=len f by A10,NAT_1:13;
then i+1 n dom f by A11,FINSEQ_3:25;
then
A12: g2.(i+1)=f.(i+1) is_a_component_of FT holds FT holds A isclosed
i in dom f by A5,A7,A10;
then g2.i=f.i by FINSEQ_1:def 7;
hence thesis by A1,A7,A9,A10,A12;
end;
suppose
A13:i=len f;
then
A14: i+1>len f by NAT_1:13;
:lenf g byF:;
A16: len g2=len f+len g by FINSEQ_1:22;
then
A17: i+1<=len f+len g by A8,NAT_1:13;
theoremTh39java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
suppose
ilf;
A19: len f in dom f by A6,FINSEQ_3:25;
then
A20: x1=f.(len f) by A9,A18,FINSEQ_1:def 7
.=f/.(len f) by A19,PARTFUN1java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 30
x2=g is by A2java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
.= g.1 by A18;
hence thesis by A3,A20;
end;
uppose
then c=A\ B &A=A\ B by A2,BOOLE_1:7;
set j=i-'len f;
A22: i-len f> by A21,REAL_1:50;
then
A23: i-'len f=i-len f by XREAL_0:def 2
then j+1=i+1-len f;
then
A16A17,INSEQ_124
A25: i-len f<java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 12
i>=len f+1 by A21,NAT_1:13;
then
A26: x1=g.j by A9,A15,A23,FINSEQ_1:23;
i-'len f>=0+1 by A22,A23,NAT_1:13;
hence thesis by A2,A23,A24,A26,A25;
end;
end;
end;
definition
let FT;
let A be Subset of FT;
attr A is arcwise_connected means
for x1,x2 being Element of FT st x1
in A & x2 in A ex f being FinSequence of FT st f is continuous & rng f c=A & f.
1=x1 & f.(len f)=x2;
end;
registration
let FT;
cluster empty -> arcwise_connected for Subset of FT;
coherence;
end;
Lm3: for x being Element of FT holds {x} is arcwise_connected
proof
let x be Element of FT;
set A={x};
A1: rng (<*x*>) c= A by FINSEQ_1:39;
A2: <*x*>.1=x;
then
A3: <*x*>.(len <*x*>)=x by FINSEQ_1:40;
for x1,x2 being Element of FT st x1 in A & x2 in A ex f being
FinSequence of FT st f is continuous & rng f c=A & f.1=x1 & f.(len f)=x2
proof
let x1,x2 be Element of FT;
assume x1 in A & x2 in A;
then x1=x & x2=x by TARSKI:def 1;
hence thesis by A2,A3,A1;
end;
hence thesis;
end;
registration
let FT;
let x be Element of FT;
cluster {x} -> arcwise_connected for Subset of FT;
coherence by Lm3;
end;
theorem
for A being Subset of FT st FT is symmetric holds A is connected iff A
is arcwise_connected
proof
let A be Subset of FT;
assume
A1: FT is symmetric;
now
assume not A is arcwise_connected;
then consider x1,x2 being Element of FT such that
A2: x1 in A and
A3: x2 in A and
A4: not(ex f being FinSequence of FT st f is continuous & rng f c=A &
f. 1=x1 & f.(len f)=x2);
A5: {z where z is Element of FT: z in A & ex f being FinSequence of FT st
f is continuous & rng f c= A & f.1=x1 & f =S
proof
let x be object;
FT: zin &ex being
FinSequence of let be Subset of ;
then
ex z being Element of FT st xA2 S FTjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
FT st f is continuous & rng f c= A & java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 14
hence thesis;
end;
then =C \ by A2;
G={z hence thesis XBOOLE_17java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
of FT st f is continuous & rng f c= A & f.1=x1 &java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
byXBOOLE_1:;
A6: G misses (A\G) by XBOOLE_1:79; B is_a_component_of
A7: now
assume G^b meets (A\G);
then consider u being object such java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 0
A8: u in G^b and
A9 (\G)by XBOOLE_0:;
A10: not u in G java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
considerlet nonemptySubset ofFT;
A11: u=x and
A12: U_FT x meets G by A8;
consider y being object such that
: y in U_FT x and
by A12,XBOOLE_03;
consider z2 being Element of FT such that
:y=2and
z2 and
fbeing of is continuous&rng f c=A&
f.1= x1 & f.(len C1c #FT A byA2,;
consider f then
tinuousand
A18: rng f c= Athen
A9:A=C2`by PRE_TOPC
A20 f.(en f)z2 A16;
reconsidergf^<x*) as FinSequenceof FTjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
A21: rng g =rng f \/ rng (<*x*>) by FINSEQ_1:31
.rng f \ x FINSEQ_1:;
Aby ,BOOLE_0:ef java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
then {x} c= A by A11,ZFMISC_1:31java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 19
:rng =A by ,XBOOLE_1:;
1A18: A c ;
then 1 in dom f by FINSEQ_3:25;
then
A24: g.19: / Pc={}java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
x in U_FT z2 by A1,A13,A15;
A25: g is continuous then C\ P missesA;
len g=len f+len (<*x*>) by FINSEQ_1:22
.=len f+1 by FINSEQ_1 then / P =[]FTD A2,ef3;
y A22,10A11,,A24,23
;
A26: now
{x1} c= A by A2,ZFMISC_1:31;
then
A27: rng (<*x1*>) c= A by FINSEQ_1:38;
assume
then
A29: (*x1*>.=1;
then (<*x1*>).(len (<*x1*>))=x1 by FINSEQ_1:39;
then x1 in G by A2,A27,A29;
hence contradiction by A28;
then P c= {};
hence P ={FT :3;
assume A\=}
then A =G XBOOLE_1:37;
then G=A byA23: c=[]T C by A13,BOOLE_17java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
then being FTstzx2&z A ex beingFinSequence
c= P` by A14,SUBSET_1:23;
hence contradiction by A4;
end;
A= G \/ (A\G) by A5,XBOOLE_1:45;
hence not A is connected by A30,( /Q /\A A/\ C)/ ( / Q) byXBOOLE_1:23
end;
hence isconnectedimplies is arcwise_connected
now
assume not A is connected;
consider P, being SubsetofFTsucht
A31:A=\Q and
A32: P<>{ /Qis connected by A1,A3,A13,A15,A16,Th36;
A33: Q<>{} and
A34: P misses Q and
A35: P^b misses Q;
set q0 = the Element of Q;
q0 in Q by A33;
then reconsider q1=q0 as Element of FT;
set p0 = the Element of P;
p0 in P by A32;
then reconsider p1=p0 as Element of FT;
A36: p1 in A & q1 in A by A31,A32,A33,XBOOLE_0:def 3;
thus now
assume A is arcwise_connected;
then consider f then
f is continuousand
A38:rngfcA and
A39: C1Q1 byA6,7,;
A40: f.(len f)=q1 by A36;
defpred P[Nat] means 1=then missesC c \(#FT\C)byA23,:19,79java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
len f>=1 by A37;
then
A41: ex k being Nat st P[k] by A32,A39;
A42: for k being Nat st P[k] holds k <= len f;
consider i0 being Nat such that
A43: P[i0] & for n being Nat st P[n] holds then Q c={}
A42,A41 );
i0<>lenhence P } or ={FTbyA1A,,10,,15A17,h32java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
then
A44: i0<len f by A43,XXREAL_0:1;
then
A45: i0+1 <=len f by NAT_1:13;
reconsider u0=f.i0 as Element of FT by A43;
end;
then i0+1 in dom f by A45,FINSEQ_3:25;
hencethesisby A1,Th6;
A47: f.(i0+1) in rng f by FUNCT_1:def 3;
then reconsider z0=f.(i0+1) as Element of FT;
z0 in U_FT u0 by A37,A43,A44;
then f.i0 in U_FT z0 by A1;
then U_FT z0 meets P by A43,XBOOLE_0:3;
then
A48: z0 in P^b;
now
assume f.(i0+1) in P;
then i0+1<=i0 by A43,A45,A46;
hence contradiction by NAT_1:13;
end;
then f.(i0+1) in Q by A31,A38,A47,XBOOLE_0:def 3;
hence contradiction by A35,A48,XBOOLE_0:3;
end;
hence not A is arcwise_connected;
end;
hence thesis;
end;
theorem Th46:
for g being FinSequence of FT, k being Nat st g is continuous &
1<=k holds g|k is continuous
proof
let g be FinSequence of FT, k be Nat;
assume that
A1: g is continuous and
A2: 1<=k;
per cases;
suppose
len g <= k;
hence thesis by A1,FINSEQ_1:58;
end;
suppose
A3: k<=len g;
hence len(g|k) >= 1 by A2,FINSEQ_1:59;
let i be Nat,x11 be Element of FT;
assume that
A4: 1<=i and
A5: i<len (g|k) and
A6: x11=(g|k).i;
A7: len (g|k)=k by A3,FINSEQ_1:59;
then
A8: (g|k).i=g.i by A5,FINSEQ_3:112;
i+1<=k by A7,A5,NAT_1:13;
then
A9: (g|k).(i+1)=g.(end
i<len g by A3,A7,A5,XXREAL_0:2;
hence thesis by A1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
end;
theorem Th47:
1<len f & fori being Nat,1being
&k g g^ iscontinuous
proof
let g be FinSequence of FT, k be Element of NAT;
assume that
A1: g is continuous and
A2: k<len g;
A3: len g-k>0 by A2,XREAL_1:50;
then
A4: len g-k=len g -'k by XREAL_0:def 2;
A5: len (g/^k)=len g-k by A2,RFINSEQ:def 1;
A6: for i being Nat,x11 being Element of FT st 1<=i & i<len (g/^k) & x11=(g
/^k).i holds (g/^k).(i+1) in U_FT x11
proof
let i be Nat,x11 be Element of FT;
assume that
A7: 1<=i and
A8: i<len (g/^k) and
A9: x11=(/^).i;
A10: 1<=1+i by NAT_1:11;
i in dom (g/^k) by A7,A8,FINSEQ_3:25;
then
A11: (g/^k).(i)=g.(i+k) by A2,RFINSEQ:def 1;
i<=i+k by NAT_1:11;
then
A12: i+1+k=i+k+1 & 1<=i+k by A7,XXREAL_0:2;
i+1<=len g -'k by A5,A4,A8,NAT_1:13;
then i+1 in dom (g/^k) by A5,A4,A10,FINSEQ_3:25;
then
A13: (g/^k).(i+1)=g.(i+1+k) by A2,RFINSEQ:def 1;
i+k<len g-k+k by A5,A8,XREAL_1:6;
thesisby ,,11A13,A12;
;
len g -'k>=0+1 by A3,A4,NAT_1:13;
hence thesis by A5,A4,A6;
end;
definition
let FT;
let g be FinSequence of FT,A be Subset of FT, x1,x2 be Element of FT;
continuous &yf.len f)& x in y ^(**)is ontinuous
g is continuous & rng g c=A &
g.1=x1 & g.len g=x2 & for h being FinSequence of FT st h is continuous & rng h
c=A & h.1=x1 & h.len h=x2 holds len g <= len h;
end;
theorem
for A being Subset of FT, x being Element of FT st x in A holds <*x*>
is_minimum_path_in A,x,x
proof
let A be Subset of FT, x be Element of FT;
assume
A1: x in A;
thus <*x*> is continuous;
{x} c= A by A1,ZFMISC_1:31;
hence rng <*x*> c= A by FINSEQ_1:38;
len <*x*> =1 by FINSEQ_1:40;
hence thesis;
end;
Lm4: for f being FinSequence of FT,A being Subset of FT, x1,x2 being Element
of FT st f is continuous & rng f c=A & f.1=x1 & f.(len f)=x2 ex g being
FinSequence of FT st g is continuous & rng g c=A & g.1=x1 & g.(len g)=x2 & for
h being FinSequence of FT st h is continuous & rng h c=A & h.1=x1 & h.(len h)=
x2 holds len g <= len h
proof
be FinSequence ofFTAbe of FT,x1,x2 be Element of FT;
defpred [Nat]means ex g being FinSequence of FT st g is continuous & rng g
c=A & g.1=x1 & g.(len g)=x2 & $1=len g proof
& c=A & f.1=x1 & f.(len f)=x2;
then
A1: ex k being Nat st P[k];
ex k being Nat st P[k] & for n being Nat st P[n] holds k <= n from NAT_1
:sch 5(A1);
then consider k0 being Nat such that
A2: P[k0] and
A3: for n being Nat st P[n] holds k0 <= n;
consider g0 being FinSequence of FT such that
A4: g0 is continuous & rng g0 c=A & g0.1=x1 & g0.(len g0)=x2 and
A5: k0=len g0 by A2;
for h being FinSequence of FT st h is continuous & rng h c=A & h.1=x1 &
h.(len h)=x2 holds len g0 <= len h by A3,A5;
hence thesis by A4;
end;
theorem
forAbeing Subset of FT holds A is arcwise_connected iff for x1,x2
being Element of FT st x1 in A & x2 in A ex g being FinSequence of FT st g
is_minimum_path_in A,x1,x2
roof
let A be Subset of FT;
thus isarcwise_connected implies for x1,x2 being Element of FT st x1 in A
inAex being FinSequence of FT st g is_minimum_path_in A,x1,x2
proof
assume
A1: A is arcwise_connected;
thus for x1,x2 being Element of FT st x1 in A & x2 in A ex g being
FinSequence of FT st g is_minimum_path_in A,x1,x2
proof
let x1,x2 be Element of FT;
assume x1 in A & x2 in A;
then
ex f being FinSequence of FT st f is continuous & rng f c= A & f.1=x1
& f.(A11: 1=1 by :;
java.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 56
A2: g2 is continuous & rng g2 c= then i+ indom f by A11,FINSEQ_3:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
being FinSequence of FT st h is continuousA12: .i)=.(i+1)by :def 7;
holds len g2 = len h Lm4;
g2 is_minimum_path_in A,x1,x2 by A2;
hence thesis;
end;
end;
assume
A3: for x1,x2 being Element of FT st x1 in A & x2 in A ex g being
FinSequence of FT st g is_minimum_path_in A,x1,x2;
for x1,x2 being Element of FT st x1 in A & x2 in A ex f being
FinSequence of FT st f is continuous & rng f c=A & f.1=x1 & f.len f=x2
proof
let x1,x2 be Element of FT;
assume x1 in A & x2 in A;
then consider g being FinSequence of FT such that
A4: g is_minimum_path_in A,x1,x2 by A3;
A5: g.1= suppose
is continuous &rng cA A4java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
hence thesis by A5;
end;
hence thesis;
end;
theorem
for A being Subset of FT,x1,x2 being Element of FT st ex f being
FinSequence of FT st f is continuous & rng f c=A & f.1=x1 & f.len f=x2 ex g
being FinSequence of FT st g is_minimum_path_in A,x1,x2
proof
let A be Subset of FT,x1,x2 be Element of FT;
given f being FinSequence of FT such that
A1: f is continuous & rng f c=A & f.1=x1 & f.(len f)=x2;
consider g2 being FinSequence of FT such that
A2: g2 is continuous & rng g2 c=A & g2.1=x1 & g2.(len g2)=x2 & for h
being FinSequence of FT st h is continuous & rng h c=A & h.1= x1 & h.(len h)=x2
holds len g2 <= len h by A1,Lm4;
g2 is_minimum_path_in A,x1,x2 by A2;
hence thesis;
end;
theorem Th51:
for g being FinSequence of FT, end;
Element of FT, k being Element of NAT st g is_minimum_path_in A,x1,x2 & 1<=k &
<len holds g iscontinuous & rng (g|k) c=A & (g|k).1=x1 & (g|k).(len (g|k
))=g/.k
proof
let g be FinSequence of FT,A be Subset of FT, x1,x2 be Element of FT, k be
Element of NAT;
assume that
A1: g is_minimum_path_in A,x1,x2 and
A2: 1<=k and
A3: in A5A7,java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
A4: k in dom g by A2 end;
g is continuous by A1;
hence g|k is continuous by A2,Th46;
A5: rng (g|k) c= rng g by FINSEQ_5:19;
c=byA1java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
hence rng (g|k) c=A by A5;
g.1=x1 by A1;
hence (g|k).1=x1
len (gk)k ,INSEQ_159java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
hence (g|k).(len (g|k))=g.k by FINSEQ_3:112
=/kA4Pdef 6java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
end;
theoremTh52:
for g being FinSequence of FT,A =/(f A19,PARTFUN1:ef 6;
, beingElement ofNAT g is_minimum_path_in A,1x2&k<g
holds g/^k is continuous & rng (g/^k) c=A & (g/^k).1=g/.(1+k) & (g/^k).(len (g
/^k))=x2
proof
let g be FinSequence of FT,A be Subset of FT, x1,x2 be Element of FT, k be
Element of NAT;
assume that
A1: g is_minimum_path_in A,x1,x2 and
A2: k<len g;
A3: len (g/^k)=len g-k by A2,RFINSEQ:def 1;
g is continuous by A1;
suppose
A4: rng (g/^k) c= rng g by ji'en;
rng g c=A by A1;
hence rng (g/^k) c=A by A4;
EQ:ef 1
1<= thenj+1=+lenfjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
then
A6:1kindom gbyFINSEQ_3:;
A7: >=enf1by A21,NAT_1:;
then len g-'k=len g -k by XREAL_0:def 2;
then len g-k>=0+1 by A7,NAT_1:13;
then 1 in dom (g/^k) by A5,FINSEQ_3:25;
hence (g/^k).1=g.(1+k) by A2,RFINSEQ:def 1
.=g/.(1+k) by A6,PARTFUN1:def 6;
A8: len g-k>0 by A2,XREAL_1:50;
then
A9: len g-
then len g-'k>=0+1 by A8,NAT_1:13;
then len g-'k in dom (g/^k) by A5,A9,FINSEQ_3:25;
hence (g/^k).(len (g/^k))=g.(len g-'k+k) by A2,A9,A3,RFINSEQ:def 1
.=x2 by A1,A9;
end;
theorem
for g being FinSequence of FT,A being Subset of FT, x1,x2 being
Element of FT st g is_minimum_path_in A,x1,x2 holds for k being Nat st 1<=k & k
<=len g holds g|k is_minimum_path_in A,x1,g/.k
proof
let g be FinSequence of FT,A be Subset of FT, x1,x2 be Element of FT;
assume
A1: g is_minimum_path_in A,x1,x2;
then
A2: rng g c=A;
A3: g is continuous by A1;
then
A4: 1<=len g;
A5: g.(len g)=x2 by A1;
let k be Nat;
assume that
A6: 1<=k and
A7: k<=len g;
reconsider k as Element of NAT by ORDINAL1:def 12;
A8: (g|k).1=x1 & (g|k).(len (g|k))=g/.k by A1,A6,A7,Th51;
A9: g|k is continuous & rng (g|k) c=A by A1,A6,A7,Th51;
now
per A7:;
suppose
A10: k<len g;
now
k in dom g by A6,A7,FINSEQ_3:25;
then
A11: g/.=. by PARTFUN1:def 6;
k+1<=len g by A10,NAT_1:13;
then
A12: (g/^k).1=g.(k+1) by FINSEQ_6:114;
rng (g/^k) c= rng g by FINSEQ_5:33;
then
A13: rng (g/^k) c= A by A2;
assume not g|k is_minimum_path_in A,x1,g/.k;
then consider h being FinSequence of FT such that
A14: h is continuous and
A15: rng h c=A and
A16: h.1=x1 and
A17: h.(len h)=g/.k and
A18: len (g|k) > len h by A9,A8;
reconsider s=h^(g/^k) as FinSequence of FT;
A19: len s=len h +len(g/^k) by FINSEQ_1: coherencejava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
rng rng h \/rng(g/^) by FINSEQ_1:31;
then
A20: rng s let x be Element of FT;
A21: g/^k is continuous by A1,A10,Th52;
then 1<= len (g/^k);
then len (g/^k) in dom (g/^k) by FINSEQ_3:25;
then
A22: s.(len s)=(g/^k).(len (g/^k)) by A19,FINSEQ_1:def 7
.=x2 by A5,A10,FINSEQ_6:185;
A23: 1<=len h inSequence of FT st f is continuous & rng f c=A & f.1=x1 & f.(len f)=x2
then 1 in dom h by FINSEQ_3:25;
then
24 s=x1 A16,FINSEQ_1:def 7java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
len h in dom h by A23,FINSEQ_3:25;
then h.len h=h/.len h by PARTFUN1:java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 6
then (g/^k).1 in U_FT (h/.(
then
A25: s is continuous by A14,A21,Th44;
g=(g|k)^(g/^k) by RFINSEQ:8;
then len g=len (g|k) + len (g/^k) by FINSEQ_1:22;
then len s<len g by A18,A19,endjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 7
end;
hence is
end;
suppose
A26: k=len g;
A27: len g in dom g by A4,FINSEQ_3:25;
k= by,:;
ence gkis_minimum_path_in A,x1,g/.k by A1,A26,A27,PARTFUN1:def 6;
end;
end;
hence thesis;
A5: {z ElementFT:z in A &ex fbeing FinSequenceofFT st
being FinSequenceof , being Subsetof FT,x1x2 being
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
proof
letgbe of FT,be Subsetof FT,x1,x2 be Elementof ;
assume
A1: g is_minimum_path_in A,x1,x2;
then
A2: g is continuous;
A3: for h being FinSequence of FT st h is continuous & rng h c=A & h.1=x1 &
h.(len h)=x2 holds len g <= len h by A1;
A4: rng g c=A by A1;
A5: g.1=x1 by A1;
A6: g.(len g)=x2 by A1;
assume not g is one-to-one;
then consider y1,y2 being object such that
A7: y1 in dom g and
A8: y2 in dom g and
A9: g.y1=g.y2 and
A10: y1<>y2 by FUNCT_1:def 4;
reconsider n1=y1,n2=y2 as Element of NAT by A7,A8;
A11: dom g=Seg len g by FINSEQ_1:def 3;
then
A12: 1<=n1 by A7,FINSEQ_1:1;
A13: n2 <=len g by A8,A11,FINSEQ_1:1;
A14: 1<=n2 by A8,A11,FINSEQ_1:1;
A15: n1 <=len g by A7,A11,FINSEQ_1:1;
per cases by A10,XXREAL_0:1;
suppose
A16: n1>n2;
set k=len g-'n1;
set g2=(g|n2)^(g/^n1);
A17: len (g/^n1)=len g-n1 by A15,RFINSEQ:def 1;
A18: len g-n1>=0 by A15,XREAL_1:48;
then
A19: len g-'n1=len g-n1 by XREAL_0:def 2;
A20: len (g|n2)=n2 by A13,FINSEQ_1:59;
then
A21: g2.1=(g|n2).1 by A14,FINSEQ_1:64
.=g.1 by A14,FINSEQ_3:112;
A22: len g2=len (g|n2)+len (g/^n1) by FINSEQ_1:22
.=n2+(len g-n1) by A15,A20,RFINSEQ:def 1;
per cases by A15,XXREAL_0:1;
suppose
n1<len g;
then n1+1<=len g by NAT_1:13;
then
A23: n1+1-n1<=len g-n1 by XREAL_1:13;
then
A24: 0+1<=n2+(len g-n1) by XREAL_1:7;
A25: g2 is continuous
proof
thus len g2 >= 1 by A22,A24;
let i be Nat,z1 be Element of FT;
assume that
A26: 1<=i and
A27: i<len g2 and
A28: z1=g2.i;
A29: i+1 <=len g2 by A27,NAT_1:13;
reconsider i as Element of NAT by ORDINAL1:def 12;
;
then i+1 in dom g2 then
hen.i1)g2.(1 PARTFUN1def 6;
then reconsider z2=g2.(i+1) as Element of FT;
now
per cases;
suppose
A30: i<n2;
then
A31: i+1<=n2 by NAT_1:13;
i+1<=len (g|n2) by A20,A30,NAT_1:13;
then
A32: z2=(g|n2).(i+1) by FINSEQ_1:64,NAT_1:12
.=g.(i+1) by A31,FINSEQ_3:112;
A33: i<len g by A13,A30,XXREAL_0:2;
z1=(g|n2).i by A20,A26,A28,A30,FINSEQ_1:64
.=g.i by A30,FINSEQ_3:112;
hence z2 in U_FT z1 by A2,A26,A33,A32;
end;
suppose
A34: i>=n2;
i-n2<n2+(len g-n1)-n2 by A22,A27,XREAL_1:9;
then
A35: i-'n2<len g - n1 by A34,XREAL_1:233;
then
A36: i-'n2+n1<len g-n1+n1 by XREAL_1:6;
A37: len (g|n2) +(i-'n2)=n2+(i-n2) by A20,A34,XREAL_1:233
.=i;
A38: now
per cases by A34,XXREAL_0:1;
suppose
i>n2;
then
A39: i-n2>0 by XREAL_1:50;
then i-'n2=i-n2 by XREAL_0:def 2;
then
A40: 0+1<=i-'n2 by A39,NAT_1:13;
then
A41: i-'n2 in dom (g/^n1) by A17,A35,FINSEQ_3:25;
thus z1=(g/^n1).(i-'n2) by A17,A28,A35,A37,A40,FINSEQ_1:65
.=g.(i-'n2+n1) by A15,A41,RFINSEQ:def 1;
end;
suppose
A42: i=n2;
hence z1=(g|n2).n2 by A20,A26,A28,FINSEQ_1:64
.=g.(0+n1) by A9,FINSEQ_3:112
.=g.(i-'n2+n1) by A42,XREAL_1:232;
end;
end;
i-'n2<len g-'n1 by A15,A35,XREAL_1:233;
then i-'n2+1<=len g-'n1 by NAT_1:13;
then
A43: i-'n2+1<=len (g/^n1) by A15,A17,XREAL_1:233;
1<=i-'n2+1 by NAT_1:12;
then
A44: i-'n2+1 in dom (g/^n1) by A43,FINSEQ_3:25;
len (g|n2)+(i-'n2+1)=i-n2+1+n2 by A20,A34,XREAL_1:233
.=i+1;
then
A45: z2=(g/^n1).(i-'n2+1) by A43,FINSEQ_1:65,NAT_1:12
.=g.(i-'n2+1+n1) by A15,A44,RFINSEQ:def 1
.=g.(i-'n2+n1+1);
1<=i-'n2+n1 by A12,NAT_1:12;
hence z2 in U_FT z1 by A2,A38,A45,A36;
end
end;
;
end;
A46: rng (g/^n1) c= rng g by FINSEQ_5:33;
rng g2=rng (g|n2) \/ rng (g/^n1) & rng (g|n2) c= rng g by FINSEQ_1:31
,FINSEQ_5:19;
then
g2 c= rnggby A46,XBOOLE_1:8;;
A48 byXBOOLE_1:1;
A49: k in dom ((g/^n1)) by A19,A17,A23,FINSEQ_3:25;
theng2.len(gn2 +k =(g/^n1). by FINSEQ_1:def 7
.= x2 by A6,A15,A49,A48,A7: now
then g2.(eng2)=2byA20,,A18XREAL_0:def 2;
then len g<=len g2 by A4,A5,A3,A21,A47,A25,XBOOLE_1: then consider u being object such that
then len g-n2<= n2+(len g-n1)-n2 by A22,XREAL_1:13;
hence contradiction by A16,XREAL_1:10;
end;
A50: n1=len g;
A51: len (g/^n1)=len g-n1 by A15,RFINSEQ:def 1;
A52: g2 is continuous
proof
11A22,A50,FINSEQ_1:1java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
let i be Nat,z1 be Element of FT;
A53: 1 .1=x1 f.len)=2 by A14;
A54: i<len g2 and
g2java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
+<leng2byA54NAT_113;
reconsider i as Element of NAT java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 26
1<i+1 by A21 g=ng f \ rng (*x*) by FINSEQ_1:java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
in java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 34
then g2.(i+1)=g2/.(i+1) by PARTFUN1:def 6;
then reconsider z2=g2.(i+1) as java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 39
per cases;
suppose
A57: i<n2;
then
i+<n2 by NAT_1:13;
i+1<=len (g|n2) by A20,A57,NAT_1:13;
thenlen g= f+ (<x*) by FINSEQ_122
A59: z2=(g|n2).(i+1) by FINSEQ_1:64,NAT_1:12
.=g.(i+1) by A58,FINSEQ_3:112;
A60: i<len g by A13,A57,XXREAL_0:2;
z1=(g|n2).i by A20,A53,A55,A57,FINSEQ_1:64
.=g.i by A57,FINSEQ_3:112;
hence thesis by A2,A53,A60,A59;
end;
suppose
A61: i>=n2;
i-n2<n2+(len g-n1)-n2 by A22,A54,XREAL_1:9;
then
A62: i-'n2<len g - n1 by A61,XREAL_1:233;
then
A63: i-'n2+n1<len g-n1+n1 by XREAL_1:6;
A64: len (g|n2) +(i-'n2)=n2+(i-n2) by A20,A61,XREAL_1:233
.=i;
A65: now
per cases by A61,XXREAL_0:1;
suppose
i>n2;
then
A66: i-n2>0 by XREAL_1:50;
then i-'n2=i-n2 by XREAL_0:def 2;
then contradiction by A22,10,11A25,,;
A67: 0+1<=i-'n2A26:now
then
A68: i- then
thus z1=(g/^n1).(i-'n2) by A51,A55,A62,A64,A67,FINSEQ_1:65
.=g.(i-'n2+n1) by A15,A68,RFINSEQ:def 1;
end;
suppose
A69: i=n2;
hence z1=(g|n2).n2 by A20,A53,A55,FINSEQ_1:64
.=g.(0+n1) by A9,FINSEQ_3:112
.=g.(i-'n2+n1) by A69,XREAL_1:232;
end;
end;
i-'n2<len g-'n1 by A15,A62,XREAL_1:233;
then i-'n2+1<=len g-'n1 by NAT_1:13;
then
A70: i-'n2+1<=len (g/^n1) by A15,A51,XREAL_1:233;
1<=i-'n2+1 by NAT_1:12;
then
A71: i-'n2+1 in dom (g/^n1) by A70,FINSEQ_3:25;
len (g|n2)+(i-'n2+1)=i-n2+1+n2 by A20,A61,XREAL_1:233
.=i+1;
then
A72: z2=(g/^n1).(i-'n2+1) by A70,FINSEQ_1:65,NAT_1:12
.=g.(i-'n2+1+n1) by A15,A71,RFINSEQ:def 1
.=g.(i-'n2+n1+1);
1<=i-'n2+n1 by A12,NAT_1:12;
hence thesis by A2,A65,A72,A63;
end;
end;
A73: rng (g|n2) c= rng g by FINSEQ_5:19;
A74: g2=(g|n2)^({}) by A50,FINSEQ_6:167
.= (g|n2) by FINSEQ_1:34;
then g2.len g2=x2 by A6,A9,A20,A50,FINSEQ_3:112;
<len g2 ,A5,3A21,74A73,,XBOOLE_11java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
then len g- then (*1>.len (*x1*>)by :java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
hence contradiction by java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 33
;
end;
suppose
A75: n2>n1;
set k=len g-'n2;
set g2=(g|n1)^(g/^n2);
A76: len (g/^n2)=len g-n2 by A13,RFINSEQ:def 1;
len g-n2>=0 by A13,XREAL_1:48;
then
A77: len g-'n2=len g-n2 by XREAL_0:def 2;
A78: len (g|n1)=n1 by A15,FINSEQ_1:59;
then
A79: g2.1=(g|n1).1 by A12,FINSEQ_1:64
.=x1 by A5,A12,FINSEQ_3:112;
A80: len g2=len (g|n1)+len (g/^n2) by FINSEQ_1:22
.=n1+(len g-n2) by A13,A78,RFINSEQ:def 1;
per cases by A13,XXREAL_0:1;
suppose
n2<len g;
then n2+1<=len g by NAT_1:13;
then
A81: n2+1-n2<=len g-n2 by XREAL_1:13;
then
A82: 0+1<=n1+(len g-n2) by XREAL_1:7;
A83: g2 is continuous
proof
thus len g2 >= 1 by A80,A82;
let i be Nat,z1 be Element of FT;
assume that
A84: 1<=i and
A85: i<len g2 and
A86: z1=g2.i;
A87: i+1 <=len g2 by A85,NAT_1:13;
reconsider i as Element of NAT by ORDINAL1:def 12;
1<i+1 by A84,NAT_1:13;
then i+1 in dom g2 by A87,FINSEQ_3:25;
then g2.(i+1)=g2/.(i+1) by PARTFUN1:def 6;
then reconsider z2=g2.(i+1) as Element of FT;
per cases;
suppose
A88: i<n1;
then
A89: i+1<=n1 by NAT_1:13;
i+1<=len (g|n1) by A78,A88,NAT_1:13;
then
A90: z2=(g|n1).(i+1) by FINSEQ_1:64,NAT_1:12
.=g.(i+1) by A89,FINSEQ_3:112;
A91: i<len g by A15,A88,XXREAL_0:2;
z1=(g|n1).i by A78,A84,A86,A88,FINSEQ_1:64
.=g.i by A88,FINSEQ_3:112;
hence thesis by A2,A84,A91,A90;
end;
suppose
A92: i>=n1;
i-n1<n1+(len g-n2)-n1 by A80,A85,XREAL_1:9;
then
A93: i-'n1<len g - n2 by A92,XREAL_1:233;
then
A94: i-'n1+n2<len g-n2+n2 by XREAL_1:6;
A95: len (g|n1) +(i-'n1)=n1+(i-n1) by A78,A92,XREAL_1:233
.=i;
A96: now
per cases by A92,XXREAL_0:1;
suppose
i>n1;
then
A97: i-n1>0 by XREAL_1:50;
then i-'n1=i-n1 by XREAL_0:def 2;
then
A98: 0+1<=i-'n1 by A97,NAT_1:13;
then
A99: i-'n1 in dom (g/^n2) by A76,A93,FINSEQ_3:25;
thus z1=(g/^n2).(i-'n1) by A76,A86,A93,A95,A98,FINSEQ_1:65
.=g.(i-'n1+n2) by A13,A99,RFINSEQ:def 1;
end;
suppose
A100: i=n1;
hence z1=(g|n1).n1 by A78,A84,A86,FINSEQ_1:64
.=g.(0+n2) by A9,FINSEQ_3:112
.=g.(i-'n1+n2) by A100,XREAL_1:232;
end;
end;
i-'n1<len g-'n2 by A13,A93,XREAL_1:233;
then i-'n1+1<=len g-'n2 by NAT_1:13;
then
A101: i-'n1+1<=len (g/^n2) by A13,A76,XREAL_1:233;
1<=i-'n1+1 by NAT_1:12;
then
A102: i-'n1+1 in dom (g/^n2) by A101,FINSEQ_3:25;
len (g|n1)+(i-'n1+1)=i-n1+1+n1 by A78,A92,XREAL_1:233
.=i+1;
then
A103: z2=(g/^n2).(i-'n1+1) by A101,FINSEQ_1:65,NAT_1:12
.=g.(i-'n1+1+n2) by A13,A102,RFINSEQ:def 1
.=g.(i-'n1+n2+1);
1<=i-'n1+n2 by A14,NAT_1:12;
hence thesis by A2,A96,A103,A94;
end;
end;
A104: rng (g/^n2) c= rng g by FINSEQ_5:33;
rng g2=rng (g|n1) \/ rng (g/^n2) & rng (g|n1) c= rng g by FINSEQ_1:31
,FINSEQ_5:19;
then rng g2 c= rng g by A104,XBOOLE_1:8;
then
A105: rng g2 c= A by A4;
A106: k+n2=len g by A77;
A107: k in dom ((g/^n2)) by A77,A76,A81,FINSEQ_3:25;
then g2.(len (g|n1) + k) = (g/^n2).k by FINSEQ_1:def 7
.= x2 by A6,A13,A107,A106,RFINSEQ:def 1;
then g2.(len g2)=x2 by A15,A80,A77,FINSEQ_1:59;
then len g<=len g2 by A1,A79,A105,A83;
then len g-n1<= n1+(len g-n2)-n1 by A80,XREAL_1:13;
hence contradiction by A75,XREAL_1:10;
end;
suppose
A108: n2=len g;
A109: len (g/^n2)=len g-n2 by A13,RFINSEQ:def 1;
A110: g2 is continuous
proof
thus len g2 >= 1 by A7,A11,A80,A108,FINSEQ_1:1;
let i be Nat,z1 be Element of FT;
assume that
A111: 1<=i and
A112: i<len g2 and
A113: z1=g2.i;
A114: i+1 <=len g2 by A112,NAT_1:13;
reconsider i as Element of NAT by ORDINAL1:def 12;
1<i+1 by A111,NAT_1:13;
then i+1 in dom g2 by A114,FINSEQ_3:25;
then g2.(i+1)=g2/.(i+1) by PARTFUN1:def 6;
then reconsider z2=g2.(i+1) as Element of FT;
per cases;
suppose
A115: i<n1;
then
A116: i+1<=n1 by NAT_1:13;
i+1<=len (g|n1) by A78,A115,NAT_1:13;
then
A117: z2=(g|n1).(i+1) by FINSEQ_1:64,NAT_1:12
.=g.(i+1) by A116,FINSEQ_3:112;
A118: i<len g by A15,A115,XXREAL_0:2;
z1=(g|n1).i by A78,A111,A113,A115,FINSEQ_1:64
.=g.i by A115,FINSEQ_3:112;
hence thesis by A2,A111,A118,A117;
end;
suppose
A119: i>=n1;
i-n1<n1+(len g-n2)-n1 by A80,A112,XREAL_1:9;
then
A120: i-'n1<len g - n2 by A119,XREAL_1:233;
then
A121: i-'n1+n2<len g-n2+n2 by XREAL_1:6;
A122: len (g|n1) +(i-'n1)=n1+(i-n1) by A78,A119,XREAL_1:233
.=i;
A123: now
per cases by A119,XXREAL_0:1;
suppose
i>n1;
then
A124: i-n1>0 by XREAL_1:50;
then i-'n1=i-n1 by XREAL_0:def 2;
then
A125: 0+1<=i-'n1 by A124,NAT_1:13;
then
A126: i-'n1 in dom (g/^n2) by A109,A120,FINSEQ_3:25;
thus z1=(g/^n2).(i-'n1) by A109,A113,A120,A122,A125,FINSEQ_1:65
.=g.(i-'n1+n2) by A13,A126,RFINSEQ:def 1;
end;
suppose
A127: i=n1;
hence z1=(g|n1).n1 by A78,A111,A113,FINSEQ_1:64
.=g.(0+n2) by A9,FINSEQ_3:112
.=g.(i-'n1+n2) by A127,XREAL_1:232;
end;
end;
i-'n1<len g-'n2 by A13,A120,XREAL_1:233;
then i-'n1+1<=len g-'n2 by NAT_1:13;
then
A128: i-'n1+1<=len (g/^n2) by A13,A109,XREAL_1:233;
1<=i-'n1+1 by NAT_1:12;
then
A129: i-'n1+1 in dom (g/^n2) by A128,FINSEQ_3:25;
len (g|n1)+(i-'n1+1)=i-n1+1+n1 by A78,A119,XREAL_1:233
.=i+1;
then
A130: z2=(g/^n2).(i-'n1+1) by A128,FINSEQ_1:65,NAT_1:12
.=g.(i-'n1+1+n2) by A13,A129,RFINSEQ:def 1
.=g.(i-'n1+n2+1);
1<=i-'n1+n2 by A14,NAT_1:12;
hence thesis by A2,A123,A130,A121;
end;
end;
A131: g2=(g|n1)^({}) by A108,FINSEQ_6:167
.= (g|n1) by FINSEQ_1:34;
rng (g|n1) c= rng g by FINSEQ_5:19;
then
A132: rng g2 c= A by A4,A131;
g2.(len g2)=x2 by A6,A9,A78,A108,A131,FINSEQ_3:112;
then len g<=len g2 by A1,A79,A132,A110;
then-=n1+len -)n1 ,:3;
hence contradiction by A75,XREAL_1:10 p0 in P by A32;
end;
end;
end;
definition
let FT;
let f be FinSequence of FT;
attr f is inv_continuous means
1<=len f & for i,j being Nat,y being
Element of FT st 1<=i & i<=len f & 1<=j & j<= len f & y=f.i assumeA is arcwise_connected;
U_FT y holds i=j+1 or j=i+1;
end;
theoremTh55:
for g being FinSequence of FT,A being Subset .1 and
Element of PNat] 1<$ 1= f $ P;
inv_continuous
proof
let g be FinSequence of FT,A be Subset of FT, x1,x2 be Element of FT;
assume that
A1: g is_minimum_path_in A,x1,x2 and
A2: FT is symmetric;
A3:g=x1 by A1;
A4: g.(len g)=x2 by A1;
: java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 26
hence 1<=len g;
let i2 be Nat,yjava.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 38
that
A6: 1<=i2 and
A7:i2<=len g and
A8: 1<=j2 and
A9: j2<= len g and
A10: y=g.i2 and
A11: i2<>j2 and
A12: g.j2 in U_FT y;
A13: rng g c=A by A1;
hereby
assume that
A14: i2<>j2+1 and
A15: j2<>i2+1;
per cases by A11,XXREAL_0:1;
suppose
A16: i2<j2;
set n1=j2-'1,n2=i2;
reconsider n1,n2 as Element of NAT by ORDINAL1:java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 48
+<j2by,NAT_113java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
then i2+1<j2 by A15,XXREAL_0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
i2<- XREAL_1:0
then
A17 let be FinSequenceof ,kbe ;
1<j2 by A6,A16,XXREAL_0:2;A1:gcontinuousand
then 1+1<per casesjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
then 1<=j2-1 by XREAL_1:19;
then
A18: 1<=n1 by A8,XREAL_1:233;
set k=len g-'n1;
reconsider g2=(g|n2)^(g/^n1) as FinSequence of FT;
A19: len (g|n2)=n2 by A7,FINSEQ_1:59;
'<j2 by NAT_D:java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
thenjava.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
:<leng by,XXREAL_02;
then
A22: len (g/^java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 12
A23: len g-n1>=0 by A21,XREAL_1:48;
then
:len g-'1=len g-n1 by XREAL_0:def 2;
A25: len g2=len (g|n2)+len (g/^n1) by FINSEQ_1:22
.=n2+(len)g(i1)by FINSEQ_3112
A26: g2.1=(g|n2).1 by A6,A19,FINSEQ_1:64
.=x1 by A3,A6,FINSEQ_3:112;
now
per cases by A21,XXREAL_0:1;
suppose
n1<len g;
then n1+1<=len g by NAT_1:13;
then
A27: n1+1-n1<=len g-n1 by XREAL_1:13;
then
A28: 0+1<=n2+(len g-n1) by XREAL_1:7;
A29: g2 is continuous
proof
thus len g2 >= 1 by A25,A28;
let i be Nat,z1 be Element of FT;
assume that
A30: 1<=i and
A31: i<len g2 and
A32: z1=g2.i;
A33: i+1 <=len g2 by A31,NAT_1:13;
reconsider i as Element of NAT by ORDINAL1:def 12;
1<i+1 by A30,NAT_1:13;
then i+1 in dom g2 by A33,FINSEQ_3:25;
then g2.(i+1)=g2/.(i+1) by PARTFUN1:def 6;
then reconsider z2=g2.(i+1) as Element of FT;
per cases;
suppose
A34: i<n2;
then
A35: i+1<=n2 by NAT_1:13;
i+1<=len (g|n2) by A19,A34,NAT_1:13;
then
A36: z2=(g|n2).(i+1) by FINSEQ_1:64,NAT_1:12
.=g.(i+1) by A35,FINSEQ_3:112;
A37: i<len g by A7,A34,XXREAL_0:2;
z1=(g|n2).i by A19,A30,A32,A34,FINSEQ_1:64
.=g.i by A34,FINSEQ_3:112;
hence thesis by A5,A30,A37,A36;
end;
suppose
=n2java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
i-n2<n2+(len g-n1)-n2 for g being FinSequence of FT, k being NAT is
then
A39: i-'n2<len g - n1 by A38,XREAL_1:233;
then i-'n2<len g-'n1 by A9,A20,XREAL_1:233,XXREAL_0:2;
then i-'n2+1<=len g-'n1 by NAT_1:13;
then
A40: i-'n2+1<=len (g/^n1) by A9,A20,A22,XREAL_1:233,XXREAL_0:2;
A41: len (g|n2) +(i-'n2)=n2+(i-n2) by A19,A38,XREAL_1:233
.=i;
A42: len (g|n2)+(i-'n2+1)=i-n2+1+n2 by A19,A38,XREAL_1:233
.=i+1;
1<=i-'n2+1 by NAT_1:12;
then
A43: i-'n2+1 in dom (g/^n1) by A40,FINSEQ_3:25;
per cases by A38,XXREAL_0:1;
suppose
i>n2;
then
A44: i-n2>0 by XREAL_1:50;
then i-'n2=i-n2 by XREAL_0:def 2;
then
A45: 0+1<=i-'n2 by A44,NAT_1:13;
then
A46: i-'n2 in dom (g/^n1) by A22,A39,FINSEQ_3:25;
A47: =g/^n1).i'n2+1 by 40A42,FINSEQ_1:65,NAT_1:12
.=g.(i-'n2+1+n1) by A21,A43,RFINSEQ:def 1
.=g.(i-'n2+n1+1);
A48: 1<=i-'n2+n1 & i-'n2+n1<len g-n1+n1 by A18,A39,NAT_1:12
,XREAL_1:6;
z1=g^n1)(i-'n2) by ,A32A39A41,,FINSEQ_1:65
.=g.(i-'n2+n1) by A21,A46,RFINSEQ:def 1;
ence by A5,47,A48;
end;
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A49: i=n2;
then
A50: z1=(g|n2).n2 by A19,A30,A32,FINSEQ_1:64
.=y byA7:= and
z2=(g/^n1).(i-'n2+1) by A40,A42,FINSEQ_1:65,NAT_1:12
.=g.(i-'n2+1+n1) by A21,A43,RFINSEQ:def 1
.=g i in dom g/k by A7,,INSEQ_3:25;
.=gthen
=.(11) by A8,REAL_1:233;
hence thesis by A12,A50;
end;
end;
end;
A51: rng (g/^n1 then i1in (g/k by ,A4,10:;
= g /rng(^ (|n2 =rngg 31
,FINSEQ_5: +k< gkk by 5A8,:;
then rng g2 c= rng g by A51,XBOOLE_1:8;
then
A52: rng g2 c= A by A13;
A53: k+n1=len g by A24;
A54: k in dom (g/^n1) by A24,A22,A27, gbeFinSequence FT,A be ubset ofFT, x1,2 Elementof ;
then g2.(len (g|n2) + k) = (g/^n1).k by FINSEQ_1:def 7
.= x2 by A4,A21,A54g1& . gx of st java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
then g2.(len g2)=x2 by A19,A25,A23,XREAL_0:def 2;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
gn2=+(len g-n1)n2byA25,13;
hence contradiction by A17,XREAL_1:10;
suppose
n1=len g;
then j2-1=len g by A8,XREAL_1:233;
then j2=len g+1;
hence contradiction by A9,NAT_1:13;
end;
end;
hence contradiction;
end;
suppose
:j2ijava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
reconsider n1=i2end;
j2+1<=i2 by A55,NAT_1:13;
then j2+1<i2 by A14,XXREAL_0:1;
then j2 <i2-1 by XREAL_1:20;
then
A56 n1>2 A,:233;
x2 hold g java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
then 1+1<=i2 by NAT_1:13;
then 1<=i2-1 by XREAL_1:19;
then
:<byA6X233;
set k=len g-'n1;
reconsider=g)^(g/^1)asFinSequence FT;
A58: 5()java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A59 []
then
A60: n1 <=len g by A7,XXREAL_0:2;
then
A61: len (g/^n1)=len g-n1 by RFINSEQ:def 1;
A62: len g-n1>=0 by A60,XREAL_1:48;
then
A63: len g-'n1=len g-n1 by XREAL_0:def 2;
A64: len g2=len (g|n2)+len (g/^n1) by FINSEQ_1:22
.=n2+(len g-n1) by A60,A58,RFINSEQ:def 1;
A65: g2.1=(g|n2).1 by A8,A58,FINSEQ_1:64
.=x1 by A3,A8,FINSEQ_3:112;
now
per cases by A60,XXREAL_0:1;
suppose
n1<len g;
3;
then
A66: n1+1-n1<A orh FinSequence of FT st h is ontinuous & rng h c=A & h.1=x1 &
then
A67: 0+1<=n2+(len g-n1) by XREAL_1:7;
A68: g2 is continuous
proof
thus len g2 >= 1 by A64,A67;
let i be Nat,z1 be Element of FT;
assume that
A69: 1<=i and
A70: i<len g2 and
A71: z1=g2.i;
A72: i+1proof
reconsider i as Element of NAT by ORDINAL1 thus A arcwise_connected implies for x1, beingElement ofFT st x1 A
1<i+1 by A69,NAT_1:13;
then i+1 in dom g2 by A72,FINSEQ_3:25;
then g2.(i+1)=g2/.( forx1x2 ElementofFT A &x2 n exg being
then reconsider z2=g2consider z2=g2.(i+1) as Element of FT;
per cases;
suppose
A73: i<n2;
A74: i+1<=n2 by NAT_1:13;
i+1<=len (g|n2) by A58 .1=1&g2.(len g2)x2 & for h
then
A75: z2=(g|n2).(i+1) by FINSEQ_1holdslen < hby Lm4java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
gi)byFINSEQ_3112java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
:il by,73,XREAL_02java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
z1=(g|n2).i by A58,A69,A71,A73,FINSEQ_1:64
.=g.i by A73,FINSEQ_3:112;
hence thesis by A5,A69,A76,A75;
end;
suppose
A77: i>=n2;
i-n2<n2+(len g-n1)-n2 by A64,A70,XREAL_1:9;
then
A78: i-'n2<len g - n1 by A77,XREAL_1:233;
then i-'n2<len g-'n1 by A7,A59,XREAL_1:233,XXREAL_0:2;
then i-'n2+1<=len g-'n1 by NAT_1:13;
then
A79: i-'n2+1<=len (g/^n1) by A7,A59,A61,XREAL_1:233,XXREAL_0:2;
A80: len (g|n2) +(i-'n2)=n2+(i-n2) by A58,A77,XREAL_1:233
.=i;
A81: len (g|n2)+(i-'n2+1)=i-n2+1+n2A5:g.=&g(g=by;
.=i+1;
1=-n2 by NAT_1:12;
then
A82: i-'n2+1 in dom (g/^n1) by end;
per cases by A77,XXREAL_0hence thesis;
supposeend;
i>n2;
then
A83: in2> by XREAL_1:50;
then i-n2in2by XREAL_0:def 2
then
A84: 0+1<=i-'n2 by A83,NAT_1:13;
then
A85: i-'n2 in dom (g/^n1) by A61,A78,FINSEQ_3:25;
A86: z2=(g/^n1).(i-'n2+1) by A79,A81,FINSEQ_1:65,NAT_1:12
.=g.(i-'n2+1+n1) by A60,A82,RFINSEQ:def 1
A87 being such
,:g2is & rngg2 =A&g2.1x1 &.leng2)x2&forjava.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
=(/^1.(-'2 by A61,A71,A78,A80,A84,FINSEQ_1:5
=g.i'n2+n1)byA60,,RFINSEQ:def 1java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
hence thesis by A5,A86,A87;
end;
suppose
A88: Element of FT,kbeing Element NAT st g is_minimum_path_in A,,x2 &1<k &
then
A89: z1=(g|n2).n2 by A58,A69,A71,FINSEQ_1:64
.=g.j2 by FINSEQ_3:112;
z2=(g/^n1).(i-'n2+1) by A79,A81,FINSEQ_1:65,NAT_1:12
.=g.(i-'n2+1+n1) by A60,A82,RFINSEQ:def 1
.=g.(i-'n2+n1+1)
.=g.(0+(i2-'1)+1) by A88,XREAL_1:232
.=g.(i2-1+1) by A6,XREAL_1:233
.=y by A10;
hence thesis by A2,A12,A89;
end;
end;
end;
A90: rng (g/^n1) c= rng g by FINSEQ_5:33;
rng g2=rng (g|n2) \/ rng (g/^n1) & rng (g|n2) c= rng g by FINSEQ_1:31
,FINSEQ_5:19;
then rng g2 c= rng g by A90,XBOOLE_1:8;
then
A91: rng g2 c= A by A13;
A92: k+n1=len g by A63;
A93: indom (g/n1 by A63,A66,:java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
g2l (gn2 ) =(/n1)k FINSEQ_1:def 7
.= x2 by A4,A60,A93,A92,RFINSEQ:def 1;
then g2.(len g2)=x2 by A58,A64,A62,XREAL_0:def 2;
then len g<=len g2 by A1,A65,A91,A68;
then len g-n2<= n2+(len g-n1)-n2 by A64,XREAL_1:13;
hence contradiction by A56,XREAL_1:10;
end;
suppose
n1=len g;
A3 <len ;
i2len g+1;
hence contradiction by A7,NAT_1:13;
end;
end;
hence contradiction;
end;hencerng(g|)c=byA5java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
endhence (g|k).1=x1 by A2,FINSEQ_3:112;
end;
theorem
gbeingjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 65
Element of FT st g is_minimum_path_in A,x1,x2 & FT is filledjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for beingFinSequenceFTA FT ,x2being
i.i1))&( ) g1=g1,.}&(g)\ g. g){.
g ')gleng}
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
g of, Subsetof ,x1,be Element of ;
assumeElement of NAT;
A1: g is_minimum_path_in A,x1,x2 and
A2: FTA1: g is_minimum_path_in A,x1,x2 and
A3 x1<<x2;
=eg leng by FINSEQ_1:def3
:g is continuous by A1;
then
A6: 1<=len g;
A4
then
:g.len g=/.len g by PARTFUN1def;
A9 g is inv_continuous by A1,,Th55;
then
<lengjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
thus for i being Nat leng-=eng k :def2
,.,.i)}
proof
let i be Nat;
assume that
A11: 1<i and
A12: i<len g;
A13: i in Seg len g by A11,A12;
1<i+1 & i+1<=len g bythen len g-k>+1java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 36
then
A14: i
i-'1<=i by NAT_D:35;
then
A15: i-'1< len g by A12,XXREAL_0:2;
1+1<=i by A11,NAT_1:13;
then
A16: 1<= i-1 by XREAL_1:19;
then 1<=i-'1 by A11,XREAL_1:233;
then
A17: i-'1 in Seg len g by A15;
A18: i-'1+1=i-1+1 by A11,lement of FT st g is_minimum_path_in A,x1,x2 holds for k being Nat st 1<=k & k
.=i;
thus (rng g) /\ U_FT (g/.i)={g.(i-'1),g.i,g.(i+1p
thus (rng g assume
proof
let x be object;
assume
A19: x in (rng g) /\ U_FT (g/.i);
then
A20: A5:g(en )x2by A1;
x in rng g by A19,XBOOLE_0:def 4;
thenconsider nx being object such that
A21: nx in dom g and
xgnx FUNCT_1:ef 3;
reconsider j=nx as Element of NAT by1,6A7,h51java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
i=j+1 implies i-1=j;
then
A23: i=j+1 implies i-'1=j by A11,XREAL_1:233;
A24: g/.i=g.i by A4,A13,PARTFUN1:def 6;
1<=jkindomg ,7FINSEQ_325
then j=i or i=j+1 or j=i+1 by A9,A11,A12,A20,A22,A24;
hence thesis by A22,A23,ENUMSET1:def 1;
end;
let x be object;
A25: g.i=g/.i by A4,A13,PARTFUN1:def 6;
A26: g.(i-'1)=g/.(i-'1) by A4,A17,PARTFUN1:def 6;
assume
A27: x in {g.(i-'1),g.i,g.(i+1)};
per cases by A27,ENUMSET1:def 1;
suppose
A28: x=g.(i-'1);
g.i in U_FT (g/.(i-'1)) by A5,A16,A15,A18,A26;
then
A29: x in U_FT (g/.i) by A2,A25,A26,A28;
x in rng g by A4,A17,A28,FUNCT_1:def 3;
hence thesis by A29,XBOOLE_0:def 4;
end;
suppose
x=g.i;
then x in rng g & x in U_FT (g/.i) by A2,A4,A13,A25,FUNCT_1:def 3;
hence thesis by XBOOLE_0:def 4;
end;
suppose
x=g.(i+1);
then x in rng g & x in U_FT (g/.i) by A5,A4,A11,A12,A14,A25,
FUNCT_1:def 3;
hence thesis by XBOOLE_0:def 4;
end;
end;
end;
g.1=x1 & g.(len g)=x2 by A1;
then
A30: 1< len g by A3,A6,XXREAL_0:1;
then
A31: 1+1<=len g by NAT_1:13;
then
A32: 1+1-1<=len g-1 by XREAL_1:13;
A33: suppose
then
A34: g.1=g/.1 by PARTFUN1:def 6;
thus (rng g) A17: len (g/^n1)=len g-n1 by A15,RFINSEQ:def 1;
proof
thus (rng g) /\ U_FT (g/.1) c= {g.1,g.2}
proof
let x be object;
assume
A35: x in (rng g) /\ U_FT (g/.1);
then
A36: x in U_FT (g/.1) by XBOOLE_0:def 4;
x in (rng g) by java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 8
then consider y being object such that
A37: y in dom g and
A38: x=g.y by FUNCT_1:def 3;
reconsider j=y as Element of NAT by A37;
A39: 1<=j by A4,A37,FINSEQ_1:1;
j<=len g by A4,A37,FINSEQ_1:1;
then 1+1=j or 1=j or j+1=1 by A9,A34,A36,A38,A39;
then 1+1=j or 1=j by A39,XREAL_1:7;
hence thesis by A38,TARSKI:def 2;
end;
let x be object;
2 in dom g by A31,A4;
then
A40: x=g.2 implies x in rng g by FUNCT_1:def 3;
assume
A41: x in {g.1,g.2};
A42: now
per cases by A41,TARSKI:def 2;
case
x=g.1;
hence x in U_FT (g/.1) by A2,A34;
end;
case
A43: x=g.2;
then reconsider xx=x as Element of FT by A40;
xx :len g2len(g|2+len(/^ byFINSEQ_122
hence x in U_FT (g/.1) by A5,A30,A34;
end;
end;
x=g.1 implies x in rng g by A33,FUNCT_1:def 3;
hence thesis by A40,A42,XBOOLE_0:def 4;
end;
len g<len g+1 by NAT_1:13;
then
A44: len g-1<len g+1-1 by XREAL_1:14;
then
A45:-1len g by A10,REAL_1:33
A46: len g-'1=len g -1 by A10,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 20
then
A47: len g-'1 in dom g by A32,then g2.(i+1)=g2/.(i+1) by PARTFUN1:def 6;
then
A48: g.(len g-'1)=g/.(len g-'1) by PARTFUN1:def 6;
A49: 1<=len g-'1 by A10,A32,XREAL_1:233;
thus (rng g) /\ U_FT (g/.len g)={g.(len g -'1),gA:i+<n2 NAT_1:;
proof
thus (rng g) /\ U_FT (g/.len g) c= {g.(len g -'1),g.len g}
proof
let x be object;
assume
A50: x in (rng g) /\ U_FT (g/.len g);
then
A51: x in U_FT (g/.len g) by XBOOLE_0:def 4;
x in rng g by A50,A34:>n2;
objectthat
A52: y in dom g and
A53: x=g.y by FUNCT_1:def 3;
reconsider ny=y as Element of NAT by A52;
A54: ny<=len g by A4,A52,FINSEQ_1:1;
=by ,A52F1java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
then ny+1=len g or len g +1=ny or len g=ny by A9,A8 i>n2;
henny=leng- len = byA54,NAT_1:13;
then x=g.(len g -'1) or x=g.len g by A6,A53,XREAL_1:233;
hence thesis by TARSKI:def 2;
end;
let x be object;
A55: g.len g in U_FT (g/.len g) by A2,A8;
g.(len g-'1+1) in U_FT (g/.(len g-'1)) by A5,A49,A45,A48;
then
A56: g.(len g-'1) in U_FT (g/ .=.0n1 byA9,INSEQ_3:java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 51
then
A57: x=g.(len g -'1) or x=g.len g by TARSKI:def 2;
then x in rng g by A7,A47,FUNCT_1:def 3;
hence thesis by A57,A55,A56,XBOOLE_0:def 4;
end;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 69
being Element of FT,B0 being Subset of FT|A st g is_minimum_path_in A,x1,x2 &
FT is filled symmetric & B0={x1} holds for i being Element of java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 60
holds g.(i+1) in Finf(B0,i) & (i>=1 implies not g.(i+1) in Finf(B0,i-'1))
proof
let g be FinSequence of FT,A be non empty Subset of FT, x1, byA16X1;
FT, B0 be Subset of FT|A;
assume that
A1: g is_minimum_path_in A,x1,x2 and
A2: FT is filled java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 22
A3let be ,1 be Element ofFTjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A4: rng g c=A by A1;
defpred P[Nat] means $1+1 <=len g implies g.($1+1) in Finf(B0,$1) & ($1>=1
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 19
defpred Q[Nat] means for y being Element of FT st y in Finf(B0,$1
A: len
h.len h=y & len h <= $1+1;
A5: [#](FT|A)=A by Def3;
A6: for k being Nat st Q[k] holds Q[k+1]
proof
k be Nat;
assume
A7: Q[k];
for y being Element of FT st y in Finf(B0theng2.1)/(+) byPARTFUN1def ;
FinSequence of FT st h is continuous & rng h c= A & h.1=x1 & h.len h=y & len h
<= k+1+1
proof
let y be Element of FT;
A8: Finf(B0,k+1)=(Finf(B0,k))^f by FINTOPO3:31;
assume y in Finf(B0,k+1);
then consider x being Element of FT|A such that
A9: x=y and
A10: then
A11: [#]FT|A)A by Def3;
then
A12: {y} c= A by A9,ZFMISC_1:31;
y2 being Element of FT|A such that
A13: y2 in Finf(B0,k) and
A14: x in U_FT y2 by A10;
y2 in the carrier of (FT|A);
then reconsider y3=y2 as Element of FT by A11;
onsider h2 being FinSequence of FT such that
A15: h2 is continuous and
A16: rng h2 end;
A17: h2.1=x1 and
A18: h2.len h2=y3 and
A19: len h2 <= k+1 by A7,A13;
U_FT y2=(U_FT y3)/\ A by A11,Def2;
then
A20: y in U_FT y3 by A9,A14,XBOOLE_0:def 4;
reconsider h3=h2^(<*y*>) as FinSequence of FT;
rng(h2^(<*y*>)) = rng h2 \/ rng (<*y*>) & rng (<*y*>)={y} by FINSEQ_1:31
,39;
then
A21: rng h3 c= A by A16,A12,XBOOLE_1:8;
1<= len h2 by A15;
then 1 in dom h2 by FINSEQ_3:25;
then
A22: h3.1=x1 by A17,FINSEQ_1:def 7;
len (<*y*>)=1 by FINSEQ_1:40;
then
A23: len h3=len h2 +1 by FINSEQ_1:22;
then
A24: h3.len h3=y by FINSEQ_1:42;
len h3<=k+1+1 by A19,A23,XREAL_1:6;
hence thesis by A15,A18,A20,A21,A22,A24,Th43;
end;
hence thesis;
end;
A25: g.1=x1 by A1;
then
A26: g.1 in {x1} by TARSKI:def 1;
A27: g.(len g)=x2 by A1;
A28: g is continuous by A1;
then 1<=len g;
then 1 in dom g by FINSEQ_3:25;
then x1 in rng g by A25,FUNCT_1:def 3;
then
A29: {x1} c= A by A4,ZFMISC_1:31;
for y being Element of FT st y in Finf(B0,0) holds ex h being
FinSequence of FT st h is continuous & rng h c= A & h.1=x1 & h.len h=y & len h
< 0+1
proof
let y be Element of FT;
A30: len (<*x1*>)=1 by FINSEQ_1:40;
assume y in Finf(B0,0);
then y in {x1} by A3,FINTOPO3:java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 14
then
A31: y=x1 by TARSKI:def 1;
rng (<*x1*>)={x1} & (<*x1*>).1=x1 by FINSEQ_1:39;
hence thesis by A29,A31,A30;
end;
then
A32: Q[0];
A33: for k being Nat holds Q[k] from NAT_1:sch 2(A32,A6);
A34: for 1=i-'n2+ A12NAT_112
proof
let k be Nat;
ssume
A35: P[k];
per cases;
suppose
k+1+1>len g;
hence thesis;
end;
suppose
k+= g;
A37: 1<=k+1 by NAT_1:12;
then 1<k+1+1 by NAT_1:
then k+1+1 in setlen 'java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
then
A38: len g-2=0 by A13,REAL_1:48;
reconsider y0=g.(k+1) as Element of FT|A by A35,A36,NAT_1:13;
A39: k+1<len g by A36,NAT_1:13;
then k+1 in dom g by A37,FINSEQ_3:25;
then
A40: g.(k+1)=g/.(k+1) by PARTFUN1:def 6;
1<k+1+1 by A37,NAT_1:13;
then
g by A36,:;
now
assume
A43g(1+)in (k;
now
per cases;
suppose
A44: k=0;
let i be, FT
then k-'1=0 by XREAL_0:def 2;
then Finf(B0,k) c= (Finf(B0,k-'1))^f by A2,A44,FINTOPO3:1;
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 54
end;
suppose
k>0;
then k>=0+1 by NAT_1:13;
then k=k-'1+1 by XREAL_1:235;
hence g.(k+1+1) in Finf(B0,k-'1)^f by A43,FINTOPO3:31;
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
then consider x being Element of FT|A such that
45 g.(k11=x and
being | st y in(B0,-'1)&x in U_FT y;
inA ;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 46
considersuppose
A46: h is continuous and
47:rng =A java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
A48: h.1=x1 and
A49: h.len h=x3 and
A50: len h <= k+1 by A33,A43,A45;
reconsider A95: len (g|n1) +(i-'n1)=n1+(i-n1) by A78,A92,XREAL_1:233
A51: len s=len h +len(g/^(k+1+1)) by FINSEQ_1:22;
g=(g|(k+1+1))^(g/^(k+1+1)) by RFINSEQ:8;
then
A52: len g=len (g|(k+1+1)) + len (g/^(k+then
A53: 1<=len h by A46;
then len h in dom h by FINSEQ_3:25;
then
A54: h.(len h)=h/.(len h) by PARTFUN1:def 6;
len (g then
then:i-'n1 dom(/n2)by A76A:;
))>len hby A50,AT_1:13;
then
A56: java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 16
es
suppose
A57: k+1+1<len g;
then len g>=1+(k+1endjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
then<g (k+11 XREAL_119
-n1+<len g-n2 by NAT_1:13;
java.lang.StringIndexOutOfBoundsException: Range [14, 10) out of bounds for length 14
A58<-n1+ by NAT_1:12;
then
g/(k++1)is continuous by A28,A57Th47
then 1<= len (g/^(k+1+1));
then len (g/^(k+1+1)) in dom (g/^(k+1+1)) by FINSEQ_3:25;
then
A61: s.(len s)=(g/^(k+1+1)).(len (g/^(k+1+1))) by A51,FINSEQ_1:def 7
.=2 byA27A57,INSEQ_6185
1<=k+1+1 by NAT_1:12;
g.k++1+1)in g/(k+1+) by A28A,A59;
(/(++). U_FT (h/( )by A45,49,A54A57,59,58,
RFINSEQ:def 1;
then
A62: s is continuous by A46,java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 60
in dom h by A53,FINSEQ_3:25;
then
A63: s.1=x1 by A48,FINSEQ_1:def 7;
rng (g/^(k+1+1)) c= rng g by FINSEQ_5:33;
then
A64: rng (g/^(k+1+1)) c= A by A4;
rng s = rng h \/ rng (g/^(k+1+1)) by FINSEQ_1:31;
then rng s c= A by A47,A64,XBOOLE_1:8;
hence contradiction by A1,A56,A62,A63,A61;
end;
suppose
A65: k+1+1>=len g;
then g/^(k+1+1)=<*>the carrier of FT by FINSEQ_5:32;
then
A66: s=h by FINSEQ_1:34;
k+1+1=len g by A36,A65,XXREAL_0:1;
hence contradiction by A1, then i+1 in dom g2 by A114,FINS;
end;
end;
[#](FT|A)=A by Def3;
then
A67: U_FT y0 = U_FT(g/.(k+1))/\ A by A40,Def2;
g.(k+1+1) in U_FT (g/.(k+1)) by then
then g.k++1) in U_FT y0 by A4,A67,A38,XBOOLE_0:def 4;
then
A68: g.(k+1+1) in (Finf(B0,k))^f by A35,A36,NAT_1:13;
k+1-'1=k+1-1 by NAT_D:37
.=k;
hence thesis by A68,A42,FINTOPO3:31;
end;
end;
let i be Element of NAT;
assume i < len g;
then
A69: i+1<=len g by NAT_1:13;
Finf({x1},0)={x1} by FINTOPO3:32
.=Finf(B0,0) by A3,FINTOPO3:32;
then
] ,:;
for j being Nat holds P[j] from NAT_1:sch 2(A70,A34);
hence thesis by A69;
end;
¤ Dauer der Verarbeitung: 0.159 Sekunden
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|
|
|
|
|