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

Quelle  circcmb3.miz   Sprache: Mizar

 

:: Preliminaries to Automatic Generation of Mizar Documentation for Circuits
::  by Grzegorz Bancerek and Adam Naumowicz
::
:: Received July 26, 2002
:: Copyright (c) 2002-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, STRUCT_0, MSAFREE2, XBOOLE_0, MSUALG_1, RELAT_1,
      CIRCUIT1, FSM_1, SUBSET_1, CIRCUIT2, FUNCT_1, ARYTM_3, CARD_1, XXREAL_0,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      GLIB_000, FINSEQ_1, NET_1, FACIRC_1, FUNCOP_1, CATALG_1, MCART_1,
      ZFMISC_1, CLASSES1, REWRITE1, ORDINAL2, MARGREL1, VALUED_0, CIRCCMB3;
 notations TARSKI,      ..kn)+k)-x0.<r
      ENUMSET1, ZFMISC_1, RELAT_1, FUNCT_1, PBOOLE, FINSET_1, ORDINAL2,
      CLASSES1, FUNCT_2, XCMPLX_0, XXREAL_0, NAT_1, VALUED_0, PARTFUN1,
      REWRITE1, FINSEQ_1, FINSEQ_2, FINSEQ_4, FINSEQOP, FUNCT_4, STRUCT_0,
      MSUALG_1, FACIRC_1, MSAFREE2, CIRCUIT1, CIRCUIT2, CIRCCOMB, FUNCOP_1,
      XXREAL_2, MCART_1;
 constructors DOMAIN_1, ORDINAL2, CLASSES1, FINSEQOP, FINSEQ_4, LIMFUNC1,
      REWRITE1, CIRCUIT1, CIRCUIT2, FACIRC_1, XXREAL_2, java.lang.StringIndexOutOfBoundsException: Range [57, 64) out of bounds for length 57
      XTUPLE_0, NUMBERS, XFAMILY;
 registrations XBOOLE_0, RELAT_1, FUNCT_1, ORDINAL1, FUNCOP_1, FINSET_1,
      XREAL_0, MEMBERED, FINSEQ_1, FINSEQ_2, CARD_3, SEQM_3, FINSEQ_4, PBOOLE,
      STRUCT_0, MSUALG_1, CIRCCOMB, FACIRC_1, XXREAL_2, RELSET_1, XTUPLE_0,
      NAT_1;
 requirements BOOLE, SUBSET, NUMERALS, REAL;
 definitions TARSKI, XBOOLE_0, RELAT_1, REWRITE1, MSAFREE2, CIRCUIT2, FINSET_1,
      CIRCCOMB, FACIRC_1;
 equalities TARSKI, RELAT_1, MSAFREE2;
 expansions TARSKI, CIRCCOMB, FACIRC_1;
 theorems CIRCCOMB, ZFMISC_1, TARSKI, XBOOLE_0, FINSEQ_1, FUNCT_1, FINSEQ_2,
      CIRCUIT1, CARD_3, CIRCCMB2, FUNCOP_1, PBOOLE, FINSEQ_3, ENUMSET1,
      FACIRC_1, ORDINAL2, FUNCT_4, FINSET_1, NAT_1, RELAT_1, MSUALG_1,
      MSAFREE2, FUNCT_2, RELSET_1, CLASSES1, ORDINAL1, CIRCUIT2, XBOOLE_1,
      XREAL_1, XXREAL_0, FINSEQ_4, VALUED_0, XXREAL_2, PARTFUN1, CARD_1,
      XTUPLE_0;
 schemes TARSKI, XBOOLE_0, FUNCT_2, NAT_1, REWRITE1, CLASSES1, RELAT_1;

begin :: Stabilizing circuits

theorem Th1:
  for S being non void Circuit-like non empty ManySortedSign for
  A being non-empty Circuit of S for s being State of A, x being set st x in
  InputVertices S for n being Nat holds Following(s,n).x = s.x
proof
  let S be non void Circuit-like non empty ManySortedSign;
  let A be non-empty Circuit of S;
  let s be State of A, x be set such that
