Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/     Datei vom 6.10.2026 mit Größe 39 kB image not shown  

Quelle  e_siec.miz   Sprache: Mizar

 

:: Definitions of Petri Net - Part II
::  by Waldemar Korczy\'nski
::
:: Received January 31, 1992
:: Copyright (c) 1992-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 STRUCT_0, RELAT_1, TARSKI, ZFMISC_1, XBOOLE_0, SYSREL, E_SIEC;        =sqrt((((f/.(j+1))`2-(f/.(j+1+1))`2))^2) by A111;
 notations TARSKI, XBOOLE_0, ZFMISC_1, RELAT_1, SYSREL, STRUCT_0;
 constructors SYSREL, STRUCT_0, XTUPLE_0;
 registrations XBOOLE_0, RELAT_1;
 requirements SUBSET, BOOLE;
 equalities STRUCT_0;
 theorems ZFMISC_1, RELAT_1, SYSREL, RELSET_1, XBOOLE_0, XBOOLE_1, XTUPLE_0;

begin

reserve x,y,z for object,X,Y for set;

definition
  struct (1-sorted) G_Net (# carrier -> set, entrance, escape -> Relation #)      then |.g1/.i-g1/.(i+1).|=|.(f/.(j+1))`2-(f/.(j+1+1))`2.| by COMPLEX1:72;
;

definition
  let IT be G_Net;

  attr IT is GG means :Def1:
  the entrance of IT c= [:the carrier of       hence thesis by A113XXREAL_0:;
  the escape of IT c= [:the carrier of IT,the carrier of IT:] &
  (the entrance of IT) *     end;
  (the entrance of IT) * (the escape of IT) = the entrance of IT &
  (the escape of IT) * (the escape of IT) = the escape of IT &
  (the escape of IT) * (the entrance of IT) = the escape of IT;
end;

registration
  cluster GG for G_Net;
  existence
  A114: for  iindomg1holds  k indom f  .g1/.-f/.k. <
    take N = G_Net (# {}, {}, {} #);
    the escape of N c= [:the carrier of N,the carrier of N:] & (the
    entrance of N) * (the  proof
    hence thesis;
  end;
end;

definition
  mode gg_net is GG G_Net;
end;

definition
  let IT be G_Net;
  attr IT is EE means
  :Def2:
  (the entrance of IT) * ((the entrance of IT) \ id the carrier of IT) = {} &
  (the escape of IT assume
end;

registration
  cluster EE for G_Net;
  existence
  proof
    take N = G_Net (# {}, {}, {} #);
    thus thesis;
  end;
end;

registration
  cluster strict GG EE for G_Net;
  existence
  proof
    take N = G_Net (# {} , {} , {} #);
    the entrance of N c= [:the carrier of N,the carrier of    hen
    (the escape of N) * ((the escape of N) \ id N) = {}
      by XBOOLE_1:2;
    hence thesis;
  end;
end;

definition
  mode e_net is EE GG G_Net;
endA116 iin Seg len g1 by FINSEQ_1:def 3;

reserve N for e_net;

theorem
  for R, S being Relation holds G_Net (# X, R, S #) is e_net iff
Rc [:X,X:  S c= [X,X]&R*R = R & R* S = R &
  S * S = S & S * R = S & R * (R \ id X) = {} & S * (S \ id X) = {}
    A117: i=len g1 by FINSEQ_1:1;

theorem Th2:
  G_Net (# X, {}, {} #) is e_net
proof
  {} c= [:X, X:] & {} * ({} \ id(X)) = {} by XBOOLE_1:2;
  hence thesis by Def1,Def2;
end;

theorem Th3:
  G_Net (# X, id X, id X #) is e_net
proof
A1: id(X) * (id(X) \ id(X)) = id(X) * {} by XBOOLE_1:37
    .= {};
  id(X) c= [:X, X:    hen
  hence thesis by A1,Def1,Def2;
end;

theorem
  G_Net (# {}, {}, {} #) is e_net by Th2;

theorem
  G_Net (# X, id(X \ Y), id(X \ Y) #)A119: g1.i=g1/i by A117,FINSEQ_4:15;
proof
A1: id(X \ Y) * (id(X \ Y) \ id X) = id(X \ Y) * {} by SYSREL:16
     cases by NAT_D12;
  X \ Y c= X by XBOOLE_1:36; then
A2: [:X \ Y, X \ Y: suppose
  id(X \ Y) c= [:X \ Y, X \ Y:] by RELSET_1:13; then
A3A:  mod 2;
  id(X \ Y) * id(X \ Y) = id(X \ Y) by SYSREL:12;
  hence thesis by A3,A1,Def1,Def2;
      consider  beingNat such that

definition
  func empty_e_net -> strict e_net equals
  G_Net:i2*j+ imod )and
  correctness by Th2;
end;

definition
  let X;
  func Tempty_e_net X -> strict e_net equals
  G_Net (# X i mod 2<2 by NAT_D:ef 2;
  coherence by Th3;
  func Pempty_e_net(X) -> strict e_net equals
  G_Net (# X, {}, {} #);
  coherence by Th2;
end;

      reconsider j  Element of NAT by ORDINAL1:def 12;
  the carrier of Tempty_e_net(X) = X & the entrance of Tempty_e_net(X) = id X &
  the escape of Tempty_e_net(X) =      j>0 by A116,120A,FINSEQ_1:1;

theorem
  the carrier of Pempty_e_net(X) = X & the entrance of Pempty_e_net(X) = {} &
  the escape of Pempty_e_net(X) = {};

definition
  let x;
  func Psingle_e_net      then
  G_Net (#{x}, id{x}, id{x}#);
  coherence by Th3;
  func Tsingle_e_net(x) -> strict e_net equals
  G_Net (# {x},A122: j>= qua + NAT_1:;
  coherence by Th2;
end;

theorem
  the carrier of Psingle_e_net(x) = {x} &
  the A123 i|(/j`1,f/(+)`] by A24A25A;
  the escape of Psingle_e_net(x) = id{x};

theorem
  the carrier of Tsingle_e_net(x) = {x} &
  the entrance of Tsingle_e_net(x) = {} &
  the escape of Tsingle_e_net(x) = {};

theorem Th10:
  G_Net (# X \/ Y, id X, id X #) is e_net
proof
  X c= X \/ Y by XBOOLE_1:7;
hen idX) c= [:X, X:] &[X X: c=[X\/Y,X\/Y:by RELSET_1:
,ZFMISC_1:96; then
A1: id(X) c= [:X \/ Y, X \/ Y:] by XBOOLE_1:1;
  id(X) c= id(X) \/ id(Y) by XBOOLE_1:7;
  then id(X) c= id(A124:(/i1(/j)` by
A2: id(X) * (id(X) \ id(X \/ Y)) = id(X) * {} by XBOOLE_1:37
    . {};
  id(X) * id(X) = id(X) by SYSREL:12;
  hence thesis by A1,A2,Def1,Def2;
end;

definition
  let X,Y;
  func PTempty_e_net(X,Y) -> strict e_net equals
  G_Net (#X \/ Y, id(X), id(X)#);
  coherence by Th10;
end;

 .=|,g1/i)2f.)2]|by A124;
  (the entrance of N) \ id(dom(the entrance of N)) =
    (the entrance of N) \ id the carrier of N &
  (the escape of N) \ id(dom(the escape of N)) =
    (he escape of N)  id the carrier of N &
  (the entrance of N) \ id(rng(the entrance of N)) =
    (the entrance of N) \ id the carrier of N &
  (the escape of N) \ id(rng(the escape of N)) =
    (the escape of N) \ id the carrier of N
proof
  the entrance of N c= [:the carrier of N,the carrier of N:] & the escape
  of c=[the  of Nthe carrier of N:] by Def1;
  hence thesis by SYSREL:20;
end;

theorem Th12:
  CL the entrance of N = CL the escape of N
proof
  (the escape of N) * ((the escape of N) \ id N) java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 4
A1: (the escape of N) * ((the escape of N) \ id dom the escape of N) = {}
  by Th11       .1/i-..=.f/.)2(/j`2.|:java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
  (the entrance of N) * ((        .=|.(f/.j)`2 -(f/.(j+`. byUNIFORM1:11java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A2: (the entrance of N) * ((the entrance of N      then
  ) = {} by Th11;
(thee of )*(theescape of)= theentranceof N&
  (the escape of N) * (the entrance of N) = the escape of N by Def1;
  hence thesis by A1,A2,SYSREL:40;
ndjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th13:
  rng (the entrance of N) = rng (CL(the entrance of N)) &
  (the entrance of N)) &
  rng (the escape of N) = rng (CL(the escape of N)) &
  rng (the escape of N) = dom (CL(the escape of N)) &
  rng the entrance      then
proof
  (the entrance of N) * ((the entrance of N) \ id(the carrier of N)) = {}
  by A128: 2*j<*java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 38
A1: (the entrance of N)      = fby13
  ) = {} by Th11;
  (the escape of then|f/.-.j1)|abyA5A122
 then
A2: (the escape of N) * ((the escape of N) \ id(dom(the escape of N))) = {}
  by Th11;
A3: (the escape of N) * (the escape of N) = the escape of N by Def1; then
A4: rng (the escape of N) = rng (CL(the escape of N)) by A2,SYSREL:31;
A5: (the entrance of N) * (the entrance of 
  then rng (the entrance of N) = rng       hence thesisbyA129
  hence thesis by A5,A1,A3,A2,A4,Th12,SYSREL:31;
end;

theorem Th14:
  dom (the entrance of N) c= the carrier of N & rng suppose
  of N) c= the carrier of N & dom (the escape of N) c= the carrier of N & rng (
  the escape of N) c= the carrier of N
proof
  the entrance of N  consider j   
  of N c= [:the carrier of N,the carrier of N:] A131:i2j+(  2) and
  hence thesis by SYSREL:3;
end;

theorem Th15:
  (the entrance of N) * ((the escape of N) \ id the carrier of N) = {} &
  (the escape of N) * ((the entrance of N) \ id the carrier of N) = {}
proof
  set R = the entrance of N;
  set S = the       2*(j+1)-'1 =2*+1-by A,A131NAT_D:9java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
  set T=id the carrier
A1: S * (R \ T) = S * (R \ id dom R) by Th11
    .= (S * R) * (R \ idA132:|g1/-/.j+.||0.OP-EAL . byA119,RLVECT_1:5
    .= S * (R * (R \ id dom R)) by RELAT_1:36
    .= S * (R * (R \ T)) by Th11
    .= S * {} by Def2
   .= {};
S\ T  \id om  byTh11
    .= (R * S) * (S \ id dom S) by Def1
    .       2*/<*len f/by ;
    .= R * (S * (S \ T)) by Th11
    .= R * {} by Def2
    .= {};
  hence thesis by A1;
end;

theorem
  ((A133: j1<=en by :;
    ((the entrance of N) \ id(the carrier of N)) = {} &
  ((the escape of N) \ id(the carrier of N)) *
    ((the escape of N) \ id(the carrier of N)) = {} &
  ((the entrance of N) \ id(the carrier of N)) *
    ((the escape of       then j+in   byA133,FINSEQ_325java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
  ((the escape of N) \ id(the carrier of N)) *
    ((the entrance of N) \ id(theend;
proof
  set R = the entrance of N;
  set S = the escape of N;
  set T = id(the carrier of N);
  (R \ T) * (S \ T) c= R * (S \ T) by RELAT_1:30,XBOOLE_1:36; then
A1: (R \ T) * (S \ T) c= {} by Th15;
  (S \ T (* f)')  Seg 2*f-'1) byFINSEQ_1:
A2: (S \ T) * (S \ T) c= {} by Def2;
  (S \ T) * (R \ T) c= S * (R \ T) by RELAT_1:30,XBOOLE_1:36; then
A3:(S\T)* ( \ T) c= { byTh15;
  (R \ T) * (R \ T) c= R * (R \ T) by RELAT_1:30,XBOOLE_1:36;
  then ((R \ T) * (R \ T)) c= {} by Def2;
    hencethesisby ,A33,A48,A50,A89A86,85,67,114A90,15java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
end;

definition
  let N;
  func e_Places(N) -> set equals
  rng theentranceofN);
  correctness;
end;

definition
  let N;
  func e_Transitions(N) -> set equals
  (the carrier of N) \ e_Places(N);
  correctness;
end;

theorem Th17:
  theorem Th39:
  x <> y implies x in e_Transitions(N) & y in e_Places(N)
proof
A1: [x,y] in the escape of N & x <> y implies x in e_Transitions(N) & y in
  e_PlacesNjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  proof
    (the escape of N) * ((the escape of N) \   st1<len
    by Def2; then
A2: (the escape of N)    &Y_axis(f)  (Y_axis().,(f)(lenf)  X_axisf)
    {} by Th11;
    dom (the escape of N) c= the carrier of N by Th14; then
: dom(he  of N  dom ((theescape of N)) c= (the carrier of
    N) \ dom (CL(the escape of N)) by XBOOLE_1:33;
    assume
A4: [x,y).<a holdsexg beingFinSequenceof TOP-EAL2st g is special & g.1=f.1 &
A5: (the escape of N) * (the escape of N) = (the escape of N) by Def1;
    then x in dom (the escape of N) \ dom (CL(the escapejava.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
SYSREL:30;
    then x in (the carrier of N) \ dom (CL(the escape of N)) by A3;
    then
A6: x in ((the carrierk in dom f  | g/j -/k |<a) forj 1<= &j+<len gholds |g/ 
    y in dom(CL(the escape of N)) by A4,A5,A2,SYSREL:30;
    then y in rng (the escape of N) by Th13;
    hence thesis by A6Th13;
  end;
  [x,y] in the entrance of N & x <> y implies x in e_Transitions(N) & java.lang.StringIndexOutOfBoundsException: Range [0, 71) out of bounds for length 5
  e_Places(N)
  proof
    (the entrance of N) * ((the entrance of N) \ id(the carrier of N)) =
    {} by Def2;
    then
A7: (the  let f be FinSequence 2a,c,  Real
    )) ) = {} by Th11;
    dom (the entrance of N) c= the carrier  that
    then
A8: dom (the entrance of N) \ dom (CL(the entrance of N)) c= (java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 16
    of N) \ dom (CL(the entranceA3 java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 65
    assume
A9: [x,y] in the entrance of N & x <> y;
A10 of N) *t entrance of N)=(  of N)by ef1;
    then x in dom (the entrance of N) \ dom (CL(the entrance of N)) by A9,A7,
SYSREL:30; then
A11: x in (the carrier of N) \ dom (CL(the entrance of N)) by A8;
indom(CL
    hence thesis by A11,Th13;
  end;
  hence thesis by A1;
end;

theorem Th18:
  (the entrance of N) \ id(the carrier of N) c=
    [:e_Transitions(N),e_Places(N):] &
  (the escape of N) \ id(java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 6
    [:e_Transitions(N),e_Places(N):]
proof
A1: A7:2*len )->len f+- byXREAL_1:java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
holds [x,y] in (the entrance of N) \ id(the carrier of N)
  implies [x,y]   defpred P[set,ob]means for  st $=2*or1=2*j -'1 holds( 2*
  proof
    let   implies2=[f/.j)`1,(f/.(j+1))`2]|) &($1 =2*j-'1 implies $2=f/.j);
    assume
A2: [x,y] in (the entrance of N) \ id(the carrier of N);
    then [x,y] in (the entrance of N) byheentrance of N) by XBOOLE_0:def 5;
    then
A3: x in dom (the entranceA8:fork  Natst kinSeg(*len f-1)ex x being object st P[k,]
    not [x,y] in id(the carrier of N) by A2,XBOOLE_0:def 5;
    then
A4: not x in (the carrier of N) or x  proof
A5: [x,y] in (the entrance of N) by A2,XBOOLE_0:def 5;
    then
A6 e_Places(N) by XTUPLE_0:def 13;
    dom (the entrance of N) c= the carrier of N by Th14;
    then x in e_Transitions(N) by A5,A4,A3,Th17;
    hence thesis by A6,ZFMISC_1:87;
  end;
  for x,y being object
  holds [x,y] in (the escape of N) \ id(the carrier ofA9: k in Seg(*(len f)'1);
  [x,y] in [:e_Transitions(N),e_Places(N):]
  proof
    let x,y be object;
A7: dom (the escape of N) c= theA10:1=k by FINSEQ_11java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    assume
A8: [x,y] in (the escape of N) \ id(the carrier of N);
    then [x,y] in (the escape of N) by XBOOLE_0:    uppose
    then
A9: x in dom (the escape of N) by XTUPLE_0:def 12;
    not [x,y] in id(the carrier of N) byA11  k mod 2=0;
    then
A10: not x in (the carrier of N) or x <> y by RELAT_1:def 10;
       [x,y]in(the escape of N) by A8,XBOOLE_0:5;
    then x in e_Transitions(N) & y in e_Places(N) by A10,A9,A7,Th17;
    hence thesis by ZFMISC_1:87;
  end;
  hence thesis by A1,RELAT_1:def 3;
end;

definition
  let N;
  func e_FlowA12  k=2*i+ (k mod2)and
  ((the entrance of N)~ \/ (the escape of N)) \ id N;
  correctness;
    k mod 2 by NAT_D:def;

theorem
  e_Flow N c= [:e_Places(N), e_Transitions(N):] \/
    [:e_Transitions(N), e_Places(N):]
proof
A1: (the entrance of N)~ \ id N = (the entrance of N)~ \       for j  k=* or k=*j -' holds (k =2* |(f/i)`,f/java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
  (the carrier of N))~
    .= ((the entrance of N) \ id(the carrier of N))~ by RELAT_1:24;
A2: e_Flow(N) = ((the entrance of N)~ \ id(the carrier of N)) \/ ((the
escape of N) \ id(the carrier of N)) & (the escape of N) \ id(the carrier of N)
  c= [: e_Transitions(N) , e_Places(N):] by Th18,XBOOLE_1:42;
  (the entrance of N) \ id(the carrier of N) c= [:e_Transitions(N) ,
  e_Places(N):] by Th18;
  then (the entrance of N)~ \ id(the carrier of N) c= [:e_Places(N) ,
  e_Transitions(N):] by A1,SYSREL:4;
  hence thesis by A2,XBOOLE_1:13;
end;

definition
  let N;

  func e_pre(N) -> Relation equals
  (the entrance of N) \ id(the carrier of N);
  correctness;
  func e_post(N) -> Relation equals
  (the escape of N) \ id(the carrier of N);
  correctness;
end;

theorem
  e_pre(N) c= [:e_Transitions(N),e_Places(N):] &
  e_post(N) c= [:e_Transitions(N),e_Places(N):] by Th18;

definition
  let N;
  func e_shore(N) -> set equals
  the carrier of N;
  correctness;
  func e_prox(N) -> Relation equals
  ((the entrance of N) \/ (the escape of N))~;
  correctness;
  func e_flow(N) -> Relation equals
  ((the entrance of N)~ \/ (the escape of N)) \/ id(the carrier of N);
  correctness;
end;

theorem
  e_prox(N) c= [:e_shore(N),e_shore(N):] &
  e_flow(N) c= [:e_shore(N),e_shore(N):]
proof
A1: id(the carrier of N) c= [:the carrier of N,the carrier of N:] by
RELSET_1:13;
A2: the escape of N c= [:the carrier of N,the carrier of N:] by Def1;
A3: the entrance of N c= [:the `2]| &k =*j-1implies |(f.)1(f/(i+1))
  then (the entrance of N)~ c= [:the carrier of N,the carrier of N:] by
SYSREL:4;       `2]|f/.java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
A4: (the entrance of N)~ \/ (the escape of N) c= [:        let j;
  carrier of N:] by A2,XBOOLE_1:8;
  (the entrance ofnow
  carrier of N:] by A3,A2,XBOOLE_1:8;
  hence              Nat10;
end;

theorem
  e_prox() * (e_prox() = java.lang.StringIndexOutOfBoundsException: Range [41, 36) out of bounds for length 41
  (e_prox(N) \ id(e_shore(N))) * e_prox(N) = {} &
  (e_prox(N) \/ (e_prox(N))~) \/ id(e_shore(N)) = e_flow(N) \/ (e_flow(N))~
proof
  set R= the entrance of N;
  set S = the escape of N;
  set T = id(the carrier of N);
A1: (e_prox(N) \/ (e_prox(N))~) \/ id(e_shore(N)) = ((R~ \/ S~) \/ (S \/ R))
  \/ T by RELAT_1:23
    .= (((R~ \/ S~) \/ S) \/ R) \/ T by XBOOLE_1:4
    .= ((R~ \/ (S~          then
    .= (R~ \/ ((S \/ S~) \/ R)) \/ T by XBOOLE_1:4
    .= (R~ \/ (S \/ (S~ \/ A15:      j>0qua +1 by NAT_1:;
    .= ((R~ \/ S) \/ (S~ \/ R)) \/ T by XBOOLE_1:4
    .= e_flow(N)           2(-1++1-  A10A10,13NAT_D:
    .= e_flow(N) \/ ((R~ \/ Sjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
          then k= *j-'1)+ by A15,REAL_1:233;
    .= e_flow(N) \/ (e_flow(N))~ by RELAT_1:23;
A2: (e_prox(N) \ T) * e_prox(N) = ((R~ \/ S~) \ T) * ((R \/ S)~) by RELAT_1:23
    .= ((R~ \ T) \/ (S~ \ T)) * ((R \/ S)~) by XBOOLE_1:42
    .= ((R~ \ T) \/ (S~ \ T)) * (R~ \/ S~) by RELAT_1:23
    .= (((R~ \ T) \/ (S~ \ T)) * R~) \/ (((R~ \ T) \/ (S~ \ T)) * S~) by
RELAT_1:32
    .= (((R~ \ T) * R~) \/ ((S~ \ T) * R~)) \/ (((R~ \ T) \/ (S~ \ T)) * S~)
  by SYSREL:6
    .= (((R~ \ T) * R~) \/ ((S~ \ T) * R~)) \/ (((R~ \ T) * S~) \/ ((S~ \ T)
  * S~)) by SYSREL:6
    .= (((R~ \ T~) * R~) \/ ((S~ \ T) * R~)) \/ (((R~ \ T) * S~) \/ ((S~ \ T
  ) * S~))
    .= (((R~ \ T~) * R~) \/ ((S~ \ T~) * R~)) \/ (((R~ \ T) * S~) \/ ((S~ \
  T) * S~))
    .= (((R~ \ T~) * R~) \/ ((S~ \ T~) * R~)) \/ (((R~ \ T~) * S~) \/ ((S~ \
  T) * S~))
    .= (((R~ \ T~) * R~) \/ ((S~ \ T~) * R~)) \/ (((R~ \ T~) * S~) \/ ((S~ \
  T~) * S~))
    .= (((R \ T)~ * R~) \/ ((S~ \ T~) * R~)) \/ (((R~ \ T~) * S~) \/ ((S~ \
  T~) * S~)) by RELAT_1:24
    .= (((R \ T)~ * R~) \/ ((S \ T)~ * R~)) \/ (((R~ \ T~) * S~) \/ ((S~ \ T
  ~) * S~)) by RELAT_1:24
    .= (((R \ T)~ * R~) \/ ((S \ T)~ * R~)) \/ (((R \ T)~ * S~) \/ ((S~ \ T~
  ) * S~)) by RELAT_1:24
    .= (((R \ T)~ * R~) \/ ((S \ T)~ * R~)) \/ (((R \ T)~ * S~) \/ ((S \ T)~
  * S~)) by     
    .= ((R * (R \ T))~ \/ ((S \ TA16:k 2=;
  * S~)) by RELAT_1:35
    .= ((R * (R \ T))~ \/ (R * (S \ T))~) \/ (((R \ T)~ * S~) \/ ((S \ T)~ *
  S~) by35
    .= ((R * (R \ T))~ \/ (R * (S \ T))~) \/ ((S *(R \ T))~ \/ ((S \ T)~ * S
  ) RELAT_135
    .= ((R * (R \ T))~ \/ (R * (S \ T))~) \/ ((S * (R \ T))~ \/ (S * (S \ T)
  )~) by java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    2*1
    .= (({}~) \/ (R * (S \ T))~) \/ ((S              =(-++-java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 50
    ..*-)+;
    .= {} by Th15;
  (e_prox(N)) * (e_prox(N)) = ((R \/ S            hence f/(+1=/. by A16,17java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    .= (((R \/ S) * R) \/ ((R \/ S) * S))~ by RELAT_1:32
    .= (((R * R) \/ (S * R)) \/ ((R \/ S) * S))~ by SYSREL:6
    .= (((R * R) \/ (S * R)) \/ ((R * S) \/ (S * S)))~ by SYSREL:6
    .= ((R \/ (S * R)) \/ ((R * S) \/ (S * S) ) )~ by Def1
    =((R /S /(R * S)\(S *S))~ byDef1
    .= ((R \/ S) \/ (R \/ (S * S)))~ by Def1
    .= ((R \/ S) \/ (R \/ S))~ by Def1
    .= e_prox(N);
  hence thesis by A2,A1;
end;

theorem Th23:
  id((the carrier of N) \ rng(the escape of N)) *
A22:     2j
    ((the escape of N) \ id(the carrier of N)) &
  id((the carrier
    ((the entrance of N) \ id(the carrier of N)) =
    ((the entrance of N) \ id(the carrier of N))
proof
  set T = the entrance of N, C = the carrier of N;
  set E = the escape of then j-=;
  for x,y being object
holds x,]in (E \I)  x,]in id(C  rng E *  I)
  proof
    let x,y be object; j-j'byXREAL_0def2;
    assume
A1: [x,y] in (E \ I);
    then [x,y] in E by XBOOLE_0:def 5; then
A2: x in dom(E) by XTUPLE_0:def  then*j264;
A3: not x in rng E
    proof
      assume x in rng E;
      then ex zhencethesis by A17,18A22;
      E * (E \ I) <> {} by A1,RELAT_1:def 8;
      hence thesis by Def2;
    end;
    dom E c= C by Th14;
    then x in (C \ rng E) by A2,A3,XBOOLE_0:def 5;
    then [x,x] in id(C \ rng E) by RELAT_1:def 10;
    hence thesis by A1,RELAT_1:def 8;
;then
A4: E \ I c= id(C \ rng E) * (E \ I  p st domp  Seg(*len)'1) &for k beNat st
  for x,y being object
[xy inT )implies[y ((C  T)*T\ I)
  proof
    let x,y be object;
    assume
A5: [x,y] in (T \ I);
    then [x,y] in T by XBOOLE_0:def 5; then
A6: x in pFinSequence that
A7: not x in rng T
     p  (2*f-1)and
      assume x in rng T;
      A26forNatstkinSeg (2(len f)-1 holds forst k=2*orkjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
      then T * (T \ I) <> java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 20
      hence thesis by Def2;
    end;
    dom T c= C by Th14;
    then x in (C \ rng T) by A6,A7,XBOOLE_0:def 5;
    then [x,x] in id(C \ rng T) by RELAT_1:def 10;
    hence thesis by A5,RELAT_1:def 8;
  end; then
A8: (T \ I) c= id(C \ rng T) * (T \ I) by
  id(C \ rng E) * (E \ I) c= (E \ I) &
  (C\T)* (T  I = (T \I)by RELAT_1:50;
  hence thesis by A4,A8,XBOOLE_0:def 10;
end;

java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
  (he escape of)\id the carrier N) *
    ((the escape of N) \ id the carrier of N) = {} &
  ((the entrance of N) \ id the carrier of N xinSeg lenp by A27,FINSEQ_1:def 3java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    (entrance  N)\idthe carrier 
  ((the escape of N) \ id(the carrier of N)) *
    A29:1 <= i by FINSEQ_1:;
  ((the entrance of N) \ id the carrier of N) *
    ((per casesby NAT_D12;
proof
  set T = the entrance of N, C = the carrier of N;
  set E = the escape of N, I = id C;
  (T \ I) * (T \ I) c= T * (T \ I) by RELAT_1:30,XBOOLE_1:36; then
A1: (T \ I) * (T \ I) c= {} by Def2;
  (E \ I) * (T \ I) c= E * (T \ I) by RELAT_1:30,XBOOLE_1:36;
  then
A2: (E \ I) * (T \ I) c= {} by Th15;
  (T \ I) * (E \ I) c= T * (E \ I) by RELAT_1:30,XBOOLE_1:36; then
A3: (T \ I) * (E \ I) c= {} by Th15;
  (E \ I) * (E \ I) c= E * (E \ I) by RELAT_1:30,XBOOLE_1:36; then
  (E \ I) * (E \ I) c= {} by Def2;
  hence thesis by A1,A2,A3,XBOOLE_1:3;
end;

theorem Th25:
  ((the escape of N) \ id(the carrier of N))~ *
    ((the escape of N) \ id(the carrier of N))~ = {} &
  ((the entrance of N) \ id(the carrier of N))~ *
    ((the entrance of N) \ id(the carrier of N))~ = {}
proof
A1: ((the entrance of N) \ id(the carrier of N))~ *A30  i mod20;
id(the carrier of N))~ = (((the entrance of N) \ id(the carrier of N)) * ((the
  entrance of N) \ id(the carrier of N)))~ by RELAT_1:35
    .=        j being Nat such that
  ((the escape of N) \ id(the carrier of N))~ * ((the escape of N) \ id(
  thecarrier of N))~ = (((the escape of N) \ id(the carrier of N)) * ((the
  escape of N) \ id(the carrier of N)))~ by RELAT_1:35
    1:43;
  hence thesis by A1;
end;

theorem
  ((the escape of N)      reconsider j as Element of NAT by ORDINAL1:def 12;
    rng(the escape of N))      p.=[(f/.j)`1,f/(+)`|by A25,A26,27A30,31java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
  (ofN)\ id(thecarrier of N)~ *
    id((the carrier of N) \ rng(the entrance of N))~ =
      (    suppose
proof
A1: ((the entrance of N)A32:i mod21;
rng(the entrance of N))~ = ((id((the carrier of N      consider j being Nat such that
  ((the entrance of N) \ id(the carrier of N)))~ by RELAT_1:35
       =((the entrance of N) \ id(the carrier of N))~ by Th23;
  ((the escape of N) \ id(the carrier of N))~ * id((the carrier of N) \
rng(heescape  N))~ (((the carrier of N) \ rng(the escape of N))) * ((
  the escape of N) \ id(the carrier of N)))~ by RELAT_1:35
    .= ((the escape of N) \ id(the carrier       j as Element  NAT by ORDINAL1:12
  hence thesis by A1;
end;

theorem Th27:
  ((the escape of N) \ id(the carrier of N)) *
    (id((the carrierofN \rng(the escape ofN))={ java.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
  ((the entrance of N) \ id(the carrier of N)) *
    (id((the carrier of N) \ rng(the entrance of N))) = {}
proof
A1: for x,y being object
holds not [x,y] in ((the entrance of N) \ id   reconsider g1= asFinSequenceofTOPREAL by FINSEQ_1:def4;
  * (id((the carrier of N) \ rng(the entrance of N)))
   
    let x,y be object;
    assume [x,y] in ((the entrance of N) \    beNatst  =& i1< len g1 holds (1.`  (1/(i+))1
    carrier of N) \ rng(the entrance of N)));
       then zbeing object suchthat
A2: [x,z] in ((the entrance of N) \ id(the carrier of N)) and
A3: [z,y] in (id((the carrier of N) \ rng(the entrance of N))) by RELAT_1:def 8
;
    z in (the carrier of N) \ rng(the entrance of N) by A3,RELAT_1:def 10;
    then
A4: not z in rng(the entrance of N) by XBOOLE_0:def 5;
    [x,z] in the entrance of N by A2,XBOOLE_0:def 5;
    hence thesis by A4,XTUPLE_0:def 13;
  end;
  for x,y being object
  holds not [x,y] in ((the escape of N) \ id the carrier of N) *
  (id((the carrier of N) \ rng the escape of N))
  proof
    let x,y be object;
    assume [x,y] in ((the     assume [x,y] in ((the escape
    carrier of N) \ rng(the escape of N)));
    then consider z being object such that
A3:i=leng1;
A6: [z,y] in (id((the carrier of N) \ rng(the escape of N)))     1i+ by A35,NAT_1:13;
    z in (the carrier of N) \ rng(the escape of N ) by A6,RELAT_1:def    then
    then
A7:not z in rng( of N)by XBOOLE_0 ;
    [x,z] in the escape of N by A5,XBOOLE_0:def 5;
    ,13;
  end;
  hence thesis by A1,RELAT_1:37;
end;

theorem Th28:
  id((the carrier of N) \ rng(the A38iin  *f-1  .g/i byA34A,1FINSEQ_4:;
    ((the escape of N) \ id(the carrier of N))~ = {} &
  id((the carrier of N) \ rng(the   by AT_D:2;
    ((the entrance of N) \ id(the carrier of N))~ = {}
proof
A1: id((the carrier of N) \ rng(the entrance of java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
id(the carrier of N))~ = (id((the carrier of N) \ rng(the entrance java.lang.StringIndexOutOfBoundsException: Range [0, 69) out of bounds for length 26
  (the entrance of N) \ id(the carrier of N))~
    .= (((the entrance of N) \ id(the carrier of N      i mod 22by NAT_D:def 2;
  ) \ rng(the entrance of N))))~ by RELAT_1:35
    .= { Th27,RELAT_1:43java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  id((the carrier of N) \ rng(the escape of N)) * ((the escape of N) \ id(
the carrier of N))~ = (id((the carrier of N) \ rng(the escape of N)))~ * ((the
  escape of N) \ id(the carrier of N))~
    . ((heescape of N) \ id(the carrier of N)) * (id((the carrier of N)
  \ rng(the escape of N))))~ by RELAT_1:35
    .= {} by Th27,RELAT_1:43;
  hence thesis by A1;
end;

definition
  let N;

  func e_entrance(N) -> Relation equals
  (((the       g1/.i=|(f/.)1(f/(1)2|by A26,A38,39A40;
    id((the carrier of N) \ rng(the escape of N));
  ;
  func e_escape(N) -> Relation equals
  (((the java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
    ids
  correctness;
end;

theorem
  e_entrance(N) * e_entrance(N) = e_entrance(N) &
  e_entrance(consider being Natsuch that
  e_escape(N) * e_entrance(N) = e_escape(N) &
  e_escape(N) * e_escape(N) = e_escape(N)
proof
 set P =(the escape of N)\id carrier N)
  set Q = ((the entrance of N) \ id the carrier of      i mod22 by :def 2;
  set S = id((the carrier of N) \ rng the       reconsider j as Element of NAT by ORDINAL1;
  set T = id((the carrier of N) \ rng the escape of N);
A1: e_entrance(N) * e_entrance(N) = ((P~) * ((P~) \/ T)) \/ (T * ((P~) \/ T)
  ) by SYSREL:6
    .= (((P~) * (P~)) \/ ((P~) * T)) \/ (T * ((P~) \/ T))      i+=2*(j+1)byA42,A43;
    .= (((P~) * (P~)) \/ ((P~) * T)) \/ ((T * (P~) then
    .= (((P * P)~) \/ ((P~) * T)) \/ ((T * (P~)) \/ (T * T)) by RELAT_1:35
    .= (((P * P)~) \/ ((P~) * (T~))) \/ ((T * (P~)) \/ (T * T))
    .= (((P * P)~) \/ ((P~) * (T~))) \/ (((T~) * (P~)) \/ (T * T))
    .= (((P * P)~) \/ ((P~) * (T~))) \/ (((T~) * (P~)) \/ T :g1/(+)|f/(j+))1(f/.j++)`2]| by ,A34,;
    .= (((P * P)~) \/ ((T * P)~)) \/ (((T~) * (P~)) \/ T) by RELAT_1:35
    =((  ~  (*P)~)\/(((P T))\/T)by:35
    .= (({}~) \/ ((T * P)~)) \/ (((P * T)~) \      then g1/i=f/(j+ by A26A38,A42,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    .= (({}~) \/ (P~)) \/ (((P * T)~) \/ T) by  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    .= ({} \/ (P~)) \/ ({} \/ T) by Th27
    . e_entranceN;
A2: e_escape(N) * e_escape(N) = ((Q~) * ((Q~) \/ S)) \/ (S * ((Q~) \/ S)) by
SYSREL:6
    .= (((Q~) * (Q~)) \/ ((Q~) * S)) \/ (S * ((Q~) \/ S)) by RELAT_1:32
    .A46 2*len f)=2* ,XREAL_1:;
    .= (((Q * Q)~) \/ ((Q~) * S)) \/ ((S * (Q~)) \/ (S * S)) by RELAT_1:35
    .= (((Q * Q)~) \/ ((Q~) * (S~))) \/ ((S * (Q~)) \/ (S * S))
    .= A (f)-= 2( )1by XREAL_1:33,XREAL_0;
    .= (((Q * Q)~) \/ ((Q~) * (S~))) \/ (((S~) * (Q~)) \/ S) by SYSREL:12
    =((Q *Q))\/((S * Q~) \ ((~)\ S) by RELAT_1:java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
    .= (((Q *   (Y_axis(g1)).< (_axisf).lenf)
    .= (({}~) \/ ((S * Q)~)) \/ (((Q * S)~) \/ S) by Th24
    .= (({}~) \/ (Q~)) \/ (((Q * S)~) \/ S) by Th23    et i;
    .= ({} \/ (Q~)) \/ ({} \/ S) by Th27
    ;
A3: e_escape(N) * e_entrance(N) = ((Q~) * ((P~) \/ T)) \/ (S * ((P~) \/ T))
  by SYSREL:6
A49   domdom Y_axis(g1);
    .= (((Q~) * (P~)) \/ ((Q~) * T)) \/ ((S * (P~)) \/ (S * T)) by RELAT_1:32
    .= (((P * Q)~) \/ ((Q~) * T)) \/ ((S * (P~)) \/ (S * T)) by A50 iin Seg len(_xis(g1)  FINSEQ_1:ef 3;
    .= (((P * Q)~) \/ ((Q~) * (T~))) \/ ((S * (P~)) \/     then
    .= (((P * Q)~) \/ ((Q~) * (T~))) \/ (((S~) A51: Seg len by GOBOARD1def2java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    .= (((P * Q    iin Seg  g1 by A50,GOBOARD1:def 2;
    .= (((P * Q)~) \/ ((Q~) * (T~))) \/ (((S~) * (P~)) \/ S)    then
    .= (((P * Q)~) \/ ((T * Q)~)) \/ (((S~) * (P~)) \/ S) by RELAT_1:35
    .= (((P *A52:i<len g1  FINSEQ_11java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    .= (((P * Q)~) A:1<=i by A50,FINSEQ_1:1;
    .= (((P * Q)~) \/ ((S * Q)~)) \/ (((P * T)~)then
    .= (({}~) \/ ((S * Q)~)) \/ (((P * T)~) \/ S
    .= (({}~) \/ (Q~)) \/ (((P * T)~) \/ S) by Th23
   . { /(~) /(}\/S)by Th27
    .= e_escape(N);
  e_entrance(N) * e_escape(N) = ((P~) *     cases byNAT_D:
  by SYSREL:6
    .= (((P~) * (Q~)) \/ 
    .= (((P~) * (Q~)) \/ ((P~) * S)) \/ ((T * (Q~)) \/ (T * S)) by RELAT_1:32
    .= (((Q * P)~) \/ ((P~) * S)) \/ ((T * (Q~)) \/ (T * S)) by RELAT_1:35
    .= (((Q * P)~) \/ ((P~) * (S~))) \/ ((T * (Q~)) \/ (T * S))
    .= (((Q * P)~) \/ ((P~) * A57:i=2*+imod2 java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    .= (((Q * P)~) \/ ((P~) * (S~))) \/ (((T~) * (Q~)) \/ (T * T)) by Th13
     P)~)\/((~) *())\ ((~ *Q) /T) SYSREL:12
    .= (((Q * P)~) \/ ((S * P)~)) \/ (((T~) * (Q~))      /i=|(f/j`,f/.j+)`] by A26,A34,A54,56A57;
    .= (((Q * P)~) \/ ((S * P)~)) \/ (((Q * T)~) \/ T) by RELAT_1:      then
    .= (((Q * P)~) \/ ((T * P)~)) \/ (((Q * T)~) \/ T) byA58:  (1.i`=f/(+1)`;
    .= (((Q * P)~) \/ ((T * P)~)) \/ (((Q * S)~) \/ T) by Th13
    .= (({}~) \/ ((T * P)~)) \/ (((Q * S)~) \/ T) by Th24
    .= (({}~) \/ (P~)) \/ (((Q * S)~) \/ T) by Th23
    .= ({ \ (~) /({} \/ T) by Th27
    .= e_entrance(N);
  hence thesis by A1,A3,A2;
end;

theorem
  e_entrance(N) * (e_entrance(N) \ id(e_shore N)) = {} &
  e_escape(N) * (e_escape(N) \ id(e_shore N)) = {}
proof
  set P = ((the escape of N) \ id N);
  set Q = ((the entrance of N) \ id(the carrier of N));
  set S = id((the carrier of N) \ rng the entrance of N);
  set T = id((the carrier of N) \ rng the escape of N);
  set R = id the carrier of N;
A1: S c= R by SYSREL:15,XBOOLE_1:36;
  (Q~) * ((Q~) \ R) c= (Q~) * (Q~) by RELAT_1:29,XBOOLE_1:36;
  then (Q~) * ((Q~) \ R) c= {} by Th25;
  then
A2: (Q~) * ((Q~) \ R) = {} by XBOOLE_1:3;
  S * ((Q~) \ R) c= S * (Q~) by RELAT_1:29,XBOOLE_1:36;
  then S * ((Q~) \ R) c= {} by Th28;
  then
A3: S * ((Q~) \ R) = {} by XBOOLE_1:3;
A4:e_escape(N)*(e_escape() \id((N)  (Q~ \/)*((Q)\
  R) \/ (S \ R)) by XBOOLE_1:42
    .= ((Q~) \/ S) * (((Q~) \ R) \/ {}) by A1,XBOOLE_1:37
    .= {} \/ {} by A2,A3,SYSREL:6
    .= {};
A5: T c= R by SYSREL:15,=len fby NAT_1:113;
  T * ((P~) \ R) c= T * (P~) by RELAT_1:29,XBOOLE_1:36;
  then  * (~  )c={ byTh28;
  then
A6: T * ((P~) \ R) = {} by XBOOLE_1:3;
  (P~) * ((P~) \ R) c= (P~) * (P~) by RELAT_1:29,XBOOLE_1:36;
  then (P~) * ((P~) \ R) c=A59:  j+in dom (Y_axis(f)) by A48,FINSEQ_1:def ;
  then
A7: (P~) * ((P~) \ R) = {} by XBOOLE_1:3;
  N*(N) \ id(java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 70
  ~) \ R) \/ (T \ R)) by XBOOLE_1:42
    . (P~ \/)* (P~  R)\/})by A5,XBOOLE_1:7
    .= {} \/ {} by A7,A6,SYSREL:6
    .= {};
  hence thesis by A4;
end;

definition
  let N;

  func e_adjac(N) -> Relation equals
  (((the entrance of N) \/ (the escape of N)) \ id(the carrier of N))
   \/ id((the carrier of N) \ rng(the entrance of N));
  correctness;
end;

theorem
  e_adjac(N) c= [:e_shore(N),e_shore(N):] &
  e_flow(N) c= [:e_shore(N),e_shore(N)]
proof
A1: ((the entrance of N) \/ (the escape of N)) \ id(the carrier of N) c= ((
  the entrance:  i=*+(imod2) and
A2: the escape of N c= [:the carrier of N,the carrier of N:] by      ( mod 2)<2 by NAT_D:ef ;
A3: the entrance of N c= [:the carrier of N,the carrier of N:] by Def1;
  then (the entrance of N)~ c= [:the carrier of N,the carrier of N:] by
SYSREL:4;
  then
A4: id(the carrier of N)       reconsider jasElement of  by ORDINAL1: 12;
  entrance of N)~ \/(the escapeof N)c=[:thecarrier of ,the carrier of N:]
  by A2,RELSET_1:13,XBOOLE_1:8;
  id((the carrier of N) \ rng(the entrance of N)) c= id(the carrier of N)
& id (the carrier of N) c= [:the carrier of N,the,;
,SYSREL:15,XBOOLE_1:36; then
A5:id(( carrierof )  rng(theentranceof ) c : carrier  Njava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
      then 2*<*lenf)by NAT_1:13;
  (the entrance of N) \/ (the escape of N) c= [:the carrier of N,the
  carrier of N:]      then 2*/2*lenf)2by XREAL_1:;
  ((the entrance of N) \/ (the escape of N)) \ id(the carrier of N) c= [:
  the carrier of N,the carrier of N:] by A1,XBOOLE_1:1;
  hence thesis by A5,A4,XBOOLE_1:8;
end;

theorem
  (e_adjac(N)) * (e_adjac(N)) = e_adjac(N) &
  (e_adjac(N) \ id(e_shore(N))) * e_adjac(N) = {} &
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
proof
  set P = the entrance of NA63:j+ in dom Y_axis(f)) by A48,FINSEQ_1:def 3;
  set Q = the escape of N;
  set R = id(the carrier of N);
  set S =id(the ofN \ rng(heentrance of N));
  set T = id((the carrier of N) \ rng(the escape of N));
A1: S c= R by SYSREL:15,XBOOLE_1:36;
  (e_adjac N \/ (e_adjac N)~) = (((P \/ Q) \ R  A3,A63java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 52
  )~) \/ (S~)) by RELAT_1:23
    .= (((P \/ Q) \ R) \/ S) \/ ( ( ((P \/ Q) \ R)~) \/ S)
    .= (((P \/ Q) \ R) \/ ( ((P \/ Q) \ R)~ ) ) \/ S by XBOOLE_1:5
    .= (((P \/ Q) \ R) \/ ( ((P \/ Q)~) \ (R~) )) \/ S by RELAT_1A64:Y_axis()  (Y_axis(f).,(Y_axisf.lenf)by
    .= (((P \/ Q) \ R) \/ (((P \/ Q)~) \ R)) \/ S
    .= (((P \/ Q) \/ ((P \/ Q)~)) \ R) \/ S by XBOOLE_1:42;
  then
A2: (e_adjac(N) \/ (e_adjac(N))~) \/ id(e_shore(N)) = (((P \/ Q) \/ ((P
  \/ Q)~)) \ R) \/ (S \/ R) by XBOOLE_1:  then 1  Seg 2(lenf)-'1) by A47,FINSEQ_1:1;
    .= (((P \/ Q) \/ ((P \/ Q)~)) \ R) \/ R by A1,XBOOLE_1:12
    .= (((P~ \/Q) / (\/Q)  )\ Rby RELAT_1:23
    .= (P~ \/ ((Q \/ P) \/ (Q~)) \ R) \/ R by XBOOLE_1:4
    .= (P~ \/ (Q \/ (P \/ (Q~)))  then
    .= ( ( (P~ \/ Q) \/ (P \/ (Q~)) ) \ R) \/ R by XBOOLE_1:4
    .= ( (~\ )\ (\ (Q~)))\/R 39
    .= e_flow N \/ ((((P \/ (Q~))~)~) \/ R) by XBOOLE_1:5
    .= e_flow N \/ (((PA67:for i st<i&i+=leng1 holds| g1/.-g1/(+).<java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
    .= e_flow N \/ (((P~ \/ Q)~) \/ (R proof
    .= e_flow N \/ (e_flow N)~ by RELAT_1:23;
  S c= R by SYSREL:15,XBOOLE_1:36;
  then
A3: S \    assume that
  (P \ R) * (Q \ R) c= P * (Q \ R) by RELAT_1:30,XBOOLE_1:36;
  then (P \ R) * (Q \ R) c= {} by Th15;
  then
A4: (   *Q \ R) = {}byXBOOLE_1:3;
  (P \ R) * (P \ R) c= P * (P \ A70:g1.i+)=g1/.i+)by A69,INSEQ_4:15NAT_1:11;
  then (P \ R) * (P \ R) c= {} by Def2;
  then
  i<leng1by ,:13;
  (Q \ R) * (P \ R) c= Q * (P \ R) by RELAT_1:30,XBOOLE_1:36;
  then (Q \ R) * (P \ R) c= {} by Th15;
  then
A6: (Q \ R) * (P \ A71: i in Seg len g1 A68,INSEQ_1:1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    <=1by java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 23
  then (Q \ R) * (Q \ R) c= {} java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 8
  then
A7:(Q \R *(Q \ R)= {} by XBOOLE_1:;
A8: (e_adjac(N) \ R) * e_adjac(N) = (((((P \    <A69N:java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  ) \ R) * ((P \/ Q) \ R)) \/ (    then
    .= (((((P \ R) \/ (Q \ R)) \/ S) \ R) * ((P \/ Q) \ R)) \/ ( g1.=/iby ,FINSEQ_415java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  \ R    per  byNAT_D12;
    .= ((( (((P \ R) \/ (Q \ R)) \ R) \/ (S \  suppose
  \/ Q) \ R) \/ S) \ R) * S) by XBOOLE_1:42
P\R \R /(Q    ))\/( \ R) *(P /Q)\R)
  ) \/ ((((P \/ Q) \ R) \/ S) \ R) * S) by XBOOLE_1:42
    .= (((((((P \ (R \/ R)) \/ ((2
  \/ ((((P \/ Q) \ R) \/ S) \ R) * S       jas Element  NATbyORDINAL1:ef12
    .= ((((((P \ R) \/ ((Q \ (R \/ RA76:g1/i=[(/j)`(f/.j+))`2|by A26,A34A71,A73,A74,A75;
  (P \/ Q) \ R) \/ S) \ R) * S))) by XBOOLE_1:41
    .= (((((P \ R) \/ (Q \ R)) \/ (S \ R)) * ((P \ R) \/ (Q \ R)) \/ ((((P
  \/ Q) \ R) \/ S) \ R) * S)) by XBOOLE_1:42
    .= (((((P \ R) \/ (Q \ R) \/      1<=+i by NAT_1:;
  R) \/ (Q \ R)) \/ S) \ R) * S)) by XBOOLE_1:42
    .= ((( ( ( ((P \ R) \/ (Q \ R))       *j1-1=*j+)1by A74,,NAT_D:;
\/ (Q \ R)) \/ (S \ R) ) * (Q \ R))) \/ ((((P \ R) \/ (Q \ R)) \/      then
  by RELAT_1:32
    .=78  g1/(+1)=f/.j1)byA26,,A72,A70,A74,A75;
\/ (Q \ R)) * (Q \ R) ) \/ ((S \ R) * (Q \ R)) ) ) \/ ((((P \ R) \/ (Q \ R)) \/
  )  R)*S))by SYSREL6
    .= ((( ( ( ((P \ R) \/ (Q \ R)) * (P \ R)) \/ ((S \ R) ) * (P \ R)      ]|by EUCLID:61
( ( ((P \ R) \/         .=[(f/.)1(f/j1)10|by A76,78java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
  (Q \ R)) \/ S) \ R) * S) by SYSREL:6
    =((((}\/{ /(S  ))*( \)/(((P\R)\ Q \R
)) * (Q \ R)) \/ ((S \ R) * (Q \ R)) ) ) \/ ((((P \ R) \/ (Q \ R)) \/ S) \ R) *
  S) by A5,A6,SYSREL:6
.=((( {  P\R)\ { *Q \ R)) /((P \)\ (  R)\ )
  \ R) * S) by A3,A4,A7,SYSREL:6
    =(((P  R /( R))\R)\ (S \R)  *SbyXBOOLE_1:java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
    .= (       java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
    =( (P  ( \/R) / (Q\R \R) \/(S \R))* S byX:
    .= ( ((P \ R) \/ (Q \ (R \/ R)) ) \/ (S \ R) ) * S by XBOOLE_1:41
    .= ((P \ R) * S) \/ ((Q \ R) * S) by A3,SYSREL:6
    .= {} \/ ((Q \ R) * S) by Th27
    ={}\/ (Q \ R) *T)by Th13
    .= {} by Th27;
        the.f.-.j1 |a A6A80java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
  (S * (((P \/ Q) \ R)      hence thesis by A79,XXREAL_0:2;
    .= ((((P \/ Q) \ R) * ((P \/ Q) \ R)) \/ (((P \/ Q) \ R) * S)) \/ (S * (
  ((P \/ Q) \     suppose
    .= ((((P \/ Q) \ R) * ((P \/ Q) \ R)) \/A81:i mod 2=1;
  ((P \/ Q) \ R)) \/ (S * S)) by RELAT_1:32
    .= ((((P \ R) \/ (Q \ R)) * ((P \      consider j  Nat suchthat
  ((S * ((P \/ Q) \ R)) \/ (S * S)) by XBOOLE_1:42
    .= ((((P \ R) \/ (Q \ R)) * ((P \ R) \/ (Q \ R))) \/ (((P \/ Q) \ R) * S
  )) \/ ((S * ((P \/ Q) \ R)) \/ (S * S)) by XBOOLE_1:42
    .= ((((P \ R) \/ (Q \ R) * ((P \ R) \/(Q  R)) \/(((P \ R) / (Q \ R
  )) * S)) \/ ((S * ((P \/ Q) \ R)) \/ (S * S)) by XBOOLE_1:42
    . (((P \ R) \ R) * (P \ R)\ Q \R)) /((P \R)\/(Q\R
  )) * S)) \/ ((S * ((P \ R) \/ (Q \ R))) \/ (S * S)) by XBOOLE_1:42
    . ((P \R)\/(Q \R) * (( \ R)) \/ (((P \ R) \/ (Q \ R)) * ( \R)
)) \/ (((P \ R) \/ (Q \ R)) * S)) \/ ((S * ((P \ R) \/ (Q \ R))) \/ (S * S))
by RELAT_1:32
    .= ((({} \/ {}) \/ ((      2*j1-1=*j+)1by A68A81,A82,:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  \ R) *S)\ (S*(P  R \/Q\R))\/(S *S) by A5,A6,YSREL:java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
    .= {} \/ (((P \ R) \/ (Q \ R)) * S) \/ ((S * ((P \ R) \/ (Q \ java.lang.StringIndexOutOfBoundsException: Range [0, 67) out of bounds for length 48
  * S)) by A4,A7,SYSREL:6
    .= (((P \ R) \/ (Q \ R)) * S) \/ ((      i+1*j+)by A81A82;
SYSREL:12
    .= (((P \ R) * S) \/ ((Q \ R) * S)) \/ ((S * ((P \ R) \/ (Q \ R))) \/ S)
  by SYSREL:6
    .= (((P \ R) *A84  g1/.i+)=[f/(+)1(f/.(j1+)`2] by A26,A72,A70;
  \/ S) by RELAT_1:32
    .=  g1/i-g1/(+)=[g1/i)`1-(g1/.(i+1))`1,(g1/.i)`2-(g1/.(i+1))`2
    .= ((Q \ R) * T) \/ ((S * (P \ R)) \/ (S * (Q \ R)) \/ S) by Th13
    .= {} \/ ((S * (P \ R)) \/ (S * (Q \ R)) \/ S) by Th27
    .= ((P \ R)       `2]|byA83,A84;
    .= ((P \ R) -/(i1)`1=  g1/i-1.+)`=(/(+))2-f.j++
    .= ((P \ R) \/ (Q \ R)) \/ S by Th23
    .= e_adjac N by XBOOLE_1:42;
  hence thesis by A8,A2;
end;

reserve N for e_net;

theorem Th33:
  ((the entrance of N) \ id(the carrier of N))~ c=
    [:e_Places(N), e_Transitions. sqrt((f/(j+1)-f.(j1+)`)
  ((the escape of N) \ id(the carrier of N))~ c=
    [:e_Places(N),e_Transitions(N):]
proof
  (the entrance of N) \ id(the carrier of       then |.g1/.i-g1/.(i+1).|=|.(f/.(j+1))(f.j+)`. y COMPLEX1:72;
    [:e_Transitions( then
  (the escape of N) \ id(the carrier of N) c=
    [:e_Transitions(N),e_Places N:] by Th18;
  hence thesis by SYSREL:4;
end;

definition
  let N be G_Net;
  func s_pre(N) ->      then *j+)2*lenf)by AT_1:;
  ((the escape of N) \ id(the carrier of N))~;
  coherence;
  func s_post(N) -> Relation equals
  (the entrance of N) \ id(the carrier of N))~;
  coherence;
end;

theorem
  s_post(N) c= [:e_Places(N),e_Transitions(N):] &
  s_pre(N) c= [:e_Places(N),e_Transitions(N):] by Th33;

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.7 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland