Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Impressum graph_4.miz   Interaktion und
PortierbarkeitMizar

 

:: Oriented Simple Chains Included in Oriented Chains
::  by Yatsuka Nakamura and Piotr Rudnicki
::
:: Received August 19, 1998
:: Copyright (c) 1998-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, FINSEQ_1, SUBSET_1 pn k byA26java.lang.StringIndexOutOfBoundsException: Range [55, 53) out of bounds for length 56
                +=vs1by,13java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
      NAT_1,ARYTM_1java.lang.StringIndexOutOfBoundsException: Range [20, 3) out of bounds for length 20
      NUMBER09;
 notations                 . vs2.k by ,,38,:140;
      FINSEQ_2, CARD_1, FINSET_1, ORDINAL1, NUMBERS, XCMPLX_0, java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 16
STRUCT_0GRAPH_1
 constructors RECDEF_1, GRAPH_2, NAT_D, FINSEQ_2, RELSET_1, FINSEQ_6;
R,  ,java.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 78
_, GRAPH_1;
 requirements REAL, NUMERALS, BOOLE, = vs2.k by A34,A35,A39,FINSEQ_6
 definitions;
 equalities FINSEQ_2;
 theorems TARSKI, NAT_1, FINSEQ_1, FINSEQ_2, GRAPH_1, java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 14
      GRFUNC_1, FUNCT_2, nc1+k        in rng F
. p(k)java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
,,;

begin :: Oriented vertex sequences and V-sets

reserve p, q for FinSequence,
  e then qn  v1,v2 byA25,A31,32,36;
  i, j, k, m, n for Nat,
  G        ;
reserve x,y,v,v1,v2      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10

definition
  let G;
  let x, y;
  let e;
  pred e orientedly_joins x, y means

  (the Source of G).e = x & (the Target of G).e = y;
end;

theorem Th1:
ntedly_joins ,v2  e joins
by GRAPH_1:def 12;

definition
  let G;
  let x,y be Element of (the carrier of G);
  pred x,y are_orientedly_incident means
  ex v being setA22:    F. in prd.java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
end;

theorem
  e orientedly_joins v1,v2 & e orientedly_joins v3,v4 implies v1=v3 & v2=v4;

reserve vs, vs1, vs2 for FinSequence of the carrier of G,
c,c1, c2 for orientedChainG

definition
  let G, X;
  func G-SVSet X -> set equals
  { v: ex e being Element of the carrier' of G st e in X &
  v = (the Source of G).e };
  correctness;
end;

definition
  let G, X;
  func G-TVSet X -> set equals
  { v: ex e being Element of the then f*<:F:> in prd.(k+1) by Def20
  v = (the Target of G).e };
  correctness;
end;

theorem
  G-SVSet {} = {} & G-TVSethence f*::>in   , 44: nowper cases  A43FINSEQ_125;
proof
  set X = {};
A1: now
    assume
A2        case
    set    set n+ n  c1;
    x          java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
    then ex v stsetvs1.+1),vs1java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    in X  n1=len by,:;
    hencethen
  end;
  A49:     (+1    lementNAT  gg java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 77
    assume
A3: G-TVSet X<>{};
    set x = the Element of G-TVSet X;
    x in G-TVSet X by  NAT,i being Element NAT stf1inprd$ &  java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
    then ex v st ( v=x)&( ex e being Element of the carrier' of G st e
    in X & v (he Target of G)e);
    hence contradiction;
  end;
  hence thesis by A1;
end;

definition
  let G, vs;
let  beFinSequence;
  pred vs is_oriented_vertex_seq_of c means

  len vs = len c + 1 &
  for n st 1<=n & n<=len c : g is_primitive-recursively_expressed_by, 
end;

theorem Th4:
  vs is_oriented_vertex_seq_of c implies vs is_vertex_seq_of c
proof
  assume
A1: vs java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 17
  then
A2: len vs = len c + 1;
  for n st 1<=n & n<=len c holds c.n joins vs/.n, vs/A27: f2inUPjava.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
  hence thesis by A2,GRAPH_2:def 6;
nd

theorem
  vs is_oriented_vertex_seq_of c implies G-SVSet rng c c= rng vs
proof
  assume
A1: vs is_oriented_vertex_seq_of c;
  then
A2: len vs = len c   considerk2  such
  G-SVSet rng c cjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
proof
    let y be object;
    assume y in G-SVSet rng c;
    then consider v being Element of G such thatconsiderb objects 
java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 12
    Element of carrier     inrng&= the
    Source of G).e;
 beingof java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 18
A6hence , Element st
    consider x being object such that
: domand
A8: e = c.   then .1 =prdk  ;

A9: 1<=x by A7,FINSEQ_3:25;
A10: x<=caseexkNat  k    n1c1 ;
    then
A11 < NAT_1;
    set v1     then g in mprcl(  A25A,A29Bjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 25
    setv2 =/+1java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
A12:15;
    c.x orientedly_joins v1, v2 by A1,A9,A10A:     <=by,25;
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
A13: v = v1 by A6,A8;
    x in dom vs by A9,A11,FINSEQ_3:25;
    hence thesis by A3,A12,A13,FUNCT_1vs2.   java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 42
  end;
   thesis;
end;

A64:c2k v29 byA58A59java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 64
proof
  assume
A1: vs is_oriented_vertex_seq_of c;
  then
A2: len vs = len c +then jsuch
  let y be           <
A66      <java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 23
  then consider .+1 .kproof ,
s
A4: ex eA69          =;
  Target A70          = vs113java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
             .  ,,140java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
: c
A6: v = (the Target of G).e by A4;
   
A7: x in dom c and
   prd =prd. by java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
x asofby A7
A9: 1<=x by A7,FINSEQ_3: . .lenvs1+ A1
A10: x<=len c by A7,    then g in mprcl(k1) byA29,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 53
A11: 1<=x+1 by NAT_1:12;
:;
  set v1 = vs/.x;
               lvs1k  A1
: .+1A2A10,java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 55
 v1   A1,A9,10
  then
A14: v =p.(n+  = p.(+)1
  x+1 in dom vs  & n1   v39Ajava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 22
  hence thesis by A3,A13,A14,FUNCT_1:def 3;
     ofG.(.) v2 by A42;

theoremhence by,;
  c <>{} & java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      hencethesisby A1,CARD_5
proof
  assume that
A1: c <>{} and
A2: vs is_oriented_vertex_seq_of
A3: len vsjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
  &java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 51
  assume y   implies vs is_oriented_vertex_seq_of c
  then consider xjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  in vs
A5: y = vs.x by FUNCT_1: java.lang.StringIndexOutOfBoundsException: Range [36, 33) out of bounds for length 40
  assumejava.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
A6: 1<=x by A4A6 vs1  +java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A7: x<=A33  vs2.k+)v.+ A30A31,:,:7;
    A3,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  thesisby ,A5A9java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A8: x<=len c;
t x   ,:25java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    then
:. rng FUNCT_1
    rng c c= the carrier' of G by :9java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
    then reconsider e = c. IT   java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    set v1 = vs/.x;
  set v2  /.+)
A10: v1 = vs.x by A6,A7, vsst vs java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 44
A2A,;
    then
A11: v1 =java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    x in 
    then e in rng c by FUNCT_1:defletG
y               .
    hence thesis by XBOOLE_0:def 3;
  end;
  suppose
A12: x=len java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    set l = len c;
    0+1=1;
    then
A13: 1<=l by java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 4
Q_3java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    then
A14: c.l in: java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 40
cc' byjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 49
    then reconsidervs  A1;
    set  thesis A2java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 35
    set v2 = vs/.(l+1);
  =vs.+)byA6A12;
    c.l orientedly_joins v1, v2 by
    then
:v2 =(  G.;
    l in dom c by A13,FINSEQ_3:25;
    then e in rng c by FUNCT_1:java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
:>or<lenvs A,java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
hencethesis:def;
  end;
end;

begin :: Cutting and glueing of oriented chains

theorem
  <*v*> is_oriented_vertex_seq_of -n>-  java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 28
by FINSEQ_1:40;

theorem Th9:
  ex vs st vs is_oriented_vertex_seq_of
proof
  now per cases;
    case
A1:   c <>{};
      defpred P[Nat,object] means
            1+  -+ A10,:def2
      ($1<>len c+1 java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 9
:     Seg len+1)xP[xjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
      
        let k be Nat;
        assume k in Seg (len c+1);
        now per cases;
case klen +;
            hence thesis;
          end;
          k>1java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
            hence ;
          end;
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        hence thesis;
      end;
      ex A27: len pp = len c1 + 1 by A25     p2 1;
p.  s1A)
      then consider p such that
: Seg(1 
 kbe Nat st k in len +)holds (l c+ implies.=
the Target of G).(c.len c)) & (k<A: java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 15
A5:   len p= A16  0
      rng p c= (the then len c2 -'1 = len c2 -1 by A30,XREAL_0:def 2;

        let y be object;
        assume y in rng p;
r x being suchthat
A6:     x in dom p and
A7:     y=p.x by FUNCT_1:def 3;
        reconsider kA33 <= A28,java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 31
A8:     1<=k by A3,A6,FINSEQ_1:1;
 A3,,1
        now per cases;
          case k=len c m1=  N12
            then
A10:        y=(the Target of G).(c.len  =(+ )cut  1 c 1cut byA,:
(,)cut  *.0)*by A33,java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 51
then  cin cby 1
            then len c in dom c by FINSEQ_1:def 3;
            then
A11:        
            rng c c= the carrier' A36 = 2 p2-   A35java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 53
henceby A10A,:;
          end;
          case
A12:        k<>len c+1;
            then
A13:        ydeffunc  F(bject)=c1;
            k<len c+1 Function that
            then k<=java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
 kjava.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 49
            then k in dom c by FINSEQ_1:def 3;
            then
A14:        c.k in rng c by FUNCT_1:def     
            objectjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
            thesis A13A,5;
          end;
        end;   Nat java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 42
        hence thesis;
      end;
then reconsider vsA40: 1<= &kk=n1 orm<=kk&kk=lenc;
      for n st 1<A41  <kkby ;
      proof
        let n;
        assume that

A16:    n<=len c;
        per cases;
        
A17:      n=len c;
          then
A18:      n<len c+1 by    asjava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 64
          java.lang.StringIndexOutOfBoundsException: Range [22, 14) out of bounds for length 22
      
A19:      p.n=(the   fc
          1<n+1 by A15,then consider x, y being object such that
(len c +1 A17:java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
then
A20:      p.(n+1)    .A42,:
A21
          1<n+    
          then (the Target of G).(c.n) = vsA4:  java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 16
           thesis by A21;

        suppose n<>len c;
          then
then
          then n+1<   domNAT & =}by,def3
      = kk A38A44,;
A23:      n+1<len c+1 by NAT_1:13;
A24:      n<len c+1 by A16,NAT_1:13;
          then n in Seg (    then reconsider fc as Su
          java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
A25      p.( Source  G).(c.n) by A4A24java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
          1<n+1 by A15,NAT_1:13;
          then n+1 in Seg (len c +1) by A23,FINSEQ_1 fvsjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 25
          then
A26:      p.(n+1)=(the Source of G).(c.(n+1) domfvsc  java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
A27:      (a  domfvs
          1<n+1 by A15,NAT_1      consider 
          then vs/.(n+1)=p.(n+1)  <kk&= orm+=k  =vs
 t  Gn  .n1 A15A, 15
          hence thesis by A27;
        end;

      then vs is_oriented_vertex_seq_of  = vsjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 39
      hence thesis;
    end;
    case
A28:  c ={};
      set xend;
      set vs=<*x*>;
      len c =0 by A28;
      then
   
      for    suppos
      by A28;then ,y 
      then vs is_oriented_vertex_seq_of:[,y=pdef;
       thesis;
    end;
  end;
   thesis;
end;

theorem Th10:
  c <> {} & vs1 is_oriented_vertex_seq_of c & vs2 is_oriented_vertex_seq_of  java.lang.StringIndexOutOfBoundsException: Range [24, 6) out of bounds for length 74
  implies vs1 = vs2

  assume that
A1: c <>{} and
A2: vs1 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 8
 java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
A4: 1<1c1 :;
A5: len vs2 = len c + 1 by A3;
  thenlen java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  
    let n be Nat;
    assume that
 1=
A7:  prd. =X by,    m-m<=len c -m by A20,XREA
A8:     0<len cm+ XREAL_1;
    per cases;
    suppose n<len c +1;
      
A9: n<len  byNAT_1:3;
.  vs1.n n+  A6;
      then
A10:  (the Source of G).(c.n) = vs1/.n;
          DL{ Nat < kk<=n1}java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
      then
A11:  (the Source  
      vs1.n=vs1/.n        object
hence thesis by 
             injava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 23
      then
12:nlenA8,:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      then
A13:  n-1=len c;
        hence DL \  by XBOOLE_0def3;
      then
A15:  n-1=n-'1 by A12,NAT_D:39;
A16:  n-'1=len c by A13,A14,NAT_D:39;
      def;
      c.(n-'1) orientedly_joins vs1/.(n-      suppose x DL;
      then
A17:  (the Target of G).(c.(n-'java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      .n-')orientedly_joinsvs2/(-'1,vs2.((-+) byA3AA;
      then
A18:  (the Target of G).(c.(n-'1)) = vs2/.((n-'1)+1);
vs1.byA6f (T 
      hence thesis by A4,A5,A6,A7,A15,A17,A18,FINSEQ_4:15;

  end;
  by
end;


  let G, c;
  assume
A1: c <>{};
  func oriented-vertex-seq c
  it is_oriented_vertex_seq_of A71: domfc = DL \/ DR by TARSKI:
xistence
  uniqueness by A1,Th10;
end;

theorem
  vs is_oriented_vertex_seq_of c & c1 = c|Seg n & vs1= vs|Seg (n+1)
   c1
proof
  assume
A1: vs is_oriented_vertex_seq_ofhence x in len c by A73,A74:1;
  then
A2: len vs       end;
  assume that
A3:c1 = S  and
A4: vs1= vs|Seg (n+1);
  now
    perassume x in DR;
    suppose
A5:   n<=len c then consider kbeingNatsuchjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
      then
A6:   n    now
A7:   len c1 = n by A3,A5,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 22
A8   len vs1 = +byA4,INSEQ_1:7;
      thus len vs1 = len c1 + 1 by A4,A6,A7,java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 16
      let k  gwhere gis   NAT  f1f2 being
      assume that
A9:   1<=k and
 k= c1
A11:  k<HFuncs being NAT: yc1.byA1
      k in Seg n by         reconsider k = Element of NAT by;
      then
java.lang.StringIndexOutOfBoundsException: Range [30, 3) out of bounds for length 34
A13:  k<=len vs by A2,A11,NAT_1:12;
A14: <n+   then o
      then
A15:  k in Seg (n+1) by A9,FINSEQ_1:1;
A16: =k+ by :;
      k+1<=len c1 +1 by
then
A17:  k+1 in Seg (n+1) by A7,A16,FINSEQ_1:1;
A18:  vs1.k=vs.k by A4,A15,FUNCT_1:49;
A19:  vs1.(k+1)=vs.(k+1) by A4,A17,FUNCT_1:49;
:/.=. byA9,FINSEQ_4:;
A21:  vs/.(k+1)=vs.(k+1) by A2,A11,A16,FINSEQ_4:15,XREAL_1:7;
: vs1.=vs1.kbyA9        java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 64
      vs1/.(k+1)=vs1.(k+1) by A7,A8,A10,A16,FINSEQ_4:15,java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 52
      hence c1.k orientedly_joins vs1/.k,vs1/.(k+1)
      by A1,A9,A11,A12,A18,A19,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 12
    end;
    suppose
A23:  len c <=n;
      thenthen consider ,that
A24:  len vs<=n+1 by A2,XREAL_1:6;
A25A11  in-closure(rd)
      vs1 = vs by A4,A24,FINSEQ_2:20;
      hence len vs1 = len c1 + 1 &
      for k being Nat st 1<=k &A110: k  dom  by A37,,109;
      holds A111: k=SL.k bA85,,107:18;
    end;
  endA:k in dom c1 by A66,,A109,INSEQ_3:5;
hencethesisjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
end;

theorem Th12:
  1INSEQ_6:127java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
proof
  assume that
A1: 1<=m and
:m=n and
A3: n<=len c and
:  mn-java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
  consider vs such that
A5: vs    
A6: len q +m    then
  reconsider qq=q as Chain of G by A1,A2,A3,A4,GRAPH_2:41;
   holds
  (the Source of G).(q.(n+1)) = (the Target of G    
  proof
    let k be Nat;
    assume that
A7: 1<=k and
A8: k<len q;
    1-1<=m-1 by A1,    1-1<=m-1 by A1,XREAL_1 p n;
then consider ,y being object such that
    then reconsider m1=m1as Element java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 33
    reconsider i = A116:  x in dom c2by A115,UNCT_1:;
    set v1 = vs/.i;
set v2 = vs.(+fin {*:F:> where his Element  HFuncs NAT F is
    0+1<=k by A7;
j suchthat
    0<=j and

8,FINSEQ_6:27;
A11: i= m+j by A10;
    i+1= m+(j+1) by A10;
    
A12: c.(i+1)=q.(k+1A120:  indom SR by ,84,INSEQ_3:9;
A13: cA121:   m1+=R.k by A29A,,118,119,FINSEQ_6:;
    1-1<=m-1 by A1,XREAL_1:9;
    then
A14:01m-+ by ,REAL_1:;
    i<=(m-1)+(n-(m-1)) by A6,A8,XREAL_1:6;
    then i<=len c by A3,XXREAL_0:2;
    then c.i 0+1<=k by,FINSEQ_3:25java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    then
A15: (the Target of G).(c.i) = v2;
A16: 1<i+1 by A14,NAT_1:13;
    k+m<n+1 by A6,A8,XREAL_1:6;
   then k+< NAT_113java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
            fc*R)  fc.m1+k) byA121,A123FUNCT_1:java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
    then c(+1)orientedly_joins , /(++)by A5,A16java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
    hence.=y by ,A20,A117,A124A125,FINSEQ_6:def 4;
  end;
       hence p *Sgm)by A115,A123,FUNCT_1:;
  hence thesis;
end;

theorem Th13
  1<=m & m<=n & n<=A126:p in fcSgmDR;
  vs       then consider x,y being object such that
  implies vs1 is_oriented_vertex_seq_of c1
proof
  assume that
A1: 1<=m and
m= and
A3: n<=len c;
  assume
A4: c1 = (m,n)-cut c;
  assume          rng F= .A130: x in dom SR by A12:;
A5: vs is_oriented_vertex_seq_of c and
= (,+) vs;
A7: len vs = len c + 1 by A5;
A8:m<= A2,AT_1:12;
A9: n+1<=len vs by A3,A7,XREAL_1:6;
A10  in  A83,A84,,:;
  len vs1 +m = n+1+1 by A1,A6          h   NAT,F 
  hence
A11: len vs1 = len c1 + 1 by A10;
  k  ;
  assume that
A12: 1<=k and
A13:       
  0+1<=k by A12A12:       =A135:1+SR. AAA133F131java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
  then consider j such that
  0and
A14: j<len c1 and
  0<iand
  set i = m+j;
  A136 i<en c2arity =enFjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
   v2 =/(+);
  m+k<=len c1 +m by A13,XREAL_1      c2.k c(+1i)byjava.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 25
  then
        . fc.SRk) by A131A135,A137,RFUNC_1
A17: 1<=i by A1,NAT_1:12;
 i<=len c by A3,10,A16,XREAL_0:2
  then
A19:           ,A15
  jhence p  c2 A127,,UNCT_1:;
  then
A20 vs1. .i  1A6,    ;
A21: j+1<len vs1 by A11,A14,XREAL_1:6;
  m+j+1 = m+(j+1);
  then
A22:.k)=A138  =*Sgm DR  :
A23: i<=len vs by A7,A18,NAT_1:12;
A24: 1<=i+1 by NAT_1:12;
A25: vs/.i=vs.i by A1,A23,FINSEQ_4:15        end;
A26: vs/.(i+1)=vs.(i+1) by A7,A18,A24,FINSEQ_4:15,XREAL_1:7;
  0+1=1;
  then
A27: 1<=k by  endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A28: k<=len c1 by A14,A15,NAT_1:13;
  then
A29: k<=len vs1    end;
A30: 1<=k+1 by NAT_1:12;
A31: vs1/.k=vs1.k by A27,A29,FINSEQ_4:15;
  vs1/.(k+1)=vs1.(k+1) by A11,A28,A30,FINSEQ_4:15,XREAL_1:7;
  hence thesis by A1,A2,A3,A4,A14,A15,A19,A20,A22,A25,A26,A31,FINSEQ_6:def 4;
end;

theorem Th14:
  vs1 is_oriented_vertex_seq_of c1
  & vs2 is_oriented_vertex_seq_of c2 & vs1.len vs1 = vs2.1
  implies c1^c2 is oriented Chain of G
proof
  assume that
A1: vs1 is_oriented_vertex_seq_of c1 and
A2: vs2 is_oriented_vertex_seq_of c2 and
A3: vs1.len vs1 = vs2.1;
A4: vs1 is_vertex_seq_of c1 by A1,Th4;
A5: vs2 is_vertex_seq_of c2 by A2,Th4;
A6: len vs1 = len c1 + 1 by A1;
A7: len vs2 = len c2 + 1 by A2;
  set q=c1^c2;
  set p=vs1^'vs2;
  thus c1^c2 is oriented Chain of G
  proof
    reconsider cc=c1^c2 as Chain of G by A3,A4,A5,GRAPH_2:43;
    for n st 1 <= n & n < len q holds
    (the Source of G).(q.(n+1)) = (the Target of G).(q.n)
    proof
      let n;
      assume that
A8:   1 <= n and
A9:   n < len q;
A10:  n in dom q by A8,A9,FINSEQ_3:25;
A11:  n+1<=len q by A9,NAT_1:13;
A12:  1<n+1 by A8,NAT_1:13;
      now per cases java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 9
        case
A13:      n in dom c1;
          then
A14:      q.n = c1.n by FINSEQ_1:def 7;
          set v1=vs1/.n;
          set =vs1/(+java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
A15:      1<=n by A13,FINSEQ_3:25;
A16:      n<=len c1 by A13,FINSEQ_3:25;
          then
A17:      c1.n orientedly_joins v1, v2 by A1,A15;
A18:      n<=len vs1 by A6,A16,NAT_1:12;
          n+1<=len c1+ by ,REAL_16;
          then
A19:      n+1<=len vs1 by A1;
A20:      vs1/.n=vs1.n by A15,A18,FINSEQ_4:15;
A21:      vs1/.(n+1)=vs1.(n+1) by A19,FINSEQ_4:15,NAT_1:12;
A22:      p.n = vs1.n by A15,A18,FINSEQ_6:140;
          p.(n+1A18:f  , 1     ni of
          hence ex v1, v2 being Element of G st
          v1 = p.n & v2 = p.(n+1) & q.n java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 44
,A21,A22;
        end;
        case ex k being Nat st k in dom c2 & n=len c1 + k;
          then consider k being Nat          then consider k being Nat ,138FINSEQ_61;
A23:      k in dom c2 and

          
A253143:   :1= and
A26:      1<=
A27:      k<=len c2 by        k<len   A21,144,XREAL_0:;
   1=+ 1;
 ,A27,NAT_112
          set v1 = 
          set v2 = vs2/.(k+1);
A30:vs2.=vs2.kby A26,29,INSEQ_415;
A31:      vs2/.(k+1)=vs2.(k+1) by A7,A27,A28,FINSEQ_4:15,XREAL_1:7;
A32:            then c k being  such that
A33:      A145 =k 
          0+1<=kjava.lang.StringIndexOutOfBoundsException: Range [36, 17) out of bounds for length 36
          then consider j such that
          0<=j and
:     <lenlen vs2 and
A35:      k=j+1 by A33,FINSEQ_6:127;
A36:      p.n = vs2.k proof per cases by A26,XXREAL_0:1;
            suppose
A37:          1=k;
A38:          0+1<=len vs1 by A6,NAT_1:13;
  thus .  p.len vs1)by A1,,
                .= vs2.k byend;
            end;
            supposejava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
              cluster -java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Range [21, 3) out of bounds for length 35
              thus p.n = p.(len c1 A150: l=j 
                .= p.(len A151:m1=  l<=len vs;
                .= vs2.k      <mby :12
            end;
          end;
A40:      k<len vs2 A7A27NAT_1:3;
          p.(n+1) = p.(len c1 +1+k) by      k<m by A4,149,XXREAL_0:2;
            p    assume i PrimRec;
            .= vs2.(k+1) by A26,A40,FINSEQ_6:141    end;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
          &A153:Sgm  )(gm)bya141FINSEQ_3:42
        end;
      end  thesis;
      then consider v1,v2 being Element of G such that
      v1=p.n and
A41:  v2=p.(n+1) and
:  java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 33
A43:  n+1 in dom q by A11,A12,FINSEQ_3:25;
A44:  now per cases by A43,FINSEQ_1:25;
        case
A45:      n+1 in dom c1;
          
A46:      q.(n+1) = c1.(n+1) by FINSEQ_1:java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 8
          set v29=vs1/.(n+1),v3=vs1/.(n+1+1);
A47:      1<=n:domSgmDL = SegSeg n
A48:      n+1<=rng Sgm DL = DL a141,FINSEQ_1: ;
          then
A49:      c1.(n+1) orientedly_joins v29, A162: rng Sgm DL c= dom fvs by A50,A140,XBO;
A50:    rng Sgm DR =DR  ,FINSEQ_1:ef:1;
          ++<lenc1+  A48,REAL_1:;
          then
A51:      n+1+1<=len vs1 by A1;
A52:      vs1/.(n+1)=vs1.(n+1) by A47,A50,FINSEQ_4:15;
51,FINSEQ_4:15,AT_1:12
A54:      p.(n+1) = vs1.(n+1) by A47,A50,FINSEQ_6:140;
          p.(n+1+1) = vs1.(n+1+1) by A51,FINSEQ_6:140,NAT_1:12;
          hence ex v299,v39 being Element of G         then
(n+1)&  p.n++)
          & q.(n+1) orientedly_joins v299, v39 by A46,A49,A52,A53,java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 12
        end indomfvs by ,,,168,169java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
        A173:    domfvs*SL) A50    hence java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
          then  end;
A55:      k in dom c2 and
A56:      (n+1) = len c1 + k;
          reconsider k        then consider i beingNat sucht
A57:      q.        0<=and
A58:      1<=k by A55,A58:      1<=k by A55,FINSEQ_3
A59:      A175:   k=+ by ,,A66,A169FINSEQ_6:127;
A60
61 k<len vs2 byA7A59,:12
          set v29=vs2/.k, v3 = vs2java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A62:      vs2/.k=vs2.k by A58,A61,FINSEQ_4:          =y bylet   ;
A63:      vs2/.(k         p in fvs(gmDL)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 32
A64:      c2.k orientedly_joins      ndjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A65:      k<=len vs2 by A7,A59,NAT_1:12java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 24
 01=k by,INSEQ_3:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
j that
          0<=j and
      j<en vs2and
A67:      k=j+1 by   arity f java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
A68:      p.(n+1) = vs2.k end:fvs*) =.xF12;
            suppose
;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
              thusp(n+ .len vs1)by A1A56,69
                .= vs2.k by A3,A69,A70,FINSEQ_6:140;
            end;
            suppose 1k
              then
A71:          1<=j by A67,NAT_1:13;
               .1  .c1+j A56
                .= p.(len vs1 +j) by A1
                .= vs2.k by A66
            endjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
;
A72:      k<len vs2 by A7,A59,NAT_1:13;
          p.((n+1)    let f be  ;
            .= p.(len vs1+k) by A1
            .= vs2    assume  ;
                then ex ibeing Nat st (0i& <)( =+1)byjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
          v299 = p.(n+1) & v39 = p.((n+1)+1)
          & q.(n+1) orientedly_joins v299, v39 by A57,A62,A63,A64,A68;
        end;
      end;
(  of .qn java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
      hence thesis by A41,A44;
    end;
    then cc is oriented by GRAPH_1:def 15;
    hence thesis;
  end;
end;

theorem Th15:
  vs1 java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 4
  & vs1.len vs1 = vs2.1 & cthen
  impliesvsis_oriented_vertex_seq_of
proof
  assume0+<  ,FINSEQ_3::25;
A1: vs1 is_oriented_vertex_seq_of c1 and
A2_seq_ofand
A3:vs1.len  .;
  assume that
A4:c  c1c2 and
A5: vs = vs1^'vs2;
A6: len vs1 =lenc1 +  by A1;
A7: len vs2 = len c2 + 1 A290:A3:arity g=1 by Def21;
  then
8: vs2 >{;
  A4: a =1 java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25
  set p=vs1^       
  len p +1 = len vs1 +len .= y by A282,A283,FUNCT_1
  then
len +c2+1byA6,java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
    . len   1 byF
java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 50
  now
    let n be Nat;
    assume that
A10: 1<=n and
A11: n<=len q;
    Seqfcc1A224Fdef15;
A13: 1<=n+1 by NAT_1:12;
A14: p/.A291:domfvs c= Seg  java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
A15: p/.(n+1)=p.(n+1) by A9,A11,A13,FINSEQ_4let  beobject;
A16:      assume x domfvs
    per cases by A16,FINSEQ_1:25;
    suppose
A17:  n in dom c1;
      set v1=vs1/.n;
      A292: x=k and
A18:  1<=n by A17,FINSEQ_3:25;
  <len  byA17java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 35
      then
A20A <java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 16
A21  <=len  A6,19NAT_1:12java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
            h thesis by A292,294,FINSEQ_1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
          end;
:n1= A1
:  vs1.n=vs1.n by A18A,:;
A24:  vs1/.(n+1)=vs1.(n+1) by A22,FINSEQ_4:15,NAT_1:12;
25  .n . A18FINSEQ_6
      p.(n+1) = vs1.(n+1) by A22,FINSEQ_6:140,NAT_1 -<lenp2 1by A257,:;
          then len p2 -' = p2 -  XREAL_0:def2;
      by A14,A15,A17,A20,A23,A24 thenreconsiderlp21=len  - as Element ;
    end;
    suppose ex k being Nat stA295:m+p21 =lenc ;
      then consider k being Nat such that
A26:  k in dom c2 and
A27:   len c1+k;
      reconsider k as Element of NAT by. len ;
A28:  q.       nontojava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 73
A29:  1<=k by A26,FINSEQ_3:25;
A30:  A299: r    primrec(f1,f2,2<i,*  *java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
A31:  1<=k+1 by NAT_1:12;
      k<=len vs2 by A7,A30,NAT_1:12;
      then
A32:  vs2/.k=vs2.k by A29,FINSEQ_4:15;
A33     1lentotal-java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 74
A34:  k<=len vs2 by A7,A30,NAT_1:12;
      0:
then suchthat
      0<=j and
A35:   1= by,:;
A36:  k=j+1 by A34,FINSEQ_6:127;
:n=   ,:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
        suppose
      A307m1=. ,A296AA305,FINSEQ_6131java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
A39:      0+1<=len vs1 by A6,NAT_1:13 SR   java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 45
          thus p.n = p.(len vs1) by A1,A27,A38
             k A3,38A39,FINSEQ_6140;
        ;
        0+<=  ,java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 35
          then
A40:      1<=j by A36,NAT_1:13;
           . =p. c1 +1+j) byA27,36
            0= 
            .= vs2.k by A35,A36,A40,FINSEQ_6:141;
        end;
 java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 10
  l   java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 35
      p.(n+ 
        .= p.(len vs1+k) .= y by A4,A217,A254,A311Lm2java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
NSEQ_6:
      hence q.n orientedly_joins p/.n,p/.(n+1) by A2,A14,A15,A28,A29,A30,A32
,A33,A37;
end;
  end;
  hence thesis by A4,A5,A9;
end;

begin :: Oriented simple chains in oriented chainsthen consider ,y being object such that

Lm1: <*v*> is_oriented_vertex_seq_of {}
by:9

definition
  let G;
  let IT be oriented Chain of G;
  attr IT is Simple means
  ::
  ex vs st vs is_oriented_vertex_seq_of IT &
  for n,m st 1=n & n< & <=len & vs.=vs.m holdsn=1&m= vs
end;

registration
  let G;
  cluster Simple for oriented Chain of G;
  existence
  proof set q = the empty oriented Chain of G;
    set x = the Element of G;
    reconsider p =** as   the carrier of ;
A1: p is_oriented_vertex_seq_ofby ,131
    & m<=len p & p.=.m holds n= & m=len p
    proof
      let,;
      assume that
:  1<nand
A3:   n<m and
A4:   m<=len p and p.n = p.m;
      1<m      then
      hence thesis by A4,FINSEQ_1:39;
    end;
    then q sSimple byA1;
    thesis;
  end;
end;

registration
  let G;
  cluster oriented simple for Chain of G;
  existence
  proof set q = the emptyhenceprimrec(f1,2)<0> = f1.Del(,1 by A1A3,Th59
    set x = the Element A322: ilen  and
    reconsider p =<*x*> as FinSequence of the carrier of .= f1+byA320F1;
A1: p is_vertex_seq_of q by Lm1,Th4;
reconsider q9=q as Chain        =fvs.SR.)by ,A321,323,RFUNC_1:2
    for n,m st 1<=n  .=y
    proof
      let       A315A316FUNCT_113;
      assume that
A2:   1<=n and
A3:   n<m and
A4:       end;
      1<m by A2,A3,XXREAL_0:2;
      thesisby ,FINSEQ_139java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    end;
    then q9 is simple by A1,GRAPH_2:def 9;
    hence thesis;
  end;
end;

theorem Th16:
  for q being oriented Chain of G holds q|(A324: n>1 &m= lenvs;
proof
  java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  reconsider q9= q|(Seg n) as FinSequence;
  for i st 1 <= i & i     then 1 1< by :13;
  = (the Target of G).((q|(Seg n)).i)
  proof
    let i;
    assume that
A1for being -rylen- naturals homogeneous NAT*-defined Function,
A2: i < len q9;
    per cases;
    suppose n>=    n <len  byA4A5XXREAL_0:2;
      then q|(Seg n)=q by FINSEQ_3:49;
      hence thesis by A1,A2,GRAPH_1:def 15;A326:n- c +11byA8,:java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    suppose
A3    setpp=(,)java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      then
SEQ_117;
      then
5i q A2java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 34
i SegbyA1A2,,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 40
      then
:(|Segn).=. byFUNCT_1
A7:   i+1<A330:len pp =c1 +1;
      1<+byA1,AT_1:java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      then i+ in Segn  A7,:1;
      then (q|(Seg n)A1:arityf1 =1 by ;
      by ,5,,def;
    end;
  end;
  hence thesis by GRAPH_1:4,def 15;
end;

eserve sc oriented simple Chainof G;

theorem
  sc|(Seg n) is oriented simpleA332: for being  st x indomfc holds.x = F() from :sch 3java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76

theorem Th18:
  for sc9 being oriented Chain of G st sc9=sc holds sc9 is Simple
proof
  let sc9 be oriented Chain of G;
  assume
A1: sc9=sc;
  consider vs such that
A2: vs is_oriented_vertex_seq_of sc9 by Th9;
  vs is_vertex_seq_of sc by A1,A2,Th4;
  , m 1<=n  n<m  m<len vs &vs.=vs.holds n=1 & m=len vs
  by GRAPH_2:47;
  hence thesis by A2;
end;

:
  for sc9 being Simple oriented Chain of G
  holds sc9 is oriented simple Chain of G
proof
  let sc9 be Simple oriented Chain of G;
  consider vs such that
A1:vs is_oriented_vertex_seq_of sc9 and
A2: for n,m st 1<=n & n<m & m<=len vs & vs.n=vs.m holds n=1 & m=len vs by Def7;
java.lang.StringIndexOutOfBoundsException: Range [35, 2) out of bounds for length 36
  hence thesis by A2,GRAPH_2:def 9;
end;

reserve x,y for set;

Lm2: for p be FinSequence, m, n be Nat st 1<=m & m<=n+1 & n<=len p
holds len (m, n)-cut p +m = n+1 &
for i being Nat st i<len (m, n)-cut p
A2: , *,*;
proof
  let p be FinSequence, m, n be Nat such that
A1: 1<=m and
A2: m<=n+1 and
A3: n<=len p;
A4: A341:1<kk 
  per   arity f1  f2A1,

A5: m = n+1;
    then=len c byA11,326,A342,XXREAL_02;
A6: n < m by XREAL_1:      then
A7: not(1<=m & m<=n & n<=len p)A343:x indomc by , (,22.*,j1 = f2(p+*2j)<primrecf,2.p+(,
    (m,        =ckk  A331,,338A339,A340;
    hence   ))*>) by A1,
    thus thesis      hence thesis by A337,A340,A343,FUNCT_1:1;
  end;= f2.*i,,(1f22
  suppose m<=n;
    hence thesis by A1A3F:def 4java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  end;
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 55

theorem Th20:
notcisSimple&  implies
  ex fc being Subset of c,consider fvs suchjava.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
  st len c1 <   f1 is len-total  is-  arity     A345: for x being object st x in domfvs holds fvs.x = F: ;
  vs.1 = vs1.1 & vs.len vs = vs1.len vs1 & Seq fc = c1 & Seq fvs = vs1
proof
  assume   implies pri(,21.*+* = <ip(f1.***
A1: not c is Simple and
A2: vs is_oriented_vertex_seq_of c;
  consider n, m being Nat such       let x be object;
A3: 1<=n and
A4 mand
A5: m<=len vs and
A6: vs.n=vs.m and
A7: n<>1 or m<>len vs by A1,A2;
A8: len vs = len c + 1 by A2;
A9: m-n>n-n by A4,XREAL_1:9;
  reconsider n1 = n-'1 java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 12
A10: 1-1<=n-1 by A3,XREAL_1:9;
  then
A11: n    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A12: n1+1 +1 by A10,REAL_0def java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    .= n;
  per cases by A7;
  suppose
A13: n<>1 & m <> len vs;
then1 < n by A3,XXREAL_01;
    then 1 + 1<=n by NAT_1:13;
    then
A14: 1+1-1<=n-1   reconsider p = <i1*>as  of (arity f1 +)A349  infvs;
    n < len vs by A4,A5,XXREAL_0:     then considerx ybeing object such that
    then
A15: n-1 < len c +1-1 by A8,XREAL_1:9;
A16: 1<=n1+1 by NAT_1:12;
   len   ,,XREAL_01java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    then
A18: m<=len c by A8,NAT_1:13;
A19: p+1)=<i> 95
A20: m<=len c by A8,y  by A3,A4;
    reconsider c1 = (1,n1)-cut c as java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 16
    reconsider c2 = (mA354:<=k and
    set pp = (1,n)-cut vs;
    set  = (,len c+1)-cut vs;
    set p29 = (m+1, len c +1)-cut vs;
    reconsider pp as FinSequence of the carrier of G;
    reconsider p2 as FinSequence of the carrier of G;
A21: n<=len vs by A4,A5,XXREAL_0:2;
A22: 1<=m by java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 10
A23: m<=len cA356 x inin dom vs by A353,354,FINSEQ_3:5java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
A24: len       = vskkby ,A345,A351A352,A353;
A25: pp is_oriented_vertex_seq_of c1 by A2,A12,A14,A15,Th13;
A26: p2 is_oriented_vertex_seq_of c2 by A2,A19,A20,Th13;
A27: len pp = len c1 + 1 by A25;
A28: len p2 = len c2 + 1 by A26;
     A19,REAL_1:9java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    then m-'1 = m-1 by XREAL_0:def    take fvs;
    then reconsider m1 = m-1 as    takec9 = c1;
A29: m = m1 +1;
 len c +1byA19A20FINSEQ_6:def 4
A31: m-m<=len c -m by A18,XREAL_1:9;
    then len c2 -1=len 1byA30,:def 2;
    then reconsider lc21 = len c2 -1 as Element of NAT;
A32: m+lc21 =m1len c2;
    0+1=1;
    then
A33: <=enjava.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 31
A34:p2=(+,len )cut p2 FINSEQ_6133
      .= (0+1, 1)-cut p2 ^ (1+1, len p2)-cut p2 by A33,FINSEQ_6:134;
    m1<=m by A29,NAT_1:12;
    then
A35: p2 =(  > by ,2,35,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    (1,1)-cut p2 = <*p2.(0+1)*> by A33,FINSEQ_6:132
.*(+0*by,A24A28FINSEQ_6:def 
      .= (m,m)-cut vs by A5,A19,FINSEQ_6:132;
    then
A36: p29  (2 len p2)-ut p2 byA34,,FINSEQ_1:33;
    set domfc = {k where k is Nat: 1<=k & k<=n1 or m<=k & k<= len c};
    deffunc = c.$;
    consider fc being Function such that
A37:     thusvs. vs =    thus vs.len vs = p1
A38: for x being object st x in domfc holds fc.x = F(x) from FUNCT_1:sch 3;
    domfc c= Seg len c
    proof
      let x be object;
      assume x in domfc;
      then consider kk being Nat such that
A39  x = kk and
A40:1=kk &kk<n1or m<=k& kk<=len ;
A41:  1<=kk by A19,A40,XXREAL_0thenconsider k being Nat such that
      kk<=len c by A11,A15,A40,XXREAL_0:2;
      hence thesis by A39,A41,FINSEQ_1:1;
    end;
    then reconsider fc as FinSubsequence by A37,FINSEQ_1:def 12;
    A361: k=n1;
    proof
       p be object;
      assume
:p  fc;
      thenconsider x, y being object such that
A43:  [x,y] = p by RELAT_1:def 1;
A44:      end;
A45:  y = fc.x by A42,A43,FUNCT_1:1;
      consider kk being Nat such that
A46:  A2:  ar g =2
A47:  1<=kk & kk<=n1 or m<=kk & kk<= len c by A37,A44;
A48:  1<=kk by A19,A47,XXREAL_0:2;    
      kk<=len c by A11,A15,A47,XXREAL_0:2 set =<*proj1,3proj 3>
      then
A49:  x in dom c by A46,A48,A370:   x in dom SL by A357,A363 x  object;
      y = c.kk        then
      hence thesis by A43,A46,A49,FUNCT_1:1;
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
thenreconsider asSubsetof ;
    take java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    set domfvs = {k where k is Nat: 1<=k & k<=    set domfvs = {k where k is Nat: 1<=k & k<=n
    deffunc F(object        01<k  A366,INSEQ_325;
    consider fvs being Function such that
A50: dom fvs = domfvs and
 st  in domfvs holds fvs. (x  FUNCT_1: 3java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
    domfvs c= Seg len vs

      let x be object;
      assume x in domfvs;
       consider kkbeingNatsuch that
A52:  reby
A53:  1<=kk & kk<=n or m+1<=kk & kk<= len vs;
1=+1  NAT_1:2;
      then
A54:  1<=kk by A7:   rng F =productrngs by         (fc*SL).x = fc.k by A371,A373,FU
      kk<=len vs by A21,A53,XXREAL_0:2;
hence thesis byA52,A54,:;
    end;
then fvsas= byA11,A326,327,357A367,,375Lm2;
    fvs c= vs
    proof
      let p be object;
      assume
A55:  p in fvs;
      then consider x, y being object such that
56:[,]=pbyRELAT_1def1
A57:  x in dom fvs by A55,A56,FUNCT_1:1;
A58:  y = fvs.x by A55,A56,FUNCT_1:1;
      consider kk being Nat such that
A59:  x = kk and
A60:  1<=kk & kk<=n or m+1<=kk & kk<= len vs by A50,A57;
      1<=m+1 by NAT_1:12;
      then
A61:1<kkbyA60,XXREAL_0:2;
      kk<=len vs by A21,A60,XXREAL_0:2;
      then
A62:   in dom vs by ,61FINSEQ_3:;
      y = vs.kk by A50,A51,A57,A58,java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      hence thesis by A56A59,62FUNCT_1:;
    end;
    then reconsider fvs as Subset of vs;
    take fvs;
.1 =vsmby A22,23,FINSEQ_6138;
A64: pp.len pp = vs.n by A3,A21,FINSEQ_6:138;
    A382: kxand
    take c9;
    take p1=pp^'p2;
A65: p1 = pp^p29 by A36,FINSEQ_6:def 5;
A66: len c1 +1 = n1+1A384: k<=n1;
    -(-(m-n)) = m-n;
    then
A67:-(-n)) <0by A9;
    len c9 = (n-1)+(len c -m+1) by A11,A30,A66,FINSEQ_1:22
      . len c+ (+-m )
    hence
A68: A68: len dom  by A357,A383,A384,FINSEQ_3:25java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
   thus p1 is_oriented_vertex_seq_of c9by ,A25,A26,A63,,Th15;
    then len p1 = len c9 + 1;
 p1 <len vs by A8,      hencex in dom gby ,A6,A7;
    1<=1 + len c1 by NAT_1:12;
    then 1<=len pp by A25;
    then p1.1 = pp.1 by FINSEQ_6:140;
hence .1 = p1. by A3,A21FINSEQ_6:138;
A69: p2.len p2 = vs.(len c + 1) by A22,A23,A24,FINSEQ_6:138;
    m-m<=len c - by A20,XREAL_1:9;
    then 0+1<=len c -m+1 by XREAL_1:6;
    then 1<len        pin   ,382A387FUNCT_1:1;
    hence vs.len vs = p1.len p1 by A8,A69,FINSEQ_6:142;
    set DL = {kk where kk is Nat: 1<=kk & kk<=n1};
    set DR = {kk where kk is Nat: m<=kk & kk<= len c};
    now
      let xbe ;
      hereby
        assume x in domfc;
        then ex k being Nat st ( x=k)&( 1<=k & k<=n1 or m<=k
        & k<= len c);
java.lang.StringIndexOutOfBoundsException: Range [17, 8) out of bounds for length 32
        hence x in DL \/ DR by XBOOLE_0:def 3;
      end;
      assume

      per cases by A70,XBOOLE_0:def 3;
    suppose x in DL;
        then ex k being Nat st ( x=k)&( 1<=k)&( k<=n1);
        hence x in domfc;
      end;
      suppose x in DR;
        then ex k being Nat st(x=)( m=& = )
        hence x in domfc;
      end;
    end;
    then
A71: domfc = DL \/ DR by      hence thesis by A388,389FINSEQ_1:1;
A72: DL c= Seg len c & DR c= Seg len c
    proof
      hereby
        let be object
        assume x in DL;
    then considerkbeing Nat such that
A73:    x=k and
A74:    1<=k and
A75:    k<=n1;
        k<=len c by A11,A15,A75,:2;
        
          domfvsjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
      let x be object;
      assume x in DR;
      then consider k being Nat such that
A76:  x=k and
A77:  m<=k and
A78:  k<=len c;
      1<=k by A22,A77,XXREAL_0:2;
hence thesis by A76,A78,:;
    end;
    then reconsider DL as finite set          consider x, being object  that
 DL  included_in_Seg &DR isincluded_in_Seg by A72,INSEQ_1:ef 13;
    reconsider DR as finite set by A72,FINSET_1:1;
    now

      assume i in DL;
thenconsider k being Nat such that
A79:  k=i and 1<=k and
A80:  k=n1;
      assume j in DR;
      then
A81:  ex l A397   1<=k by A395,FINSEQ_3:;
      n1<m by A4,A12,NAT_1:13;
      thenA398   k= ppby ,FINSEQ_3:;
      hence i < j by A79,A81,XXREAL_0:2;
    end;
    then
A82: Sgm (DL \/ DR) = (Sgm DL)^(Sgm DR) by a72,FINSEQ_3:42;
    m+lc21 = len c by A30;
    then
A83: card DR = len c2 + -1 +1 A401:   k in domfvs by A330,A358A398;
 c2;
A84: len Sgm DR = card DR by a72,FINSEQ_3:39;
   DL   by FINSEQ_1:ef 1;
    then
A85: Sgm DL = idseq n1 by         0+1<= k by A395,FINSEQ_3:25;
    then
A86: dom Sgm DL = Seg n1;
    rng Sgm DL = DL by a72,FINSEQ_1:def 14;
    then
Sgm DL=dom fc by,A71,XBOOLE_1:;
    rng Sgm DR = DR by a72,FINSEQ_1:def 14;
    
A88: rng Sgm DR c= dom fc        fvs*Lx=fvs. A400,A402,UNCT_1
    set SL =  .= vs.+) by A344,401,404GRFUNC_1:
    set SR = Sgm DR;
    now
      let p be object;
      hereby
        assume
A89:    p in c1;
        then consider x,y  object such that
A90:    p=[x,y] assume
A91:    x in dom c1 by A89,A90,FUNCT_1A405:p  fvs*(gm domfvs)
   then x, being object such that
        reconsider k = x as Element of NAT by A91;
93:   <k  A91FINSEQ_325java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A94:    k<=len c1 by A91,FINSEQ_3:25;
        then
A95:    x in dom SL by A66,A86,A93,FINSEQ_1:1;
        then
CT_1:18
A97:    k in domfc by A66,A93,A94;
        then
A98:    x in dom (fc*SL) by A37,A95,A96,FUNCT_1:11;
        0+1<=k by A91,FINSEQ_3:25;
        then consider i being Nat  that
        0<=i and
A99:    i<n1 and
A100:   k=i+1 by A66,A94,FINSEQ_6:127;
        (fc*SL).x = fc.k by A96,A98,FUNCT_1:12
          .= c.(1+i) by A37,A97,A100,GRFUNC_1:2
          .= y by A11,A15,A16,A66,A92,A99,A100,Lm2;
        hence p in fc*(Sgm DL) by A90,A98,FUNCT_1:1;
      end;
      assume
A101: p in fc*(Sgm DL);
      then consider x,y being object such that
A102: p=[x,y] by RELAT_1:def 1;
A103: x in dom (fc*SL) by A101,A102,FUNCT_1:1;
A104: y = (fc*SL).x by A101,A102,FUNCT_1:1;
A105: (fc*SL).x = fc.(SL.x) by A103,FUNCT_1:12;
A106: x in dom SL by A103,FUNCT_1:11;
      then x in {kk where kk is Nat: 1<=kk & kk<=n1}
      by A86,FINSEQ_1:def 1;
      then consider k being Nat such that
A107: k=x and
A108: 1<=k and
A109: k<=n1;
A110: k in dom fc by A37,A108,A109;
A111: k=SL.k by A85,A106,A107,FUNCT_1:18;
A112: k in dom c1 by A66,A108,A109,FINSEQ_3:25;
      0+1<=k by A108;
      then ex i being Nat st ( 0<=i)&(A414: kindom fvs by A344,A412,A413;
FINSEQ_6:127;
      then c1.k = c.k by A11,A15,A16,A66,Lm2
        .= y by A104,A105,A107,A110,A111,GRFUNC_1:2;
      hence p in c1 by A102,A107,A112,FUNCT_1:1;
    end;
    then
A113: c1 = fc*(Sgm DL) by TARSKI:2;
    now
      let p be object;
      hereby
               assume
A114:   p in c2;
       then consider x,, y being object such that
A115   p=[x,] by RELAT_1:def 1;
A116:   x in dom c2 by A114,A115,FUNCT_1:1;
A117:   y=        .= yby A408,409,A411,,415GRFUNC_1:2;
        reconsider k = x as Element of NAT by A116;
118   1<kby A116,FINSEQ_3:25;
A119:   k<=len c2 by A116,FINSEQ_3:25;
A120:   x in dom SR by A83,A84,A116,FINSEQ_3:29;
A121:m1+=SRkby ,A30,32A118,A119,INSEQ_6:131;
A122:   SR.k in rng SR by A120,FUNCT_1:def 3;
        thenesisby A344,INSEQ_1:def 15;
A123:   x in dom (fc*SR) by A88,A120,FUNCT_1:11;
        0+1<=k by A116,FINSEQ_3:25;
        then consider i being Nat such that
        0<=i and
A124:   i<len c2 and
A125:   k=+1by ,INSEQ_6:127;
        (fc*SR).x = fc.(m1+k) by A121,A123,FUNCT_1:12
          . c.m+i by A88,A121,,A125,GRFUNC_1:
          .= y by A19,A20,A117,A124,A125,FINSEQ_6:def 4;
        java.lang.StringIndexOutOfBoundsException: Range [51, 13) out of bounds for length 54
      end;
      assume
A126: p in fc*(Sgm DR);
      then consider x,y being object such that
A127: p=[x,y] by RELAT_1:def 1;
A128: x in dom (fc*SR) by A126,A127,FUNCT_1:1;
A129: y = (fc*SR).x by A126,A127,FUNCT_1:1;
A130   g;
A131: SR.x in dom fc by A128,FUNCT_1:11;
      reconsider k=x as Element of NAT by A130;
 by A83,,A130,    then x is Element of 2-tuples_on NAT by;
A133: 1<=k by A130,FINSEQ_3:25;
A134:k=len , d2  of NAT such 
      then
A135: m1+k=SR.k by A29,A30,A32,A133,FINSEQ_6:131;
FINSEQ_3:5;
      then consider i being Nat such that
      0<iand
i< c2 and
A137: k=i  thus  fc  sc  Seq fvs = vsby FINSEQ_3:16;
      c2.k = c.(m1+1+i) by A19,A20,A136,java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 20
        .= fc.(SR.k) by A131,A135,A137,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 16
        .= y by A129,A130,FUNCT_1:13;
      hence p in c2 by A127,A132,FUNCT_1:1;
    end;
    then
A138: c2 = fc*(Sgm DR) by TARSKI:2;
    Seq fc =     PNat] means
    hence Seq fc beingSubsetof ,being Subsetofvs ,vs1
set = {kk  kk Nat 1=&kk<n};
    set DR = {kk where kk is Nat        FA5FUNCT_1def 3java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    now
      let x be object;
hereby
        assume x in domfvs;
    proof
        then x in DLhence
        hence x in DL \/ DR by XBOOLE_0:defA9:<*  ,3proj3>) =3tuples_on NAT by A5,RELAT_1:27;
      end;
      assume
A139: x in DL \/ DR;
     per casesbyA139XBOOLE_0:def 3
      suppose x in DL;
        then ex k being Nat st x=k & 1<=k & k<=n;
        hence x in domfvs;
      end;
      suppose x in DR;
        then ex k being Nat st ( x=k)&( m+1<=k)&( k<=len vs);
        hence x in domfvs;
      end;
    end;
    then
A140: domfvs = DL \/ DR by TARSKI:2;
A141: DL c= Seg  vs& DR c= Seglen vs
    proof
      hereby
        let x be object;
        assumex  ;
        then consider k being Nat such that  reconsider Gashomogeneous *, NAT  A9,ARGREL1:def 21java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
A142:   x=k and
A143:   1<=k and
144   k<=;
        k=lenvs by A21,A144,XXREAL_0:;
        hence x in  lenvs byc fvs being Subset of vs,c1 vs1  such that
      end;
      let x be object;
      assume x in DR;
      then consider  being Nat such that
A145:x=k and
A146: m+1<=k and
A147: k<=len vs;
      :12A9:s1=vs1 and
      then 1<=k by A146,XXREAL_0:2;
      hence thesis by A145,A147,FINSEQ_1:1;
    end;
    java.lang.StringIndexOutOfBoundsException: Range [19, 8) out of bounds for length 51
a141: DL is included_in_SegA10 not c1isimpleby A5;
    reconsider DR as finite set by A141,FINSET_1:1;
    
      let i,j;
      assume i in DL;
        k being Nat  that
A148: k=i and 1<=k and
A149: k=njava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
      assume j in DR;
      then consider l being Nat such that
A16 vs1. vs1=vs2.len vs2 and
A151: m+1<=l and l<=len vs;
      m<=m+1 by NAT_1:12;
      then
A152: m<=l by A151,XXREAL_0:2;
      km by A4,A149,XXREAL_0:2;
      hence i < j by A148,A150,A152,XXREAL_0:2;
     reconsider fc9=c(Sgm domjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    then
A153:Sgm (DL\/DR)= (SgmDL)^( DR)byjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    1<=len p2 by A28,NAT_1:12;
    then 1-1<=len p2 -1 by XREAL_1:9;
java.lang.StringIndexOutOfBoundsException: Range [15, 4) out of bounds for length 49
    then reconsider lp21 = len p2 -1 as Element of NAT;
    lp21 -'1 = lp21 -1    reconsider fvs9=fvs|rng((Sgm fvs|dom fvs1)asSubset of vs
    then reconsider lp22 = lp21 -1 as Element of NAT;
A154: m+1+ byFINSEQ_6:153;
      .= len c +1;
    then
A155: card DR = lp22 + 1 by A8,FINSEQ_6:130
      .= lp21;
A156:    now
A157: m+1<=len c +1+1 by A23,XREAL_1:6;
A158: len p2 +      assume c2  Simple oriented Chain of;
      .= len p29 +(m+1) by A24,A156,A157,Lm2
      .= (len p29+1)+m;
A159: len Sgm DR = card DR by a141,FINSEQ_3:39;
    DL = Seg n by FINSEQ_1:def 1;
    then
A160: Sgm DL =idseq n by FINSEQ_3:48;
    then
A161: dom Sgm DL = Seg n;
    rng Sgm DL = DL by a141,FINSEQ_1:def 14;
    then
A162: rng Sgm DL c= dom    hence thesis A5AA10,11,A13,A,,,20;
    rng Sgm DR = DR by a141,FINSEQ_1:def 14;
    hen
A163: rng Sgm DR c= dom fvs by A50,A140,XBOOLE_1:7;
    set SL = Sgm DL;
    set SR = Sgm DR;
    now
      let p be object;
hereby
        assume
A164:   p = (1,)->1  assume
        then consider x, y being object such that
A165:   p=[x,y] by RELAT_1:def 1;
A165,FUNCT_11
A167:   y=pp.x by A164,A165,FUNCT_1:1;
        reconsider k = x as Element of NAT by A166;
A168:  <= by A166,INSEQ_3:;
A169:   k<=len pp by A166,FINSEQ_3:25;
           then
A170:   x in dom SL by A11,A27,A66,A161,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 21
        then
A171:   k=SL.k by A160,FUNCT_1:18;
A172:   k in domfvs by A11,A27,A66,A168,A169;
        then
A173:   x in dom (fvs*SL) by A50,A170,A171,FUNCT_1:11;
        01<k by A166,INSEQ_3:25;
        then consider i being Nat such that
        0<=i and
A174:   i<n and
A175:   k=i+1 by A11,A27,A66,A169,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 11
        (fvs*SL).x = fvs.k by A171,A173,FUNCT_1:12
          .= vs.(1+i) by A50,A172,A175,GRFUNC_1 .=(3-tuples_on NAT)\(-tuples_on NAT) by Th35
          .= y by A3,A11,A21,A27,A66,A167,A174,A175,FINSEQ_6:def 4;
        hence p in fvs*Sgm DL) by ,A173,FUNCT_1:1;
      end;
      ssume
A176: p in fvs*(Sgm DL);
      then consider x,y being object such that
A177: p=[x,y] by RELAT_1:def 1;
A178: x in dom (fvs*SL) by A176,A177,FUNCT_1:1;
A179: y = (fvs*SL).x by A176,A177,FUNCT_1:1;
A180: (fvs*SL).x = fvs.(SL.x) by A178,FUNCT_1:12;
A181: x in dom SL by A178,FUNCT_1:11;
      then x in {kk where kk is Nat: 1<=kk & kk<=n}
      by A161,FINSEQ_1:def 1;
      then consider k being Nat such that
A182: k=x and
A183: 1<=k and
A184: k<=n;
A185: k A185then om qc= Seglen  p  FINSEQ_1:def 3;
A186: k=SL.k by A160,A181,A182,FUNCT_1:18;
A187: k in dom pp by A11,A27,A66,A183,A184,FINSEQ_3:25;
      0+1<=k by A183;
      then ex i being Nat st ( 0<=i)&( i<    then len<=enpby FINSEQ_1:5;
FINSEQ_6:127;
      thenppk=vsk  A3,,A21A27,A66,FINSEQ_6:def 4
        .= y by A179,A180,A182,A185,A186,GRFUNC_1:2;
      hence p in pp by A177,A182,A187,FUNCT_1:1;
    end;
    then
A188: pp = fvs*(Sgm DL) by TARSKI:2;
A189: m+1+lp22 = m+lp21;
A190: 1=m+ by NAT_1:12;
A191: m+1<=len c +1+1 by A5,A8,XREAL_1:7;
    now
      let p be object;
      hereby
        assume
A192:   p in p29;
        then consider xtheorem Th23:
A193:   p=[x,y] by RELAT_1:def 1;
A194:   x in dom p29 by A192,A193,FUNCT_1:1;
A195:   y=p29. yA192,A193,FUNCT_1:1;
        reconsider k = x as Element of NAT by A194;
A196:   1<=k by  then  m n such that
A1:1=m and
A198:   x in dom SR T* by A2,A1;
A199:   m+k=SR.k by A8,A154,A158,A189,A196,A197,FINSEQ_6:131;
A200:   SR.k in rng SR by A198,FUNCT_1:def 3;
        then
A201   xjava.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 50
        0+1<=k by A194,FINSEQ_3:25;
         vs is_oriented_vertex_seq_ofand
        0<=i and
A202:   i<len p29 and
A203:   k=i+1 by A197,FINSEQ_6:127;
        (fvs*SR).x = fvs.(end;
         . vs.m+i by A163,A199,A200,A203,GRFUNC_1:2
          .= y           .= y by
        hence p in fvs*(Sgm DR) by A193,A201,FUNCT_1:1;
      end;
      assume
A204:pin fvs*Sgm );
      then consider x,y being object such that
A205: p=[x,y] by A12 n1=len vs by A3,7,XREAL_1:6;
A206: x in dom (fvs*SR) by A204,A205,FUNCT_1:1;
A207:*SR).byA204A205,FUNCT_1:1;
A208: x in dom SR by A206,FUNCT_1:11;
A209:  set  = vs/.;
      reconsider k=x as Element of NAT by A208;
A210: k in dom p29 by A155,A158,A159,A208,FINSEQ_3:29;
A211: 1=k by A208,FINSEQ_3:25;
A212: k<=len p29 by A155,A158,A159,A208,FINSEQ_3:25;
      then
213:mkSRkbyA8,A154,A158,A189,A211,FINSEQ_6:131;
      0+1<=k by A208,FINSEQ_3:25;
      then     suchthat
      0<=i and
A214: i<len p29 and
A215: k=i+1 by A212,FINSEQ_6:127;
      p29.k = vs.(m+1+i) by A8,A190,A191,A214,A215,Lm2
        .=fvs.SRk by A209,A213,215GRFUNC_1:java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
        .= y by A207,A208,FUNCT_1:13;
      hence p in p29 by A205,A210,FUNCT_1:1;
    end;
    then
A216: p29 = fvs*(Sgm DR) by TARSKI:2;
    Seq fvs = fvs*((Sgm DL)^(Sgm DR)) by A50,A140,A153,FINSEQ_1:def 15;
    hence thesis A15:sc. orientedly_joins v19,v29  A3A5,;
  end;
  suppose
A217 n= &m<>len vs;
    then
A218: m < len vs by A5,XXREAL_0:1;
    then
219:m=len c by A8,AT_1:13;
A220: 1 < m by A3,A4,XXREAL_0:A19: + by A11,12XXREAL_0:2;
A221: 1<=m by A3,A4,XXREAL_0:2;
A222: m<=len c by A8,A218,NAT_1:13;
reconsider c2 = (m,len c)-cut c as oriented Chain of G by A219,A220,Th12;
     p2 = (,en+1-cut vs;
A223: p2 is_oriented_vertex_seq_of c2 by A2,A219,A220,Th13;
   wherekis at m= &k<  c}
     m= byA,,6,10,A16A20,A22;
    consider fc being Function such that
A224: dom fc = domfc and
A225: for x  objectst xindomfc holds fc. =Fx from FUNCT_1sch 3;
    domfc c= Seg len c
    proof
      let x be object;
      assume x in domfc;
      then consider kk being Nat such that
A226:x =kkand
A227: m<=kk and
A228:kk= len c;
      1<=kk by A220,A227,XXREAL_0:2;
      ence thesis by A226,A228,FINSEQ_1:1;
    end;
    then reconsider fc as FinSubsequence by A224,FINSEQ_1:def 12;
    fc c= c
    proof
      let p be object;
      assume
A229: p in fc;
      then consider x, y being object such that
A230: [x,y]  pbyRELAT_1:def 1;
A231: x in dom fc by A229,A230,FUNCT_1:1;
A232: y = fc.x by A229,A230,FUNCT_1:1;
      consider kk being Nat such that
A233: x = kk and
A234: m<=kk and
A235: kk<= len c by A224,A231;
      1<=kk by A220,A234,XXREAL_0:2;
      then
:x indomcby ,235,FINSEQ_3:;
      y = c.kk by A224,A225,A231,A232,A233;
      hence thesis by A230,A233,A236,FUNCT_1:1;
    end;
    then reconsider fc as Subset of c;
    take fc;
    set domfvs = {k where k is Nat: m<=k & k<= len vs};
    deffunc F(object) =
    consider fvs being Function such that
A237: dom fvs = domfvs and
A238: for x being object st x java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    domfvs c= Seg len vs
    proof
      let x be object;
      assume x in domfvs;
      then consider kk being Nat such that
A239: x = kk and
A240: m<=kk and
A241: kk<= len vs;
      1<=kk by A220,A240,XXREAL_0:2;
      hence thesis by A239,A241  coherence
    end;
    then reconsider fvs as FinSubsequence by A237,FINSEQ_1:def 12;
    fvs c= vs
    proof
      let p be object;
      assume
A242: p in fvs;
      then consider x, y being object such that
A243: [x,y] = p by RELAT_1:def 1;
A244: x in dom fvs by A242,A243,FUNCT_1:1;
A245: y = fvs.x by A242,A243,FUNCT_1:1;
      consider kk being Nat such that
A246: x = kk and
A247: m<=kk and
A248: kk<= len vs by A237,A244;
      1<=kk by A220,A247,XXREAL_0:2;
      then
A249: x in dom vs by A246,A248,FINSEQ_3:25;
      y = vs.kk by A237,A238,A244,A245,A246;
      hence thesis by A243,A246,A249,FUNCT_1:1;
    end;
    then reconsider fvs as Subset of vs;
    take fvs;
    take c1 = c2;
    take p1 = p2;
A250: len c2 +m = len c +1 by A4,A5,A8,A217,Lm2;
A251: m-m<=len c -m by A219,XREAL_1:9;
    1-1<=m-1 by A220,XREAL_1:9;
    then m-'1 = m-1 by XREAL_0:def 2;
    then reconsider m1 = m-1 as Element of NAT;
A252: m =m1 +1;
    len c2 -'1 = len c2 -1 by A250,A251,XREAL_0:def 2;
    then reconsider lc21 = len c2 -1 as Element of NAT;
A253: m+lc21 = m1+len c2;
A254: m<=len c +1+1 by A5,A8,NAT_1:12;
A255: len c 1<lenvs byA2;
    then
A256: len p2 +m = len c +1 +1 by A4,A217,A254,Lm2;
    then len p2 = len c -m +1+1;
    then
en p2 by A250,NAT_1:12;
A258: len c2 = len c +(-m+1) by A250;
    1-1 < m-1 by A220,XREAL_1:9;
    then 0 < -(-(m-1));
    then -(m-1) < 0;
    hence
A259: len c1 < len c by A258,XREAL_1:30;
    thus p1 is_oriented_vertex_seq_of c1 by A2,A221,A222,Th13;
    len p1 = len c1 + 1 by A223;
    hence len p1 < len vs by A8,A259,XREAL_1:6;
    thus vs.1 = p1.1 by A4,A5,A6,A8,A217,FINSEQ_6:138;
    thus vs.len vs = p1.len p1 by A4,A5,A8,A217,FINSEQ_6:138;
A260: domfc c= Seg len c
    proof
      let x be object;
      assume x in domfc;
      then consider k being Nat such that
A261: x=k  defined  holds(1,2)-(,?2 f)<*,j,k* =f.*i,k>
A262: m<=k and
A263: k<=len c;
      1<=k by A220,A262,XXREAL_0:2;
      hence thesis by A261,A263,FINSEQ_1:1;
    end;
    then reconsider domfc as finite set by FINSET_1:1;
a260: domfc is included_in_Seg by A260,FINSEQ_1:def 13;
    len c2 -'1 = len c2 -1 by A250,A251,XREAL_0:def 2;
    then reconsider lc21 = len c2 -1 as Element of NAT;
    m+lc21 = len c by A250;
    then
A264: card domfc = len c2 + -1 +1 by FINSEQ_6:130
      .= len c2;
A265: len Sgm domfc =j1= j,k1 =kas Element of NAT by ORDINAL1:def12java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
A266 rng domfc =dom byA224,FINSEQ_1:def 14;
    set SR = Sgm domfc;
    now
      let p be object;
      hereby
        assume
A267:  p in c2;
        then consider x, y being object such that
A268:   p=[x,y] by RELAT_1:def 1;
A269:   x in dom c2 by A267,A268,FUNCT_1:1;
A270:   y=c2.x by A267,A268,FUNCT_1:1;
        reconsider k = x as Element of NAT by A269;
A271:   1<=k by A269,FINSEQ_3:25;
A272   k<lenc2 by ,FINSEQ_3:25;
A273:   x in dom SR by A264,A265,A269,FINSEQ_3:29;
A274:   m1+k=SR.k by A250,A252,A253,A271,A272,FINSEQ_6:131;
A275:   SR.k in rng SR by A273,FUNCT_1:def 3;
        then
A276:   x in dom (fc*SR) by A266,A273,FUNCT_1hence (1,)-(,?2f.<ij*>=f(:<3proj ,3proj 3*>:>.ijk) by
        0+1<=k by A269,FINSEQ_3:25;
        then consider i being Nat such that
        0<=i and
A277:   i<len c2 and
A278:   k=i+1 by A272,FINSEQ_6:127 .= f.<(3 proj ).jk (3proj 3.ijk* by A2,3FINSEQ_3:
        (fc*SR).x = fc.(m1+k) by A274,A276,FUNCT_1:12
java.lang.StringIndexOutOfBoundsException: Range [23, 10) out of bounds for length 54
          .= y by A4,A5,A8,A217,A270,A277,A278,Lm2;
        hence p     . f.<. 3>by 
      end;
      assume
A279: p in fc*(java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 4
      then consider x,y being object such that
A280: p=[x,y] by RELAT_1:def 1;
A281: x in dom (fc*SR) by A279,A280,FUNCT_1:1;
A282: y = (fc*SR).x by A279,A280,FUNCT_1:1;
A283: x in dom SR by A281,FUNCT_1:11;
A284: SRxin  fcbyA281,FUNCT_1:11;
      reconsider k=x as Element of NAT by A283;
A285: k in dom c2 by A264,A265,A283,FINSEQ_3:29;
A286: 1<=kby ,FINSEQ_3:25;
A287: k<=len c2 by A264,A265,A283,FINSEQ_3:25;
      then
A288: m1+k=SR.k by A250,A252,A253,A286,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      0+1<=k by A283,FINSEQ_3:25;
      then consider i being Nat such that
      0<=i and
A289: i<len c2 and
A290: k=i+1 by A287,INSEQ_6:127;
      c2.k = c.(m1+1+i) by A4,A5,A8,A217,A289,A290,Lm2
        .k) by A284,A288,A290,
        .= y by A282,A283,FUNCT_1:13;
      hence p in c2 by A280,A285,FUNCT_1:1;
    ;
    then c2 = fc*(Sgm domfc) by TARSKI:2;
    hence Seq fc    ,: 15;
A291: domfvs c= Seg len vs
    proof
      let x be object;
      assume x in domfvs;
      then consider k being Nat such that
A292: x=k and
A293: m<=k and
A294: k<=len vs;
      1<=k by A220,A293,XXREAL_0:2;
      hence thesis by A292,A294,FINSEQ_1:1;
    end;
    then reconsider domfvs as finite set by FINSET_1:1;
a291: domfvs is included_in_Seg by A291,FINSEQ_1:def 13;
    1-1<=len p2 -1 by A257,XREAL_1:9;
XREAL_0:def 2;
    then reconsider lp21 = len p2 -1 as Element of NAT;
A295: m+lp21 = len c+1 by A256;
A296: m+lp21 = m1+len p2;
A297: card domfvs =lenp2 +- + by A8,295,FINSEQ_6:130
      .= len p2;
A298: len Sgm domfvs = card domfvs by a291,FINSEQ_3:39;
A299: rng Sgm domfvs c= dom fvs by A237,FINSEQ_1:def 14;
    set SR = Sgm domfvs;
    now
 let  be;
      hereby
        assume
    g is nonempty;
        then consider x, y being object such that
A301:   p=[    take 3, NAT;
A302:   x in dom p2 by A300,A301,FUNCT_1:1;
A303:   y=p2.x by     =3proj 1 r f =  proj 3 by A3,TARSKI:def 2;
        reconsider k = x as Element of NAT by A302;
A304:    hencedom f c=3tuples_onNATby Th35;
A305:   k<=len p2 by A302,FINSEQ_3:25;
   x indom  by ,A298,A302,FINSEQ_3:;
A307:   m1+k=SR.k by A8,A252,A256,A296,A304,A305,FINSEQ_6:131;
A308:   SR.k in rng SR by A306,FUNCT_1:def 3;
        then
A309:   x in dom (fvs*SR) by A299,A306,FUNCT_1:11;
        0+1<=k by A302,FINSEQ_3:25;
        then consider i being Nat such that
        0<=i and

A311:   k=i+1 by A305,FINSEQ_6:127;
        (fvs*SR).x = fvs.(m1+k) by A307,A309,FUNCT_1:12
          .= vs.(m+i) by A299,A307,A308,A311,GRFUNC_1:2
          .= y by A4,A217,A254,A255,A303,A310,A311,Lm2;
        hence p in fvs*(Sgm domfvs) by A301,A309,FUNCT_1:1;
      end;
      assume
A312: p in fvs*(Sgm domfvs);
      then consider x,y being object such that
A313: p=A6: arity g = len F by :4java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
A314: x in dom (fvs*SR) by A312,A313,FUNCT_1:1;
A315: y = (fvs*SR).x by A312,A313,FUNCT_1:1;
A316:xindom SR by A314,FUNCT_1:11;
A317: SR.x in dom fvs by A314,FUNCT_1:11;
      reconsider k=x as Element of NAT by A316;
A318: k in dom p2 by A297,A298,A316,FINSEQ_3:29;
A319: 1<=k by A316,FINSEQ_3:25;
A320: k<=len p2 by A297,A298,A316,FINSEQ_3:25;
      then
A321: m1+k=SR.k by A8,A252,A256,A296,A319,FINSEQ_6:131;
      0+1<=k by A316,FINSEQ_3:25;
      then consider i being Nat such that
      0<=i and
A322: i<len p2 and
:k=+ by A320,INSEQ_6:127;
      p2.k = vs.(m1+1+i) by A4,A217,A254,A255,A322,A323,Lm2
        .= fvs.(SR.k) by A317,A321,A323,GRFUNC_1:2
        .= y
      by A315,A316,FUNCT_1:13;
      hence p in p2 by A313,A318,FUNCT_1:1;
    end;
    then p2 = fvs*(Sgm domfvs) by TARSKI:2;
    hence thesis by A237,FINSEQ_1:def 15;
  end;
  suppose
A324: n<>1 & m = len vs;
    then 1 < n by A3,  reconsider ijasElementof NAT byORDINAL1:12;
    then 1 + 1<=n by NAT_1:13;
    then
A325: 1+1-1<=n-1 by XREAL_1:9;
    n < len vs by A4,A5,XXREAL_0:2;
    then
A326: n-1 < len c +1-1 by A8,XREAL_1:9;
A327: 1<=n1+1 by NAT_1:12;
    reconsider c1 = (1,n1)-cut c as oriented Chain of G by A11,A325,A326,Th12;
    set pp = (1,n)-cut vs;
A328: n<=len vs by A4,A5,XXREAL_0:2;
A329: pp is_oriented_vertex_seq_of c1 by A2,A12,A325,A326,Th13A   reconsider jj= as Element ofNAT by ORDINAL1:ef ;
    then
A330: len pp = len c1 + 1;
     domfc { where k  Nat:1<k &k<=n1};
    deffunc F(object) = c.$1;
    considerassume p[j];
A331: dom fc = domfc and
A332: for x being object st x in domfc holds fc.x = F(x) from FUNCT_1:sch 3;
    domfc c= Seg len c
    proof
      let x be object;
      assume x in domfc;
      then consider kk being Nat such that
A333: x = kk and
A334: 1<=kk and
A335: kk<=n1;
      kk<=len c by A11,A326,A335,XXREAL_0:2;
      hence thesis by A333,hence pj+;
    end;
    then reconsider fc as FinSubsequence by A331,FINSEQ_1:def 12;
    fc c= c
    proof
      let p be object;
      assume
A336: p in fc;
      then consider x, y being object such that
A337: [x,y] = p by RELAT_1:def 1;
A338: x in dom byAFUNCT_1:;
A339: y = fc.x by A336,A337,FUNCT_1:1;
      consider kk being Nat such that
A340: x = kk and
A341: 1<=kk and
A342: kk<=n1 by A331,A338;
      <len c by A11,A326,A342,XREAL_0:2;
      then
A343: x in dom c by A340,A341,FINSEQ_3:25;
      y = c.kk by A331,A332,A338,A339,A340;
      hence thesis by A337,A340,A343,FUNCT_1:1;
    end;
    then reconsider fc as Subset of c;
    take fc;
    set domfvs = { k where k is Nat : 1 <= k & k <= n};
    deffunc F(object) = vs.$1;
    consider fvs being Function such that
A344 dom fvs = domfvs and
A345: for x being object st x in domfvs holds fvs.x = F(x) from FUNCT_1:sch 3;
domfvs c= vs
    proof
      let x be object;
      assume x in domfvs;
      then consider kk being Nat such that
A346: x = kk and
A347: 1<=kk and
A348: kk<=n;
      kk<=len vs by A328,A348,XXREAL_0:2;
      hence thesis by A346,A347,FINSEQ_1:1;
    end;
   reconsiderfvsasFinSubsequence A344,FINSEQ_1def12;
    fvs c= vs
    proof
      let p be object;
      assume
A349: p in fvs;
      then consider x,  reconsider i1=i as Element of NAT by ORDINAL1:def 12;
A350: [x,y] = p by RELAT_1:def 1;
A351: x in dom fvs by A349,A350,FUNCT_1:1;
A352: y = fvs.x by A349,A350,FUNCT_1:1;
        defpred p[Natmeans  [*.*i,$1>=i*1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
A353:A1:now
A354: 1<=kk and
A355: kk<=n by A344,A351;
      kk<=len vs by A328,A355,XXREAL_0:2;
      then
A356: x in dom vs by A353,A354,FINSEQ_3:25;
      y = vs.kk by A344,A345,A351,A352,A353;
      hence thesis by A350,A353,A356,FUNCT_1:1;
    end;
    then reconsider fvs as Subset of vs;
    take fvs    assume p[];
    take c9 = c1;
    take p1 = pp;
A357: len c1+1=n1+1 by A11,A326,A327,Lm2;
    then
A358: len c1 = n - 1 by A10,XREAL_0:def 2;
    thus
    len c9 < len c by A10,A326,A357,XREAL_0:def 2;
    thus p1 java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 33
    len p1 = len c1 + 1 by A329;
    hence len p1 < len vs by A4,A5,A358,XXREAL_0:2;
    thus vs.1 = p1.1 by A3,A328,FINSEQ_6:138;
    thus vs.envs =p1.p1 ,,,324,:java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
    domfc c= Seg len c
    proof
      let x be object;
      assume x in domfc;
      then consider k being Nat such that
A359: x=k and
A360     [1;
A361: k<=n1;
      k<=len c by A11,A326,A361,XXREAL_0:2;
      hence thesis by A359,A360,FINSEQ_1:1;
    end;
    then reconsider domfc as finite set by FINSET_1:1;
    domfc = Seg n1 by FINSEQ_1:def 1;
    then
A362: Sgm domfc = idseq n1 by FINSEQ_3:48;
      [].*,*>=( const )ii by 
A363: dom Sgm domfc = Seg n1;
    set SL = Sgm java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 11
    now
      let p be object;
      hereby
        assume
A364:   p in c1;
       then consider x,ybeing object such that
A365:   p=[x,y] by RELAT_1:def 1;
A366:   x in dom c1 by A364,A365,FUNCT_1:1;
A367:   y=c1.x by A365,FUNCT_1:1;
        reconsider k = x as Element of NAT by A366;
A368:   1<=k by A366,FINSEQ_3:25;
A369:   k<=len c1 by A366,FINSEQ_3:25;
        then
A370:   x in dom SL by A357,A363,A368,FINSEQ_1:1;
        then
A371:   k=SL.k A371:   k=SL.k by
A372:   k in domfc by A357,A368,A369;
        then
A373:   x in dom (fc*SL) by A331,A370,A371,FUNCT_1:11;
        0+1<=k by ,hbe- -recursivehomogeneous Function;
        then consider i being Nat such that
        0<=i and
A374:   i<n1 and
A375:   k=i+1 by A357,A369,FINSEQ_6:127;
        (fc*SL).x = fc.k by A371,A373,FUNCT_1:12
          .= c.(1+i) by A331,A372,A375,GRFUNC_1:2
          .= y by A11,A326,A327,A357,A367,A374,A375,Lm2;
        hence p in fc*(Sgm domfc) by A365,A373,FUNCT_1:1;
       reconsider g, h as Element of PrimRec by Def16;
      assume
A376: p in fc*(Sgm domfc);
      then consider x,y being object such that
A377: p=[x,y] by RELAT_1:def 1;
A378: x in dom (fc*SL) by A376,A377,FUNCT_1:1;
A379: y = (fc*SL).x by A376,A377,FUNCT_1:1;
A380: (fc*SL).x = fc.(SL.x) by A378,FUNCT_1:12;
A381: x in dom SL by A378,FUNCT_1:11;
      then x in {kk where kk is Nat: 1<=kk & kk<=n1}
      by A363,FINSEQ_1:def 1;
      then consider k being Nat such that
A382: k=x and
A383: 1<=k and
A384: k< in rng*gh*;
A385: k in dom fc by A331,A383,A384;
A386: k=SL.k by A362,A381,A382,FUNCT_1:18;
:kin dom c1 ,A384,FINSEQ_3:25;
      0+1<=k by A383;
      then ex i being Nat st ( 0<=i)&( i<n1)&( k=i+1) by A384,
FINSEQ_6:127;
      then c1.k = c.k by A11,A326,A327,A357,Lm2
        .= A5   arity f1=2by Def21;
      hence p in c1 by A377,A382,A387,FUNCT_1:1;
    end;
thenc1 = fc*Sgm domfc)by 2java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    hence Seq fc = c9 by A331,FINSEQ_1:def 15;
    domfvs c= Seg len vs
    proof
      let x be object;
      assume x in domfvs;
      then consider k being Nat such that
A388: x=k and
A389 1=k and
A390: k<=n;
      k<=len vs by A328,A390,XXREAL_0:2;
      hence thesis by A388,A389,    hence thesis by A2,Th29,XBOOLE_1:1
    end;
    then reconsider domfvs as finite set by FINSET_1:1;
    domfvs = Seg n by FINSEQ_1:def 1;
    then
A391: Sgm domfvs = idseq n by FINSEQ_3:48;
    then
A392: dom Sgm domfvs = Seg n;
    set SL = Sgm domfvs;registration
    now
      let p be object;
      hereby
        assume
A393:   p in pp;
ider,y o suchthat
A394:   p=[x,y] by RELAT_1:def 1;
A395:   x in dom pp by A393,A394,FUNCT_1:1;
A396:   y=pp.x by A393,A394,FUNCT_1:1;
        reconsider k = x as Element of NAT by A395; proof
A397:   1<=k by A395,FINSEQ_3:25;
:k<len pp by A395,FINSEQ_3:25;
        then
A399:   x in dom SL by A330,A358,A392,A397,FINSEQ_1:1;
        then
A400:   k=SL.k by A391,FUNCT_1:18;
A401:   k in domfvs by A330,A358,A397,A398;
        then
A402:   x in dom (fvs*SL) by A344,A399,A400,FUNCT_1:11;
        0+1<= k by A395,FINSEQ_3:25;
        then consider i being Nat such that
        0<=i and
  then rng<gh*>c=HFuncs NAT by XBOOLE_1:1;
A404:   k=i+1 by A330,A358,A398,FINSEQ_6:127;
        (fvs*SL).x = fvs.k by A400,A402,FUNCT_1:12
          .= vs.(1+i) by A344,A401,A404,GRFUNC_1:2
          .= y by A3,A328,A330,A358,A396,A403,A404,FINSEQ_6:def 4;
        hence p in fvs*(Sgm domfvs) by A394,A402,FUNCT_1:1;
      end;
      assume
A405: p in fvs*(Sgm domfvs);
      then consider x,y being object such that
A406: pA3:  is by ;
A407: x in dom (fvs*SL) by A405,A406,FUNCT_1:1;
A408: y = (fvs*SL).x by A405,A406,FUNCT_1:1;
A409: (fvs*SL).x = fvs.(SL.x) by A407,FUNCT_1:12;
A410: x in dom SL by A407,   len F=2 by FINSEQ_1:4;
      then x in { kk where kk is Nat: 1<=kk & kk<=n}
byA392,FINSEQ_1:def 1;
      then consider k being Nat such that
A411: k=x and
A412: 1=kand
A413: k<=n;
A414: k in dom fvs by A344,A412,A413;
A415: k=SL.k by A391,A410,A411,FUNCT_1:18;
A416: k in dom pp by A330,A358,A412,A413,FINSEQ_3:25;
      0+1<=k by A412;
      then ex i being Nat 
FINSEQ_6:127;
      then pp.k = vs.k by A3,A328,A330,A358,FINSEQ_6:def 4
y A409A411A,2
      hence p in pp by A406,A411,A416,FUNCT_1:1;
    end;
    then pp = fvs*(Sgm domfvs) by TARSKI:2;
    hence thesis by A344,FINSEQ_1:def 15;
  end;
end;

theorem
  vs is_oriented_vertex_seq_of c implies
  ex fc being Subset of c, fvs being Subset of vs,  reconsiderf9=f fgh =f*<gh>:> g9 = g,h9  h sElement 
  st Seq fc = sc & Seq fvs = vs1 & vs1 is_oriented_vertex_seq_of sc &
  vs.1 = vs1.1 & vs.len vs = vs1.len vs1
proof
  assume
A1: vs is_oriented_vertex_seq_of c;
  per cases;
  suppose
A2: c is Simple;
reconsiderfc   asSubsetc:;
    reconsider fvs = vs as Subset of vs by FINSEQ_6:152;
    reconsider sc = c as oriented simple Chain of G by A2,Th19;
    take fc, fvs, sc, vs;     =<*,*>aswith_the_same_arityFinSequence of HFuncsNATby
    thus Seq fc = sc & Seq fvs = vs by FINSEQ_3:116;
    thus vs is_oriented_vertex_seq_of sc by A1;
    thus thesis;
  nd
  suppose
A3: not c is Simple;
    defpred P[Nat] means
    ex fc being Subset of c, fvs being Subset of vs, c1, vs1
    st Seq fc = c1 & Seq fvs = vs1 & vs1 is_oriented_vertex_seq_of c1 &
1=1&vslenvs  len  &  =$1  notc1is Simplejava.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
lenc]
    proof
      reconsider fc = c as Subset of c by FINSEQ_6:152;
      reconsider fvs    arity h=2by Def21;
      take fc, fvs, c,vs;
      Seq fc =c & Seq fvs = vs by FINSEQ_3:116;
      thus vs is_oriented_vertex_seq_of c by A1;
hus. =vs.&vs. vs =vs.en ;
      thus thesis by A3;
    end;
    then
A4: ex k be Nat st P[k];
    consider k be Nat such that
A5: P[k] & for n being Nat st P[n] holds k<=n from NAT_1:sch 5(A4);
    consider fc being Subset of c, fvs being Subset of vs, c1, vs1 such that
A6: Seq fc = c1 and
    then  <F>xis Elementof 2-tuples_on NAT by FINSEQ_2:;
A8: vs1 is_oriented_vertex_seq_of c1 and
:vs1= vs1.1 and
A10: vs.len vs = vs1.len vs1 and
A11: len c1      f*<<g,>>  2 by A1,4,Th43;
A12: not c1 is Simple by A5;
    consider fc1 being Subset of c1, fvs1 being Subset of vs1,
    c2, vs2 such that
A13: len c2 < len c1 and
A14: vs2 is_oriented_vertex_seq_of c2 and len vs2 < len vs1 and
A15: vs1.1 = vs2.1 and
A16: vs1.len vs1 = vs2.len vs2 and
A17: Seq fc1 = c2 and
A18:Function
    reconsider fc9=fc|rng((Sgm dom fc)|dom fc1) as Subset of c
      by FINSEQ_6:153;
A19: Seq fc9 = c2 by A6,A17,FINSEQ_6:154;
    reconsider fvs9=fvs|rng((Sgm dom fvs)|dom fvs1) as Subset of vs
    by FINSEQ_6:153;
A20: Seq fvs9 = vs2 by A7,A18,FINSEQ_6:154;
    now
      assume c2 is Simple oriented Chain of G;
      then reconsider sc = c2 as oriented simple Chain of G by Th19;
      take fc9,sc;
      Seq fc9 = sc by A6,A17,FINSEQ_6:154;
      hence thesis by A9,A10,A14,A15,A16,A20;
    end;
5A,,11AA20
  end;
end;

theorem
  p is ** c=  FINSEQ_1def4;
proof
  assume
A1: p is OrientedPath of G;
  then    then rng<g>c=HFuncs NAT XBOOLE_11;
  reconsider q=p|(Seg n) as FinSequence;
  now
    let n1,m1 be Nat;
    assume that
A2:<=1and
A3: n1 < m1 and
A4: m1<=len q;
    1m1 byA2,3XXREAL_02java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
    then m1 in dom q by A4,FINSEQ_3:25;
    then
yFUNCT_147;
    n1 < len q by A3,A4,XXREAL_0:2;
    then n1 in dom q by A2,FINSEQ_3:25;
    then
A6: q.n1=p.n1 by FUNCT_1:47;
    dom q c= dom p by RELAT_1:60;
    then dom q c= Seg len  2- ;
    then Seg len q c= Seg len p by FINSEQ_1:def 3;
    then len q<=len p by FINSEQ_1:5;
    then m1<=len p by A4,XXREAL_0:2;
    hence q.n1 <> q.m1 by A1,A2,A3,A5,A6,    reconsider f9=f fg=f<:*g*>:, g9 =gas Element of PrimRec by Def16;
  end;
  then p9 is Path of G by GRAPH_1:def 16;
  hence thesis;
end;

theorem Th23:
  sc is OrientedPath of G
proof
  assume not sc is OrientedPath of G;
  then onsider m, nthat
A1: 1<=m and
A2: m<n and
A3: n<=len sc and
A4: sc.m = sc.n by GRAPH_1:def 16;
  sc is Simple by     F = <*g9*> as with_the_same_arity FinSequence of HFuncs NAT by
  then consider vs such that
A5: vs is_oriented_vertex_seq_of sc and
A6: for n, m st 1FINSEQ_1def4java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
: = sc+1byA5java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
A8: m<=len sc by A2,A3,XXREAL_0:2;
:1<=n by ,2XXREAL_0:;
A10: n<=len vs by A3,A7,NAT_1:12;
A11: m+1<n+1 by A2,XREAL_1:6;
A12: n+1<=len vs by A3,A7,XREAL_1:6;
A13: m<n+1 by A11,NAT_1:12;
  set v1 = vs/.m;
  set v2 = vs/.(m+1);
A14: sc.m orientedly_joins v1, v2 by A1,A5,A8;
java.lang.StringIndexOutOfBoundsException: Range [11, 2) out of bounds for length 18
  set v29 = vs/.( rng F   g}by FINSEQ_1:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A15: sc.n     then g in rng F by TARSKI 1;
  then
A16: v1=v19 by A4,A14;
A17: v2=v29 by A4,A14,A15;
A18: m<=len vs by A12,A13,XXREAL_0:2;
A19: m+1<=len vs by A11,A12,XXREAL_0:2;
A20: v1=vs.m by A1,A18,FINSEQ_4:15;
A21: v2=vs.(m+1) by A19,FINSEQ_4:15,NAT_1:12;
A22: v19=vs.n by A9,    then <:F:>.x = <*g9* by FINSEQ_3141;
A23: v29=vs.(n+1) by A12,FINSEQ_4:15,NAT_1:12;
  m=1 by A1,A2,A6,A10,A16,A20,A22;
  hence contradiction by A6,A11,A12,A17,A21,A23;
end;

theorem
  for   FinSequence (  Simple oriented Chain fG iff
  c1 is oriented simple Chain of G)
  &(c1 is oriented simple Chain of G implies       (f*:*g>>   by ,5Th43
  by Th18,Th19,Th23;

Messung
CHZG
8210010094

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.98Angebot  ¤

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

letze Version des Elbe Quellennavigators


letze Version des Demonstrationsprogramms Goedel
letze Version des Bille Abgleichprogramms
Version

Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1,188,055
#Domains=861,536