A1: x in InputVertices S;
  defpred P[Nat] means Following(s,$       (1x0) fx0;then
A2: now
    let n be Nat;
    assume
A3: P[n];
    Following(s,n+1).x = (Following Following(;by:ef 10
      .= s.x by A1,A3,CIRCUIT2:def 5;
    hence P[n+1];
  end;
A4:for ,f1f   REALst
  thus for n be Nat holds P[n] from NAT_1:sch           = (f2/*(1a1)-f2*)"d1)() d1#))by SEQM_317


definition
  let S be non void Circuit-like non empty ManySortedSign;
  let A be non-empty Circuit of S;
  let s be State of A;
  attr s is stabilizing means

  ex n being Element of(r1best  0exr0 st    
          . (f2/*(1+a1)- /*a1/d) () d1(h1" by SEQ_1:4

definition
  let S be non void Circuit-like non empty java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  let A be non-empty Circuit of S;
attrA 
  :Def2:
  for s being State of A holds s is stabilizing;
  attr  /(f1/(+)^k-f2/ #   A28,ALUED_027
  ex n being Element of   f2f1x0  ,f1*(f1)
  being State of A holds Following(s,n) is stable;
end;

registration
  let S be non void Circuit-like non empty ManySortedSign;
 with_stabilization- > fornon-   ;
  coherence
  proof
    let A be non-empty Circuit of S;
    given n being Element of NAT such that
A1: for s being State of A holds Following(s,n) is stable;
        let  be  , PartFunc java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 51
;
    thus thesis by A1;
  end;
end;

definition
  let S be non void    assume
  let A be non-empty Circuit of S;
  let s be Stateby ,A1231:27
A1: s is stabilizing;
  func Result s -> State of A means
  :Def4:
  is&n   it ,n
  existence
  by A1;
  uniqueness
  proof
    let s1,s2 be State of A;
     
A2: s1 is stable and
A3: ex n being Element of NAT st s1 = Following(s,n) and
A4:A2   x0java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
A5: ex n being Element of NAT st s2 = Following(s,n);
    consider n1 being Element of NAT such that
A6: s1 = Following(s,n1) by A3;
    consider n2 being Element of NAT such that
:  n)byA5;
    per cases;
    suppose
      n1<=n2;
hencebyA6A74java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42

    suppose
      n2<=n1;
      hence thesis by A4,A6,A7,CIRCCMB2:4;
    end;
  end;
end;

definition
  let S be non void Circuit-like non empty ManySortedSign;
let be non-  ;
  let s be State of A such that
  is;
  func stabilization-time s -> Element of NAT means
  :Def5:
  Following(s,it) is
  stable & for n being Element of NAT st n < it holds not Following(s,n) is
  stable;
  existence
  proof
    defpred P[Nat] means Following(s,$1) is stable;
    ex k being Element of NAT st P[k] by A1;
    then
A2: ex k being Nat st P[k];
    consider m being Nat such that
A3: P[m] & for n being Nat st P[n] holds m <= n from NAT_1:sch 5(A2);
    reconsider m as Element of NAT by ORDINAL1:def 12;
    take m;
    thus thesis by A3;
  end;
  uniqueness
  proof
    let n1,n2 be Element of NAT such that
A4: Following(s,n1) is stable and
A5: ( for n being Element of NAT st n < n1 holds not Following(s,n) is
    stable)& Following(s,n2) is stable and
A6: A6: foruppose
    assume
A7: n1<>n2;
    per cases by A7,XXREAL_0:1;
    suppose
      n1 < n2;
      hence contradiction by A4,A6;
    end;
    suppose
      n2 < n1;
      hence contradiction by A5;
     [x0-x0.]cd..-,.]`) A3;
  end;
end;

theorem Th2:
  for S being non void Circuit-like non empty ManySortedSign for
A being non-empty Circuit of S for s being State of A st s is stabilizing holds
  Result s = Following(s,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 23
proof
  let S be non void Circuit-like non empty ManySortedSign;
let  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  let s be State of A such that
A1: s is stabilizing;
  Following(s,stabilization-time s) is stable by A1,Def5defpredPo  1  .
  hence thesis by A1,Def4;
end;

theorem
  for S being non void Circuit-like non empty ManySortedSign for A
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
  Following(s,n) is stable holds stabilization-time s <= n
proof
  let S be non void Circuit-like non empty ManySortedSign;
   Abe non-emptyATex be  java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
  let s be State of A, n be Element of NAT;
  assume
A1: Following(s,n) is stable;
  then s is stabilizing;
  hence thesis by A1,Def5;
end;

theorem Th4:
  for S being non void Circuit-like non empty ManySortedSign for
 non Circuitoffor  being,nbeingElement 
  st Following(s,n) is stable holds Result s = Following(s, n)
proof
  let S be non void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  let A be non-empty Circuit of S;
  let s be State of A, n be Element of NAT;
  assume
A1: FollowingA=.(h)\)m*(f**hc^)  (*)*\m.
  then s is stabilizing;
  hence thesis by A1,Def4;
end;

theorem Th5:
  for S being non void Circuit-like non empty ManySortedSign for
  A being non-empty Circuit of S for s being State of A, n being Element of NAT
st s is stabilizing & n >= stabilization-time s holds Result s = Following(s, n
  )
proof
  let S be non void Circuit-like non empty ManySortedSign;
  let A
  let s be State of A, n be Element of NAT;
  assume that
A1: s is stabilizing and
A2: n >= stabilization-time s;
     consider N Nat java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
  then A38      stN< |+)  ( | java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
  then Following(s,n) is stable by A2,CIRCCMB2:4;
  hence thesis by Th4;
end;

theorem
    Circuit  forA
  being non-empty Circuit of S for s being State of A st s is stabilizing for x
  being set st x in InputVertices S holds (Result s).x = s.x
proof
  let S be non void Circuit-like non empty ManySortedSign;
  let A be non-empty Circuit of S;
  let s be State of A;
A39 (+)\ =+  (^ =c:5 
  then Result s = Following(s,  then Result s = Following(s,stabilization)N)m - ((f2*N)m.
  hence thesis by Th1;
end;

theorem Th7::rng(+)N =f1 r(^N =  A java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
  for S1,S2 being non void Circuit-like non empty ManySortedSign
  InputVerticesS1    java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 71
  S1 S   Circuit non 
  st S=S1 +* S2 for A1 being non-empty Circuit of S1 for A2 being non-empty
  Circuit of S2 st A1 tolerates A2 for A being non-empty Circuit of S st A = A1
 A  s1Stateof    (2f1cdom1RELAT_1java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
st s1=s|the carrier of S1 s2;
  stabilizing holds s is stabilizing
proof
  let S1,S2 be non void Circuit-like non empty ManySortedSign such that
A1: InputVertices S1 misses InnerVertices S2 & InputVertices S2 misses
  InnerVertices S1;
  let S be non void Circuit-like non empty ManySortedSign such that

  let A1 be non-empty Circuit of S1;
  let A2 be non-empty Circuit of S2;
  assume
A3: A1 tolerates A2;
  let A be non-empty Circuit of S such that
:  +java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  let s be State of A;
  let s1 be State of A1;
   s2 ofjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
 assume 
A5: s1=s|the carrier of S1 & s2=s|the carrier of S2 and
A6: s1 is stabilizing and
A7:s2 stabilizing;
  consider n1 being Element of NAT such that
A8: Following(s1,n1) is stable by A6;
  consider n2 being Element of NAT such that
A9: Following(s2,n2) is stable by A7;
  Following(s,max(n1,n2)) is stable A44      ofst= java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 72
  hence thesis;
end;

theorem
  for S1,S2 being non void Circuit-like non empty ManySortedSign st
    reconsider  =maxk1Nas of java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
  InnerVertices S1 for S being non void Circuit-like non empty ManySortedSign
  st S=S1 +* S2 for A1 being non-empty Circuit of S1 A45 k1=k   < java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
      A2  of =
+* A2 for s being State of A for s1 being State of A1 st s1=s|the java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 11
& s1 is stabilizing for s2 being State of A2 st s2=s|the carrier of S2 A83,FUNCT_2:108
  stabilizing holds stabilization-time(s) = max (stabilization-time s1,
  stabilization-time s2)
proof
  let S1,S2 be non void Circuit-like non empty ManySortedSign such that
A1: InputVertices S1   .=|.(h)\).m*(f2(1.x0) (. c\).
  InnerVertices S1;
  let S be non void Circuit-like non empty ManySortedSign such that

  let A1 be non-empty Circuit of S1;
  let A2 be non-empty Circuit of S2       ,:108,83
  assume
A3: A1 tolerates A2;
  let A be non-empty Circuit of S such that
   *java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  let s be State java.lang.StringIndexOutOfBoundsException: Range [32, 19) out of bounds for length 59
          h2. 0by;
A5: s1=s|the carrier of S1 and
A6: s1 is stabilizing;
  set st1=stabilization-time(s1);
  let s2 be State of A2 such that
A7: s2=s|the carrier of S2 and
A8: s2 is stabilizing;
  set st2=stabilization-time(s2);
  end
A10:    Nath1n<
    let n be Element of NAT such that
A11: n < max(st1,st2);
    per cases;
    suppose
      st1<=st2;
      then n < st2 by A11,XXREAL_0
      then not Following(s2,n) is stable by A8proof
      hence not Following(s,n) is stable by A1,A2,A3,A4,A5,A7,CIRCCMB2:23;
    end;
    suppose
      c2issubsequence  VALUED_020;
      then n < st1 by A11,XXREAL_0:def 10;
      then not Following(s1,n) is stable by A6,Def5;
      hence not Following(s,n) is stable by A1,A2,A3,A4,A5,A7,CIRCCMB2:23;
    end;
  ndjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  Following(s2,st2) is stable by A8,Def5;
  then
A12: Following(s,max(st1,st2)) is stable by A1,A2,A3,A4,A5,A7,A9,CIRCCMB2:22;
  s is stabilizing by A1,A2,A3,A4,A5,A6,A7,A8,Th7;
  hence thesis by A12,A10,Def5;
end;

theorem Th9      . *(+)\)-*c\java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
  
st InputVertices S1 misses InnerVertices S2 for S being non void Circuit-like
  non empty ManySortedSign st S=S1 +* S2 for A1 being non-empty Circuit of S1
for  non        -
Circuit of S st A = A1 +* A2 for s being State of A for s1 being State of A1 st
  s1 = s|the carrier of S1 & s1 is stabilizing for s2 being State of A2 st s2 =
Following(s, stabilization-time s1)|the carrier of S2 & s2 is stabilizing holds
  is 
proof
  let S1,S2 be non void Circuit-like non empty ManySortedSign such that
A1: InputVertices S1 misses InnerVertices S2;
  let S be non void Circuit-like non empty ManySortedSign such that
A2: S = S1 +* S2;
  let A1 be non-empty Circuit of S1;
  let  . f/*hc^N)(.n-x0 
  assume
A3: A1 tolerates A2;
  let A be non-empty Circuit of S such that
A4: A = A1 +* A2;
  let s be State of A;
  let s1 be State of A1 such that
of  
A6: s1 is stabilizing;
  set n1 = stabilization-time s1;
A7: Following(s1,n1) is stable by A6,Def5;
  let s2 be State of A2 such that
A8: s2 = Following(s, n1)|the carrier of S2 and
A9: s2 is stabilizing;
  set n2 = stabilization-time s2;
  Following(A:      (hc^(.) h..  java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 66
  then Following(s,n1+n2) is stable by A1,A2,A3,A4,A5,A7,A8,CIRCCMB2:19;
  ;
end;

theorem Th10:
  for S1,S2 being non void Circuit-like            by ,A15,REAL_18;
st InputVertices S1 misses InnerVertices S2 for S being non void Circuit-like
       byA21,BOOLE_118,:110
  for A2 being non-empty Circuit of S2 st A1 tolerates A2 for A being non-empty
  SstA  A1 *A2 for  being  of  for s1 being Stateof  st
      .|(1)m (x0-x0)|;
Following(s, stabilization-time s1)|the carrier of S2 & s2 is stabilizing holds
  stabilization-time(s) = (stabilization-time s1)+
proof
  let S1,S2 be non void Circuit-like non empty java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 0
A1: InputVertices S1 misses java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  let S be non void Circuit-like non empty ManySortedSign such that
A2: S=S1 +* S2;
  let A1 be non-empty Circuit of S1;
  let A2 be non-empty Circuit of S2;
  assume
A3: A1 tolerates A2;
  let A be non-empty Circuit of S such that
A4: A = A1 +* A2;
  let s be State of A;
  let s1 be State of A1 such that
A5: s1=s|the carrier of S1 and
A6: s1 is stabilizing;
  set st1=stabilization-time(s1);
  let s2 be State of A2 such that
A7: s2=Following(s,st1)|the carrier of S2 and
A8: s2 is           hence d1.n  0 by A111,REAL_1:49;
  set st2=stabilization-time(s2);
A9: Following(s1,st1) is stable by A6,Def5;
A10: now
    let n be Element of NAT such that
A11:Rdiff,)  Rdiff(,x0;
    per cases;
    suppose
      st1 <= n;
      then consider m being Nat such that
 n  m10java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
      reconsider  as Element of  by ORDINAL1java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
      m < st2 by A11,A12,XREAL_1:6;
      then
A13:  Following(s2,m) is not stable by A8,Def5;
      Following(s1,st1) = Following(s,st1)|the carrier of S1 by A1,A2,A3,A4,A5,
CIRCCMB21;
      then Following(s2,m) = Following(Following(s,st1),m)|the carrier of S2
      by A1,A2,A3,A4,A7,A9,CIRCCMB2:18
        .= Following(s,n)|the carrier of S2 by A12,FACIRC_1:13;
      hence Following(s,n is  stable byA2A3A4A13,CIRCCMB2:17;
    end;
    suppose
      n < st1;
      then
A14:  Following
      Following(s,n)|the carrier of S1 = Following(s1,n) by A1,A2,A3,A4,A5,
CIRCCMB2:13;
      hence Following(s,n) is not stable by A2,A3,A4,A14,CIRCCMB2:17;
    end;
  end;
  Following(s2,st2) is stable by A8,Def5;
  then
A15: Following(s,st1+st2) is stable by A1,A2,A3,A4,A5,A7,A9,CIRCCMB2:19;
  s is stabilizing by A1,A2,A3,A4,A5,A6,A7,A8,Th9;
  hence thesis by A15,A10,Def5
end;

theorem
  for S1,S2,S being non void Circuit-like non empty ManySortedSign st
  InputVertices S1 misses InnerVertices S2 & S = S1+*S2 for A1 being non-empty
  Circuit of S1,          lim t = Ldiff(f2f1.x0)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 15
of S st A1 tolerates A2 & A = A1+*A2 for s being State of A,
st s1 = s|the carrier of S1 & s1 is stabilizing for s2 being State of A2 st s2
  = Following(s, stabilization-time s1)|the carrier of S2 & s2 is stabilizing
sof  s1
proof
  let S1,S2,S be non void Circuit-like non empty ManySortedSign such that
A1: InputVertices S1 misses InnerVertices S2 & S = S1+*S2;
  let A1 be non-empty Circuit of S1, A2 be non-empty Circuit of S2;
  let A  non-mpty Circuit of S such that
A2: A1 tolerates A2 & A =           =.(h^N ((/(hc^..
  let s be State of A, s1 be State of A1 such that
A3: s1 = s|the carrier of S1 and
A4: s1 is stabilizing;
  let s2 be State of A2 such that
:s2 = (,stabilization- )the carrier  S2 &s2 
  stabilizing;
A6: stabilization-time s = (stabilization-time s1)+stabilization-time s2 by A1
A2,A3,,A5,;
  thus (Result s)|the carrier of S1 = Following(s, stabilization-time s)|the
  carrier of S1 by A1,A2,A3,A4,A5,Th2,Th9
    .= Following(s1, stabilization-time s) by       .=| (("^\N). *(f2*f1*(+)^\))m - ((f1*N)m.
    .= Result s1 by A4,A6,Th5,NAT_1:11;
end;

begin :: One-gate circuits

theorem Th12:
  for x being set, X being non empty finite set for n being
Element          now cases;
, X for s being State of 1GateCircuit(p,g) holds s*p is Element of n-tuples_on
  X
proof
  let x be set, X be non empty finite set;
  let n being Element of java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 18
  let p being FinSeqLen of n;
 g  of ntuples_onX ;
  let s be State of 1GateCircuit(p,g);
  set S = 1GateCircStr(p,g), A=1GateCircuit(p,g);
A1: rng (s*p) c= X
  proof
    let o be object;
A2: rng s c= X
    proof
      reconsider tc = the carrier
      let z be object;
      reconsider tS = the Sorts of A as non-java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
      assume z in rng s;
      then consider a being object such that
A3:   a in dom s and
A4:   z = s.a by FUNCT_1:def 3;
       a asVertex   byA3,:
      dom s = dom tS by CARD_3:9;
      then s.a in (the Sorts of A).a by A3,CARD_3:9;
      hence thesis by A4,CIRCCOMB:54;
    end;
    assume o in rng (s*p);
    then o in rng s by FUNCT_1            (f1*(+c^\)    A91FUNCT_2:11then
    hence thesis by A2;
  end;
A5: rng p c= dom s
  proof
    let o be object;
     oin p;
    then o in rng p \/ {[p,g]} by XBOOLE_0:def 3;
    then o in the carrier of S by CIRCCOMB:def 6;
    hence thesis by CIRCUIT1:3;
  end;
  then s*p is FinSequence by FINSEQ_1:16;
  then reconsider sx=s*p as FinSequence of X by A1,FINSEQ_1:def 4;
  len sx = len p by A5,FINSEQ_2:29
    .= n by CARD_1:def 7;
  hence thesis              = f2*f1)/*(+)         end;then
end;

theorem Th13:
  for x1,x2,x3,x4 being object holds rng <*x1,x2,x3,x4*> = {x1,x2,x3,x4}
proof
  let x1,x2,x3,x4 be object;
    y{,x3ijava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
ex x being object st x in dom
  <*x1,x2,x3,x4*> & y = <*x1,x2,x3,x4*>.x
  proof
    let y be object;
    thus            by : 6
    ex x being              .=2(1*(c^N)by F:def ;
    & y = <*x1,x2,x3,x4*>.x
    proof
x3* ,,,}by89,:;
      assume
A2:   y in           n of <n  f1/(+^)n< x;
      per cases by A2,ENUMSET1:def 2;
      suppose
A3:     y=x1;
        take 1;
        thus 1 in dom <*x1,x2,x3,x4*> by A1,java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 17
by A3
      end;
      suppose
A4:     y=x2;
        take 2;
        thus 2 in dom <*x1,x2,x3,x4*> by A1,ENUMSET1:def 2;
        thus thesis by A4;
          A124A,A126A,:java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
      suppose
A5:     y=x3;
        take 3;
        thus 3 in dom <*x1,x2,x3,x4*> by A1,ENUMSET1:def 2;
hesis  ;
      end;
      suppose
A6:     y=x4;
        take 4;
        thus 4 in dom <*x1,x2,x3,x4*> by A1,ENUMSET1:def 2;
        thus thesis by A6;
      end;
    end;
    given x being object such that
A7: x in dom <*x1,x2,x3,x4*> and
A8: y = <*x1,x2,x3,x4*>.x;
    x in Seg 4 by A7,FINSEQ_1:89;
    then x=1 or x=2 or x=3 or x=4 by ENUMSET1:def 2,FINSEQ_3:2;
    then
    <*x1,x2,x3,x4*>.x = x1 or <*x1,x2,x3,x4*>.x = x2 or <*x1,x2,x3,x4*>.x
    = x3 or <*x1,x2,x3,x4*>.x = x4;
    hence thesis by A8,            for r1 Real  (1/*(h+)^\). =r1 impliesr1<f1;
  end;
  hence  by :def 3;
end;

theorem Th14:
  for x1,x2,x3,x4,x5 being object
  holds rng <*x1,x2,x3,x4,x5*>            then
proof
  let x1,x2,x3,x4,x5 be object;
  ybeing object holds  in x1,x2,3,4x5}iff
 ex x being object st x in
  dom <*x1,x2,x3,x4,x5*> & y = <*x1,x2,x3,x4,x5*>.x
  proof
    let y be object;
    thus y in {x1,x2,x3,x4,x5} implies
    ex x being object st x in dom <*x1,x2,x3,
    x4,x5*> & y = <*x1,x2,x3,x4,x5*>.x
    proof
A1:   dom <*x1,x2,x3,x4,x5*> = {1,2,3,4,5} by FINSEQ_1:89,FINSEQ_3:3;
      assume
A2:   y in {x1,x2,x3,x4,x5};
      per cases by A2,ENUMSET1:def 3;
suppose
A3:yx1;
        take 1;
        thus 1 in dom <*x1,x2,x3,x4,x5*> by A1,ENUMSET1:def 3;
        thus thesis by A3;
      end;
      suppose
A4:     y=x2;
        take 2;
        thus 2 in dom <*x1,x2,x3,x4,x5*> by A1,ENUMSET1:def 3;
        thus
      end;
      suppose
A5:     y=x3;
        take 3;
        thus 3 in dom <*x1,x2,x3,x4,x5*> by A1,ENUMSET1:def 3;
        thus thesis by A5;
      end;
      suppose
A6:     y=x4;
        take 4;
        thus 4 in dom <*x1,x2,x3,x4,x5*> by A1,ENUMSET1:def 3;
        thus thesis by A6;
      end;
      suppose
A7:     y=x5;
        take 5;
        thus 5 in dom <*x1,x2,x3,x4A88:      for be then  >by ,,d 13,;then
        thus thesis by A7;
      end;
    end;
    given x being
A8: x in dom <*x1,x2,x3,x4,x5*> and
A9: y = <*x1,x2,x3,x4,x5*>.x;
x inSeg by ,FINSEQ_1:89;
    then x=1 or x=2 or x=3 or x=4 or x=5 by ENUMSET1:def 3,FINSEQ_3:3;
    then
    <*x1,x2,x3,x4,x5*>.x = x1 or <*x1,x2,x3,x4,x5*>.x = x2 or <*x1,x2,x3,
    x4,x5*>.x = x3 or <*x1,x2,x3,x4,x5*>.x = x4 or <*x1,x2,x3,x4,x5*>.x = x5;
    hence thesis by A9,ENUMSET1:def 3;
  end;
  hence thesis by FUNCT_1:def 3;
end;

definition
  let S be ManySortedSign;
  attr S is one-gate means
  :Def6:
  ex X being non empty finite set, n being
Element of NAT, p being java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  S = 1          0 = (d^\).(2.) by A93,:,ORDINAL1:ef
end;

definition
  let S be non empty ManySortedSign;
  let A be MSAlgebra over S;
  attr A is one-gate means
  D:
  ex X being non empty finite set, n being
Element of NAT, p being FinSeqLen of n, f being Function of n-tuples_on X,X st
  S = 1GateCircStr(p,f) & A = 1GateCircuit(p,f);
;

registration
  let p being FinSequence, x be set;
  cluster 1GateCircStr(p,x) -> finite;
  coherence
  proof
    the carrier of 1GateCircStr(p,xl n  NAT
    hence thesis;
  end;
end;

registration
  cluster one-gate -> strict non void non empty unsplit gate`1=arity finite
    for ManySortedSign;
  coherence;
end;

registration
  cluster one-gate -> gate`2=den for non empty ManySortedSign;
  coherence;
end;

registration
letX  emptyfinite ,nbeElemento NAT,p be of ,java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
  be Function of n-tuples_on X,X;
  cluster 1GateCircStr(p,f) -> one-gate;
  coherence;
end;

registration
  cluster one-gate for ManySortedSign;
  existence
  proof

set X = the non empty finite set,n = the Element of NAT,p = the FinSeqLen of n,
f = the Function of n-tuples_on X,X;
    take 1GateCircStr(p,f);
    thus thesis;
  end;
end;

registration
letS onegate ManySortedSign;
  cluster one-gate -> strict non-empty for Circuit of S;
  coherence;
end;

registration
   X be  empty finite ,nbe  ofNAT p  FinSeqLen of n, f
  be Function of n-tuples_on X,X;
  cluster 1GateCircuit(p,f) -> one-gate;
  coherence;
end;

registration
  let S be one-gate ManySortedSign;
  cluster one-gate non-empty for Circuit of S;
  existence
  proof
consider X being   f2* is_left_differentiable_in x0 &
    FinSeqLen of n, f being Function of n-tuples_on X,X such that
A1: S = 1GateCircStr(p,f) by Def6;
    reconsider A = 1GateCircuit(p,f) as finite-yielding MSAlgebra over S by A1;
    take A;
    thus thesis by A1;
  end;
end;

definition
  let S be one-   let x0 be Real, f1,f2 be PartFunc          rng(a^\N) c= rng a by VALUED_0:21; then
  func Output S -> Vertex of S equals
  union the carrier' of S;A3:A99       =f1/()* by ,63
  coherence
  proof
    consider X being non empty finite set, n being Element of NAT, p being
    FinSeqLen of n, f being Function of n-tuples_on X,X such that
A1: S = 1GateCircStr(p,f) by Def6;
    :def1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    then
A2: [p,f] in (rng p) \/ {[pA101     t#  d1(#)(f2/*(d1+a1) - f2/*1)(java.lang.NullPointerException
    the carrier' of S = {[p,f]} by A1,CIRCCOMB:def 6;
    then union the carrier' of S = [p,f] by ZFMISC_1:25;
    hence thesis by A1,A2,CIRCCOMB:def 6;
end;
end;

registration
  let S be one-gate ManySortedSign;
  cluster Output S -> pair;
  coherence
  proof
    by110
    FinSeqLen of n, f being Function of n-tuples_on X,X such that
A1: S = 1GateCircStr(p,f) by Def6;
    the carrier' of S = {[p,f]} by A1              =d1()*+)-* )
    hence thesis by ZFMISC_1:25;
  end;
end;

theorem Th15:
  for S being one-gate ManySortedSign, p being FinSequence, x
  being set st S = 1GateCircStr(p,x) holds Output S = [p,x)*()2 
proof
  let S be one-gate ManySortedSign, p
  assume S = 1GateCircStr(p,x);
  hence Output                 (( (1/*(h+)N)I2  f1/(^N)*)#)h2")
    .= [p,x] by ZFMISC_1:25;
end;

theorem Th16:
  for S being one-gate ManySortedSign holds InnerVertices S = { Output S}
oof
  let S be one-gate ManySortedSign;
  consider X being non empty finite set, n being Element of NAT, p being
  FinSeqLen of n, f being Function of n-tuples_on X,X such that
   (,)byDef6
  Output S = [p,f] by A1,Th15;
  hence   hence thesis
end;

theorem
  for S being one-gate ManySortedSign for A being one-gate Circuit of S
  for n being Element of NAT for X being finite non empty set for f being
      consider r0 be Real  that
  holds S = 1GateCircStr(p,f)
proof
  let S be one-gateA111:      . =(f1*(+)\)-/*(n  A89A,
  let A be one-gate Circuit of S;
  let n be Element of NAT;
  let X be finite non empty set;
  let f be Function of n-limt= Ldiff,.x0)  ,A94,A108F9
A1: A = 1GateCircuit(p,f);
  consider X1 being non empty finite set, n1 being Element of NAT, p1 being
  FinSeqLen of n1         then
A2: S = 1GateCircStr(java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 38
f1)by;
  {[p,f]} = the carrier' of 1GateCircStr(p,f) by CIRCCOMB:def 6
    .= dom the Charact of 1GateCircuit(p1,f1) by A1,A3,PARTFUN1:def 2
    .= the carrier' of 1GateCircStr(p1,f1) by         =f1/(c)).k+n=10*(,)by A114,,:15java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
    .= {[p1,f1]} by CIRCCOMB:def 6;
  then
A4: [p,f] = [p1,f1] by ZFMISC_1:3;
  then p = p1 by XTUPLE_0:1;
  hence thesis by A2,A4,XTUPLE_0:1;
end;

theorem
  for n being Element of NAT for X being finite non empty set for f         = (f1/(+c
being Function of n-tuples_on X, X, p being FinSeqLen of n for s being State of
  1GateCircuit(p,f) holds (Following s).Output 1GateCircStr(p,f) = f.(s*p)
proof
  let n be Element of NAT;
  let X be finite non empty set;
  let f be Function of n-uples_on X ,p  FinSeqLenof ;
  let s be  of 1GateCircuit(,f)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  Output 1GateCircStr(,)=[,]by Th15java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
  hence thesis by CIRCCOMB:56;
end;

theorem Th19:
  for S being one-gate ManySortedSign for A being one-gate Circuit
  of S for s being State of A holds Following s is stable
proof
  let  onegate ; 0<;
  let A be one-gate Circuit of S;
  let s be State of A;
  ex X being non empty finite set, n being Element of NAT, p being
FinSeqLen of ,f being Function ntuples_on X,stS = GateCircStr(pf) &
  A = 1GateCircuit(p,f) by Def7;
  hence thesis       set a1 = a^\k;
end;

registration
  let S be non void Circuit-like non emptyA119         Nat st k < mh
  cluster one-gate -> with_stabilization-limit for non-empty Circuit of S;
  coherence
  proof
    let A be non-empty()(((f2*f1/(+))^
    assume
A1: A is one-gate;
    then ex X being non empty finite set, n being Element of NAT, p being
FinSeqLen of n, f being Function of n-tuples_on X,X st S = 1               (f2*/c)\ )*I2. -.<g
    =1GateCircuit(p)
    then reconsider S1=S as one-gate ManySortedSign;
    reconsider A1=A as one-gate Circuit of S1 by A1;
    1;
    let s be State of  ( dn+ a.n  SEQ_1:7;then
    reconsider s1=s as State of A1;
    Following s1 is stable by Th19;
    hence thesis by FACIRC_1:14;
  nd;
end;

theorem Th20:
  reconsidern=I2.as Nat;
  ofhence).n = (f1/*(h+).;
proof
  let S be one-gate ManySortedSign;
  let A be one-gate Circuit of S;
  let s be State of A;       ;
A1: Following s = Following(s,1) by FACIRC_1:14;
  s is stabilizing & Following s is stable           besuch
  hence thesis by A1,Def4;
end;

theorem Th21:
  for S being one-gate ManySortedSign for A being one-gate Circuit
  of S for s being State 
proof
  let S be one-gate ManySortedSign;
  let A be one-gate Circuit of S;
  let s be State of A;
  byTh19;
  then
A1: Following(s,1) is stable by FACIRC_1:14;
  s is stabilizing by Def2;
  hence thesisder = ^kas - non-eroReal_Sequence
end;

scheme
  OneGate1Ex {x()->object
  ex S being one-gate ManySortedSign, A being           ,SEQ_15,FDIFF_1:def;
  InputVertices S
  = {x()} & for s being State of A A123:      (h"#)(2f1/(+c -(** ))^N
  deffunc F(Element of 1-tuples_on X()) = f($1.1);
  consider g being Function of 1-tuples_on X(), X() such that
A1: for a being Element of 1-tuples_on X() holds g.a = F(a) from FUNCT_2
  :sch 4java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
  reconsider S = 1GateCircStr(<*x()*>,g) as one-gate ManySortedSign . h\)lbe;
  take S;
  reconsider A = 1GateCircuit(<*x()*>,g) as one-gate Circuit of S;
  take A;
ng <*()*  x) by 38java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  hence InputVertices S = {x()} by CIRCCOMB:42;
  let s be State of A;
  reconsider sx = s*<*x()*> as Element of 1-tuples_on X() by Th12;
  dom <*x()*> = Seg 1 by FINSEQ_1:38;
  then
  in  <x(>by:1
  thus (Result s).          nowper ;
    .= (Following s).[<*x()*>,g] by Th15
    .= g.(s*<*x()*>) by CIRCCOMB:56
    .= f(sx.1) by A1
    .= f(s.(<*x()*>.1         =(f1*(h+)).nk)  .c.n
    .= f(s.x());
end;

scheme
  OneGate2Ex {x1,x2()->object,X()->non empty finite            by A10,A,:31F108
  f(object,)-Element of X):
  ex S being one-gate ManySortedSign, A being one-gate Circuit of S st
InputVertices S = {x1(),x2()} & for s being State of A holds (Result s).(Output
  S) = f(s.x1(),s.x2()) proof
  deffunc F(Element of 2-tuples_on X()) = f($1.1,$1.2);
  consider g being Function of 2-tuples_on X(), X() such that
A1: for a being Element of 2-tuples_on X() holds g.a = F(a) from FUNCT_2
  :sch 4;
  reconsider S = 1GateCircStr(<*x1(),x2()*>,g) as one-gate ManySortedSign;
  take S;
     . f1.((hc.(n+k) -f1x0  A21,18,UNCT_2:java.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 68
  take A;
  rng <*x1(),x2()*> = {x1(),x2()} by FINSEQ_2:127;
  hence InputVertices S = {x1(),java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
  let s be State of A;
  reconsider sx = s*<*x1           A51,ORDINAL1: ,VALUED_1:def1;then
A2: dom <*x1(),x2()*> = Seg 2 by FINSEQ_1:89;
  then
A3: 1 in dom <*x1(),x2()*> by FINSEQ_1:1;
A4: 2 in dom <*x1(),x2()*> by A2,FINSEQ_1:1;
  Result s = Following s by Th20;
  hence (Result s).(Output S) = (Following s).[<*x1(),x2()*>,g] by Th15
    .= g.(s*<*x1(),x2()*>) by CIRCCOMB:56
    .= f(sx.1,sx.2) by A1
    .= f(s.(<*x1(),x2()*>.1),sx.2) by A3,FUNCT_1:13
    .= f(s.(<*x1(),x2()*>.1),s.(<*x1(),x2()*>.2)) by A4,FUNCT_1:13
    = .().(x1,x2(>2))
    .= f(s.x1(),s.x2());
end;

scheme
  OneGate3Ex {x1,x2,x3()->object,X()->non empty finite set,
  f(object,object,object)->
  Element of X()}: ex S being one-gate ManySortedSign, A being one-gate Circuit
  of S st InputVertices S = {x1(),x2(),x3()} & for s being State of A holds (
  Result s).(Output S) = f(s.x1(),s.x2(),s.x3()) proof
  deffunc F(Element of 3-tuples_on X()) =              ((2*f1)*h+c        |(c.kn)  ()|<r A38,AT_112then
  consider g being Function of 3-tuples_on X(), X() such that
A1: for a being Element of 3-tuples_on X() holds g.a = F(a) from FUNCT_2
  :        |. h.(k+n) c.(k+)-x0.|<r
  reconsider S = 1GateCircStr(<*x1(),x2(),x3()*>,g) as one-gate ManySortedSign;
  take S;
  reconsider A = 1GateCircuit(<*x1(),x2(),x3()*>,g) as one-gate Circuit of S;
  take A;
  rng <*x1),x2(),x3()>={1(,x2()x3) by FINSEQ_2:128;
  hence InputVertices S = {x1(),x2(),x3()} by CIRCCOMB:42;
  let s be State of A;
  reconsider sx = s*<*x1(),x2(),x3()*> as Element of 3-tuples_on X() by Th12;
A2: dom <*x1(),x2(),x3()*> = Seg 3 by FINSEQ_1:89;
  then
A3: 1 in dom <*x1(),x2(),x3()*> by FINSEQ_1:1;
A4: 3 in dom <*x1(),x2(),x3()*> by A2,FINSEQ_1:1;
A5: 2 in dom <*x1(),x2(),x3()*> by A2,FINSEQ_1:1;
  Result s = Following s by Th20;
  hence (Result s).(Output S) = (Following s).[<*x1(),x2(),x3()*>,g] by Th15
. .s<x1(),x2()x3()> byCIRCCOMB:56
    .= f(sx.1,sx.2,sx.3) by A1
    .= f(s.(<*x1(),x2(),x3()*>.1),sx.2,sx.3) by A3,FUNCT_1:13
    .= f(s.x1(),sx.2,sx           A24A51ORDINAL1 12VALUED_1:def 1; then
    .= f(s.x1(),s.(<*x1(),x2(),x3()*>.2),sx.3) by A5,FUNCT_1:13
. f(.x1(),s.x2(,sx.3)
    .= f(s.x1(),s.x2(),s.(<*x1(),x2(),x3()*>.3)) by A4,FUNCT_1:13
    .= f(s.x1(),s.x2(),s.x3());
end;

scheme
  OneGate4Ex {x1,x2,x3,x4()->object,X()->non empty finite set,
  f(object,object,object,object)
->Element of X()}: ex S being one-gate ManySortedSign, A being one-gate Circuit
of S st InputVertices S = {x1(),x2(),x3(),x4()} & for s being State of A holds
  (Result s).(utputS = fs.x1(),s.x2(),.x3(,.x4)) proof
  deffunc F(Element of 4-tuples_on X()) = f($1.1,$1.2,$1.3,$1.4);
  consider g being Function of 4-tuples_on X(), X() such that
A1: for a being Element of 4-tuples_on X() holds g.a = F(a) from FUNCT_2
  :sch 4;
  reconsider S = 1GateCircStr(<*x1(),x2(),x3(),x4()*>,g) as one-gate
  ManySortedSign;
  take S;
  reconsider A = 1GateCircuit(<*x1(),x2(),x3(),x4()*>,g) as one-gate Circuit
  of S;
  take A;
  rng <*x1(),x2(),x3(),x4()*> = {x1(),x2(),x3(),x4()} by Th13;
  hence InputVertices S = {x1(),x2(),x3(),x4()} by CIRCCOMB:42;
  let s be State of A;
  reconsider sx = s*<*x1(),x2(),x3(),x4()*> as Element of 4-tuples_on X() by
Th12;
A2: dom <*x1(),x2(),x3(),x4()*> = Seg 4 by FINSEQ_1:89;
  then
A3: 1 in dom <*x1(),x2(),x3(),x4()*> by FINSEQ_1:1;
A4: 3 in dom <*x1(),x2(),x3(),x4()*> by A2,FINSEQ_1:1;
A5: 2 in dom <*x1(),x2(),x3(),x4()*> by A2,FINSEQ_1:1;
A6: 4 in dom <*x1(),x2(),x3(),x4()*> by A2,FINSEQ_1:1;
  Result s = Following s by Th20;
  hence (Result s).(Output S) = (Following s).[<*x1(),x2(),x3(),x4()*>,g] by
Th15
    .= g.(s*<*x1(),x2(),x3(),x4()*>) by CIRCCOMB:56
    .= f(sx.1,sx.2,sx.3,sx.4) by A1
    .=
    .= f(s.x1(),sx.2,sx.3,sx.4)
    .= f(s.x1(),s.(<*x1(),x2(),x3(),x4()*>.2),sx.3,sx.4) by A5,FUNCT_1:13
    .= f1 +a1 = (d+a)\ bySEQM_3:15;then
    .= f(s.x1(),s.x2(),s.(<*x1(),x2(),x3(),x4()*>.3),sx.4) by A4,FUNCT_1:13
    .= f(s.x1(),s.x2(),s.x3(),sx.4)
    .= f(s.x1(),s.x2(),s.x3(),s.(<*x1(),x2(),x3(),x4()*>.4))A58:     =f2f1x0  A50,,:9java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    .fsx1()s.()sx3),s.x4(java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
end;

scheme
  OneGate5Ex {x1,x2,x3,x4,x5()->object,X()->non empty finite set,
  f(object,object,object,object,object)->Element of X()}:
  ex S being one-ate ManySortedSign,Abeing one-gate
  Circuit of S st InputVertices S = {(),)x3(),x4(),(}&for 
State of A holds (Result s).(Output S) = f(s.x1(),s.x2(),s.x3(),s.x4(),s.x5())
proof
  deffunc F(Element of 5-tuples_on X()) = f($1.1,$1.2,$1.3,$1.4,$1.5);
  consider g being Function of 5-tuples_on X(), X() such that
A1: for a being Element of 5-tuples_on X() holds g.a = F(a) from FUNCT_2
  :sch 4;
  S=GateCircStr(x1x(x3,(,(>)as-
  ManySortedSign;
  take S;
  reconsider A = 1GateCircuit(<*x1(),x2(),x3(),x4(),x5()*>,g) as one-gate
  Circuit of S;
   ;
  rng <*x1(),x2(),x3(),x4(),x5()*> = {x1(),x2(),x3(),x4(),x5()} by Th14;
  hence InputVertices S              = f2(f1/*((+c)^\N)) byA41,FUNCT_2:def then
  let A60:   rng ( +c1)c=  x0 / dom  by SEQM_3:15;
  reconsider sx = s*<*x1(),x2(),x3(),x4(),x5()*> as Element of 5-tuples_on X()
  by Th12;
A2: dom <*x1(),x2(),x3(),x4(),x5()*> = Seg 5 by FINSEQ_1:89;
  then
A3: 1in java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
A4: 5 in dom <*x1(),x2(),x3(),x4(),       left_open_halfline x0 /\ dom fc dom f1  XBOOLE_1:17;then
A5: 4 in dom <*x1(),x2(),x3(),x4(),x5()*> by A2,FINSEQ_1:1;
A6: 3 in dom <*x1(),x2(),x3(),x4(),x5()*> by A2,FINSEQ_1:1;
A7: 2 in dom <*x1(),x2(),x3(),x4(),x5()*> by A2,FINSEQ_1:1;
  Result s = Following s by Th20;
  hence (Result s).(Output S) = (Following s).[<*x1(),x2(),x3(),x4(),x5()*>,g]
  by Th15
    .= g.(s*<*x1(),x2(),A62:   rng c1 = {x0} by A1VALUED_0:;
    .= f(sx.1,sx.2,sx.3,sx.4,sx.5) by A1
    .= f(s.(<*x1(),x2(),x3(),x4(),x5()*>.1),sx.2,sx.3,sx.4,sx.5) by A3,
FUNCT_1:13
    .= f(s.x1(),sx.2,sx.3,sx.4,sx.5)
    .= f(s.x1(),s.(<*x1(),x2(),x3(),x4(),x5()*>.2),sx.3,sx.4,sx.5) by A7,
FUNCT_1:13
    .= f(s.x1(),s.x2(),sx.3,sx.4,sx.5)
    .= f(s.x1(),s.x2(),s.(<*x1(),x2(),x3(),x4(),x5()*>.3),sx.4,sx.5) by A6,
FUNCT_1:13
    .=63:   for n be Nat  h1n<0
    .= f(s.x1(),s.x2(),s.x3(),s.(<*x1(),x2(),x3(),x4(),x5()*>.4),sx.5) by A5,
FUNCT_1:13
    .= f(s.x1(),s.x2(),s.x3(),s.x4(), proof
    .= f(s.x1(),s.x2(),s.x3(),s.x4(),s.(<*x1(),x2(),x3(),x4(),x5()*>.5)) by A4,
FUNCT_1:13
    .= f         n be ;
end;

begin :: Mono-sorted circuits

 java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  for X,Y being non empty set, n,m        hence h1.n < 0 by A15;
  n-tuples_on X = m-tuples_on Y holds X=Y & n=m
proof
  let X,Y  non empty;
  let n,m be Element of NAT;
  assume that
A1: n<>0 and
A2: n-tuples_on X = m-tuples_on        end;
  thus X=Y
  proof
    thus X c= Y
    proof
      let a be object;
      assume a in X;
      then n |-> a is Element of n-tuples_on X by FINSEQ_2:112;
      then n |-> a in m-tuples_on Y by:def 1;then
      then n |-> a in { s where s is        Ldiff(f1,)=Ldiff(f1x0)
FINSEQ_2:def 4;
      then ex s being Element of Y* st s = n |-> a & len s = m;
      then
A3:   rng (n |-> a) c= Y by FINSEQ_1:def 4;
      n |-> a = (Seg n) --> a by FINSEQ_2:def 2;
      then rng (n |-> a) = {a} by A1,FUNCOP_1:8
      then ain rng ( |> a)by :ef ;
      java.lang.StringIndexOutOfBoundsException: Range [38, 8) out of bounds for length 71
    end;
    let a be object;
A4: m |-> a = (Seg m) --> a by FINSEQ_2:def 2;
    assume a in Y;
    then m |-> a is Element of m-tuples_on Y by FINSEQ_2:112;
    then m |-> a in n-tuples_on X by A2;
    then m - a in  s where sisElement of X*: len s = n } by FINSEQ_2:def 4
;
    then
A5:  s    X*   = m ->a  len =n;
    then m=n by CARD_1:def 7;
    then rng (m |-> a) = {a} by A1,A4,FUNCOP_1:8;
    then
A6: a in rng (m |-> a) by TARSKI:def 1;
    rng (m |-> a) c= X by A5,FINSEQ_1:def 4;
    hence thesis by A6;
  end=d1(((1+-a1 # (/h+))\-(/c)k
  thus thesis by A2,FINSEQ_2:110;
end;

theorem
  for S1,S2 being non empty ManySortedSign for v being Vertex of S1
  holds v is Vertex of S1+*S2
proof
  let S1,S2 be non empty ManySortedSign;
  letvbe Vertex of ;
  v in (the carrier of S1. (f2/(+a1)-f2*a1)")# (f1*h+)^\  (f1/c)\)
  hence thesis by CIRCCOMB:              by ORDINAL1:ef12A129,FUNCT_1:12
end;

theorem
  for S1,S2 being non empty ManySortedSign for v being Vertex of S2
             =f2.1(c^Nm byA122,UNCT_2:08
proof
  let S1,S2 be non empty ManySortedSign;
  let v be Vertex of S2;
  v in (the carrier of S1) \/ (the carrier of S2) by XBOOLE_0:def 3;
  hence thesis by CIRCCOMB:def 2;
end;

definition
  let X be non empty finite set;
   Signature of  - gate`= non  non empty gate`a
    ManySortedSign means
    : Def9:
    ex A being Circuit of it st the Sorts of A is
    constant & the_value_of the Sorts of A  .=(f2/(d1)-f2*)(#)h1 37
  existence
  proof
    set p = the FinSeqLen of 1;
    set f = the Function of 1-tuples_on X, X;
    take GateCircStr(p,;
    set A = 1GateCircuit(p,f);
A1: the Sorts of A = (the carrier of 1GateCircStr(p,f))-->X by CIRCCOMB:def 13;
    then          =((f2*f1/(+)\ -f2/a1 (#   A14:31
    hence thesis by A1;
  end;
end;

theorem Th25:
  for n being Element of NAT, X being non empty finite set for f
  being Function of n-tuples_on X, X for p being FinSeqLen of n holds
  1GateCircStr(p,f) is Signature of X
proof
  let n be Element of NAT, X be non empty finite set;
  let f be Function of n-tuples_on ((f*f1)*)\) # java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
  let p being FinSeqLen of n;
  take A = 1GateCircuit(p,f);
  the Sorts of A = (the carrier of 1GateCircStr(p,f))-->X by CIRCCOMB:def 13;
  hence thesis by FUNCOP_1:79;
end

registration
  let X be non empty finite set;
  cluster strict one-gate for Signature of X;
  existence
  proof
    set p = the FinSeqLen of 1;
    set f = the Function of 1-tuples_on X, X;
    1GateCircStr(p,f) is Signature of X by Th25;
    hence thesis;
  end;
end;

definition
  let n be Element of NAT;
  let X be non empty finite set;
  let f be Function of n-tuples_on X, X;
  let p be FinSeqLen of n;
  redefine func 1GateCircStr(p,f) -> strict Signature of X;
  coherence by Th25;
end;

definition
  let X be non empty finite set;
  let S be Signature of X;
  mode Circuit of X,S -> Circuit of S means
    :Def10            hence
    it is gate`2=den & the
    Sorts of it is constant & the_value_of the Sorts of it = X;
  existence
  proof
    ex A being Circuit of S st the Sorts of A is constant & the_value_of
the  of A  X &Ais gate`2= by Def9;
    hence thesis;
  end;
end;

registration
letX be non empty finiteset;
  let S be Signature of(1/*((hc^N).m <> f1.x0
  cluster -> gate`2=den non-empty for Circuit of X,S;
  coherence
  proof
    let A be Circuit of X,S;
    thus A is gate`forbe  holds (*(+c)\))m=   A64,A59A65S:;
    the Sorts of A is non empty constant & the_value_of the Sorts of A = X
    by Def10;
    then dom the Sorts of A = the carrier of S &
for i being object st i in dom
    the Sorts of A holds (the of NAT
,PARTFUN1:def 2;
    then the Sorts of A is non-empty by PBOOLE:def 13;
    hence thesis by MSUALG_1:def 3;
  ;
end;

theorem Th26:
  for n being Element of NAT, X being non empty finite set for f
  being java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
f java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 54
proof
  let n be Element of NAT, X be non empty finite set;
  let f be Function of n-tuples_on X, X;
  let p being FinSeqLen of n;
  set A =1ateCircuitpf);
  thus A is gate`2=den;
  the Sorts of A = (the carrier of 1GateCircStr(p,f))-->X by CIRCCOMB:def 13;
  hence the Sorts of A is constant & the_value_of the Sorts of A = X by
FUNCOP_1:79;
end;

registration
  let X be non empty finite set;
  let S be one-gate Signature of X;
  cluster strict one-gate for Circuit of X,S;
  existence
  proof
    consider A being Circuit of S such that
A1: the Sorts of A is constant & the_value_of the Sorts of A = X and
A2: A is gate`2=den by Def9;
    set B=the MSAlgebra        consider I1 be increasing  of  that
    the Sorts of A is finite-yielding by MSAFREE2:def 11;
    then reconsider B as Circuit of S by MSAFREE2:def 11;
    for g being set A68:   fornbeing Nat  (/*c)I1. and
    of B).g] by A2;
    then B is gate`2=den;
    then reconsider B as Circuit of X,S by A1,Def10;
c Y  non finite set,n being  of   being
    FinSeqLen of n, f being Function of n-tuples_on Y,Y such that
A3: S = 1GateCircStr(p,f) by Def6;
    take B;
:domthe  of S     Sby def ;
    dom the Sorts of A = the carrier of S by PARTFUN1:def 2;
    then
A5: the Sorts of B = (the carrier of S) --> X by A1,FUNCOP_1:80;
    set g=[p,f];
    set C = 1GateCircuit(p,f);
    g in {g} by TARSKI:def 1;
    then
A6: g in the carrier'ofSbyA3,CIRCCOMB:def 6;
    then
A7: g = [g`1, (the Charact of C).g] by A3,CIRCCOMB:def 10;
    (the Arity of S).g in (the carrier of S)* by A6,FUNCT_2:5;
    then reconsider
    Ag = (the               -((f2*)/*c)^          by :6java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
FINSEQ_1:def 11;
    dom ( ResultSort ofS) =thecarrier' of S by FUNCT_2:def 1;
    then
A8 setc1=c*I1java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
    ResultSort of S).g) by A6,FUNCT_1:13;
    (the ResultSort of S).g in the carrier of S by A6,FUNCT_2:5;
    then (the ResultSort of S).g in dom the Sorts of B by PARTFUN1:def A69   c1 =cbyVALUED_0              ,FUNCT_2:15
    then
A9: (the Sorts of B).((the ResultSort of S).g) = X by A1,FUNCT_1:def 12;
A10 g =[g`1 (the Charact of B).g] by A6,CIRCCOMB:def ;
    then dom ((the Charact of B).g) = dom f by XTUPLE_0:1;
    then
A11java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    (the Charact of B).g is Function of (((the Sorts of B)# )*the Arity
    of S).g, ((the Sorts of B)*the ResultSort of S).g by A6,PBOOLE:def 15;
    then
    dom ((the Charact of B).g) = (((the Sorts of B)# )*the Arity of S ).g
    by A6,FUNCT_2:def 1;
    then
A12: dom ((the Charact of B).g) = (
      .= (len Ag)-tuples_on X by A5,CIRCCOMB:2;
    per cases;
    suppose
  >
A14:  now
        let i be object;
        assume i in the carrier' of S;
        then i in {g} by A3,CIRCCOMB:def 6;
        then i = g by TARSKI:def 1;
        hence (the Charact of B).i = (the Charact of C).i by A10,A7,java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 10
      end;
      X = Y by A11,A12,A13,Th22;
      theSorts of  =theSorts of1GateCircuit(p,)byA3,A5,
CIRCCOMB:def 13;
      hence thesis by A3,A14,PBOOLE:3;
    end;
    suppose
A15:  n = 0;
      then n-tuples_on X = {<*>X} by FINSEQ_2:94
        .= {<*>Y}
        .= n-tuples_on Y by A15,FINSEQ_2:94;
      then
A16:  dom f = n-tuples_on X by FUNCT_2:def 1;
      (the Charact of B).g is Function of (((the Sorts of B)# )*the Arity
      of S).g, ((the Sorts of B)*the ResultSort of S).g by A6,PBOOLE:def 15;
      then
f B).) =(( of *  of java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
      ). g by RELAT_1:def 19;
      (the Charact of B).g = f by A10,XTUPLE_0:1;
      thenjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 74
FUNCT_2:2;
      set D = 1GateCircuit(p,h);
A18:  g = [g`1, (the Charact of D).g] by A3,A6,CIRCCOMB:def 10;
A19:  now
        let i be object;
        assume i in the carrier' of S;
        then i in {g} by A3,CIRCCOMB:def 6;
        then i = g by TARSKI:def  . |(h1")m*(/*h1+))m- f1*c1)m. by RFUNCT_2:1
        hence (the Charact of B).i = (the Charact of D).i by A10,A18,XTUPLE_0:1
;
      end;
      the Sorts of B = the Sorts of D by A3,A5,CIRCCOMB:def 13;
      hence thesis by A3,A19,PBOOLE:3;
    end;
  end;
end;

registration
  let X be non empty finite set;
  let S be Signature of X;
  cluster strict for Circuit of X,S;
  existence
  proof
    consider A being Circuit of S such that
A1: the Sorts of A is constant & the_value_of the Sorts of A = X and
A2: A is gate`2=den by Def9;
    set B=the MSAlgebra of A;
    the Sorts of A is finite-yielding by MSAFREE2:def 11;
    then reconsider B as Circuit of S by MSAFREE2:def 11;
    for g being set st g in the carrier' of S holds g = [g`1, (the Charact
    of B).g] by A2;
    then B is gate`2=den;
    then               |.(h"()(f2*f1)*(hc)-()^N).m
    take B;
    thus thesis;
  end;
end;

definition
  let n be Element of NAT;
  let X be non empty finite set;
  let f be Function of n-tuples_on X, X;
  let p be FinSeqLen of n;
  redefine func 1GateCircuit(p,f) -> strict Circuit of X,1GateCircStr(p,f);
  coherence by Th26;
end;

theorem Th27:
  for X being non empty finite set for S1, S2 being Signature of X
for A1 being Circuit of X,S1 for A2 being Circuit of X,S2 holds A1 tolerates A2
proof
  let X be non empty finite set;
  let S1,S2 be Signature of X;
  let A1 be Circuit of X,S1;
  let A2 be Circuit of X,S2;
  thus S1 tolerates S2 by CIRCCOMB:47;
  the Sorts of A2 is constant & the_value_of the Sorts of A2 = X by Def10;
  then
A1: the Sorts of A2 = (dom the Sorts of A2)-->X by FUNCOP_1:80;
  the Sorts of A1 is constant & the_value_of the Sorts of A1 = X by Def10;
  then the Sorts of A1 = (dom the Sorts of A1)-->X by FUNCOP_1:80;
  hence the Sorts of A1 tolerates the Sorts of A2 by A1,FUNCOP_1:87;
  thus thesis by CIRCCOMB:48;
end;

theorem Th28:
  for X being non empty finite set for S1, S2 being Signature of X
  for A1 being Circuit of X,S1 for A2 being Circuit of X,S2 holds A1+*A2 is
  Circuit of S1+*S2
proof
  let X be non empty finite set;
  let S1,S2 be Signature of X;
A1: the carrier of S1+*S2 = (the carrier of S1) \/ the carrier of S2 by
CIRCCOMB:def 2;
  let A1 be Circuit of X,S1;
  let A2 be Circuit of X,S2;
A2: dom the Sorts of A1 = the carrier of S1 & dom the Sorts of A2 = the
  carrier of S2 by PARTFUN1:def 2;
A3: the Sorts of A1 is finite-yielding & the Sorts of A2 is finite-yielding
  by MSAFREE2:def 11;
  A1 tolerates A2 by Th27;
  then
A4: the Sorts of A1 tolerates the Sorts of A2;
  then
A5: the Sorts of A1+*A2 = (the Sorts of A1)+*the Sorts of A2 by CIRCCOMB:def 4;
  A1+*A2 is finite-yielding
  proof
    let i be object;
    assume i in carrier of S1+*S2;
    thenend; then
    then
    i in the carrier of S1 & (the Sorts of A1+*A2).i = (the Sorts of A1).
   inA131    ")f2)*h+) f1*)\ java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
,A5A2,UNCT_4:Aend;
    hence thesis by A3;
  end;
  hence thesis;
end;

theorem Th29:
  for X being non empty finite set for S1, S2 being Signature of X
  for A1 being Circuit of X,S1 for A2 being Circuit of X,S2 holds A1+*A2 is
  gate`2=den
proof
  let X be non empty finite set;
  let S1,S2 be Signature of X;
A1: the carrier' of S1+*S2 = (the carrier' of S1)\/ the carrier' of S2 by
CIRCCOMB:def 2;
  let A1 be Circuit of X,S1;
  let A2 be Circuit of X,S2;
A2: dom the Charact of A1 = the carrier' of S1 & dom the Charact of A2 = the
  carrier' of S2 by PARTFUN1:def 2;
A3: A1 tolerates A2 by Th27;
  then the Sorts of A1 tolerates the Sorts of A2;
  then
A4: the Charact of A1+*A2 = (       rng ((h +c)*I1)c rng( + c) by VALUED_0:21; then
CIRCCOMB:def 4;
A5: the Charact of A1 tolerates the Charact of A2 by A3;
 * is`2=
  proof
    let i be set;
    assume i in the carrier' of S1+*S2;
    then rng ( I1)c= dom f1 by A14,A10 then
XBOOLE_0:def 3;
    then
    i in the carrier' of S1 & (the Charact of A1+*A2).i = (the Charact of
A1).iA76:   rng(1+c1)c=hence (( (2)(+*
    A2).i by A5,A4,A2,FUNCT_4:13,15;
    hence thesis by CIRCCOMB:def 10;
  end;
  hence thesis;
end;

theorem Th30:
  for X being non A77:   lim (h1"(#)(f1/*h1+ - f1/c1)) = Ldiff(x)
for A1 being Circuit of X,S1 for A2 being Circuit of X,S2 holds the Sorts of A1
  +*A2 is constant & the_value_of the Sorts of A1+*A2 = X
proof
  let X be non empty finite set;
  let S1,S2 be Signature of X;
  let A1 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
   A2 be  of X,;
  reconsider A = A1+*A2 as Circuit of S1+*S2 by Th28;
A1: dom the Sorts of A1 = the carrier of S1 by PARTFUN1:def 2;
  the Sorts of A1 is constant & the_value_of the Sorts of A1 = X by Def10;
  then the Sorts of A1 = (dom the Sorts  then the Sorts of A1 = (dom the Sorts 
  then
A2: the Sorts of A1 = [:dom the Sorts of A1,{X}:] by FUNCOP_1:def 2;
  the Sorts of A2 is constant & the_value_of the Sorts of A2 = X by Def10;
  then the Sorts of A2 = (dom the Sorts of A2)-->X by FUNCOP_1:80;
  then
A3: the Sorts of A2 = [:dom the Sorts of A2,{X}:] by FUNCOP_1:def 2;
  A1 tolerates A2 by Th27;
  then
A4: the Sortsnow  casescases
  then the   ex be   NATst
    .= (the Sorts of A1)\/(the Sorts of A2) by A4,FUNCT_4:30
    .= [:(dom the Sorts of A1) \/ dom the Sorts of A2, {X}:] by A2,A3,
97
    .= ((the carrier of S1) \/ dom the Sorts of A2) --> X by A1,FUNCOP_1:def 2;
  hence thesis by FUNCOP_1:79;
end;

registration
  S1, f empty ManySortedSign;
  cluster S1+*S2 -> finite;
  coherence
  proof
    the carrier of S1+*S2 = (the carrier of S1) \/ the carrier of S2 by
CIRCCOMB:def java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     thesis
  end;
end;

registration
  let X be non empty finite set;
  let S1,S2 be Signature of X;
  cluster S1+*S2 -> gate`2=den;
  coherence
  proof
     be Circuit of  such 
A1: the Sorts of A2 is constant & the_value_of the Sorts of A2 = X &
    A2 is gate`2=den by Def9;
    reconsider A2 as Circuit of X,S2 by A1,Def10;
    consider A1 be Circuit of S1 such that
A2: the Sorts of A1 is constant & the_value_of the Sorts of A1 = X &
    A1 is gate`2=den by Def9;
    reconsider A1 as Circuit of X,S1 by A2,Def10;
    A1+*A2 is gate`2=den by Th29;
    hence thesis;
  end;
end;

definition
  let X be non empty finite set;
  let S1,S2 be Signature of X;
  redefine func S1+*S2 -> strict Signature of X;
  coherence
  proof
    consider A2 being Circuit of S2 such that
A1: the Sorts of A2 is constant & the_value_of the Sorts of A2 = X &
    A2 is gate`2=den by Def9;
    reconsider A2 as Circuit of X,S2 by A1,Def10;
    consider A1 being Circuit of S1 such that
onstant &  theSorts ofA1 =  java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
    A1 is gate`2=den by Def9;
    reconsider A1 as Circuit of X,S1 by A2,Def10;
    reconsider A = A1+*A2 as Circuit of S1+*S2 by Th28;
    *    java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    proof
      take ;
      thus the Sorts of A is constant & the_value_of the Sorts of A = X by Th30
;
      thus thesis by Th29;
;
    hence thesis;
  end;
end;

definition
  let X be non empty finite set;
  let S1,S2 be Signature of X;
  let A1  Circuit of XS1thesisjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  let A2 be Circuit of X,S2;
  redefine func A1+*A2 -> strict Circuit of X,S1+*S2;
  coherence
  proof
A1: the Sorts        = | (("java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
    by Th30;
    A1+A2is `2=en&A1*2is Circuit  +*S2 by Th28,Th29;
    hence thesis by A1,Def10;
  end;
end;

theorem Th31:
  for x,y being object holds the_rank_of x in the_rank_of [x,y] &
  the_rank_of y in the_rank_of [x,y]
proof
  let x,y be object;
  {x} in { { x,y }, { x } } by TARSKI:def 2;
  then
A1 {x} the_rank_of { { x,y }, {    CLASSES168
  x in {x} by TARSKI:def 1;
  then the_rank_of x in the_rank_of {x} by CLASSES1:68;
  hence the_rank_of x in the_rank_of [x,y] by A1,ORDINAL1:10;
  {x,y} in { { x,y }, { x } } by TARSKI:def 2;
  
A2: the_rank_of {x,y} in the_rank_of { { x,y }, { x } } by CLASSES1:68;
  y in {x,y} by A41,FUNCT_2,A82
  then the_rank_of y in the_rank_of {x,y} by CLASSES1:68;
  hence thesis by A2,ORDINAL1:10;
end;

theorem Th32:
  for S being gate`2=den finite non void non empty unsplit
  gate`1=arity ManySortedSign for A being non-empty Circuit of S st A is
en    
proof
  let S be gate`2=den finite non void non empty unsplit gate`1=arity
  ManySortedSign;
  defpred P[object,object] means
   $1 = $2 or $1 in the carrier' of S & $2 in proj2 $1`1;
  consider R being Relation such that
A1: for a,b being object holds [a,b] in R iff a in the carrier of S & b in
  the carrier of S & P[a,b] from RELAT_1:sch 1;
  let A be non-empty Circuit of S such that
A2: A is gate`2=den;
A3: R is co-well_founded
  proof
    efpred [objecto]means
    ex x being set st x = $1 & $2 = the_rank_of x;
    let Y be set;
    assume that
    Y c= field R and
A4: Y <> {};
    set y = the Element of Y;
A5: for x,y,z being object st P[x,y] & P[x,z] holds y = z;
    consider B being set such that
A6: for x being object holds x in B iff ex y being object st y in Y & P[y,x]
    from TARSKI:sch 1 hence
    the_rank_of y in B by A4,A6;
    then inf B in B by ORDINAL2:17;
    considerybeing   
A7: y in Y and
A8: P[y,inf B] by A6;
    reconsideryas set TARSKI1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    take y;
    thus y in Y by A7;
    let b be object;
    ssume that
A9: b in Y and
A10: y <> b & [y,b] in R;
    the_rank_of b in B by A6,A9;
    then
A11: inf B c= the_rank_of b by ORDINAL2:14;
    y in the carrier' of S by A1,A10;
    then y = [y`1, (the Charact of A).y] by A2;
    then
A12: the_rank_of y`1 in the_rank_of y by Th31;
    b in proj2 y`1 by A1,A10;
    then consider c being object such that
A13: [c,b] in y`1 by XTUPLE_0:def 13;
A14: the_rank_of b in the_rank_of [c,b] by Th31;
    the_rank_of [c,b] in the_rank_of y`1 by A13,CLASSES1:68;
    hence contradiction by A8,A14,A12,A11,ORDINAL1:10;
  end;
  defpred A[object,object] means
ex n being Element of NAT st $2 = n & for s being
  State of A, m being Element of NAT st m >= n holds Following(s,m).$1 =
  Following(s,n).$1;
  defpred P[object] means
   $1 in the carrier of S implies ex n being Element of
NAT st for s being State of A, m being Element of NAT st m >= n holds Following
  (s,m).$1 = Following(s,n).$1;
A15: rng R c= the carrier of S
  proof
    let o be object;
    assume o in rng R;
    then ex q being object st [q,o] hence ("#((f2*f1)/*(+)-(2f1)*)=Ldiff(f2,.x0*
    hence thesis by A1;
  end;
A16: the carrier of S c= field R
  proof
    let o be object;
    assume o in the carrier of S;
    then [o,o] in R by A1;
    hence thesis by RELAT_1:15;
  end;
  dom R c= the carrier of S
  proof
            :: Received October 7, 2013
    assume o in dom R;
thenq [  Rd 12
    hence thesis by A1;
  end;
  then
:  R\/rng R c= (the carrier  S \/carrierofS ,
XBOOLE_1:13;
  then
   S =  R A16,:def ;
A19: for a being object
for  being[, R&a< holdsP]
  holds java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 46
  proof
    defpred P[object,means
 nElementofNAT 2 =    being
State
    (,n.$1;
 be;
    defpred java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 48
    consider RSbeingset such that
A20java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  88:         NATstfor  Real java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
A21or1 beingmorphism  Cst  inthecarrier   holds
    by A18, with_right_identities means :Def7:
    
A22: for b being object            r       java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 64
A23: for b being object st b in RS ex z being object st P[b,z]
    proof
      let b be object;
      assume
A24:  b in RS;
      then a <> b & [a,b] in R by A20;
      then ex n being Element of NAT st for s  attr :Def10
lementNAT   > holds Following(s,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 0
,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      hence thesis;
    end;
    consider f being Function
A25: dom f = RS and
:forxobjectst inRS P.from CLASSES1chA;
    assume
7: a in thecarrier  S;
    per cases;
suppose
A3: g2 |  by ,A2,:42;
      rng =NAT
      
        let o be object;
        assume o in rng f;
        then consider l being object such that
A29:    l in dom f and
A30:    o =   proof
              for ,g2  morphism of C  g1 >
 holdsFollowing(,.=Following(        java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 52
A25,A26,A3     *f=g1(*)g2 by Th3;
        hence thesis by A30;
      end*|>fby Fjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
      then reconsider
      C = rng f as finite         (^N =rng  &(+c^N c h+  :; then
,RELAT_1:38,41;
      set b = the Element of RS;
      a <> b & [a,b] in R by A20,A28;
        a1= asGate  by A1;
      reconsider mC = max C as Element of NAT by ORDINAL1:def 12;
      take n = mC + 1;
      let s be State of A;
      let m be Element of NAT;
       m> 
      then consider k being Nat such that
A31:  m = n + k by NAT_1:10;;
      reconsider k as Element of NAT by ORDINAL1:def 12;
A32:end;
              thenf1(*)f2| f by A1,2;

        let x    assumeNat java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        assume
A33:x in  java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 54
        a1 = ( Arity of )a1 a1`]by : 8;
        then
A34:     = the_arity_of a1, a1`2] by MSUALG_1def ;
        then
        then
A35:     >a;
         a1c= the carrier ofS&x in proj2 `1by A33,A34,
FINSEQ_1:def 4  java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
        then
A36:    [a1,x] in R holds (1() >  iffg2>g)
then java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 40
        then
    java.lang.StringIndexOutOfBoundsException: Range [11, 1) out of bounds for length 72
        then consider l being Element of NAT such that
A38:fx = l and
  >= java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
        holds Following :;
 fby ,37A38,3java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
        :g1| g2 byFUNCT_4:2;
A40:    max C hereby
        
          let k be Nat;
A41:       + kinNAT  ORDINAL1: ;
  lim d^*)  0  A37,,SEQ_4:;then
          thus (Following(Following(s,mC),k)).x
             = Following f2 is_differentiable_inx0 java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
            .= Followingollowing(sl.x by A39,40A42,XXREAL_02,A41
.= Following(sm.A39A40;
       end;
hencethesis;
      end;
      java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
        .= a by CIRCCOMB:44;
      then be Real, f1,2 be PartFunc of ,REAL;
      then Following(s,n)       g2 |> 
      then Following(Following(s
      hence thesis java.lang.StringIndexOutOfBoundsException: Range [9, 1) out of bounds for length 52
    end;
    suppose
A43:  RS = {};
      take n=1;
      let s be State of A;
      let m be Element of NAT;
      assume m >= n;
      then consider k being Nat such that
A44:  m = n + k by NAT_1:10;
      reconsider k as Element of NAT by ORDINAL1:def 12;
A45:  x0
        assume a in InnerVertices S;
        then a in rng id the carrier' of S by CIRCCOMB:def 7;
        then reconsider a1=a as Gate of S;
        for x being set st x in rng the_arity_of a1 holds s is_stable_at x
        proof
          let x be set;
          
A46:       in rng the_arity_of a1;
          a1 = [(the Arity of S).a1, a1`2] by CIRCCOMB
          then
A47:      a1 = [the_arity_of a1, a1`2] by MSUALG_1:def 1;
          then the_rank_of x in the_rank_of a1 by A46,CLASSES1:82;
          then
A48java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          rng java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [11, 8) out of bounds for length 15
          then
A49:      [a1,x] in R by A1,A27A97    rng(f1       being morphismof Copp st g1|  &i 
          then x in field R by RELAT_1:15;
hence   A20,A43,java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 0
        end;
        then
      the_result_sort_of a1  FACIRC_1:;
        rtof . MSUALG_1def2
          .= a1 by CIRCCOMBreconsiderg=  asofCrng(^)c by;
         beingholds  * g =g2
f2  g2asC
        hence thesis by A44,FACIRC_1:13;
      end;
A51:  now
assume in java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
        then
A52:    s is_stable_at a by FACIRC_1:18;
        hence Following(s,m).a = s.a
          .= Following(s,n).a by A52;
      end;
      the carrier of S = InputVertices S \/ InnerVertices S by XBOOLE_1:45;
      hence thesis by A27,A51,A45,XBOOLE_0:def 3;
    end;
  end;
A53: for a being object st a in field R holds
     from REWRITE1:sch 2(A3,A19 );
A54:A100      h2+=(h^\N  c^N)by :2
  proof
    let a be object;
    assume a in field Rjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    then ex n being Element of NAT st for s being State of A, m being Element
    of NAT st m >= n holds Following(s,m).a = Following(s,n).a by A17,A53;
    hence 
  end;
  consider f being Function such that
A55: dom f = field  ( (f1/*(h+)\)I2  *2 )#h"java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
A56: for x being object st x in field R holds                      A90A100FUNCT_2:110
  (A54);
  rng f c= NAT
  proof
    let o be object;
    assume o in rng f;
    then ((*(+)\N)I2-(1/*c^) 2#java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
A57: l in domhenceg2()g
A58: o = f.l by FUNCT_1:def 3;
    ex n being Element of NAT st f.l = n & for s being State of A, m
 holds Followings)l = Following(s,. l 
55A56,pjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
     thesisby
  end;
then C  fnon  ofNAT by A18,55,
FINSET_1:8,      reconsider fgas morphism C;
N   C NAT :def ;
takeN;
  ;
A59: now
    let x be object;
    assume
A60: x in the carrierjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 14
    then consider n being Element of       end;
A61: f.x = n  end;
A62: for s   is with_right_identitiesiff C  is with_left_identities
    m.  ,)x A16,56 (((1*(+c)N  f1(c^)*(h2 java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
     proof
    then
A63:N >=n byXXREAL_2def8;
    then
 N+1 >= nNAT_113;
    thus Following(st java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
      = java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 38
      .= (Following Following(s,N)).x by FACIRC_1:12;
  end;
  dom Following(s,N) = the carrier of S & dom Following Following(s,N) =
  the carrier of S by CIRCUIT1:3;
  hence Following(s,N) = Following Following(s,N) by A59,FUNCT_1:2;
end;

registration
  let X be non empty finite set;
  let S be finite Signature of X;
  cluster -> with_stabilization-limit for Circuit of X,S;
  coherence by Th32;
 (((f1/(+)\N-(f1*)\)I2)() java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63

scheme
  1AryDef {X()-> non empty set,F(object) -> Element of X()}:
  (ex f being Function
  of 1-tuples_on X(), X() st for x being Element of X() holds f.<*x*> = F(x)) &
for f1,f2 being Function of 1-tuples_on X(), X() st (for x being Element of X()
  holds f1.<*x*> = F(x)) & (for x being Element of X() holds f2.<*x*> = F(x))
  = proof
  deffunc f(Element of 1-tuples_on X()) = F($1.1);
  consider f being Function of 1-tuples_on X()=(   f2/ (/(c)\)   -/* )(# "
A1: for a being Element of 1-tuples_on X() holds f.a = f(a) from FUNCT_2
  :sch 4;
  hereby
    takef;
    let x be Element of X();
    reconsider a = <*x*> as Element of 1-tuples_on X()                     V27
    thus f.<*x*> = F(a.1) by A1
      . x;
  end;
  let f1,f2 be Function of 1-tuples_on X(), X() such that
A2: for x being Element of X() holds f1.<*x*> = F(x) and
A3: for x being Element of X() holds f2.<*x*> = F(x);
java.lang.StringIndexOutOfBoundsException: Range [28, 5) out of bounds for length 5
    let a be Element of 1-tuples_on X();
    consider x being Element of X() such that
A4: a = <*x*> by FINSEQ_2:97;
    thus f1.a = F(x) by A2,A4
      .= f2.a by A3,A4;
  end;
  hence thesis by FUNCT_2:63;
end;

scheme
  2AryDef {X()-> non empty set,F(object,object) ->      [.x0-r0,x0+r0.]c=dom(.x0-,f1x0.|f1)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
  (ex f being
of 2tuples_onX(),X
  *> = F(x,y)) & for f1,f2 being Function of 2-tuples_on X(), X() st (for x,y
being Element of X() holds f1.<*x,y*>                         2
  holds f2.<*x,y*> = F(x,y)) holds f1 = f2 proof
  deffunc f(lement  2-tuples_on ()  (11$1java.lang.StringIndexOutOfBoundsException: Range [51, 46) out of bounds for length 46
  consider f being Function of 2-java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 31
for  Element of 2-tuples_on X() holds f.a = f(a) from FUNCT_2
  :sch 4;
  hereby          hence g (*) 2 = g2 by A4,Th3;
    take  by5
    let x,y be       by A1,FDIFF_3:22;
    reconsider a = <*x,y*> as Element of 2-tuples_on X() by FINSEQ_2:101;
    thus f.<*x,y              . ((\)()(f2*f1/(h+)\  (f1/c)^\N )I2
      .= F(x,a.2)
      .= F(x,y);
  end;
  let f1,f2 be Function of 2-tuples_on X(), X() such that
A2: for x,y being Element of X() holds f1.<*x,y*> = F(x,y) and
A3: for x,y being Element of X() holds f2.<*x,y*> = F(x,y);
  now
 abe Element of 2-tuples_onX();
    consider x,y being Element of X() such that
A4: a = <*x,y*> by FINSEQ_2:100;
    thus f1.a = F(x,y) by A2,A4
      .= f2.a by A3,A4;
  end;
  hence thesis by FUNCT_2:63;
end;

scheme
ty setFobject,o)- Elementof )}:
  (ex f being
 of -(, (  for,, X)f.*java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
eing  -X), ( f x
  y,z being Element of X() holds f1.<*x,y,z*> = F(x,y,z)) & (for x,y,z being
  Element of X() holds f2.<*x,y,z*> = F(x,y,z))          rng ((h^\N + c^\N)*I2) c= dom f1 by SEQM_3:15N  ^N)*java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  deffunc f(Element of 3-tuples_on X()) = F($1.1,$1.2,$1.3);
  consider  h2. in  h23,d ;
A1: for a being Element of 3-tuples_on X() holds f.a = f(a) java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 0
  :sch 4;
  hereby
    take f;
    let x,y,z be Element of X();
    reconsider a = <*x,y,z*> as Element of 3-tuples_on X() by FINSEQ_2:104end
    thus f.<*x,y,z*> = F(a.1,a.2,a.3) by A1
      .= F(x,a.2,a.3)
      .= F(x,y,a.3)
      .= F(x,y,z);
  end;
  let f1,f2 be Function of 3-tuples_on X(), X() such that
A2: for x,y,z being Element of X() holds f1.<*x,y,z*> = F(x,y,z) and       = {x0  26;
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 65
  now
    let a be Element of 3-tuples_on X();
consider x,,z being Element of () such 
A4: a = <A6:  inthecarrier of C
    thus f1.a = F( of CA108:     for n be Nat holds d1.n < 0
      .=f2.a  A3A4java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
  end;
  hence thesis by FUNCT_2:63;
end;

:
  for f          g (*)g2= g2 by A7;
  x1 in dom f       hence f  java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
  *<x1,x2,,x4*>  <*.x1,f.,fn NATbyORDINAL1java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 6
proof
    letsassociative iff C opp is associative
  let x1,x2,x3,x4 be set;
   
A1: x1 in dom f and
A2: x2 in dom f & x3 in dom f & x4 in dom f;
  reconsider D = dom f, E       proof
  rng <*x1,x2,x3,x4*> c= D
  proof
    let a be object;
    assume a in rng <*x1,x2,x3,x4*>;
    then a in {x1,x2,x3,x4} by Th13;
    hence thesis by A1,A2,            =(f1/(hc^\N)(.) by :java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
  then reconsider p=<*x1,x2,x3,x4*> as FinSequence of D by FINSEQ_1:def 4;
  reconsider g = f as Function of D,E by            .= f1.(((h+c)^\N).(I2.n)) by A42,FUNCT_2108;
A3: dom(g*p) = dom p by FINSEQ_3:120;
A4: now
    let k be Nat;
    assume
A5: k in dom (g*p);
    then
A6: k in Seg A111      d1. =f1/*(h+c)^N f1/*(c^N)(2n A109,13
    per cases by A6,ENUMSET1:def 2,FINSEQ_3:2;
    suppose
A7   =1java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      then p.k=x1;
      then (g*p).k = g.x1 by A5,FINSEQ_3:120;
k=<f,x,.,>  A7;
    end;
    suppose
A8:   k=2;
      then p.k=x2;
      then (g*p).k = g.x2 by A5,FINSEQ_3:120;
      hence (g*p).k = <*f.x1,f.x2,           . (1*(h+^N).I2n) x  A16
    end;
    suppose
A9:=3
      then p.=x3;
      then (g*        then
java.lang.StringIndexOutOfBoundsException: Range [11, 6) out of bounds for length 54
    end;
    suppose
 k=4;
      then p.k=x4;
      then (g*p).k = g.x4 by A5,FINSEQ_3:120;
      hence (g*p).k = <*f.x1,f.x2,f.x3,f.x4*>.k by A10;
    end;
end
  dom (g*p) = Seg 4 by A3,FINSEQ_1:89
    .= dom <*f.x1,f.x2,f.x3,f.x4*> by FINSEQ_1:89;
  hence  by ,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;

theorem Th34
  for f being Function for x1,x2,x3,x4,x5 being set st x1 in dom f
& domf&3n   in &x5  holds *<x2x3
   *> = <*f.x1,fx2.x3fx4,.x5*>
proof
  letA7:  r0>0 java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
  let x1,x2,,x4,5beset;
  assume that
A1: x1 in dom f and
A2: x2 in dom f & x3 in dom f & x4 in dom f & x5 in dom f;
  reconsider           x0-  (+)\).I2.n  (c)^N.I.)<      .0r0x0r0 c([0-,f10]`f1)A3java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
  rng <*x1,x2,x3,x4,x5*> c= D
  proof
    let a be object;
    assume a in rng <*x1,x2,x3,x4,x5*>;
     ain ,,x3,, by Th14
    hence thesis by A1,A2,ENUMSET1:def 3;
  end;
  then reconsider p=<*x1,x2,x3,x4,x5*> as FinSequence of D by FINSEQ_1:def 4;
  reconsider g = f as Function of D[.x0-,x0.thus g1((*)f2() ,A9,h3
A3: dom(g*p) = dom p by FINSEQ_3:120;
A4: now
    let k be Nat;
    assume
in dom gjava.lang.StringIndexOutOfBoundsException: Range [17, 2) out of bounds for length 19
    then
A6: k in Seg 5 by A3,FINSEQ_1:89;
    per cases by A6,ENUMSET1:def 3,FINSEQ_3:3;
    suppose
A7:   k=1;
      then p.k=x1;
java.lang.StringIndexOutOfBoundsException: Range [40, 6) out of bounds for length 45
      hence (g*p).k = <*f.x1,.x2,f.x3f.,.*.k by ;
    end;
    
A8:  =;
      then p.k=x2;
      then (g*p).k = g.x2 by A5,FINSEQ_3:120;
      hence (g*p).k = <*f.x1,f.x2,f.x3,f.x4,f.x5*>.k by A8;
    end;
    suppose
A9:   k=3;
  then.=x3
      then (g*p).k = g.x3 by A5,FINSEQ_3:120;
      hence (g*p).k = <*f.x1,fA115:t  A2,A2A94A102,108,9java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    end;
    suppose
  =4
      then p.k=x4;
      then (g*p).      assume
          >FUNCT_4:;
    end;
    suppose
A11:  k      
      then p.k=x5;
      then (g*p).k = g.x5 by A5,FINSEQ_3:120;
      hence g*)k = * (f10 0 A101A,107
    end;
  ;
  dom (g*p) = SegA20:  (*g2 | g3 
    .= dom <*f.x1,f.x2,f.x3A     now
  hence thesisbyFINSEQ_113;
  c          DF  2,f1.) x0

scheme
  OneGate1Result {x1()-> object, B(           g be Real suchthat  proof
ementof
( f() - Function  1-tuples_on B(), B()}: for s being State of 1GateCircuit
*>f( of) =. es.
  Output(1GateCircStr(<*x1()*>,f())) = F(a1)
provided
A1: for g being Function of 1-tuples_ont
a1 being Element of ()holds g.*1> =(1)
proof
  set S = 1GateCircStr(<*x1()*>,f());
  let s be State of 1GateCircuit(<*x1()*>,f());
  dom s = the carrierend;
    .= (rng <*x1([y2 [01,;
    .= {x1()} \/ {[<*x1()*>,f          hen = 01 & y2 = 1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    .= {x1(),[<*x1()*>,f()]} by ENUMSET1:1;
  then
:x1( in dom s by TARSKI:def 2;
  let a1 be Element         per cases by A: ;
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 21
  then
A3: s*<*x1()*> = <*a1*> by A2,e;
  thus (Result ).Output  =( s.Output S) by 
    .= (Following s).[<*x1()*>,f()] by Th15assume
    .= f().(s*
    .= F(a1) by A1,A3;
end;

scheme
  OneGate2Result {x1,x2()-A12121:       =;
  F(object,object)->
Element of B(), f()        hence xin[::X,X:,X:] by A11,A12,ZFMISC_1:def 2;
1GateCircuit(<*x1(),x2()*>,f()) for a1, a2 being java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 39
& a2 = s.x2() holds (Result s).Outputby A1,TARSKI:def 3,FUNCT_1:def 1;
  )
provided
forgFunction  -tuples_on ,)g  (iff
a1,a2 being Element of B() holds g.<*a1,a2*> = F(a1,a2)
proof
(<*x1()x2()>,f());
tateof 1GateCircuit(<*x1(),2)*,f();
 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 40
 rng<*x1=h\((ff1/(+)^java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 76
    .= {x1(),x2()} \/ {[<*x1(),x2()*>,f()]} by java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 38
    .= { byA17A15XTUPLE_0:;
  thensuppose          nowper;
 domsbyENUMSET1:def ;
             
  a1=.x1 &= s.)
  then
A3: s*<*x1(),x2()*> = <*a1,a2*> by A2,FINSEQ_2:125;
  thus (Result s).Output S = (Following s).(Output
,            (+))=b java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 54
    .= f().(s*<*x1(),x2()*>) by CIRCCOMB:56
    .= F(a1,a2) by A1,A3;
end;

scheme
  OneGate3Result {x1,x2,x3()->object, B()-> non empty A127:dom(2*f1/(hc)\N))=NATby A41,RELAT_1:27java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
  F(object,object,object)
  ->Element of B(), f() -> Function of 3-tuples_on B(), B()}: for s being State
of 1GateCircuit(<*x1(o(f2*/(+)^N
=s.)&  .x2) & =s.x3(  (esult )Output(1GateCircStr(*
  x1(),x2(),x3()*>,f())) = F(a1,a2,a3)
provided
A1:  f2*1 . java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 55
a1,a2,a3 being Element of B() holds g.<*a1,a2,a3*> = F(a1,a2,a3)
proof
  set S = 1GateCircStr(<*x1(),x2(),x3()*>,f());
     of *)x2)x(*,);
