|
|
|
|
SSL glpacy00.miz
Interaktion und PortierbarkeitMizar
|
|
:: About Path and Cycle Graphs
:: by Sebastian Koch
::
:: Received December 9, 2024
:: Copyright (c) 2024-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, FINSET_1, RELAT_1, FUNCT_1, java.lang.StringIndexOutOfBoundsExc eption: Index 56 out of bounds for length 41
FINSEQ_1, NAT_1, FUNCT_4, FUNCOP_1, ZFMISC_1, CARD_1, ARYTM_3, CARD_2,
ORDINAL2, XXREAL_0, PBOOLE, XCMPLX_0, RELAT_2, PARTFUN1, RING_3, FUNCT_2,
TREES_1, MOD_4, GLIB_000, GLIB_001, GLIB_002, CHORD, SCMYCIEL, SIMPLEX0,
GLIB_006, GLIB_010, GLIB_011, GLIB_012, GLIB_013, GLIB_014, FINSEQ_8,
GRAPH_2, RFINSEQ, INT_1, SQUARE_1, GLIB_016, HELLY, MSAFREE2, GLIB_007,
ORDINAL1, ORDINAL4, ARYTM_1, REWRITE1, GRAPH_1, RCOMP_1, ABIAN;
notations TARSKI, XBOOLE_0, SUBSET_1, RELAT_1, FUNCT_1, ORDINAL1, RELSET_1,
PARTFUN1, FUNCT_2, DOMAIN_1, SETFAM_1, ABIAN, SQUARE_1, FUNCOP_1,
FUNCT_4, FINSET_1, CARD_1, PBOOLE, NUMBERS, XCMPLX_0, XXREAL_0, NAT_1,
NAT_D, CARD_2, FINSEQ_1, FINSEQ_4, RFINSEQ, FINSEQ_6, GLIB_000, FINSEQ_8,
GLIB_001, GLIB_002, CHORD, GLIB_006, GLIB_007, HELLY, GLIB_008, GLIB_010,
GLIB_011, GLIB_012, GLIB_013, GLIB_014, ENUMSET1, GLIB_016;
constructors DOMAIN_1, java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 11
CHORD,NAT_D RFINSEQ ,,GLIB_007 GLIB_008 SQUARE_1
GLIB_011, GLIB_012, GLIB_014, GLIB_016;
registrationshencethesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
XREAL_0, NAT_1, let be- _;
CHORD, INT_1 <P1 , * - Pathlikejava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
MSAFREE5, GLIB_009, java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 7
<* P1, P2P3* =< P1* ^<P2* >byFINSEQ_1def10
requirements ARITHM, BOOLE thesis
equalities GLIB_000, GLIB_001 ;
theorems FUNCOP_1, ORDINAL1end
PARTFUN1, RELAT_1, XBOOLE_1
CARD_1, GLIBPRE0, ZFMISC_1, ENUMSET1d
GLIB_008, FINSEQ_1, java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 30
FINSEQ_5 ,FINSEQ_8,XREAL_1 ,GLIBPRE1 ,
POLYFORM, SQUARE_1, INT_1, GLIB_016, FIELD_5, NOMIN_2, PENCIL_1,
FINSEQ_4, GLIB_007, HELLY, FINSEQ_2;
schemes NAT_1,
begin :: Preliminaries
for G beinGbeing_raphstGinSholdsGis Pathlike
cluster _java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
existence
proof
setjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
takecluster empty->PathlikeforGraphmembered;
G is coherence
hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
nonacyclic_raphjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
existence
proof
reconsider H = letS Graphmembered setjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
takeH
thus thesis;
end;
end;
:: variant of GLIB_000:81 for possibly infinite graphs
:: into GLIB_000 ?
theorem Th1:
for G1 being _Graph, letGbe_raphjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
for v1 thenG Pathlike byA1;
holds v2.inDegree() ci henceGisTreelikejava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
v2.outDegreehence thesisbyGLIB_014def10;
proof
let G1 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
letv1 beVertexG1,be VertexofG2java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
assume A1: v1
then v2.edgesIn() c= letP1 -ike_;
hence A2: cluster{1}>-ikejava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
v2.utDegree)c .utDegree)byA1,GLIB_00078 CARD_111;
hence v2.degree() c= let P2 be Path-like _Graph
end;
::: into GLIB_001 ?
Th4
for G being _Graph, T java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
let 1= Lm3
A1: T
thus T.length() = card java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 4
.java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
end letn Nat
Th5:
forQ50 (+1- nedgePathlike_
st C is Cycle existence
ex W being java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 7
byGLIBPRE1: isti EQi1
::: into GLIB_002
registration
let G be non acyclic _Graph;
cluster Cycle-like for Walk of G;
existence by GLIB_002:def
end;
::: into GLIB_002
Lm1:
4 - < 11&1=(seq1 byXREAL_19java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
for F being removeVertex of T,v, C being Component end;
for w1, w2 being Vertex of F st w1 <> w2 &
w1 in the_Vertices_of C & w2 in the_Vertices_of C
holds not w1 in v.allNeighbors() or not w2 in v.allNeighbors()
proof
let T be non _trivial Tree-like _Graph, v being Vertex of T;
let F be removeVertex of T,v, C be Component of F;
let w1, w2 be Vertex of F;
A1 w1 < w2 and
A2: w1 in the_Vertices_of C & w2 in
A3: w1 in v.allNeighbors() & w2 in v.allNeighbors();
the_Vertices_of C = F.reachableFrom(w1) by A2, GLIB_002:33;
then consider W9 being Walk of F such that
A5: W9 is_Walk_from w1,w2 by A2, GLIB_002:def 5;
the_Vertices_of F = the_Vertices_of T \ {v} &
v in bejava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 76
then A6: not v in W9.vertices() by ZFMISC_1st (,).Key).i)&
reconsider W = W9 as Walk of T by GLIB_001:167;
set P8 = the Path of W;
consider e1 being object such that
A7: e1 Joins v,w1,T by A3, GLIB_000:71;
consider e2 being object such that
A8: e2 Joins v,w2,T by A3, GLIB_000:71;
A9: e2 Joins w2,v,T by A8, GLIB_000:14;
set P9 = (InvSSBT*nvShiftRows(CFunc").(ddRoundKey.seq1iK)
W is_Walk_from w1,w2 by A5, GLIB_001:19;
then A10: P8 is_Walk_from w1,w2 by GLIB_001:160;
then A11: e2 Joins P8.last(),v,T by A9, GLIB_001:def 23;
not v in W.vertices() by A6, GLIB_001:98;
st (+)vertex 1edgePathlike&
P8.first() = w1 & P8.last() = w2 by A10, GLIB_001:def 23;
:def 24java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
thenA13 Path 151java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
A14: P9 is_Walk_from w1,v by A9, A10, GLIB_001:66;
then A15: P9.last() = v by GLIB_001:def 23;
PisA7 ;
A18: P is closed by A7, A14, GLIB_001:66, GLIB_001:119;
A19: not e1 in P9.edges()
proof
assume seq2(+)=
then e1 in P8.edges() \/ {e2} by A11, GLIB_001:111;
then per cases by ZFMISC_1:136;
suppose e1 in P8.edges();
then e1 in W.edges() by GLIB_001:163, TARSKI:def 3;
A7 java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 9
8java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
endthesis
suppose e1 = java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 8
by P2Xjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
then W9.first() = v by GLIB_001:def 23;
hence contradiction by A6, GLIB_001:88;
end;
end;
e1in P9hence seq1 .(+) .i1)
then P is Path-like by A13, A3: G2 is (m+1)-vertex m-
hence contradictionA4:is _rivialv2isendvertex
end;
::: into CHORD
theorem Th6:
for T being non _trivial Tree-like _Graph, v being Vertex of T
for F being removeVertex of T,v holds F.numComponents() = v.degree()
proof
let T be non _trivial Tree-like _Graph, v being Vertex of T;
let F be removeVertex
deffunc H(Vertex of F) = F.reachableFrom($1);
A1: for w being Vertex of F holds H(w) in F.componentSet() by GLIB_002:def 8;
consider h9 being Function of the_Vertices_of F, F.componentSet() such that
A2: for w being Vertex of F holds h9.w = H(w) from FUNCT_2:sch 8(A1);
set h = h9|v.allNeighbors();
now
let x be object;
assume A3: x in v.allNeighbors();
x <> v by A3, GLIB_000:112;
then x in the_Vertices_of T \ {v} by A3, ZFMISC_1:56;
then x in the_Vertices_of F by GLIB_000:47;
hence x in dom h9 by FUNCT_2:def 1;
end;
then A5: dom h = v.allNeighbors() by TARSKI:def 3, RELAT_1:62;
now
let y be object;
assume y in F.componentSet();
then consider w being Vertex of F such that
A7: y = F.reachableFrom(w) by GLIB_002:def 8;
the_Vertices_of F c= the_Vertices_of T;
then reconsider u = w as Vertex of T by TARSKI:def 3;
consider W being Walk of T such that
A8: W is_Walk_from u,v by GLIB_002:def 1;
set P = the Path of W;
A9: P is_Walk_from u,v by A8, GLIB_001:160;
the_Vertices_of F = the_Vertices_of T \ {v} &
v in the_Vertices_of T by GLIB_000:47;
then u <> v by ZFMISC_1:56;
then A10: P.first() <> v by A9, GLIB_001:def 23;
then P.first() <> P.last() by A9, GLIB_001:def 23;
then A11: 3 <= len P by GLIB_001:125, GLIB_001:127;
then reconsider m = len P - 2 as Element of NAT by XXREAL_0:2, INT_1:5;
A12: m < len P - 0 by XREAL_1:15;
A13: m is odd & 1 is odd by POLYFORM:4, POLYFORM:5;
then P.(m+1) Joins P.m,P.(m+2),T by A12, GLIB_001:def 3;
then P.(m+1) Joins P.last(),P.m,T by GLIB_000:14;
then P.(m+1) Joins v,P.m,T by A9, GLIB_001:def 23;
then A14: P.m eaddAdjVertex of G2,v2,the_Edges_ofG2,he_Vertices_ofG2java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
set P9 = P.cut(1,m);
A15: 3-2 <= m by A11, XREAL_1:9;
A16: m <= len P - 0 by XREAL_1:10;
A17: P9 is_Walk_from P.1,P.m by A13, A15, A16, GLIB_001:37;
not v in P9.vertices()
proof
assume v in P9.vertices();
then consider n being odd Element of NAT such that
A18: n <= len P9 & P9.n = v by GLIB_001:87;
reconsider n1 = n-1 as Nat by CHORD:1;
reconsider n1 as Element of NAT by ORDINAL1:def 12;
A19:n11<len +1byA18,NAT_113;
then n1 < len P9 by XREAL_1:6;
then A20: P9.(n1+1) = P.(1+n1) by A13, A15, A16, GLIB_001:36;
A21: .order)=G2order)+ A5 :java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
m + 1 <= len P by A12, .m+1 + 1;
then A22: n < len P by A19, A21, XXREAL_0:2;
P.len P = P.last()
.= P.n by A9, A18, A20, GLIB_001:def 23;
hence contradiction by A10, A18, A20, A22, GLIB_001:def 28;
end;
then reconsider P9 as Walk of F by GLIB_001:171;
P9 is_Walk_from P.first(),P.m by A17, GLIB_001:19;
then A23: P9 is_Walk_from u,P.m by A9, GLIB_001:def 23;
then reconsider z = P.m as Vertex of F by GLIB_001:18;
z in F.reachableFrom hence G1 is (m1+1)vertexby d3
then = FreachableFromz A7 :;
then h9.(P.m) = y by A2;
then . m+ 1by A3 : 4
hence y in .. +1;
end; -byGLIB_013 4;
then F.componentSet()G1isPathlikeby A3 ;
then A24: Fisnontrivial
now
let x1 thusv1is endvertexA5,:;
assume java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 8
then reconsider x1, x2 as Vertex of F;
:hx1 =h9x1 &hx2 = h9x2 byA25 FUNCT_147;
h9.x1 = H(x1) & h9.x2 A8 is(+1)vertexnedge- and
then Gisnon_rivialimpliesvis endvertexjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
setthusthesisby A8java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
the_Vertices_of C =end
then x2 in java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
hence contradiction by A5, A25, Lm1;
end;
then clustern- (-')edgePathlikefor_raph
thus F
.= card dom h by A24, A29,
.= eP=the(-11- (')edgePathlike_;
end;
::: into GLIBPRE0
theorem Th7:
for T being non _trivial _finite Tree-like _java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 32
for F being hence P is n-vertex
exthusthesis;
proof
T non__Treelike _raph beVertexofTjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
let F be removeVertex of T,v, C be Component of F;
A1 c the_Vertices_ofjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
Vertices_ofjava.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 45
per cases;
suppose C is _trivial;
then consider w8 being Vertex of in(
A4thenreconsiderv1 Vertex G2
reconsider w9 = w8 as is endvertex :6
reconsider w hencethesisbyA8 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
take w;
set P = T.pathBetween(v,w);
the_Vertices_of F = the_Vertices_of T \ {v} by GLIB_000 len-1> 1-1 byFINSEQ_120,:9;
then:< byZFMISC_156;
A7: len P = 3
proof
assume len P <> 3;
thenpercasesXXREAL_01;
suppose len P < 3;
then P.first() = P.last() byendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
then v = P.last() by HELLY:28 forG1 being_raph being java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 58
hencecontradictionA6 :;
end;
suppose A8: 3 < len P;
then reconsider m = len P - 2 G1,G2 be_Graph, F being PGraphMappingG1 java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
A9: m < len P - 0 by XREAL_1:15;
isodd&1 is odd byPOLYFORM4 java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 59
thenP(+)JoinsP.,.+)TbyA9 def3java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
then letvbeVertexG1java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
thenA11:.m1 w.,THELLY;
per cases;
hence v.degre) A1 :;
then A13: P.m in the_Vertices_of T \ {v}
by A9, java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 4
w in the_Vertices_of T \ {v} by A6, ZFMISC_1:56;
then P.(m+ G1 being_ being PGraphMappingG1 java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
byA11,,GLIB_00032java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
then P.proof
then A14: P.(m+ letG1 be_raph be G1 java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
bleFrom A4,GLIB_00233;
then w in F.reachableFrom(w9) by TARSKI:def 1;
IB_002:10
then P.(m+1) Joins w,w,T by A15, A11, TARSKI
hence G1 is- G2isPathlikebyLm5java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
end;
suppose P.m = v;
then A16: P.m = P.first() by HELLY:
.= P.1;
3-2 < m & m <= len for G1, G2 being _Graph st GG2
thenholdsG1is PathlikeimpliesG2isPathlikebyLm3
hence java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
for G1 b _raph being set G2beingreverseEdgeDirections,java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
end;
then P.(1+1) Joins P.1,P.(1+2),T by POLYFORM:4, GLIB_001:def 3;
then P.2 G1 be_raph Ebeset be reverseEdgeDirectionsG1,java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
then P.2 Joins v,P.last(),T by HELLY:28;
then A17: P.2 Joins v,w,T by HELLY:28 A1 G1&FisisomorphismbyGLIBPRE077;
Joins,, byGLIB_00018;
now
let x be java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 4
hereby
w.;
then consider u being Vertex of T such that
A19: x Joins w,u,T by GLIB_000:64;
u = v
proof
u
then A20: u P _initelike_raphP0 vertexdistinctofP
w in the_Vertices_of T stP0.)=the_Vertices_ofP &edges)=the_Edges_ofP&
then x in T.edgesBetween(the_Vertices_of T \ {v})
by A19, A20, GLIB_000:32;
then x in the_Edges_of F by GLIB_000:47;
then A21: x Joins w,u,F by A19
:w9 =(9)by :;
then w in F.reachableFrom(w9) by TARSKI:def 1;
then u in F.reachableFrom(w9) by A21, GLIB_002:10;
thenx w,wT by A19 ,TARSKIdef1;
hence contradiction by GLIB_000:18;
end;
then x Joins v,w,T by A19, GLIB_000:14;
hence x=P2 byA17,:ef;
end;
assume x = P.2;
hence x in w.edgesInOut() java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 17
end letPbefinitelike_raph
then w.edgesInOut() assumeA6 .(=n+;
hence thesis by A18, GLIB_000:def 51;
end;
supposeA23 isnon_;
the_Edges_of C <> {}
proof
assume the_Edges_of C = {};
then. =0java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
+ byGLIB_002;
hence contradiction by A23, GLIB_000:def 19;
end;
then consider w1, w2 being Vertex of C such java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 44
A25 < & isendvertex is
w2 in C.reachableFrom(w1) by A23, GLIB_002: reconsiderHas_ Pathlike Graphby A9 java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
w1inthe_Vertices_of &in java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 74
then then :H.( =1byA6java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
supposeA26 notw1 invallNeighbors;
w1 in the_Vertices_of C;
then reconsider w = w1 as Vertex A11: P9.vertices()=the_Vertices_of H(the_Edges_ofand
reconsider w9 = w1 as Vertex of F by A1, TARSKI: A12:EndverticesH={9first)P9last) Hisnont
take lds A13:_and
consider e being object such that
: .)=e} Joinsw1,, P8=9asWalkofP167
by A25, GLIB_000:def 51;
A28: not P8as vertexdistinct
C is Subgraph of T by GLIB_000:43;
then A29: w1.edgesInOut() c= w.edgesInOut() by java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 19
now
letxbe;
)
thenjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 53
A30 ,, GLIB_000;
w in u.allNeighbors() by . InvSubBytes(BTP8 iffis_rivial
then A31: u in the_Vertices_of isclosedP2is_
w1 in the_Vertices_of F isjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 12
then w in the_Vertices_of T \ { .Ijava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 75
thenxinT.java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 59
by A30, A31then A7 the_Vertices_of=cardthe_Vertices_ofP2
then x in .= (InvSubBytes(SBT)).() =*;
then x Joins w9,u,F by A30, GLIB_000:73;
then x .= text by INV07=extby
then x in w1.edgesInOut() by GLIBPRE0:44;
hence x = e by A27, TARSKI:end;
end;
assume x = e;
then x .= card p1 byjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hence x in w.edgesInOut() by:domp2=Seglenp2byFINSEQ_13
end;
then{}=wedgesInOut) byTARSKIdef;
hence thesis by A28, GLIB_000:def 51;
end;
supposeA26 w2 invallNeighbors
w2 in the_Vertices_of C;
thenreconsiderw=w2 Vertexof A2 : 3
reconsider w9 = w2 as Vertex of F by A1 =the_Vertices_ofP1by
take w;
considerbeing suchthat
A27: w2.edgesInOut() = f=the_Vertices_ofP2byA4 :28;
by A25, GLIB_000:def reconsider asFunctionofthe_Vertices_of,
A28: not CT_21;
C is Subgraph of T by :: show that adjacency is preserved
then A29
now
let v,wbe;
hereby
assume x assume A14: indomf&w domf&Joins,,1;
then consider u being Vertex of A15 vin.(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
A30: x Joins w,u,T by GLIB_000 consider being oddElement suchthat
w in A17: < lenP7&P7n=vbyA15 :7java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
:u the_Vertices_ofT\{}by,ZFMISC_156;
w2 in the_Vertices_of F by A1, TARSKI:def < lenP7&P7m=wbyA16 :7;
then w in the_Vertices_of T \ {vjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
then x in T.edgesBetween( p1A23 FINSEQ_325;
by A30, A31, GLIB_000:32;
then x in the_Edges_of F by GLIB_000:47;
Joinsw9,Fby A30 GLIB_00073
then x in w9.edgesInOut( java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 68
then x in w2.edgesInOut() by GLIBPRE0:44;
hencex m--java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 67
end;
assume x = e;
xinw2dgesInOut A27,ARSKIef1
hence x in w.edgesInOut() by A29;
endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
{=.java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 48
hence thesis by A28, GLIB_000:def 51;
end;
end; =(java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 45
end;
::: into GLIBPRE0
theorem Th9:
for Joins.,P7(+2,P1byA28 :ef3;
for G1 being addAdjVertex percasesA17, :5java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
v1> & <> & =v2holds
v1.edgesIn() = v2.edgesIn() & v1.inDegree( letbe,
.utDegree)=v2outDegree)java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
v1.edgesInOut() = :2=java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
proof
let G2 be _raph ,, be object beVertexofG2java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 11
assume A1: assumen=lenjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
per cases;
dkeyi,ekeyi java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 75
not e in the_Edges_of G2;
then consider G3 being addVertexm2 <len P7+2byA18 :
A2: G1 is addEdgethenm >m A30, ,XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
reconsiderv3 =asVertexofG3by GLIB_00668;
v3.edgesIn() = v2.edgesIn() & v3.inDegree() = v2.inDegree() &
v3.edgesOut() = v2.edgesOut() & v3.outDegree() = v2.java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 41
v3.edgesInOut() = v2.java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 14
by GLIBPRE0:e9JoinsfvP8(+2,2byA22, A31 :ef 3;
hence thesis by A1, A2, GLIBPRE0 hencee9Joinsf,w A30 java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
end;
suppose not v in P7k=P7m&P7()=P7.java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
noteinthe_Edges_of;
then consider G3 being addVertex of G2,v such that
A3 A34:m<len P8
reconsider v3 = v2 as Vertex of G3 by GLIB_006
v3.edgesIn() = v2.edgesIn() assumem> P8java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
v3edgesOut)=v2edgesOut)&v3outDegree)=v2.utDegree)&
v3.edgesInOut() = v2.edgesInOut() & v3.degree() = v2.degree()
n2 <len P7+2 by,:;
hence thesis by A1, A3, GLIBPRE0:46;
end;
suppose not((v in the_Vertices_of G2 & not w in the_Vertices_of G2 &
not e in the_Edges_of G2)or(not v in the_Vertices_of G2 &
w in the_Vertices_of java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 41
then G1 == e9
hence thesis by A1, GLIB_000 e9JoinsP8.,8(+)P2by ,:3java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
end
end;
::: into GLIBPRE0
theorem Th10:
for G2 being _Graph, v being Vertex of G2, e,w assumeA3 order >2
;
st not e (+java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
v1.edgesIn() = v.edgesIn() & v1.inDegree() = v.inDegree() &
& v1.utDegree)=v.utDegree)+ 1
v1.edgesInOut() = v.edgesInOut() \/ {e} & v1.degree() = v then
proof
let G2 be _hence contradiction by A4, GLIB_000:157, GLIB_000:174;
let G1 be addAdjVertex endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
in& injava.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 77
then consider G3 being addVertex of G2,w such that
A2 G1is ofG3ve,by GLIB_006125java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
let wVertexofP
A3: v3.edgesIn() = v.edgesIn() & v3.inDegree() = thusw.( degree)byA6 ;
v3.edgesOut;
v3.edgesInOut() = v.edgesInOut() & v3.degree() = v.java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 43
by GLIBPRE0:45;
A4: the_Edges_of G3 = the_Edges_of G2 by GLIB_006:def supposeex being ofPstvisendvertexjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
win{ TARSKI1java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
v <> w by A1;
hence thesis by A1, A2, A3, A4, A5, GLIBPRE0:47;
end;
::: into GLIBPRE0
theorem Th11:
for G2 being _Graph, v, holds Keyi Element -(-tuples_on( Prder 01, ORDINAL116CARD_1;
for G1 being addAdjVertex of G2,v,e Porder)=0orP.( =1byA3 :1java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
st not e in the_Edges_of G2A3 4 jin;
w1.edgesIn() = w.edgesIn() \/ {e} A1 < v2& P v1v2}Th36
w1.edgesOut() = w.edgesOut() & w1. thesisA1 :7
w1.edgesInOut() = wend
proof
let G2 be _Graph, v, e be object, w be Vertex of G2;
let G1 be addAdjVertex of G2, forGbeing_non_rivialGraph
A1 st G is acyclic .( G
then consider G3 being addVertex of G2,v such that
A2: G1 is addEdge of G3holds is
reconsider w3 = w as java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 5
A3: w3.edgesIn() = A1 Gis &.inDegree) 1&card G=2java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
w3.edgesOut() = w.edgesOut() & w3.outDegree()
w3.edgesInOut() = w.edgesInOut( :: if G is non connected, it has at least 2 finite Tree-like components,: (.extkeyi)ij =d..&
by GLIBPRE0:45;
A4: the_Edges_of G3 :: giving us at least 2 endvertices per component which are also
v in {v} by TARSKI:def 1;
then A5: v is Vertex of G3 by java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 30
hence thesis by A1, A2, A3, A4, A5s A2 WbeingWalk ofGholds notWthus ((AddRoundKey.(AddRoundKey.(text,ekeyi=tjava.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 74
end;
::: into GLIBPRE0
for G being _Graph, C being Component of G
holds Endvertices C c= Endvertices G
proof
let G be _Graph, C be Component of G;
now
let x be object;
assumein Endvertices;
then consider v being Vertex of C such that
A1 = & isendvertex GLIB_006def8
the_Vertices_of C c= the_Vertices_of G;
java.lang.StringIndexOutOfBoundsException: Range [19, 8) out of bounds for length 57
1 = v.degree1 =C1minDegree)byA1,Th16
.= w.degree() by GLIBPRE0:44;
hence x in Endvertices G by A1, GLIB_000:174, GLIB_006:56;
ST04:
hence C1 _rivialthe_Edges_of >{by ;
end;
::: into GLIB_006
registration
let G be edgeless _Graph;
cluster Endvertices G -> empty;
coherence
proof
assume C1 ,43java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
then consider x being object such that
A1 inGby;
reconsider x as Vertex of G by A1;
thuscontradictionA1,:6java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
thenC2isnon_&the_Edges_ofC2<{ A1
end;
Th8:
for G being A7: w1 <> w2isendvertex isendvertexand
by GLIB_013:100;
Th13:
for G being _Graph, n being Nat
stforv Vertexof Gholds vdegree)cholds (vSubBytesSBTInvShiftRows.AddRoundKey(textKeyi1)
holds G is with_max_degree by GLIB_013:101;
Th16:
for G being _Graph, C being Component of be,
G.minDegree() c= C.minDegree() &
EndverticesC1 c & c Gby ;
G.minOutDegree() c= C.minOutDegree() by GLIB_013:104;
begin :: Path Graphs
:: this definition includes the ray and the double ray
definition
letG be_java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
attr G is Path-like means
:java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
G is v2< by,:java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
registration
cluster Path-like -> Tree-like locally-finite java.lang.StringIndexOutOfBoundsException: Range [0, 63) out of bounds for length 40
coherence
proof
let P be _Graph;
assumeA1 hence;
hence P is Tree-like;
now
let v be Vertex of KeyNr= isTreeikeA1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
v.degree() c 2byA1
hencev)is
end;
hence P is locally:
thus P is (AddRoundKey.(otext,Keyi1., :: we can remove that ver least3 ofG
end;
cluster _trivial edgeless -> Path-like for _Graph :: from the at least 3 components of G with v removed InvSubBytes(BT*)(ddRoundKey otextKeyi1)
coherence;assumenotvdegree)c=2java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
cluster_riviallike- edgelessfor Graphjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
coherence;
cluster _finite Path-like for _Graph;
existence
proof
take the _trivialthenconsider,2, object that
thus thesis;
end
end;
theorem Th17:
for G being locally-finite _Graph holds G is Path-like iff
G is Tree-like & for v being Vertex of G holds v.degree() <= 2
proof
let G be locally-finite _ consider v2 being Vertex of
hereby
-like
hence G is Tree-like;
letvbe VertexofG;
Segm v.degree() c= Segm 2 by A1;
hence v.degree() <= 2 by NAT_1:39;
assume A2: G is Tree-like;
assumeA3: vbeingVertexof Gholds v.egree)< ;
thus G is Tree-like by A2;
let be VertexofGjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
Segm v.degree() c= Segm 2 by A3, NAT_1:39;
hencev.()c 2java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
end;
definition
let F be Graph-yielding Function A22 is endvertexinthe_Vertices_ofbyA13,java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
attr F is Path-like means
:Def2:
java.lang.StringIndexOutOfBoundsException: Range [34, 5) out of bounds for length 34
ex G being _Graph st F.x = G & G is Path- A24: w3 is endvertex & w3 in the_Vertices_of C java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
end;
registration
let P be Path-like _Graph;
cluster <* P *> - proof
coherence
proof
let x be object;
dom<P*;
then reconsider n = x as Nat;
1 <n=len< *>byA1 FINSEQ_325;
then 1 <= n <= 1 by FINSEQ_1: java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
then n = 1 by XXREAL_0:1;
hence thesis;
end;
cluster NAT -->reconsideru2=w2as ofFby A23
coherence by FUNCOP_1:7;
end
definition
letbe nonemptyGraphyielding;
redefine attr F is Path-like means
:Def3:
for x beingw3<w1
compatibility
proof
hereby
assumeA1 is-ike
let x be Element of dom F;
considerG _ suchthat
A2: F.x = G & G is Path-like by A1;
thus F.x is Path-like by A2;
end;
assume A3: for x being Element of dom F holds F.x thenA27:card{1w2,3} A25 A26 58java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
let x be object;
assume x in dom F;
then then A28:3c cardEndvertices G byA27,CARD_111,ZFMISC_1133;
take F.y 2 in3by CARD_151,ENUMSET1def1;
thusthen 2in 2 by A1 ;
end;
end;
Lm2: :: copied from GLIB_000
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
holds n is Nat iff n in dom F
proof
let F be ManySortedSet of NAT, n being object;
hereby
coherenc
then n in NAT by ORDINAL1:def 12;
hence n in dom F by let Gbe_
end;
assume n in dom F;
hence n is Nat;
end;
definition
let S be GraphSeq;
redefine
:Def4:
for n being Nat holds S.n is Path-like;
proof
hereby
assume A1: S is Path-like;
let x be Nat;
x
henceS Path- byA1java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
end;
assume A2: for x being Nat holds S.x is Path-like;
let x be Element of dom S;
thus thesis by A2;
end;
end;
registration
cluster thencardC2W(+) outDegreejava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
coherence;
cluster _trivial edgeless -> Path-like for Graph-yielding Function;
proof
card{2 =inDegree)A25 :,CARD_111;
assume A1: F is _trivial edgeless then1c inDegree)byCARD_130
let x be 2+ =wdegree) A26 :;
assume A2: x inhencethesisjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
then consider G1 being _Graph such that
A3: G1 = F.x & G1 is _trivial by A1, GLIB_000:def 60;
considerG2being_suchthat
A4: G2 = F.x & G2 is edgeless by A1, thencard{.2 (+1 inDegree)
take G1;
thus thesis by A3, A4;
end; thenA27 2c winDegree)A24 57java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
clusterPathlike- Treelike forGraphyieldingFunction
coherence
proof
let F be Graph-yielding Function;
assume A5: F is Path-like;
proof
let x be object;
assume x in dom F;
nsiderbeing_ that
A7: G = F.x & G is Path-like by end;
take G;
Element -java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 67
end;
1 byjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
end
cluster non empty Path-like for then A29: C.(l+1) Joins C.l,C.(l GLIB_001defjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
existence
proof
take thethenpercasesXXREAL_01
end;
end;
registration
let A30 n1 >+1&+ =1kbyXREAL_1;
cluster F.x -> n1<lenC-2+2byXREAL_16;
coherence by pthenA31 ()>() java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 60
end;
registration
let S be Path-like GraphSeq, n be Nat;
cluster Sn- athike;
coherence by Def4;
end;
registration
let then
cluster p | n -> Path-like;
coherence
proof
A1: p|n = p|Seg n by FINSEQ_1:def 16;
now
let x be st (KeyExpansion,( s ()
assume A2: x in dom <len + =lenCA10 :;
then x in dom p by A1,hencecontradictionA4 A32 :7java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
then consider G being _Graph such that
A3
take G;
thus(|n. &Gis Pathlike byA1 A3,,FUNCT_147;
end;
hence thesisn0 <n2byXREAL_16;
;
clusterp/ >likejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Range [12, 5) out of bounds for length 16
proof
per cases;
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
now
let xassume
assume A5: x in domlet beobject
reconsideri= java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
n+i in dom p by A5, FINSEQ_5:26;
then G _raphsuchthat
A6 .+i =G&G isPathlikeby Def2java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
takeG
thus (p /^ n).x = G & G is thenx Clast)C(+2,by GLIB_001def24;
endhence xin.( byA8 ,:;
hence thesis;
end by DefAddRoundKey;
<
hence thesis by RFINSEQ:def 1;
end;
end;
t
cluster smid(p,m,n) -> Path- ;
coherence
smid(p,m,n) = (p/^(m-'1))|(nnow
hence thesis;
end;
cluster (m,n)-cut java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 24
coherence
proof
per cases;
suppose1< < n=lenjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
then 1 <= m & m <= len p & 1 <= n & n <= len p by XXREAL_0:2;
then m in dom p & n in dom p by FINSEQ_3:25;
then smid(p,m,n) = (m,n)-cut p by FINSEQ_8:29;
hence thesis;
end;
suppose not(1 <= m & m <= n then A57 c wedgesInOut)byA56 CARD_111,TARSKIdef;
hence thesis by FINSEQ_6:def 4;
end;
end;
end;
registration
let p, q be thesisbyA57 :;
cluster p ^ q -> Path-like;
coherence
proof
for x being object st x in dom (p^q) ex then 2 byGLIB_016def4;
hencecontradictionNAT_139;
proof
let x be object;
ssumeA1 xin (^qjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
then reconsider k = x as Nat;
per cases by A1, FINSEQ_1:25;
suppose k in dom p;
(^)k=pk&exGbeing_st pk=G&Gis Pathlike
by Def2, FINSEQ_1:def 7;
hence exG Graphst (^q.x=&Gis Pathlike;
end;
suppose reconsider wjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 50
then mbeingodd ofNATsuchthat
A2: n A60: m <= len m< lenC&Cm=wbyA58 :7java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
(p^q).(len p + n) = q.n & ex G being _Graph st q.n = proof
by A2 >3GLIB_001125;
hence ex G being _Graph st
end;
end;
hencethesis
end;
clusterp'q- Pathlike
coherence
proof
p ^' q = p^(2,len q)-cut q by FINSEQ_6:def 5;
hence thesis;
end;
end
stration
let P1, P2 be Path-like _Graph;
cluster <* P1, P2 *> -> Path-like;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
proof
<* * java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 4
end;
let P3 be Path-like _Graph;
cluster <* P1, P2, P3 *> -> Path-like;
proof
assume GCycle;
hence thesis java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 68
end;
end;
definition
let S be Graph-membered set;
. 2Gorder
Def5
for G being _Graph st
end;
registration
cluster empty - let beCyclelike yieldingFinSequence bejava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
coherence;
cluster ().).7java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
coherence
proof java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
let S be Graph-membered set;
assumeA1 isPathjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
now
_raph
assume G in S;
then islike byA1
henceGTreelike;
end;
hence thesis by GLIB_014:def 10;
end;
end;
registration
let P1 be Path-like _Graph;
cluster {P1} -> Path-like;
coherence by TARSKI:def 1;
let P2 be Path-like _Graph;
cluster {P1, P2} -> Path-like;
coherence
proof
let x be _Graph;
assume x in {P1, P2};
then per cases by TARSKI:def 2;
suppose x = P1;
hence thesis;
end;
suppose x = P2;
hence thesis;
end;
end;
end;
registration
let F be Path-like Graph-yielding Function;
cluster rng F -> Path-like;
coherence
proof
let G be _Graph;
assume G in rng F;
then consider x being object such that
A1: x in dom F & F.x = G by FUNCT_1:def 3;
consider G0 being _Graph such that
A2: F.x = G0 & G0 is Path-like by A1, Def2;
thus G is Path-like by A1, A2;
end;
end;
registration
let X be Path-like Graph-membered set;
cluster -> Path-like for Subset of X;
coherence by Def5;
end;
registration
let X be Path-like Graph-membered set, Y be set;
X/ --java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
e
proof
X /\ Y c= X by XBOOLE_1:17;
;
end;
cluster X \ Y -> Path-like;
coherence;
end;
registration
let X, Y be Path-like Graph-membered set;
cluster X \/ Y -> Path-like;
coherence
proof
let x be _Graph;
assume x in X \/ Y;
then per cases by XBOOLE_0:def 3;
suppose x in X;
hence by ;
end;
suppose x in Y;
hence thesis by Def5;
end;
end;
cluster X \+\ Y -> Path-like;
coherence;
end;
registration
cluster non empty Path-like for Graph-membered set;
existence
proof
take {the Path-like _Graph};
thus thesis;
end;
end;
registration
let S be non empty Path-like Graph-membered set;
cluster -> Path-like for Element ofconsider cluster p q-Cyclelikejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
FinSequence (4tuples_on(-tuples_on(-tuples_onBOOLEAN))suchthat
end;
Lm3:
forG1 being G1=java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
holds G1 is Path-like implies G2 is Path-like
proof
let G1, G2 be _Graph;
assume A1: G1 == G2 & G1 is PathstKeyi1=((m)(). java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
hence G2 is Tree-like by GLIB_002:48;
let v2 be Vertex of G2;
reconsider v1 = v2 as Vertex of G1 by A1, GLIB_000:def 34;
v1. (or Nat st 1 <=i&i <
hence thesis by A1;
end;
:: adding a vertex incident with an endvertex of a path results in a path
theorem Th18:
for P2 being Path-like _Graph, v2 being Vertex of P2, e,w2 assumeA1:xindom(^;
forP1being addAdjVertexofP2,2,,2
st v2 is endvertex or P2 is casesbyA1,FINSEQ_125java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
proof
letP2 like _,v2be Vertexof P2 ,2 beobject
let P1 be addAdjVertex of P2,v2,e,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 34
per cases;
A1 notein not w2inthe_Vertices_of;
assume A2: v2 is endvertex or P2 is _trivial;
thus P1 endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
percasesbyA2;
suppose A3: v2 is endvertex;
P1 by 68
reconsider w1 = w2 as Vertex of P1 by A1, GLIB_006:129;
let v be Vertex of P1;
perjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
suppose v = v1;
then v.degree() = v2.degree() +` (nvSubBytesSBT*(CFunc")).(AddRoundKey.( exGbeing_raphst(^)x=G & G is Cycle-like by A2java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
.= 1 +` 1 by A3, GLIB_000:174
=;
hence v.degree() c= 2;
end
suppose v = w1;
degree by,141 174
then v.degree() in 2 by java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 11
hence v.degree() c= 2 by ORDINAL1:def 2;
end;
suppose A4: v <> v1 & v <> w1;
then A5: not v in {w2} by TARSKI:def 1;
the_Vertices_of P1 = the_Vertices_of P2 \/ {endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
then reconsider v9 = v as Vertex of P2 by A5, XBOOLE_0:def 3;
v.degree() = v9.degree() by A4, Th9 letC1, beCyclelike_raphjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
hence v.degree() c= 2 by Def1;
end;
end;
suppose A6: P2 is _trivial;
let v be < C1 C2 *>= < C1 *^< * byFINSEQ_1 9;
A7: P1.order() = P2 hencethesis
.= 1 +` 1 by A6, GLIB_000 endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
.= 2;
then A8: P1 is vertex-finite;
P1cluster<C1, * -Cycle;
let-java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 46
1 c= succ 1 by XBOOLE_1:7;
hence v.degree() c= 2 by A9;
end;
end;
suppose not(not e in the_Edges_of P2 & not w2 in the_Vertices_of P2);
then P1 == P2 by GLIB_006:def 12;
hence thesis by Lm3;
end;
end;
theorem Th19:
for P2 being Path-like _Graph, v2,e being object, w2 being Vertex of P2
for P1 being addAdjVertex of P2,v2,e,w2
st w2 is endvertex or P2 is _trivial holds P1 is Path-like
proof
let P2 be Path-like _Graph, v2,e be object, w2 be Vertex of P2;
let P1 be addAdjVertex of P2,v2,e,w2;
per cases;
suppose A1: not e in the_Edges_of P2 & not v2 in the_Vertices_of P2;
assume A2: w2 is endvertex or P2 is _trivial;
thus P1 is Tree-like;
per cases by A2;
suppose A3:w2 is endvertexjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
reconsider v1 = v2 as java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 7
w1= asVertexofP1byGLIB_00668java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
let beVertex ofP1;
per cases;
suppose v = w1;
then v.degree() = w2.degree() +` 1 by A1, Th11
. 1 + 1 byA3 174
.= 2;
hence v.degree() c= 2;
end;
supposev=v1java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
thus G is-byA1 ;
then v.degree() in 2 by end;
hence v.degree() cend;
end;
suppose A4: v <> v1 & v <> w1;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
let X be- -memberedsetjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
thenreconsiderv9 asVertexofP2byA5,XBOOLE_0def3java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
v.coherence byjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
hencevdegree(c 2 java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 38
end;
end;
suppose A6: P2 is _trivial;
letvbe P1java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
A7 .order)=.rder)`1byA1 GLIB_006151
.= 1 +` 1 by A6, GLIB_000:26
.= 2;
then is-;
P1 is non _trivial by A7, GLIB_000:26;
then A9: v.degree() = 1 by A7, A8, GLIB_008:27, GLIB_000:174;
1 c= succ 1 by XBOOLE_1:7;
hence v.degree() c= 2 by A9;
end;
end;
suppose not(not e in the_Edges_of P2 & not v2 in the_Vertices_of P2);
then P1 == P2 by GLIB_006:def 12;
hence thesis by Lm3;
end;
end;
registration
nbe;
cluster (n+1)-vertex n-edge Path-like for _Graph;
existence
proof
defpred P[Nat] means ex G being _Graph, v being Vertex of G
st G is ($1+1)-vertex $1-edge Path-like &
(G is non _trivial implies v is endvertex);
A1: P[0]
proof
take G = the _trivial edgeless _Graph, the Vertex of G;
thus thesis;
end;
A2: for m being Nat st P[m] holds P[m+1]
proof
let m be Nat;
assume P[m];
then consider G2 being _Graph, v2 being Vertex of G2 such that
A3: G2 is (m+1)-vertex m-edge Path-like and
A4: G2 is non _trivial implies v2 is endvertex;
take G1 = the addAdjVertex of G2,v2,the_Edges_of G2,the_Vertices_of G2;
A5: not the_Edges_of G2 in the_Edges_of G2 &
not the_Vertices_of G2 in the_Vertices_ofP12: eKeyNr=()K).7m &
reconsider v1 = the_Vertices_of G2 as Vertex of G1 by A5, GLIB_006:129;
take v1;
G1.order() = G2.order() +` 1 by A5, GLIB_006:150
.= ( (SBT)(Nrjava.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 65
.= m + 1 + 1;
hence G1 is ((m+1)+1)-vertex by GLIB_013:def 3;
G1.size() = G2.size() +` suchthat
.= m +` 1 by A3, GLIB_013:def 4
.+1java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
hence G1 is (m+1)-edge by GLIB_013:def 4;
thus G1 is Path-like by A3, A4, Th18;
assume G1 is non _trivial;
((ESENCMtextKey,Keyi1)byP2java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
end;
for m being Nat holds Element 4-(- ( BOOLEAN)
then consider G being _Graph, v being Vertex of G such that
A8: G is (n+1)-vertex n-edge Path-like and
G is non _trivial implies v is endvertex;
take G;
thus thesis by A8;
end;
end;
registration
benonzeroNat;
cluster n-vertex ( / c byXBOOLE_117java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
existence
proof
take P = cluster X \ Y Cycle;
1 by let,v1, object
thenassumee1DJoinsv1,,& e2DJoinsv1v,java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
Pisnvertex;
thus thesis;
end;
cluster (n+1)-vertex n-edge Path-like non _trivial for _Graph;
existence
proof
take P = the not e in the_Edges_of G2;
1 <= n by CHORD:1;
then 1+0 < n+1 by XREAL_1:8;
then P.order() <> 1 by GLIB_013:def 3;
hence thesis by GLIB_013:def 3;
end;
registration
let P be Path-liketheorem :
cluster connected -> Path-like for Subgraph of P;
coherence
proof
let H be Subgraph of P;
assume H is connected;
hence H is Tree-like;
let v2 be Vertex of H;
the_Vertices_of H c= the_Vertices_of P;
then reconsider v1 = v2 as Vertex of P by TARSKI:def 3;
A2: v2.degree for beElement of-(-(-java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 72
.degree(c 2 ;
hence v2.degree() c= 2 by A2, XBOOLE_1:1;
end;
end;
em
for G2 being _Graph, v1,e,v2 being object
1 ofv1ejava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
st G1 is Path-like holds (".() ("*java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 74
proof
G2 _Graphev ;
let G1 be addAdjVertex of G2,v1,e,v2;
assume A1: G1 is Path-like;
then A2.forv1v )ebeing
G2 is Subgraph of G1 by GLIB_006:57 forC addEdgeP,,2
hence thesis by A1, v1<the_Edges_of
end;
:: removing an endvertex from a path results in a path
theorem Th21:
forP1beingPathlike _ output )
for P2 being removeVertex of P1,v
st endvertexorP1is_ is-
proof
let P1
let P2 be removeVertex of P1,v;
assume A1: v1 <> v2 P
then per cases;
suppose P1 is(MCFuncA2 P=2by;
then P2 is connected by GLIB_002:4;
hence thesis;
suppose P1 is _trivial;
hencethesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
end;
end;
:: copied from GLIB_008
::: original type of n was Element of dom(p^<*x*>)
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
for p beingjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for n being Nat st n <= java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 15
holds n = len(p^<*x*>) - 1 or n <= len p - 1
proof
let p be non empty FinSequence, x be object, n be Nat;
A1: len(p^<*x*>) = len p + len <*x*> by FINSEQ_1:22
.=lenp +1by FINSEQ_1:39;
assume A2: n <= len(p^<*x*>) - 1;
assume not n = len(p^<*x*>) - 1;
then A3: n < len p - 1 + 1 by A1, A2, XXREAL_0:1;
len p - 1 is Nat by CHORD:1;
hence n <= len p - 1 by A3, NAT_1:13;
end;
:: mostly copied from GLIB_008
theorem Th22:
for G being _finite Path-like _Graph, H being connected Subgraph of G
ex p being non empty _finite Path per ;
st p.1 == H & p.&w>v2;
for n being Element of dom p st n <= len p - 1
ex v1,v2 being Vertex of G, e being
st p.(n+1) is java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
e in the_Edges_of G \ the_Edges_of p.n &
( (v1 in the_Vertices_of p.n & not v2 in the_Vertices_of p.n &
(p.n is non _trivial implies v1 in Endvertices(p.n))) or
(not v1 in the_Vertices_of p.n & v2 in the_Vertices_of p.n &
(p.n is non _trivial implies v2 in Endvertices(p.n))))
proof
defpred P[Nat] means for G being _finite Path-like _Graph
for H being connected Subgraph of G st $1 = G.order() - H.order()
ex p being non empty _finite Path-like Graph-yielding FinSequence
st p.1 == H & p.len p = G & len p = G.order() - H.order() + 1 &
for n being Element of dom p st n <= len p - 1
ex v1,v2 being Vertex of G, e being object
st p.(n+1) is addAdjVertex of p.n,v1,e,v2 &
ejava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 48
( (v1 in the_Vertices_of p.n & not v2 in the_Vertices_of p.n &
p.isnon_rivialjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 66
(not v1 in the_Vertices_of. 11byA5 GLIB_000java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
(p.n is non _trivial implies v2 in Endvertices(p.n))));
A1: P[0]
A1: m <= n & 8 <= n-m;
let G be _finite Path-like _Graph, H be connected Subgraph of G;
assume A2: 0 = G.order() - H.order();
then H is java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 5
A3:G= by 21;
reconsider p = <* G *>
as non empty _finite Path-like Graph-yielding FinSequencetextbe of4( 8)
take p;
thus p.1 == H by A3;
thus p.len p = p.1 by FINSEQ_1 thus (nvSubBytesSBT)*)text =
.= G;
thus len p = G.order InvSubBytes*java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 68
15
1 <= n & n <= len p by FINSEQ_3:25;
=(InvSubBytes(SBT).(InvShiftRows(.(SubBytesS)).text))
then A4: n = 1 by XXREAL_0:1;
assume = -1java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
then n <= 1 - 1 by FINSEQ_1:40;
hence thesis by A4; :: by contradiction
end;
A5: for k being Nat st P[k] holds P[k+1]
proof
let k be Nat;
assume A6: P[k];
let G be _finite Path-like _Graph, H be connected Subgraph of G;
assume A7: k+ java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
then A8: G for Natjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
G. beof-(-
then A9: H is non spanning by GLIB_000:117;
1 ;
then A10: G is non _trivial by GLIB_000:26;
then consider v being Vertex of G such that
ot v by A9,GLIB_008:1;
consider e0 being object such that
A12: v.edgesInOut() = {e0} & not e0 Joins v,v,G by A11, GLIB_000:def 51;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A13: G2.order() + 1 = G.order() by let mbe ,
then A14: k = G2.order() - H.order() by A7;
G2 edgesBetween \v)
by A10, GLIB_000:47
.= G.edgesBetween(the_Vertices_of G) \ v.edgesInOut() by GLIB_000:107
.= the_Edges_of G \ {e0} by A12, GLIB_000:34;
: Subgraph of G2
proof
the_Vertices_of H misses {v} by A11, ZFMISC_1:50;
then the_Vertices_of H c= the_Vertices_of G \ {v} by XBOOLE_1 (*S).)=
A17:the_Vertices_ofH=the_Vertices_ofby,GLIB_00047
not e0 in the_Edges_of H
proof
assume A18: e0 in proof
((MCFunc.Sjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 59
then per cases by GLIB_000:61;
suppose (the_Source_of G).e0 = v;
then (the_Source_of H).e0 = v by A18, GLIB_000:def 32;
(..(()text) FUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
suppose (the_Target_of G).e0 = v;
then c.(hiftRows.(SubBytestext)) by FUNCT_2:5
hence contradiction by A11, A18, FUNCT_2:5;
end;
end;
then the_Edges_of H misses {e0} by ZFMISC_1:50;
hence java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 12
end; .=(InvSubBytesSBT)..ShiftRows.(SubBytes(BT))text))
A19: G2 is connected by A10, A11;
then consider p
being non empty _finite Path-like Graph-yielding FinSequence such that
A20: p.1 == H & p.len p = G2 & len p = G2.order() - H.order() + 1 and
A21: for n being Element of dom p st n <= len p - 1
ex v1,v2 being Vertex of G2, e being object
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
etheorem LAST03java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
( (v1 in the_Vertices_of p.n & not v2 in the_Vertices_of p.n &
(p.n is non _trivial implies v1 in Endvertices(p.n))) or
(not text be Element o 4-tuples_on(-tuples_on (tuples_on ),
(p.n is non _trivial implies v2 in Endvertices(p.n))))
A6, ;
reconsider q = p ^ <* G *>
as non empty _finite Path-like Graph-yielding FinSequence, of-4java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 74
take q;
1 <= len p by FINSEQ_1 st ( 4or = 6 m=8) dkeyi e_Target_of G1).e;
then 1 in dom p by FINSEQ_3:25;
hence q.1 == H by A20, end
A22: len java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.= len p + 1 by FINSEQ_1:40;
henceA23 q byFINSEQ_142java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
) - Horder)+1 by,,A22
let n be ex P being non_Path _
assume n <= len q - 1;
then per cases by Lm4;
suppose A24: n = len q - 1; Endvertices v,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
then A25: q.(n+1) = G by A23;
A26: 1 <= n by FINSEQ_3:25;
A27 =lenpA22 java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
then n in dom p by A26, FINSEQ_3:25;
:.n by,A27 FINSEQ_1d7;
A29: e0 in v.edgesInOut() by A12 henceA3:noteinthe_Edges_of ZFMISC_156java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
;
e0 in {e0} by TARSKI:def 1;
then A31: not e0 in the_Edges_of q.n by A15, A28, XBOOLE_0:def 5;
vin{ :ef1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
\v XBOOLE_0 5;
then A32: .( GLIB_016def4
v.adj(e0) <> v by A12, A29, GLIB_000:67;
then not v.adj(e0) in {v} by TARSKI:def 1;
( the_Vertices_of {v :ef5;
then A33: v.adj(e0) in the_Vertices_of q. then A6 inEndverticesbyGLIB_00656
per cases 1 + 1 = v2.degreebyGLIB_016def4
suppose A34: G is .= w2.degree() +` 1 by A3,A5 :8;
take v.adj(e0) byGLIB_000174,:6java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
.1 addAdjVertexof. adje0)e0, v by A25, A28 A34
q.n is non _trivial implies v.adj(e0) in Endvertices(q.n)
proof
assumennon _;
then A35: G2 is non _trivial by (w1 = x or w1 = y) & (w2 = x or w2 = y) by ZFMISC_122java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
A36: G2 is Path-like by A11, Th21;
reconsider w = v.adj(e0
w.degree() in succ 2 byjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
then A37: w.degree() in {0,1,2} by CARD_1:51;
not.( =2
proof
assume A39: wjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
v.adj(e0).degree() = w.degree() +` 1
by A28, A31, A32, A34, Th10
. 2 +1 byA39java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
thensucc2 = Def1
then 2 in 2 by ORDINAL1:21;
hence contradiction;
end
not w.degree() = 0 by A19, degree(by java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 37
then w.degree() = 1 by A37, A38, ENUMSET1:def 1;
hence thesis by A28, GLIB_006:56, GLIB_000:174;
end
hence thesis by A30, A31, A32, A33, XBOOLE_0:def 5;
end;
suppose A40: G is addAdjVertex of G2, v, e0, v.adj(e0);
take v, v.adj(e0), e0;
thus q.(n+1) is addAdjVertex of q.n, v, e0, v.adj(e0) by A25, A28, A40;
q.n is non _trivial implies v.adj(e0) in java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 48
proof
assume q.n is none2in v1edgesInOut)byA4 def;
then A41: G2 is non _trivial by A28;
A42: G2 is Paththenconsiderw2beingVertexof that
reconsider w = v.adj(e0) as Vertex of G2 by A28, A33;
w.degree() in succ 2 by A42, ORDINAL1:22;
then A43: w.degree() in {0,1,2} by CARD_1:51;
A44 .( 2
proof
assume A45: w.degree() = 2;
vadje)degree)=wdegree)+ java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
byA28, ,,Th11
.= 2 + 1 by A45;
thensucc2c Def1
then 2 in 2 by ORDINAL1:21;
hence contradiction;
end;
not.( 0by A19,A41,GLIB_000157
then w=&W1last)=by :5java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
hence thesis clusteredge njava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 51
end;
hence thesis by A30, A31, A32, A33, XBOOLE_0 letG Graphjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
end;
end;
suppose A46: n <= len p - 1;
then:n < p-1+1byXREAL_1;
1 <= n by FINSEQ_3:25;
by 25
consider v1,v2 being Vertex of G2, e being .( =order java.lang.StringIndexOutOfBoundsException: Range [42, 37) out of bounds for length 44
such that A48: p.(m+1) is =Csize)byGLIB_00052
e in .= n by A2,n A2 :
ices_ofm&
(p.m is non _trivial implies v1 in Endvertices(p.m))) or
(not v1 in java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 4
(p.java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
by A21, A46;
1+0 <= n+1 & n+1 <= len p - 1 + 1 by A46 proof
then1 indompby FINSEQ_325;
then A49: q.(n+1) = p.(m+1) by java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 14
A50: q.n = p.m by FINSEQ_1:def 7;
the_Vertices_of G2 c= the_Vertices_of G;
C=addEdgePv{,
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 19
\the_Edges_of. the_Edges_ofG\ .m
by XBOOLE_1:33;
hence thesis by A48, A49, A50;
end;
;
A51: for k being Nat holds P[k] from NAT_1:sch 2(A1,A5);
thenPorder)>01byGLIB_0133;
let H be connected Subgraphthen :is non_ byGLIB_00026java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
T_1:21;
hence thesis by A51;
end;
:: finite paths can be finitely constructed by adding
:: a vertex incident with an endvertex at a time
theorem Th23:
for G being _ A5: P0 is P_rivialjava.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
ex p being non empty _finite Path-like Graph-yielding FinSequence
p1 is_ edgeless&plenp=G&lenp = Gorder)&
for n being Element of dom p st n <= len p - 1
ex v1,v2 being Vertex of G, e being object
st p.(n+1) is addAdjVertex of p.n,v1,e,v2 &
ethe_Edges_of \ n&
((v1 in the_Vertices_of notthe_Edges_ofP the_Edges_of
not v2 in the_Vertices_of p.n) or
(not v1 in the_Vertices_of p.n & v2 in the_Vertices_of p.n &
(n >= 2 implies v2 in Endvertices(p.n))))
proof
let G be _finite Path-like _Graph;
set H = the _trivial Subgraph of G;
consider p being non empty _finite Path-like Graph-yielding FinSequence
such that
A1: p.1 == H & p.len p = G & cluster (n+2)-vertex Cycle-like ->_;
A2: for n being Elementcoherence
ex v1,v2 being Vertex
st p.(n+1) is java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 20
e in assume C is non;
( (v1 in then consider v,e beingsuch that
( _ implies then
( .=W2last byA4 :3java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
(p.n is non _trivial A7: W2.edgeSeq() = W1.edgeSeq() * by,, GLIB_001:82
take p;
thus =ekeyi by B0A;
thus p.len p = G byby java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 40
H.order() = 1 by GLIB_000:26;
hence now i, be Nat;
let n be Element of dom p;
assume A3: n <= len p - 1;
thenconsider,2 beingVertexGe objectsuchthat
A4: p W1 + 2 by,A5 :4
he_Edges_ofG\ pn&
( (v1 in the_Vertices_of p.n & not v2 in the_Vertices_of p.n &
(p.n is non _trivial implies v1 in Endvertices(p.n)byGLIB_001126;
(not v1 then the_Edges_of =.dges)byA6 A8
(p.n is non _trivial implies v2 in Endvertices . {1 A7,FINSEQ_2127;
take v1, v2, e;
thusp(1 addAdjVertexofp.,1,,2 byA4;
thus e in the_Edges_of G \ the_Edges_of p A10 size) +3 A1 GLIB_013def4java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
n >= 2 implies p.n is non _trivial
proof
java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 6
then A6: n-1 >= 2-1 by XREAL_1:9;
n - 1 <= n - 0 by XREAL_1:10;
then A7:
(+) (+java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
A8 1 < lenby ,XXREAL_02;
reconsider n1 = n - 1 as Element
reconsider n1 as Element of dom p by A6
consider w1,w2 take C = the ((n+2)- like_raph
A9: C is (n)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
e9 in the_Edges_of G \ the_Edges_of p.n1 &
((1inthe_Vertices_of.n1 w2in the_Vertices_ofpn1&
(.isnon_ impliesw1 Endverticesp.n1) or
(not w1 in the_Vertices_of p. (not w1 in the_Vertices_of p.n1
(p.n1 is non _java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
not e9 in the_Edges_of p.n1 by java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
hence thesis by A9, GLIB_006:Lm2java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
end
hence thesis by A4;
end;
theorem
for p being nonbeing PGraphMappingG1 G2such
st p.1 A1 G1& is Key be Element of m-tuples_on(4()
for n being Element of dom thesisA1 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
ex v1,etheorem
(p forG1being_,Ebeing set being reverseEdgeDirections ,java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
holds p.(len p) is Path-like
proof
let p be non empty let be_,Ebe ,G2be ofG1 ;
considerFbeingPGraphMappingjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A1: p.1 is Path- suppose v in the_Vertices_ &wthe_Vertices_ofG2
A2: for n being Element of dom p st n <= len p - 1
ex v1,e,v2 being object st p.(n+1) is addAdjVertex of p.n,v1,e,v2 &
(p.n is _trivial or v1 in Endvertices(p.n) or v2 in Endvertices(p.n));
defpred P[Nat] means $1 <= len p - 1 implies p.($1+1) is Path-like _Graph;
A3: P[0] by A1;
A4: for n being Nat st P[n] holds P[n+1]
proof
let n be Nat;
assume A5: P[n];
assume A6: n+1 <= len p - 1;
n+0 <= n+1 by XREAL_1:6;
then reconsider G2 = p.(n+1) as Path-like _Graph by A5, A6, XXREAL_0:2;
len p - 1 <= len p - 0 by XREAL_1:10;
then A7: n+1 <= len p by A6, XXREAL_0:2;
0+1 <= n+1 by XREAL_1:6;
then reconsider n1 =n+1 as ofdom java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
consider v1,e,v2 being object such that
A8: p.(11 isaddAdjVertex ofp.,v1,e,2and
A9: p.n1 is _trivial or v1 in Endvertices(p.n1) or
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
per cases by A9;
suppose A10: v1 in Endvertices(p.n1);
then reconsider v1 as Vertex of G2;
v1 is endvertex by A10, GLIB_006:56;
hence thesis by A8, Th18;
end;
suppose A11: v2 in Endvertices(p.n1);
then reconsider v2 as Vertex of G2;
v2 is endvertex by A11, GLIB_006:56;
hence thesis by A8,Th19;
end;
suppose A12: p.n1 is _trivial;
per cases;
suppose v1 in the_Vertices_of G2 or v2 in the_Vertices_of G2;
hence thesis by A8, A12, Th18, Th19;
end;
suppose A13: not v1 in the_Vertices_of G2 & not v2 in the_Vertices_of G2;
reconsider G1 = p.(n1+1) as addAdjVertex of p.n1,v1,e,v2 by A8;
G2 == G1 by A13, GLIB_006: ekeyi =((KeyExpansionSBT,)).key).7+mjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
.(ddRoundKeyt,keyi,)=text
end;
end;
end;
A14: for n being Nat holds P[n] from NAT_1:sch 2(A3, A4);
len p - 1 >= 1 - 1 by FINSEQ_1:20, XREAL_1:9;
then len p - 1 in NAT by INT_1:3;
then reconsider k = len p - 1 as Nat;
P[k] by A14;
hence thesis;
end;
:: version with K_1 skipped
:
for G being non _trivial _finite Path-like _Graph
ex p being non empty _finite Path-like
st p.1 is 2-vertex Path-like & AS: (m = 4 or m = 6 or m = 8) & dk (SBT)()1&
for n being Element of dom p st (,)().7;
ex v1,v2 being Vertex of G, e being object
st p. set =(m)()
e in the_Edges_of G \ the_Edges_of p.n &
) &v2 p)or
(not v1 in the_Vertices_of p.n & v2 in Endvertices(p.n)))
proof
let G be non _trivial _finite Path-like _Graph;
consider p being non empty _finite Path-like Graph-yielding FinSequence
such that
A1: p.1 is _trivial edgeless B:ex be 4(-java.lang.StringIndexOutOfBoundsException: Range [50, 48) out of bounds for length 73
A2: for n being Element of dom p st n <= len p - 1
ex v1,v2 being Vertex of G, e being object
st p.(n+1) is addAdjVertex of p.n,v1,e,v2 &
in \p. java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
((v1 then
not v2 in the_Vertices_of p.n) or
(not v1 in the_Vertices_of p.n & v2 in the_Vertices_of p.n &
n> in()) ;
A3: G.order() <> 1 by GLIB_000:26;
G.order() > 0;
now , be;
then G.order() > 1 by A3, XXREAL_0:1;
then A4: G.order() >= 1 + 1 by INT_1:7;
A5:len > :;
then A6: len(p/^1) = len p - 1 by RFINSEQ:def 1;
then len(p/^1) + 1 = G.order() by A1;
>=1 ,:;
then reconsider p1 = p/^1 as non empty _finite Path-like Graph-yielding
take p1;
1 in (.te)i.=OpXOR(e
then A8: p1.1 = p.(1+1) by A5, RFINSEQ:def 1;
A9: len p - 1 >= 1 + 1 - 1 by A1, A4, XREAL_1:9;
reconsider k = 1 as Element of dom p by A5, FINSEQ_3:25;
consider v0,0 of G,e0 beingobject suchjava.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
A10: p.(k+1) is addAdjVertex of p.k,v0,e0,w0 &
e0 in the_Edges_of G \ the_Edges_of p.k &
((v0 in the_Vertices_of p.k & (k>=2 implies v0 in Endvertices(p.k)) &
not w0 in the_Vertices_of p.k) or
(not v0 in the_Vertices_of p.k & w0 in the_Vertices_of p.k &
(k >= 2 implies w0 in Endvertices(p.k)))) by A2, A9;
A11: not e0 in the_Edges_of p.k by A10, XBOOLE_0:def 5;
reconsider G1 = p.(k+1) as addAdjVertex of p.k,v0,e0,w0 by A10;
G1.order() = (p.k).order() + 1 by A10, A11, GLIB_006:152, GLIB_006:153
.= 1 + 1 by A1, GLIB_000:26;
hence p1.1 is 2-vertex by A8, GLIB_013:def 3;
thus p1.1 is Path-like by A1, A8, A10, Th18, Th19;
len p1 in dom p1 by A7, FINSEQ_3:25;
hence p1.len p1 = p.(1+len p1) by A5, RFINSEQ:def 1
.= G by A1, A6;
thus len p1 + 1 = G.order() by A1, A6;
let n be Element of dom p1;
assume n <= len p1 - 1;
then A13: n+1 <= len p - 1 - 1 + 1 by A6, XREAL_1:6;
len p - 1 <= len p - 0 by XREAL_1:10;
then A14: n+1 <= len p by A13, XXREAL_0:2;
A15: 1 <= n by FINSEQ_3:25;
A16: 1+0 <= n+1 by XREAL_1:7;
then reconsider m = n+1 as Element of dom p by A14, FINSEQ_3:25;
consider v1,v2 being Vertex of G, e being object such that
A17: p.(m+1) is addAdjVertex of p.m,v1,e,v2 &
e in the_Edges_of G \ the_Edges_of p.m &
((v1 in the_Vertices_of p.m & (m>=2 implies v1 in Endvertices(p.m)) &
not v2 in the_Vertices_of p.m) or
(not v1 in the_Vertices_of p.m & v2 in the_Vertices_of p.m &
(m >= 2 implies v2 in Endvertices(p.m)))) by A2, A13;
take v1, v2, e;
m in dom p1 by A6, A13, A16, FINSEQ_3:25;
then A18:java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
p1n =p.n1 byA5 :def1;
hence p1.(n+1) is addAdjVertex of p1.n,v1,e,v2 by A17, A18;
thus e in the_Edges_of G \ the_Edges_of p1.n by A17, A19;
m >= 1 + 1 by A15, XREAL_1:6;
hence thesis by A17, A19;
end;
theorem
for p being non empty Graph-yielding FinSequence
st p.1
for n being Element of dom p st n <= len p - 1
ex v1,e,v2 being java.lang.StringIndexOutOfBoundsException: Range [34, 27) out of bounds for length 34
(v1 in Endvertices(p.n) or v2 in Endvertices(p.n))
holds p.len p is Path-like
proof
let p be non empty Graph-yielding FinSequence;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 13
A1: p.1 is non _trivial Path-like and
A2: for n being Element of dom p st n <= len p - 1
ex v1,e,v2 being object st p.(n+1) is addAdjVertex of p.n,v1,e,v2 &
(v1 in Endvertices(p.n) or v2 in Endvertices(p.n));
defpred P[Nat] means $1 <= len p - 1 implies p.($1+1) is Path-like _Graph;
A3: P[0] by A1;
:beingst P+
proof
let n be Nat;
assume A5: P[n];
assume A6: n+1 <= len p - 1;
n+0 <= n+1 by XREAL_1:6;
then reconsider G2 = p.(n+1) as Path-like _Graph by A5, A6, XXREAL_0:2;
len p - 1 <= len p - 0 by XREAL_1:10;
then A7: n+1 <= len p by A6, XXREAL_0:2;
then reconsider n1 = n+1 as Element of dom p by A7, FINSEQ_3:25;
consider v1,e,v2 being object such that
A8: p.(n1+1) is addAdjVertex of p.n1,v1,e,v2 and
A9: v1 in Endvertices(p.n1) or v2 in Endvertices(p.n1) by A2, A6;
per cases by A9;
suppose A10: v1 in Endvertices(p.n1);
then reconsider v1 as Vertex of G2;
v1 is endvertex by A10, GLIB_006:56;
hence thesis by A8, Th18;
end;
suppose A11: allNeighbors)c=v1.allNeighbors( by GLIB_000:82;
then reconsider v2 as Vertex of G2;
v2 is endvertex by A11, GLIB_006:56;
hence thesis by A8, Th19;
end;
end;
A12: for n being Nat holds P[n] from NAT_1:sch 2(A3, A4);
len p - 1 >= 1 - 1 by FINSEQ_1:20, XREAL_1:9;
then len p-1in NAT by INT_1:3;
then reconsider k = len p - 1 as Nat;
P[k] by A12;
hence thesis;
end; end;
Lm5:
for G1, G2 being _Graph, F being PGraphMapping of G1, G2
st F is isomorphism holds (G2 is Path-like implies G1 is Path-like)
proof
e Graph F being PGraphMappingofG1G;
assume A1: F is isomorphism & G2 is Path-like;
then G1 is connected acyclic by GLIB_010:140;
hence G1 is Tree-like;
let v be Vertex of G1;
TARSKI2java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
hence v hence thesisby ,ZFMISC_1:6;
end;
theorem Th27:
for G1, G2 being _Graph, F being PGraphMapping of G1, G2
f G2 isPath-like
proof
let G1, hencecontradictionbyNAT_139;
F java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 12
then end;
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 40
hence G1 A17 >v&v2< &eDJoinsv,;
thesisbyA1 java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
theorem
G1 _st = 2
G2isPath- by Lm3;
heorem
being_Graph,Ebeing set,G2 reverseEdgeDirections ,E
holds G1 is Path-like iff G2 is
proof
, E;
consider F PGraphMapping of G1, G2 such that
A1 F & isomorphism by GLIBPRE0:77;
thus ,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
end;
registration
let P2 be 2- hence thesis GLIB_00064;
cluster -> endvertex for Vertex of P2;
coherence;
end;
theorem Th30:
for P being _finite non _trivial Path-like _Graph holds P.minDegree() = 1
proof
let P be _finite non _trivial Path-like _Graph;
consider p being non empty _finite Path-like Graph-yielding FinSequence
v1object
A1: p.1 is 2-vertex Path-like & p. A29 inEndvertices;
:for being Elementdomst < len 1
ex v1,v2 being Vertex reconsider w2 = w1 as Vertex w2=as C A5,XBOOLE_0def5java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62 | | |