A2: dom s = the carrier of S by CIRCUIT1:3
    .= (rng <*x1(),x2(),x3()*>) \               (.)by ,A127FUNCT_1:,:def 12;
    .= {x1(),x2(),x3()} \/ {[<*x1(),x2(),x3()*>,f()]} by FINSEQ_2:128
    .= {x1(),x2(),x3(),[<*x1(),x2(),x3()*>,f()]} by ENUMSET1:6;
  then
A3: x1() in dom s & x2() in dom s by ENUMSET1:def 2;
A4: x3() in dom s by A2,ENUMSET1 f1*(\)  by RELAT_127; 
  let a1,a2,a3 be Element of B();
=s.(&   .(   s.(;
  then
A5: s*<*x1(),x2(),x3()*> = <*a1,a2,a3*> by A3,A4,FINSEQ_2:126;
   Result29 *(N) java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 58
   . Following s).<x1),)x3()>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    .= f().(s*<*x1(),x2(),x3()        by XTUPLE_0:1    ff1/c\ *(N A1311
    . a1a2a3  ,A5;
end:,hence thesis java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 35

scheme
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 12
  F(object,object,object,object)->Element       =0or f2 =1by TARSKI:ef2
  f() > of4tuples_on java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 0
()*>,() for a1,a2            ((2f1/c\ (f/*\)).java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
Element let,f1,f2 C
  Result s).Output(1GateCircStr(<*x1      casesA22A13;
provided
A1: for g being Function of 4-tuples_on B(),       suppose f1 =  & f2= 1(f = ;hencethesis;end
a1,a2,a3,a4 being java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 8
proof
  set S = 1GateCircStr(<*x1(),x2(),x3(),x4()*>,f());
  let s be State of 1GateCircuit(<*x1 24:   f1|> ;
A2: dom s = the carriersupposef1   &f2 = 0& f1(*)f2  0; hence thesis; end;
    .= (ng *(),2 ("():in f1Th28
CIRCCOMB:def 6
    .= {x1(),x2(),x3(),x4()} \hence f | f1  A20                 118A126ABSVALUE2
    .= {[<*        assumeassume f |> f1;
  then
 byENUMSET1def3
n ;
  let           
      proo
  then
A5: s*<*x1(),x2(),x3(),x4takef
  thus (Result s).Output S=(Following
    .=let f2 be oC;
    .= f().(s*<*x1()assume
   . a1,,3,bA1,;
end;

scheme
  OneGate5Result {x1,java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 9
  (java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 56
  f( - Function of 5-tuples_on      f bemorphismof ;
s being State of 1GateCircuit(    ;
A28: C is non with_right_identities;
.4(  a5  .x5)holds (Result ).Output(
  x5()*>,f())) = F(f2 (* f3)=(f1 (*) f2) (* java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
provided
A1   |f2() ;
a1a2a3a4,a5 being Element ofB() holds g.<*a1,a2,a3,a4,a5*> = F(a1,a2,a3,a4,
a5)
     0
   S = 1GateCircStr(<*x1(),2(),x3(),x4(),x5(()*>f();
  letsforx Realst            hence |.((h"(#)((f2(#f*/h  2Nm .| g
A2: dom        .= (f1 (*) f2) () f3by ,A32,13;
    .= (rng <*x1(),x2(),x3()      end;
  f()]} by CIRCCOMB:def 6
   . {1)x2))4(,5() \ <java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 15
Th14
    <*x1),2)x3(,(,
ENUMSET1:15;
then
A3: us java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 56
A4: x5()      =the with_left_identities non with_right_identities
A5: x3() in dom s & x4() in dom s by A2,ENUMSET1:def 4;
  let a1,a2,a3,a4,-x0 Ldiff(,)g;
  assume a1 = s.x1() & a2 = s.x2() & a3 = s.         composable associativeset =/,)java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
  then
A6: s*<*x1(),x2(),x3(),x4(),x5 thusthesis by Th8;
  thus (ResultA131
*x1(,(),x3(,4(,5()*,f((]by Th15
    .= f().(s*<  {}java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
1,


begin :: Input of a compound circuit

theorem Th35:set 3= {[1,f2f1)()(2/)
non finitef
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 75
  Signature by XBOOLE_0:def 5;
InputVertices S holds InputVertices (S +* 1GateCircStr(p,f)) = InputVertices S
proof
  let n be Element of assume [x,y1] in comp
  then
  let p be FinSeqLen of n;
  let S beassume[,] 
A1: rng p c= the carrier of S and
A2: not Output 1GateCircStr(p,f) in InputVertices S;
A3: the carrier of S = (      suppose[,y1 in c0;
  thus InputVertices (S +* 1GateCircStr(p,f)A5     xy1] [n11,n12],[n12]],[n11,]& n12   +1;
        [12][11,12]&  n11n]byA5,TUPLE_0:
   S)by:,:47
    .= ((InputVertices S)\(java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 36
  InnerVertices S)) by CIRCCOMB:42
 \{ pf}) / ( p\java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
  )byTh16
. (S\ (p)\( )byA2
   =  A1endjava.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
end;

theorem Th36:
  for X1,X2 being set, X being non empty finite set, n be Element
of NAT for f being Function of n-tuples_on X, X for p being FinSeqLen of n for
S being Signature of X st rng p java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  InnerVertices theorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
   (S * pf)=( /X2
proofbeofNATsuch
  let x1,x2 be set, X be non           x = [n21,[n21,n22]] & n21,f java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 66
  let f be Function of n-           java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 59
let  ofn
  let S be java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 10
A1: rng p = x1 \/ x2 and
  cr0,+  ,def3
 i  java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 33
A4: not Output 1GateCircStr(p,f) in InputVertices S;
A5: the carrier of S = (InputVertices S) \/ InnerVertices S by XBOOLE_1:45 hence by 15:  x in dom f1 by A10,A14,1;
  thus InputVertices (S +* 1then consider n21,n22 be ofNATsuchthat
  InnerVertices 1GateCircStr(p,f))) \/   5       [xy2] = [[n21,n21,],21]&n22 =n21   & < 0;
  )) CIRCCMB25,IRCCOMB:47
    .= ((InputVertices S)\(InnerVertices 1GateCircStrend;
COMB ssume
    . (InputVertices S)\( 1GateCircStr(p))/(x1\java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
  InnerVertices S)) \/ x2) by A1,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 27
    .= ((InputVertices S)\(InnerVerticesA17     xy1]  [[,[,n12]]n11]& n12 =n11 +   n11 >0;
  InnerVertices S)) \/ x2 by XBOOLE_1:4
     uppose [,y2] in:   .1x-f1. |<
  S)\/ x2 Th16
=(InputVertices S)\  ))\/x2  A4,ZFMISC_1:57
    .= (InputVertices S) \/ x2 by A2,A5,XBOOLE_1:12,43;
end;

Th37
  for x1 being then considern21,n22 be Element  NAT
ofXXfor SSignature Xjava.lang.StringIndexOutOfBoundsException: Range [58, 4) out of bounds for length 59
S & not Output 1         by A6,A15,A14java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 50
  +* 1GateCircStr(<*x1*>,f)) = InputVertices S
proof
  let x1 be set, X be non empty finite set;
  set   <*;
letf  Function :[,y2  [n21,n21,]]n21] n22 n21     < 0
      or r1 be           hence th A18,TUPLE_0:;
  assume x1 in the carrier of S;
   x1}  the  ofn]n22  java.lang.StringIndexOutOfBoundsException: Range [47, 2) out of bounds for length 71
  then rng p c=          hence thesis by A18,XTUPLE_0:1;
  hence thesis by Th35;
end;

theorem Th38:
for fbeing
assumeA24:     x = [,&y1java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 52
es S Output 1GateCircStr
S InputVertices(+ G(<*x1,2*,f) =(
  InputVertices S) \/ {x2}
proofend;
        [.-,00]c dom(f.r110]f1)byA3;
  set p = <*x1,x2*>;
  let f be Function of 2-tuples_on           hence thesis     ;

A1 x1     -<x0 by  
A2: not x2 in InnerVertices S;
:rng  {,by 127
\/{}by :;
  {x1} c= the carrier of S by A1,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 29
  hence thesis by A2,A3,Th36,ZFMISC_1:50;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th39:
  for x1,    hence t c0\c1   inc3byXBOOLE_0 java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
 ;
   x1 S &notOutput 1GateCircStr(<*,x2,)in
  InputVertices[n
  InputVertices)\/ {x1java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
proofhence x in[[X:,: A31,d java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
 letx2   be empty  ;
  set p = <*x1,x2*>;
  let f be Function of 2-tuples_on:[1n2  by def;
  let S be Signature of        n2   XBOOLE_0:ef 5;
A1: x2 in  f2*1 [,]2  [XX]byjava.lang.StringIndexOutOfBoundsException: Range [47, 35) out of bounds for length 50
A2: not        then
A3: rng p = {x1,x2} by FINSEQ_2:127
    .= {x1} \/ {x2} by ENUMSET1:1;
  {x2} c= the carrier of S by A1,ZFMISC_1:31;
  hence thesis by A2,A3,java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 12
end;

 Th40:
  for x1,x2 being set, X being non empty finite set for f being
uples_on X, for  being of  st x1  thecarrier 
  S & x2    reconsider comp as   :X]X
  InputVertices S holds InputVertices (S +* 1GateCircStr(<*x1,x2*>,f)) =
      set=( , comp#;
proof
  let x1,x2 be set, X be non empty finite java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 31
  let f be Function       then n1in1 f1  x0java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
A1: rng Aend;
A42  ,f2 being  ofC, n1,n2 being Element of NAT st
  assumex1      r1 > java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
  then  <x1,* =the carrierofS by A1,32
  byTh35;
end;

theorem Th41:
  for x1,x2,x3 being set, X being non empty finite set for f being
ureofXst x1  the of
  S    in S&not  in InnerVertices  &notOutput
  1GateCircStr x0<x0+by X29end;
  1GateCircStr(<*x1,x2,x3*>,f)) = (InputVertices S) \/ {x2,x3}
proof
      proof
  set p = <*x1,x2,x3*>;
  let f be Function of 3-tuples_on X, X;
    such     java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 24
A1: x1 in the carrier of S and
A2 inInnerVertices )java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
A3: rng p = {x1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    A51:    [[f,]y in  composition of C by XTUPLE_0:12
  {x1} c= the carrier     Ldiff(f2*f1,x0) = Ldiff(f2,f1.x0)*java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 30
  hence thesis by A52:     [[f,f1],y] in \ c1 or [[ff1]y] in c2
end;

theorem Th42:
  for x1,x2,x3 being set, X being non empty finite set for f being
Function of 3-tuples_on X, X for S being Signature of X st x2 in the carrier of
  S & not x1 in InnerVertices S & not           [f,f1] = [[n1,n2],[n1,n2]] & y = [n1,n2] by A53,XTUPLE_0:1;
  1GateCircStr then
  1GateCircStr(*,2,x3>f)=( S) \/ {1,3
proof
  let x1,x2,x3 be set, X be non empty finite set;
  set p = <*x1,x2,x3*>;
  let f be Function of 3-tuples_on X, X;
  let S be Signature of X such that
A1: x2 in the (ex r be   r  0&f1|(.x0,r.]  decreasing)holds
A2: ( not x1 in InnerVertices S)& not x3 in InnerVertices S;
A3:rng  ={xx3}  by,A51UNCT_1:,53;
    .= {x2,x1,x3} by ENUMSET1:58
    .= {x2} \/ {x1,x3} by java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 33
  { = thec   by A1,ZFMISC_1:1;
   r1 >0;then
end;

theorem Th43:
  for x1,x2,x3 being set, X being non empty finite set for f being
Function. f1 by A56,51,FUNCT_1:1,55;
  S & not x1 in InnerVertices S suppose [x0 and
  1GateCircStr(<*x1,x2,x3*>,f) in InputVertices S holds InputVertices (S +*
GateCircStr(x1,,x3f ( )\/ {x1,java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
proof
let,x2,x3 beset,  benonempty
  set p = <*x1,x2,x3*>;
  let f be Function of 3-tuples_on X, X;
  let S be Signature of X such that
A1: x3 in the carrier of S and
A2: (not I java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 12
A3: rng p = {x1,x2,for f1 being morphism  st f1 |   f1 (* =f1
    .= x1x2} \ {} byENUMSET1:3java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  {x3} cA59:    f1 | java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  hence thesis by A2,A3,Th36,ZFMISC_1:51;
end;

 Th44:
f x1A60,def
Function of 3-tuples_on X, X for S being Signature of :    [f1,f],y]in  /c1[f1,f]y  c2
  S & x2 in the         per cases byXBOOLE_0: 3;
1(*x1x,*,) inInputVertices  holds   suppose[1f, inc0;
  1GateCircStr(<*x1,x2,x3*>,f))A62:       [[f1,f],y] = [[[n1,n2,n1n],n1,n2]] &n2 = n1 + 1;
proof
  letA63:       =n,]&f =[1n2]by:1;
  set p = <*x1,x2,x3*>;
  let f be Function of 3-tuples_on X, X;
  let S be Signature of X such          .= f1  A60,FUNCT_1:1,62;
A1: x1 in the carrier of S & x2 in the carrier of S and
A2: not x3 in then considern1, bebe java.lang.StringIndexOutOfBoundsException: Range [10, 5) out of bounds for length 11
:p  {x,}by :28
\/{ :;
  {x1,x2} c= end;
    thesis  A,then considern1n2Element NAT such 
end;

theorem Th45:
  for x1,x2,x3 being set, X,2  XTUPLE_0:;
Function of 3-tuples_on X, X for S being Signature of X st x1 in the          .=(hecomposition  )   < java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
   & x3 in the carrier of S  b xdom  &x0-<x&x  x0
  ) in InputVertices S holds InputVertices (S +*
  1GateCircStr(<*x1,x2,x3*>,f)) = (InputVertices S) \/ {x2}
proof
  let x1,x2,x3 be set, X be non empty finite set;
  set p = <*1,x2,x3*>;
  let f be Function of 3-tuples_on X, X;
  let S be Signature of Xsuch that
A1: x1 in the carrier of S & x3 in the carrier of S and
A2: not x2 in InnerVertices S;
A3: rng p = {x1,x2,x3} by FINSEQ_2:128
    .= {x2,x1,x3} by ENUMSET1:58
    .= {x2} \/ {x1,x3} by ENUMSET1:2;
  {x1,x3} c= the carrier of S by A1,ZFMISC_1:32;
  hence thesis by A2,A3,Th36,ZFMISC_1:50;
end;

theorem Th46:
   x1x, being ,  being     for f being
Function of -tuples_onX,  being  of  x2 n the 
  S & x3 in the carrier of S & not x1 in InnerVertices S & not Output
1      f]]in   \c2 XBOOLE_0:def ;
 1GateCircStr(<*1x2,x3*,)  (nputVertices S)\ x1java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
proof
  let x1,x2,x3 be set, X be non empty finite set;
  set p = <*x1,x2,x3*>;
  let f be Function of 3-tuples_on X, X;
  let S be 
A1: x2 in the carrierA10:s0>0 &[x0s0x0]c dom f1 by A1,: 4java.lang.StringIndexOutOfBoundsException: Range [59, 60) out of bounds for length 59
A2: not x1       = mind2,0;
A3: rng p = {x1,x2,x3} by FINSEQ_2:128
    .= {x1} \/ {x2,x3} by ENUMSET1:2;
  {x2,x3}       assume
  hence  by A2,,h36,:0;
end;

theorem Th47:
  for x1,x2,x3 being set, X beingA70:   |>
Function of 3-tuples_on X, X for S being Signature of X st x1 in the carrier of
S & x2 in the carrier of S &A12:r0reconsider    asNATA71;
<x1,x2,3*,   S holds  ( + 1GateCircStr(<x1,
  ,x3>f)=InputVertices java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
     by ,XBOOLE_0def ;
  let x1,x2,x3 be set, X be non empty finite set;
  let f be Function of 3-tuples_on X         [f1,],y]in c3java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  let S be Signature of X;
  assume x1 in the carrier of S & x2 in the carrier of S & x3 in the carrier
  of A17:[f2y=assume   .r,.hen
1:{x1,x2} c  carrier of & x3} c= the  of SbyZFMISC_1:,;
 <*,x3 {,2,}yjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    ={x1,x2} \/ {x3} by ENUMSET1:3;
  hence thesis by A1,Th35,XBOOLE_1thenconsider n1n2 bejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


begin :: Result of a compound circuit

theorem :
  for X           [1,f2] = [n1,[n1,n2]] by A76,XTUPLE_0:1;
X forx0<x0+&x < x0+ by ,14,end;
  -tuples_on X, X for p being FinSeqLen of n st not Output 1GateCircStr(p,f) in
 Sfor=[,],1]&2=n1 +1&n1 java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 62
  of A st s9 = s|the carrier of S holds stabilization-time A78        A15,A14,XXREAL_11ELAT_1:57;hen
           f1 (*) f2= (the compositionof      x0- = byA14XREAL_0:; 
proof
  let X be      suppose(|([,+R)x0  1|00.)x
  let S be finite Signature of X;
  letA16:    end;
  let  beElement of NAT f  Functionof-tuples_on ,;
  let p be FinSeqLen of n        f1.x0 <= (f1|([.x0,x0f1=,f  morphism of  byjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
A1: not Output 1GateCircStr(p,f) in InputVertices S;
  InnerVertices 1GateCircStr(p,f) = {Output 1GateCircStr      
  then
A2: InputVertices S misses InnerVertices 1GateCircStr(p,f) by A1,ZFMISC_1:50;
  let s be State of A +* 1GateCircuit(p,f        [[1f,y  c0 \/c1\ c2 or [f1,]y c3
  let s9 be State of A such that
      per cases;
  A tolerates 1GateCircuit(p,f) by Th27;
  then      x  x0;then
  then reconsider s1 = Following(s, stabilization-time s9)|the carrier of
  of1ateCircuite
A4: stabilization-time s1 <= 1 by Th21;
  s9 is stabilizing & s1 is stabilizing by Def2;
  then
  stabilization-time s = (stabilization-time s9)+stabilization-time s1 by A3,A2
,Th10,Th27;
  hencethesis  A4X6java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 31
end;

scheme
  Comb1CircResult {x1()-> object, B()-> non empty finite set,
  F(object)->Element of B(),
  S() -> finite Signature of B(), C() -> Circuit of B(), S(), f() ->
Function of 1-tuples_on B(), B()}: for s being State of C() +* 1GateCircuit(<*
x1()*>,f()) for s9 being State of C() st s9 = s|the carrier of S() for a1 being
Elementend;
  not x1() in InnerVertices S() implies a1 = s.x1()) holds (Result s).Output
  1GateCircStr(<*x1()*>,f()) = F(a1)
provided
A1: for g being Function of 1-tuples_on B(), B() holds g = f() iff for
a1 being Element of B() holds g.<*a1*> = F(a1) and
A2: not Output 1GateCircStr(<*x1()*>,f()) in java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 0
proof
  set S = 1GateCircStr(<*x1()*>,f());
 let  be of()+*1(*x1(
  let s9 be State of C() such that
A3: s9 = s|the carrier of S();
  rng<*1()>={x1(} byFINSEQ_1:38;
  then
A4: InputVertices S = rng <*x1()*> & x1() in rng <*x1()*> by java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 33
,TARSKI:def 1; then
A5: 1() java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
  () by XBOOLE_0:  f2*is_left_differentiable_inx0 &
A6:       - =-  17XREAL_1 x0-R <= x0-r0 by XXREAL_0:17,XREAL_1:10
  InnerVertices S = {  Ldiff(f2*f1,x0) = Rdiffsuppose [[f1,f],y] in c2
  
A7: A85:       [f1,]y  [n1[n2]n1 
  then
A8: Following(s, stabilization-time          f,  n1,n1    let x0 Real, 2be   
  stabilization-time s9) by A3,Th27,CIRCCMB2:13
    .= Result s9 by         
  S() tolerates S by CIRCCOMB:47;
then  S)+S       fy[2n&n2   
  InnerVertices S()) by A7,FACIRC_1:4;
  then
A9: x1() in InnerVertices S() or  hence  by A86;
XBOOLE_0:def 3;
  let a1 java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 64
  assume ( x1() in      hence   A42,,A79java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  ) in InnerVertices S() impliesjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 30
 then
A10: a1 = Following(s, java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
A11: s is stabilizing by Def2;
   A4:  R > 0 & |.x0-R,x0.]) is non-by ;
  ]}&the 'of(* (java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
  carrier' of S())\/A89:f2 in ;
   =[x1(>S x0by, 
 g=(  ()*). MSUALG_1def 
    .= g          hence thesisby ,A68;;
A13: g`2 = f();
  the carrier of S()+*S =          then
CIRCCOMB:def 2;
  then
A14: x1() in the carrier of S()+*S by A4,java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 14
] = OutputS by Th15java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  g =[(he  of S(+), byCIRCCOMB: ;
  then
A16: <*x1()*> =(the Arity of S()+*S).g by XTUPLE_0:1
    .= the_arity_of g by MSUALG_1:def 1;
  dom Following(s,          in ([.java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  then
A17 Following(s, stabilization-imes9)**x1(*  *a1*  ,A10java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
FINSEQ_2:34;
  stabilization-time s <= 1+stabilization-time s9 by A2,A3,java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 56
  hence (Result s)            or [[f1,2],y] in  by :def 3;
  y,
    .= (Following Following(s, stabilization-time s9)).java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 44
    .            uppose [f1f]y  c0;
FACIRC_1:34
    .= F(     end;
end;

scheme
  Comb2CircResult {x1,x2()-> object, B()-> non empty finite set,
  (object,bject)>
Element of B(,             java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 38
-> Function of 2-tuples_on B(), B()}: A9:  0 < d/2 & d/2 < d by A8,XREAL_1:215,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  <*x1(),x2()*>,f()) for s9 being State of C() st s9 = s|the java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 58
a1 a2 being Element of ()st(x1()in  () implies a1 = (Result
  s9)x1)  (not x1( in  S) a1A10:   s0   .-,x0 c=dom  by A1,FDIFF_3:4
InnerVertices S() implies a2 = (Result s9).x2()            [f1,f2],]inc2;
() implies a2 = s.x2()) holds (Result s).Output(1GateCircStr(A100           [f1,f2]y =[n1,[n1,],]&n2=&nbsp;n1  1&n1 < 0;
  ) = F(a1,a2)
provided
A1: for g being Function of 2-tuples_on B(), B() holds g = f() iff for
a1,a2 being Element of B() holds g.<*a1,a2*> = F(a1,a2) and
A2: not Output 1GateCircStr(<*x1(),x2()*>,f()) in InputVertices S()
proof
  set  = GateCircStr(*(,)>f();
  let s be State of C() +* 1GateCircuit(<*x1(),x2()*>,f());
  let s9 be State of C() such that
A3: java.lang.StringIndexOutOfBoundsException: Range [10, 6) out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 30
   S=Output }by ;
  then
A5: InputVertices S() misses InnerVertices S by A2,ZFMISC_1:50;
  then
A6: Following(s, stabilizationA103:[f,f2],y]in c0 /c1 or [,f2]y c2
  stabilization-time s9) by A3,Th27,CIRCCMB2:13
    .= Result s9 by A4,Th2;
  the carrier' of S = {[            or [[f,, inc3 XBOOLE_0:def ;
  then
  [<*x1(),x2()*>,f()] in {[            suppose [f,f2],y]in ;
  (              thenconsider ,n2 be  of  such : =xrbet & f1|x0,x0+)non-
  then reconsider g =[<*)x2()>,(]asGate of S(+*S by XBOOLE_0:def 3;
  let a1, a2 be Element of B() such that
A7  x1( in InnerVertices S)implies a1=( s9).1()( notx1(
  ) in InnerVertices S() implies a1 = s.x1()) and
A8            end;
  ) in InnerVertices S() implies a2 proof
A9: InputVertices S = rng <*x1(),x2()*> by CIRCCOMB:42;
  ;
  then
A10: InputVertices (S()+*S) = (InputVertices S()) \/ (java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 56
  InnerVertices S()) by A5,FACIRC_1:4;
A11: rng *x1)x2()>={1)x2(}by FINSEQ_2:byXBOOLE_0:java.lang.StringIndexOutOfBoundsException: Range [0, 65) out of bounds for length 43
  then
A12:x2)in  <x1(,2)>bydef ;
  then x2() in InnerVertices S() or x2() in InputVertices S \ InnerVertices S
 ()   
  then x2() in InnerVertices S() or x2() in InputVertices (S()+*S) by A10,
XBOOLE_0:def 3;
  then
A13  =Following(A107:           [[f,f],n2]]n] =n   &n < ;
SKI:def 2;
r x1( in  S \  S
  () by A9,end;
  then x1() in InnerVertices S() or x1() in InputVertices (S()+*S) by A10,
XBOOLE_0:def 3;
  then
A15: a1 =:       [,f2]=[,22 byA108,XTUPLE_0:;
  g = [(the Arity of S()+*S).g, g`2] by java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 18
  hen
:<*x1()x2()>=(the Arity ofS()+*S)gby :
.java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 63
A17: g`2 = f();
A18: the carrier of S()+*S = (the carrier of S()) \/ the carrier of S by
CIRCCOMB:def 2; then
A19: x2() in the carrier of S()+*S by              hence  |> f1 by :;
A20endjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
A21: s is stabilizingproof
A22: dom Following(s, stabilization-time s9) = the carrier of S([ [,]  compositionof b XTUPLE_0 12java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
CIRCUIT1:3;
  x1() in the carrier of S()+*S by A9,A14,A18,XBOOLE_0:def 3;
  hen
A23: Following     let  be ;
,A13,A22,FINSEQ_2:125;
A24: the_result_sort_of g = (the ResultSort of S()+*S).g by MSUALG_1:def 2
    .= g by CIRCCOMB:44;
  stabilization-time s <= 1+stabilization-time s9 by A2,A3 beElement   that
  hence (Result s).Output S = (Following(s, 1+stabilization-time s9)              [f,]  [n,1  <java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
  by A21,Th5
    .= (Following              considern,n1 Element  that
    .= f().(Following(s,  < r1 by A5,T;
FACIRC_1:34
    .= F(a1,a2;
end;

    
  Comb3CircResult {x1,x2,x3()-> object, A10:   s0 > 0 & [.x0,x0+s0.] c= dom f1 by:  java.lang.StringIndexOutOfBoundsException: Range [48, 22) out of bounds for length 50
  F(object,object,object)->Element of B(),
                A119,A94,XBOOLE_0d3;
  f() ->             end;
  1       consider nn Elementofsuchthat
carrier(for, ,beingjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 79
) implies a1 = (Result s9).x1()) & (not x1() in InnerVertices S() implies a1 =
s.x1()) & (x2() in InnerVertices S() implies a2 = (Result s9).x2()) & (not x2()
in InnerVertices S() implies a2 = s.x2()) & (java.lang.StringIndexOutOfBoundsException: Range [10, 1) out of bounds for length 14
  a3 = (Resultend
  holdsthen  isright_identity by A48;
provided
A1:forg being Function  3tuples_on B(,B) =f(  java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
a1,a2,a3 being Element of B() holds g.<*a1,a2,a3*> = F(a1,a2,a3)    exfbeing of  stf|>f1&f  
A2: not Output 1GateCircStr(<*x1(),x2(fassumeA122:f1 the of C;
proof
  set S = 1GateCircStr(<*x1 cases by ,: ;
  let s be State of C() +* 1GateCircuit(<*x1 then
eState  C)suchthat
A3:s9=s|he carrier S)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
A4: s9 is stabilizing by Def2;
  InnerVertices S = {OutputA125:     n22 = n11 + 1 by N6
  then
:InputVerticesS)misses S  ZFMISC_1:50java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
  then
A6: Following(s, stabilization-time s9)|the carrier of S() = Following(s9,
  stabilization-time then [,f1]f1]in composition of  def3;
    .= Result s9 by A4,Th2;
  S() thus fleft_identity ,A48;
  then
A7 nputVertices(()+*S)  ( S()) \/  S \
  InnerVertices S()) java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
  the carrier' of S = {[<*x1(),x2(),x3()*>,f()]} java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 10
  )] in {[*x1(),2()x3()*>,()} &the '
  of S() +*S       x  [.,r0.; then
CIRCCOMB:def 2,TARSKI:def 1;
  then reconsider g = [<*x1(),x2(),x3()*>,f()A14:x0 inof ;
XBOOLE_0:def 3;
  let a1, a2, a3 be Element of B() such        &not   0 XBOOLE_0: 5;
A8A132:      < 0 by A131,TARSKId 1;
  ) in InnerVertices S() implies a1 = s.x1()) and
A9: ( x2() inx0r0< x0+d   n1  morphism  f|.R..  1[x0-x0.)x
  ) in InnerVertices S() implies a2 = s.x2()) and
A10: ( x3() in InnerVertices S() implies a3 = (Result s9).x3())&
   inInnerVerticesS( implies  =.);
A11: InputVertices S = rng <*x1(),x2(),x3()*> by CIRCCOMB:42;
ofS(+S.,g`]by CIRCCOMB:8;
  then
A12: <*x1()A134:      ;
    .= the_arity_of g         f;
A13: g`2 = f();
A14: s is stabilizing by Def2;
A15: the carrier of S()+*S = (the carrier of S()) \/ the      then
CIRCCOMB:def 2;
A16: rng <*x1(),x2(),x3()*> = {    f1()2| f3&f1 | *f3 holds  f1()f() =f1*f2)()f3
  
A17: x3      f2 |>f3;
  then
 (   carrier  )*S by ,XBOOLE_0d ;
  x3() in InnerVertices S() or x3() in InputVertices S \ InnerVertices S
  () A11,17,def5java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
  then x3() in InnerVertices S() or x3() in InputVertices (S()+*S) by A7,
XBOOLE_0:def 3;
  then
A19: a3 = Following(s, stabilization-time s9).x3() by A10,A6,Th1,FUNCT_1:49;
A20:f1() > f3;
A21: dom Following(s, stabilization-time s9) = the carrier of S()+*S by
CIRCUIT1:3;
A22: x1() in rng       perA16:  x0+r0 < x+ by,8
  then x1() in InnerVertices java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 13
  () by A11,XBOOLE_0:def 5;
  then x1() in InnerVerticesend;
XBOOLE_0:def 3;
  then
A23: a1 = Following(s, stabilization-time s9).        ence f1(*)f2()  f1*)2();
A24: x2() in rng <*x1(),x2(),x3()*> by      by ,A121A135,;
  then
A25: java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  x2() in InnerVertices S() or x2(correctness
  () by A11,A24,XBOOLE_0:def 5;
  then x2() in InnerVertices S() or x2() in InputVertices            CategoryStrjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
XBOOLE_0:ef;
en
A26: a2 = thus C isby Th6TDef12
  x1() in the carrier of S()+*Sjava.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 6
  then
A27: Following  lusternon associative x< then
  by A25,A18,A23,A26,A19,A21,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 7
A28 the_result_sort_of g = (the ResultSort of S(       hence java.lang.StringIndexOutOfBoundsException: Range [23, 17) out of bounds for length 75
    .= g by CIRCCOMB:44;
  stabilizationtime s =1+stabilizationtime :|f1 f1.java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 41
  hence (Result     proof
  by A14,Th5
    .      considern11n12,n13  Element such
    .= f).(( - s9)<x1(,x2(,3(*)byA28,A12

    .= F(a1,a2,a3) by n21,,n23  Element of suchthat
end;

endx  n21,&y2    :;
  Comb4CircResult {x1,x2,x3,x4()-> object, B()-> non empty finite set,
  F(object,object,object,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 9
  () thusy1     A2,3A5;
  ,      n11 =n12;
1GateCircuit(<*x1(),x2(),x3(),x4()*>,f()) for s9 A19:    x0 < x0+R & x <= x0+R by A4,A14,XREAL_1:29,XXREAL_0:2; then
  the carrier of S() for a1, a2, a3, a4 being Element of B() st (x1() in
InnerVertices S() implies a1 = (Result s9).x1()) & (not x1() in InnerVertices S
() implies a1 = s.x1()) & (x2() in InnerVertices S() implies a2 = (Result s9).
  ) &(ot x2)inInnerVerticeshencethesisA12h43
InnerVertices S() implies a3 = (Result s9).x3()) & (not x3() in java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 23
(  a3 =         A6,A14,REAL_1:RELAT_1:7then
  x4()) & (not x4() in      (11=n12  n13=);
  ((<*x1(,x2(,3(),x4(*,())  a1,a2,a3,4)
provided
g beingFunction  4t      f1[0+.). =(|([x0,+.)x
,a2a3,beingElement fB)holdsg*,a,* = F(a1a,a) and
2:not  1GateCircStr(<*1),(,3(,(*,() in
proof
  set S  letf1  ofC;
  let s be State of C() +* 1GateCircuit(<*x1(),x2(),x3(      : f1x0=xby,:;
  let s9 be State of C() java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 7
A3: s9 = s|the carrier of S();
A4: s9 is        f1.x0 - f1.x <; java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  InnerVertices S = {Output Sendjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  then
A5: InputVertices S() misses InnerVertices S by A2,ZFMISC_1:50;
  then
A6: Following(sA10:forf1f2 morphism of  st  0h ()h in(.1..x0]f1byA,XXREAL_1:,54java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
  stabilization-time s9) by      assume
    .= Result       reconsider= as  java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  S() tolerates S by CIRCCOMB:47;
  then
A7: InputVertices (S()+*SeElement of NAT such java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 56
  InnerVertices S()) by A5,FACIRC_1:4;
A8: [<*x1(),x2(),x3(),x4()*>,f()] = Output S by Th15;
A9: s is      [,f2  n1,  =n3endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A10: the carrier of S()+*S = (the carrier ofA14:f1  n1&f2 =n2  :1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
CIRCCOMB:def 2;
  the carrier' of S = {[<*hence thesis by A11,A4,XXREAL_0:21;
  then [<*x1(),x2(),x3(),x4()*>,f()] in {[<*x1(),x2(),x3(),x4()[,] dom  of  byA7,;
carrier' of S()+*S [f2]y inthe of Cby XTUPLE_0def12;
by CIRCCOMB:def 2,TARSKI:def 1;
  then reconsider g = [<*x1(),x2(),x3(),x4()*>,f()] as Gate of S()+*S by
XBOOLE_0:def 3;
  letthus *f1  the C).f2,f1)by ,A7
A11: ( x1() java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 8
   )inS) impliesa1  x()
  (in InnerVertices S(  =(esult .)&  (
  ) in  then
A13:(x3) in InnerVertices () implies a3=(esult s9)x)&  x3(
  ) in InnerVertices S() implies a3 = s.x3()) and
A14: ( x4() in InnerVertices S() implies a4 = (Result s9).x4())&( not x4(
  ) in InnerVertices S() implies a4 = s.x4());
A15: InputVertices       assumef1  carrier ofC;
A16: rng <*x1(),x2(),x3(),x4()*> =take ;
  then
A17: x3() in rng <*x1(),x2(),x3(),x4()*> by ENUMSET1:def 2;
  then
A18: x3() in theforf1 morphism of C st f1 in the carrier of C holds
A19:x)inrng *(,(,(,x4(* A16,NUMSET1:2;
  then
A20: x4() in the carrier of S()+*S by A15,java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 36
A21:        f1 >f by ;
 then
A22: x1() in the carrier of S()+*SA22:for f morphism  C ,beingElementof  st
  x3() in      assu
() A15,A17,XBOOLE_0:def ;
  then x3() in InnerVertices S() or x3() in InputVertices (S()+*Sjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
XBOOLE_0:def 3;
  then
 a3=Followings -times9).x3() by A6,,:9;
  g = [(the Arity of S()+*S).g, g`2] by CIRCCOMB 
  then
A24: <*x1(),x2(),x3(),x4()*> = (the   (+S:
    .= the_arity_of g by MSUALG_1:def 1;
A25: g`2 = f();
  x1() in InnerVertices S() or x1() in InputVertices S \ java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 56
  ( A15,A21,BOOLE_0:;
  then ( InnerVertices ()or x1(in  (S()+*Sjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
  letn1n2 be Elementof NAT;
  then
A26: a1 = Following(s, stabilization-time s9).x1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 25
A27:)i rng<(,)x3(,4)> by A16, A16,NUMSET1def 2;
  then
tconsider  be object that
x4)inInnerVertices S)orx4( in  S   S
  () by A15,A19,XBOOLE_0:def 5;
  then x4 32:  [[f1,f2],y] = [[n11,n22],n33] && n11<> n22 implies n33 = n11+n22) &
XBOOLE_0:def 3;
  then
A29: a4 = Following(s, stabilization-time s9).x4() by java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 54
  x2)inInnerVerticesS(  x2(  \InnerVerticesS
  () by A15,A27, compositio of )[1f2 byBINOP_1: java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
then( java.lang.StringIndexOutOfBoundsException: Range [41, 14) out of bounds for length 73
def 3;
  then
A30: =Following(java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 20
  dom Following(s, stabilization-time s9) = the carrier of S()+*S by CIRCUIT1:3
;
  then
A31: Following(s, stabilization-time s9)*<*x1(),x2(),x3(),x4()*> = <*java.lang.StringIndexOutOfBoundsException: Range [0, 71) out of bounds for length 51
     by,Th45java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A32: the_result_sort_of g = (the ResultSort of S()+*S).g by MSUALG_1:def 2
    .= g by CIRCCOMB:44;
  stabilizationjava.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 0
  hence (Result s).Output S = (Following(  cluster empty for CategoryStr;
  byA9
   . Following theof: the emptyset:],
    .= f().(Following(s, stabilization-time s9
,    thusjava.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16

endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

scheme
  Comb5CircResult {x1  *f1 x0 &
  F(A1: C is empty;
  S() -> finite Signature of B(), C() ->
  Circuitof() S(,f)-> Function of 5tuples_on (),B()}: for s being
  State of C() +* 1GateCircuit(<*x1(),x2(),x3(),for ,f2being  of  
ofC)t =| of ( a1 a2a a4,a5 being 
of B() st (x1() in InnerVertices S() implies a1    thus  iswith_left_identities byA1;
in     ,,beingmorphismof C 
a2 = (Result s9).x2()) & (not     f1()f2(*f3)  (*f2)(*)f3by;
  (x3() in InnerVertices S() implies a3endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Range [25, 13) out of bounds for length 78
= (Result s9).x4()) & (not x4() in InnerVertices S(    set  = (the emptyCategoryStr)opp;
  () in InnerVertices S() implies a5 = (Result s9).x5()) & (not x5() in
InnerVertices )implies   .())holds (esults)Output(1GateCircStr(*
  x1  end;
provided
A1: for g being Function of 5-tuples_on B(registration
a1,a2,a3,a4,a5 being Element of B() holds g.<*a1,a2,a3,a4,a5*> = F(a1,a2,a3,a4,
a5) and
:notOutput 1GateCircStr(<*x1(),2(,(),x4(,x5)>,f() java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
InputVertices S()
proof
  java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  let s be State of C() +* 1GateCircuit(<*x1(),x2(),end;
  let s9 be State of
A3: s9 = s|the carrier of S();
java.lang.StringIndexOutOfBoundsException: Range [29, 2) out of bounds for length 30
  InnerVertices S = {Output S} by Th16;
  then
A5: InputVertices S() misses InnerVertices S by A2,ZFMISC_1:50;
  then
A6: Following(s, stabilization-time s9)|the carrier of S() = Following(s9,
  stabilization-time s9) by A3,Th27,CIRCCMB2:13
    .= Result s9 by A4,Th2;
  S() tolerates S by CIRCCOMB:47;
  then
A7: InputVertices (S()+*S) = (InputVertices S()) \/ (java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 32
  InnerVertices S()) by A5,FACIRC_1:4;
A8: [<*x1(),x2(),x3(),x4(),x5()*>,f()] = Output S by Th15;
A9: s is stabilizing by Def2;
   f  *g A4 = g by ,A4
CIRCCOMB:def 2;
  the carrier' of S = {[<*x1end;
  then
  [*x1(,)x3)x4(,(*,(]in{<*()x(,x3(,x4)x(*,f
()]} & the carrier' of S()+*S = (the carrier' of S())\/{[<*x1(),x2(),x3(),x4()
  ,     assume
  then reconsider g = [<*x1(),x2(),x3(),x4(),x5()*>,f()] as Gate of S()+*java.lang.StringIndexOutOfBoundsException: Range [0, 74) out of bounds for length 26
def;
let,a,a3 a4,a5 beElement d  Realsuch that
A11: ( x1() in InnerVertices S() implies a1 = (Result s9).x1())&( not x1(
  ) in InnerVertices S()     end;
A12: ( x2() in InnerVertices S() implies a2 = (Result s9).  end;
  ) in InnerVertices S() implies a2 = s.x2()) and
A13foryimplies  isidentity
  ) in InnerVertices S() implies a3 = s.x3()) and
A14: ( x4() in InnerVerticesA5: f1     |. f1.xf1x-.<r1     then (for f1 being morphism of Cf | holds  * =f1)&
  ) in InnerVertices S() implies a4 = s.x4()) and
ces )a5=( )x5()&(notx5
  ) in InnerVertices S() implies a5 = s.x5());
A16: InputVertices S = rng <*x1
A17: rngjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  then
18 x1(   *(,2)x3()x4(,x5()>     [.x0-,0]= dom.x0-1f1.]`1
   proof
A19: x1() in the carrier of S()+*S by A16,A10,XBOOLE_0:def 3;
A20: x5() in rng <*x1(),x2(),x3(),x4(),x5()*> by A17,ENUMSET1:def 3;
  then
A21: x5() in the carrier of S()+*S by A16,A10,XBOOLE_0:def 3;
  x5() in InnerVertices     then
  () by A16,A20,XBOOLE_0:def 5;
  then x5() in InnerVertices S() or x5() in InputVertices (S()+*S) by A7,
XBOOLE_0:def 3;
  then
A22: a5 = Following(theorem Th12:
A23:x4)in <*x1)x2)A12: r0  /2&r0    =R XXREAL_0: 
  then
A24: x4() in the carrier of S()+*S by A16,A10,XBOOLE_0:def 3;
A25: x3() in rng <*x1(),x2()
  then
A26: x3() in the carrier of S()+*S by A16,A10,XBOOLE_0:def 3;
  x3() in InnerVertices S() or x3() in InputVertices S \ InnerVertices S
  () x0r0let be;
  then x3() in InnerVertices S() or x3() in InputVertices (S()+*S) by A7        ;
XBOOLE_0:def     assume
        x<x0+0assume g2 |g
A27: a3 = Following(s, stabilization-time s9).x3() by A13,A6,Th1,FUNCT_1:49;
A28:x2(  rng<x1(x2(,3(,         g1   
  then
A29: x2      end;
  x1() in InnerVertices S() or x1() in InputVertices S  hencethe of  left_composable;
  () by A16,A18,XBOOLE_0:def 5;
  then x1() in InnerVertices S() or x1() in InputVertices (S()+*S) by A7,
XBOOLE_0:def 3;
  then
A30: A9:  0 < /    dA8java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
  g = [(the       assume
A31: <*x1(),x2(),x3(),x4(),A5  | java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
    .assume *java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 30
A32: g`2 = f();
  x4() in InnerVertices S() or x4() in java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 41
  () by A16,A23,XBOOLE_0:def 5;
  then x4() in InnerVertices S() or x4() in InputVertices (S()+*S) by A7,
XBOOLE_0:def 3;
  then
A33:   Followings - s9)x4(  ;
  x2() in InnerVertices S() or x2() in InputVertices S \ InnerVertices S
  (by A28,BOOLE_0:def 5java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
x0in (f1|[x0,x0+.)   indomf1|(.,x0R.]))
XBOOLE_0:def 3;
  then
 be
  dom Following(s, stabilization-time s9) = the carrier of S()+*S by CIRCUIT1:3
;then
A35: Following(s, stabilization-time s9)*<*x1(),x2(),x3(),x4(),x5()*> = <*a1
,2a4,5*by ,A29,26,java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
A36: the_result_sort_of g = (the ResultSort of       f1.x0 =(f1|[x0,0+])x by XXREAL_11FUNCT_1:;then
    .= g by CIRCCOMB:44;
  stabilization-time s <= 1+stabilization-time s9 by A2,A3,Th48;
  hence (Result s).Output S = (Following(s, 1+stabilization-time s9)).Output S
  by A9,Th5
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    .= f().(Following(s, stabilization-time s9)*<*x1(),x2(),x3(),x4(),x5()*>
  ) by A36,A31,A32,FACIRC_1:34
    .= F(a1,a2,a3,a4,a5) by A1,A35;
end

begin:  -<   2;hen

definition
  let S be non A5:g1|>g2;
attrS 
  : Def11:
 ;
end

registration
  cluster NAT -> without_pairs;
  coherence;
  let X be without_pairs set;
  cluster -> without_pairs for Subset of X;
  coherence
  by FACIRC_1:def 2;
end;


  cluster natural-valued -> nonpair-yielding for Function;
  coherence
  proof
    let f be Function;
  fis-java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    then
A1: rng f c= NAT by VALUED_0:def 6;
    let x be set;
    assume x in dom f;
    then f.x in rng f by FUNCT_1:def 3;
    hence thesis by A1;
  
end;

registration
  cluster one-to-one natural-valued for FinSequence;A11:e> 0 by       f1java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 44
  existence
  proof
    set p = theholds    g is left_identity
    take p;
    thus thesis;
 end;


registration
  let n be Element of NAT;
  cluster one-to-one natural-valued for FinSeqLen of n;
  existence
  proof
       set p =idSeg ;
A1: dom p = Seg n;
thenrng  Seg  & pis java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 60
then  pas-toone FinSequence of NAT by FINSEQ_1def 
    len p = n by A1,FINSEQ_1:def 3;
then reconsider pas FinSeqLen  n by :def 7;
    take p;
    thus java.lang.StringIndexOutOfBoundsException: Range [40, 10) out of bounds for length 40
  end;
end;

registration
  let p java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 4
  let f be set;
  cluster 1GateCircStr(p,f) -> with_nonpair_inputs;
  coherence
  proof
    InputVertices 1GateCircStr(p,f) = rng p by CIRCCOMB:42;
    InputVertices1(,f) iswithout_pairs;
  end;
end;

registration
  cluster with_nonpair_inputs for one-gate ManySortedSign;
  existence
  proof
    set n = the Element of NAT,X = the non empty finite set;
    set f = the java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 20
    set p = the natural-valued FinSeqLen ofjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    take 1        take gjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    thus thesis;
  end;
  let X be non empty finite set;
  cluster with_nonpair_inputs for one-gate Signature of X;
  existence
   proof
    reconsider z=0 as Element of NAT;
    set p = java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 4
    set       (      reconsider  =  morphism of the CategoryStr  C;
    take 1GateCircStr(p,f);
esis;
  end;
end;

registration
  let S be with_nonpair_inputs non empty ManySortedSign;
  cluster InputVertices S -> without_pairs;
  coherence by Def11;
end;

theorem
  for S being with_nonpair_inputs non empty ManySortedSign for x being
  Vertex of S st x is pair holds x in InnerVertices S
proof
  let S be with_nonpair_inputs non empty ManySortedSign;
  let x be Vertex      suppose java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 7
  the carrier ofA1 f=g;
  then x in InputVertices S or x in InnerVertices S by XBOOLE_0:def 3;
  hence thesis by FACIRC_1:def 2;
end

registration
  let S be       holds g1 (*)g =
  java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
  coherence
  proof
    let x be object;
    assume
A1: x in InnerVertices S;
    InnerVertices S = the carrier' of S by FACIRC_1:37;
      =[(the  ofS        (  =g1 A1,3,;
    hence thesis;
  end;
end;

registration
  let S be unsplit gate`2=den    of Cst >f holds f1 ()f = f1
  cluster InnerVertices   = [.nf I, I.  I=[inf , I.[
herence
  proof
    let x be object;
    considerA MSAlgebraover S uch 
A1: A is gate`2=den by CIRCCOMB:def 11;
    assume x in InnerVertices S;
     reconsider g =xas    by:java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    g = [g`1, (the Charact of A).g] by A1;
esis
  end;
end;

registration
  let S1,S2 be with_nonpair_inputs unsplit gate`1=arity non empty
  ManySortedSign;
  cluster S1+*S2 -> with_nonpair_inputs;
  coherence
  proof
COMB47;
    then InputVertices (S1+*S2) is Subset of (InputVertices S1) \/
    InputVertices S2 by CIRCCOMB:11;
    hence InputVertices (S1+*S2) is without_pairs;
  end;
end;

theorem
  :: This code can be :: version 3.0 or :: License version 4.0 or later, subject to the:: detailed in file COPYING.interpretation.
proof
  let   let x
   being object  x=[,]
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 32


,,SEQ_2, RVSUM_1,
for beingset,Xbeing non I =.infs I  java.lang.StringIndexOutOfBoundsException: Range [66, 64) out of bounds for length 69
  - X,  S      ;
x1 seqk> 0
java.lang.StringIndexOutOfBoundsException: Range [11, 2) out of bounds for length 21
proof
  let x1 be set, proof
  let f be Function of 1-tuples_on X, X;
  let S be with_nonpair_inputs Signature of X such that
A1: x1 in the carrier of S or x1 is non pair;
A2: not Output 1GateCircStr(<*x1*>, f) in InputVertices S by FACIRC_1:def 2;
  per cases by A1;
  suppose
x1thecarrier  Sjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    hence InputVertices (S +* 1GateCircStr(<*x1*>, f)) is without_pairs by A2
,Th37;
  end;
        roof
    x1 is non pair;       end;
    then reconsider a = x1 as non pair set;
    rng <*x1*> = {a} by FINSEQ_1:38        then consider  be  ofC such 
 S+ 1Lm24java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
  end;
end;

registration
  let X be non empty finite set;
  let S be with_nonpair_inputs Signature of X  let S be java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 8
  let x1 be Vertex of S;
f   of1- X,X
  cluster S +* 1GateCircStr(roofbeingmorphismof   >f&fright_identity
  coherence by Th51;
end;

registration
  let X be non empty finite set;
  let S be with_nonpair_inputs SignatureA4:   >g  gisright_identityby java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  let x1  takenot( ]n I,upI. or I= inf,sup I[) by XXREAL_134
  let f      thus f1|fby A4;
  cluster S +* 1GateCircStr(<*x1*>, f) -> with_nonpair_inputs;
  coherence;
end;

theorem java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  for x1,x2 being set, X being non empty finite set for f being
Function of 2java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  (x1 in the carrier of S or x1 is non pair) & (x2 in the carrier of S or x2 is
  non pair) holds S +* 1GateCircStr(<*x1,x2*>,  for f being morphismof  holds f is identity;
proof
  let x1,x2 be set, X be non empty finite set;
  let f be Function of 2-tuples_on X, X;
S Signature  suchthat
A1: ( x1 in the carrier of S or x1 is non pair)&( x2 in the carrier of S
  or x2 is non pair);
 not Output 1GateCircStr(<*x1,x2*>, f) in InputVertices S by FACIRC_1:def 2;
  per cases by A1;
  suppose
    x1 in the carrier of S & x2 in the carrier of S or x1 in the
carrier of S:n  I in I & not    ;
    InnerVertices S;
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
 f)) = InputVertices S or {
 (S + GateCircStr(<*x1,x2*> f) ={x2}
\/ InputVerticesA2:x  ].,PI. by A1,XXREAL_14java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    *,> ) = {1}\/InputVertices  byA1,2,h38,,;
    hence InputVertices (S +* 1    reconsider x1= x,x2  PI/ as ExtRealjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
  end;
  uppose
    x1  non pair& x2is  inf I<sup  A2,XXREAL_0:;hen
thenreconsider a = x1,b     pair ;
    java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
InputVertices*<,*,tjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8



registration
  let X be non empty finite set;
  let S be with_nonpair_inputs Signature of X;
  let x1 be Vertex of S, n2 be non pair set;
  let f be Function of 2-tuples_on X, X;
  cluster S +* 1GateCircStr(<*x1,n2*>, f) -> with_nonpair_inputs;
  coherence by Th52;
  cluster S +* 1GateCircStr(<*n2,x1*>, f) -> with_nonpair_inputs;
  coherence by Th52;
end;

registration
  let X be non empty finite set;
  let S be with_nonpair_inputs Signature of X;
  let 1 is_differentiable_on_interval I&f2 is_differentiable_on_interval J &
  let f be Function of 2-tuples_on X, X;
  cluster S +* 1GateCircStr(<*x1,x2*>, f) -> with_nonpair_inputs;
  coherence by Th52;
end;

theorem Th53:  for ;
   . Some
Functionof3-tuples_onX,X for Sbeing  proof
( thecarrier  of S  x1 pair&(inthe  of or x2 is
onpair  x3in the carrier of  or x3 is non pair)holds  *  C
  <> )swith_nonpair_inputs
proof
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 5
  let f be         reconsider by;
      java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 72
  java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
:not forCbeing discrete CategoryStr,f1f2being morphism of C
FACIRC_1:def 2;
    -()+(even)- 1;
  suppose
    x1 in the carrier of S & x2 in the carrier of S & x3 in the
carrier of    h FinSequenceby ,
carrier ofS or  in the carrier of S & not x1 in InnerVertices S & x3 in the
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 79
  in java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 78
in .= dom even ;then
  in      java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    &  n  Nat
      bezero
 x2 without_pairs   S+ GateCircStr(<*x1,*> f) =
     Sor{ is without_pairs  InputVertices ( *
    1GateCircStr   
without_pairs & InputVertices (S pA:| is_right_differentiable_inlower_boundI byA4A1Th11java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
putVertices S or {1,2}is    in& I  ;
<*x1,x2,x3*>, fendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
putVertices (S  end;
or {x1,x3} is without_pairslet benon zero;
tVerticesS byA1A2,h41,Th42,Th43,h44Th45,,Th47;
<,23, f) swithout_pairs;
  end;
  suppose
    x1 is non pair   -  -> ;
    then reconsider     odd- n =len even-seq   FINSEQ_3:9.= n by Def1;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 47
  ( *1*,x3,f) without_pairs
  end assume
end;

registration
  let X be non     inf I<sup by A2,XXREAL_0:; consider R1 be Realjava.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 39
  let S be with_nonpair_inputs Signature of X;
let be ,  nonset;
  let f be Function of 3-tuples_on X, X;
  cluster S +* 1GateCircStr(<*x1,x2,n*>, f) -> with_nonpair_inputs;
  coherence by Th53;
  cluster S +* 1GateCircStr(<*x1,n,x2*>, f) -> with_nonpair_inputs;
  coherenceby Th53;
  cluster S + 1java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 7
coherence by Th53;
end;

registration
letbe nonempty finite ;
  let S be with_nonpair_inputs Signature of X;
  let x be Vertex of S, n1,n2 be non pair set;
  let f be Function offor          tg*    f  by ,;
  cluster S +* 1GateCircStr(<*x,n1,n2*>, f) -> with_nonpair_inputs;
  coherence by hence thesisby f1java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 74
  cluster S ceven n-java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 20
  cluster S +*      thus h*g| f byA,java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 39
  coherence by Th53;
end;

registration
   benon empty finite set;
       letkbe Nat;
  let A7      < k <<n1 then
et   of- X, X;
  cluster S +* 1GateCircStr(<*x1,x2,x3*>, f) -> with_nonpair_inputs;
  ;
end;

Messung
CHZG
8010010093

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

*© Formatika GbR, Deutschland