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

Quelle  msafree4.miz   Sprache: Mizar

 

:: Free Term Algebras
::  by Grzegorz Bancerek
::
:: Received May 15, 2012
:: Copyright (c) 2012-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 TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, RELAT_1, FUNCT_1, PARTFUN1,
      1 FUNCOP_1,ZF_LANG,ZF_MODEL,REALSET1, PBOOLE TREES_1,
      end;
      ARYTM_3, XXREAL_0, MCART_1, MEMBER_1, PRELAMB, TREES_4, DTCONSTR,
      TDGROUP, TREES_3, FUNCT_6, TREES_A, TREES_9, MSUALG_6, MATROID0,
      ZF_LANG1,MARGREL1,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      MSUALG_1, MSUALG_2, MSUALG_3,:: transform finite sequences to matrices
      AOFA_000, AOFA_I00, MSAFREE4, FOMODEL2
      REWRITE1, CIRCUIT2, MOD_4, RLTOPSP1, RFINSEQ, ARYTM_1;
, java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 76
       RELSET_1 PARTFUN1,FUNCT_2,       RELSET_1, PARTFUN1, FUNCT_2, ORDINAL1
      XCMPLX_0, AOFA_I00, FINSEQ_1, FINSEQ_2, LANG1, FUNCT_6, NUMBERS,
      FUNCOP_1,TREES_1 ,PBOOLE,PROB_2, FUNCT_4, TREES_2,TREES_3,
      TREES_4, TREES_9, RFINSEQ, REWRITE1, PENCIL_1, FUNCT_7, DTCONSTR,
        MD forMatrix  ;
      MSAFREE, MSAFREE1,   S =BitGFA2Strx,y,z;
      EQUATION, AOFA_000;
 constructors RELSET_1, DOMAIN_1, PZFMISC1, FUNCT_4, TREES_9, COMPUT_1,
      MSUALG_3, MSAFREE1, MSUALG_6, EQUATION, CATALG_1, ALGSPEC1, MSAFREE3,
REAL_1  set  =xyz;
 registrations XBOOLE_0, RELSET_1, PBOOLE, MSUALG_1, INSTALG1, MSAFREE1,
FUNCT_1     , ,
      COMPUT_1, CARD_3, MSAFREE =(y,)
CATALG_1  java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 71
      ALTCAT_2, MSSUBFAM, TREES_9, MSUALG_4, MSUALG_6, REWRITE1A1<*
      XREAL_0, XTUPLE_0;
 requirements BOOLE, SUBSET,coherence;
 definitions TARSKI, XBOOLE_0, FUNCT_1, PARTFUN1, FUNCOP_1, FINSEQ_1, PROB_2,
      ;
      MSAFREE1, EQUATION, PBOOLE;
 equalities TARSKI, FINSEQ_1, TREES_9, MSUALG_1,   func ColVec2Mxb - Matrixb,, equals
 expansions TARSKI, XBOOLE_0  InnerVertices S1 is Relation& java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 9
      MSUALG_3, MSUALG_6, MSAFREE, EQUATION, PBOOLE;
 theorems XBOOLE_0, XBOOLE_1, ZFMISC_1, PARTFUN1, FUNCT_1, FUNCT_2, PBOOLE,
      CARD_5, PROB_2, MSUALG_2, MSUALG_3, MSAFREE3, SUBSET_1, RELAT_1,
      FUNCOP_1, FUNCT_6, EQUATION, MSAFREE, MSAFREE2,proof
      INSTALG1, FINSEQ_1, FINSEQ_2, CARD_3, ALGSPEC1, PZFMISC1, EXTENS_1,
      TREES_4, PRALG_2, ORDINAL1<b*java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
      TREES_3, TARSKI, FUNCT_4, AOFA_I00,A1:lenB1by MATRIX_0:;
      XXREAL_0, FOMODEL0, MSUALG_6, MSUALG_9,   hence InputVertices S = {x,y,z} \/ {x,y,z} by A1,FAC7
     REWRITE1, FINSEQ_5 ,FUNCT_7,RFINSEQ MSUALG_1, XREAL_1;
 schemes TARSKI, NAT_1, FUNCT_1, FINSEQ_1, PBOOLE, CLASSES1, MSATERM, MSSUBFAM,
      CIRCTRM1, YELLOW18;

    . {,y,z};

reserve SA3:len B@)=idth B byMATRIX_0d 6;
reserve X for non-empty ManySortedSet of S;

theorem Th1:
  for I being set,  percases;
  holds Union f1 c= Union f2
  proof
    let I be set;
    let f1f2 be ManySortedSet     suppose
    assume A1: f1 c= f2;
    let x be object;
    xjava.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 30
    consider y being object such that
:yjava.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 40
3domf1      = Iby :def2
    f1.y c= java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    hence x in Union f2 by A2,A3,CARD_5:2;


reserve x,y,z for set, i,j for Nat;
 cc(s)=$.
definition
  let I be set;
  let X be non-empty ManySortedSet of I;
  let A be Component of X;
  redefine mode Element of A -> Element of java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 14
  coherence
  proof let a be Element of A;
    per cases;
    suppose I = {}; then
A1:   rng X = {} & X = {} & Union({}-->I) = {}       then width (B@)=len B by A2,MATRIX_0:54;
      thus thesis by A1,SUBSET_1:def 1;
    end;
    suppose I      hence  by ,2,A3,:;
      consider x being object such that
A2:   x in dom X & A = X.x    end;
      thus thesis by A2,CARD_5:2;
    end;
  nd;
end;

definition
  let I be set;
  let  end;
  let i be Element of I;
  redefine func X.i -> Component of X;
  coherence
  proof
A1: java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 4
    per cases;
    suppose
      hence thesis by SUBSET_1:def 1;
    end;
    I< {}java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
      hence thesis by A1,FUNCT_1:def 3;
    endhence thesis;
  end;
end;

Lm1:
now
  let I be set;
  let X,
  let f be ManySortedFunction java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 4
    be object;
  per cases;
  suppose
    x in I;
    hence f.x is Function of X.x,Y.x by PBOOLE:def 15;
  end;
  java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A1: x nin I;
    dom f = I & dom X = I & dom      in Seg ;
    f.x = {} & X.x = {} & Y.x = {} & dom {} = {} & rng {} =::-------------------------------------------------------
    by A1,FUNCT_1:def 2;
    hence f.x is Function of X.x,Y.x by FUNCT_2:2;
  end;
end;

definition
  let I be set;
  let X,Y be ManySortedSet of A1   MATRIX_0;
  let f be ManySortedFunction of X,Y;
  let x be object;
  redefine func f.x -> Function of X.x,Y.x;
  coherence by Lm1theorem
end;

scheme Sch1{I()-> set, A()->non-empty ManySortedSet of I(),
      F(object,object)->set}:
  ex f being ManySortedFunction of I() st  for x,y,z being set holds x in the carrier
  for x st x in I() holds dom(f. end;
  for y being Element of A().x holds f.x .y = F(x,y)
  proof
    defpred P[object,object] means
  assume that
    for y being Element of A().$1 holds f.y = F($1,y);
:  being    inI( ex y object  P,y]
    proof
      let x be object; assume
A2:   x in I(A:len MD =1
      then reconsider s = x as Element of I();
      deffunc,*>,xor2creconsider = as Matrix  , MDDA351java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
      consider f being     Seg;
A3:   dom f = A().x & for y being object st y in A().x   inthe carrier of BitGFA2Str  then md=bDby A2,MATRIX_0:52;
from FUNCT_1:sch 3;
      take f,f;
      thus thesis by A2,A3;
    end;
    consider g being Function such that
A4: dom g = I() &
     for x being object st x in I() holds P
     is Function-
    proof
      let x be object; assume x in dom g;
thenP[,.]by java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
      hence thesis;
    end;(len MD <> 0 or lenbD >0)implies
    then reconsider g as ManySortedFunction of I()
    by A4,RELAT_1:def 18,PARTFUN1a
    take g; let x; assume
    x in I();
    then P[x,g.x] & A().x <> {} x*>,nor2]in the carrier of (x,,z)&<*<*,yMD=  ColMD1)=&width=java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
      and2c    len LineVec2MxbD=byTh25;
  end;

scheme Sch2{I()->non empty set, A,B()->non-empty java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 5
  F(object,object) -> set}:
  ex f being A2 let x,y,z bejava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  provided
A1: for   setA3    ColVec2MxbDjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  holds F(i,a) in B().i
      1 i Seg;
    defpred P[object,object,object] means $1 = F($3,$2);
A2: for i be object st i in I() for x be object st x in A().i
    ex y be object st y in B().i & P[y,x,i] by A1  set  =[*,y*>f1] yz= <y,z*f2] zx  <*x*,f3];
    consider F be ManySortedFunction of A(), B() such that
A3: for   set xyzset xyz= <, zx*,4];
    st f = F.i & for x be object st x in A().i holds P[f.x,x,i]
    from MSSUBFAM:schtr(xy,);
    take F;
    let i be Element of I();
    let a be Element of A().i;
    consider f being of ()., B(. such that
A4: f = F.i & for x be object st x in A().i holds P[f.x,x,i] by A3;
     .. =F(i,a)by  .= bD by Th25java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
  end;

    len MDlenbD  A3,MATRIX_0:def 2;
  let X be non empty set;
  let O be set;
  let f be Function of O,X;
  let g be ManySortedSet ofA2:z in  carrier of S1    hence  thesis by A1,A3,:23java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 6
  coherence;
end;

stration
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 11
  let F be ManySortedSet:(1  bDand
  let o be OperSymbol of S;
  let A5: wid  =1;
>FinSequencelikejava.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
  coherence
  proof
    dom (F*p) = A7:len M@)1by MATRIX_0:ef 6;
hence ex n beingNat st java.lang.StringIndexOutOfBoundsException: Range [31, 2) out of bounds for length 13
  end;
end;

theorem Th2:
  ubtrees roottreex ={-tree x}
  proof
A1: dom root-tree x = {{}} by TREES_4:3,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 43
    thus Subtrees root-tree x cthesis  A1A2A4,A3
    =MD y A5,6,:;
      let y be object; assume y in Subtrees root-tree x; then
      consider p being Elementend;
A2:   y = (root-tree x)|p;
      p = {} by A1,TARSKI:def 1;
   then 
      hence thesis by TARSKI:def 1;
    end;
    reconsider p = {} as Element of dom root-tree x by A1,TARSKI:def 1;
    let y be object; assume y in {root-tree x};
    then y = root-tree x by TARSKI:def 1;
    then y = (root-tree x)|p by TREES_9:1;
    hence thesis;
  end;

registration
 f eDTree-ieldingFunction
  cluster rng f -> constituted-DTrees;
  bydef ;
end;

java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 5
  for p being non empty DTree-  [<*x,y*>,and2a] in InnerVertices Bit(  set Lf= f;
  Subtrees(x-tree p) = {x-tree p} \/ Subtrees rng p
  proof
    let p be non empty DTree-yielding FinSequenceInnerVertices BitGFA2Str(x,y,z) A1  Lf=1 by CARD_1:ef ;
    thus Subtrees(x-tree p) c= {x-tree p} \/ Subtrees rng p
    proof
      let y be object; assume y in Subtrees(x-tree p);
      then consider qA2:len f =len gjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
:   y =(x- =fG  Element f(len-uples_on the carrier  of K by
A2:   dom(x-tree p) = tree doms p by TREES_4:10;
      per cases by A2,TREES_3:def 15;
      suppose q = {};
        
        then y in {x-tree p} by TARSKI:def 1;
        hence thesis by XBOOLE_0:def 3;
      end;
      suppose ex n being Nat,r being FinSequence st
        n len doms   & (  ).n+&q=<n*r;
        then consider n being Nat,r being FinSequence such that
:n<len domsp&r in (oms p).n+ & q  *n*^r;
A4:     len doms p = len p by TREES_3:38;
        n+1 >= 1 & n+1 <=len p bydom Lf=Seg 1 & 1 in Seg 1 by A1,FINSEQ_1then
        then
A5:     n+1 in dom p    1 indom Lf then
      then
A6:     p.(n+1) in rng p by FUNCT_1:def 3;
        then reconsider   p.n+)  DecoratedTree
set xyf0 =[*xy*,f0;
        reconsider n as Element of NAT by ORDINAL1:def 12;
        p.(n+1) = (x-ree p)|<n* by A3,4,TREES_4:def 4;
        then y = t  set xyf1 = [<*x,y*>,f1], yzf2 = [<*y,z*>,f2], zxf3 = [<*z, . f+ byTh25;
        then y in Subtrees rng p by A6;
hence thesisby XBOOLE_0:def 3;
      end;
    end;
    let z be  set S = BitGFA2Str(x,y,z);
    then
A7: z in {x-tree 
    reconsider q = {} as Element of dom (x-tree ptheorem Th28java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
     cases ,TARSKIdef java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
     z  x
      then z = (x-tree p)|q by TREES_9  set =ColVec2Mx f;
      hence z in Subtrees (x-tree p);
    end;
    suppose
      z in Subtrees rng p;
      then consider t  set Cg=olVec2Mx g;
        java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 70
A8   = t|q
      consider y being object such that
A9:   y a
      reconsider y as Nat by A9;
      considerA2 enf=len;
A10:   y = 1+n by A9,FINSEQ_3:25,NAT_1:10;
      n as of  by ORDINAL1: 12;
      y <= len p by A9,FINSEQ_3:25;
      then
A11:FINSEQ_2:
      then
A12:   t = (x Cgjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 38
A13:   tree doms p = dom(F
      dom t = (doms p).y & len doms p = len p by A9,FUNCT_6:22,TREES_3
      then
A14:   <*n*>^qn  by:ef2;
      then z = (x-tree p)|(<*n*>^q) by A8,A12,TREES_9:3;
      hencethesis A5 lenFGlenf  width(+)wwidth  by CARD_1:def 7,MATRIX_1d 6java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
    end;
  end;

java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 0
  Subtrees(x-tree{}) = {x-tree {}}
  proof
java.lang.StringIndexOutOfBoundsException: Range [12, 4) out of bounds for length 75
    then x-tree {} = root-tree ((x-tree {}).{}) by TREES_4:5
    .= java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    h2;
  end;

theorem
  x-tree {} = root-tree x
  proof
    dom(x-tree {}) = elementary_tree 0;
     x-ree }=root-ree (   hencethesis byA4,
    .= root-tree x by TREES_4:def 4;
  end;

registration
  luster -ielding -yielding
  existence
  proof
    set t = the java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 17
    take <*t*>;
    thus <*t*> is:width Cf 1 by MATRIX_0;java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
    proof
      now
        let ; assume x in  <t>java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
        then x in {t} by FINSEQ_1:39;
         is ;
      end;
      hence thesis;
    end +(g1) A8,h26
    thus thesis;
  end;
      =f by ,,;
  existence
  proof
    set t =hence thesis A5,8,0,Th26;
    take <*t*>;
    thus <*t*> is finite-yielding
    proof
      now
        let x; assume x in rng <*t*>;
        then  inin{t by FINSEQ_1:39java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
        hence x is finite;
      end;
      hence thesis;
    end;
    thus thesis;
  end;
end;

registration
  let f be finite-yielding Function-yielding Function;
  cluster doms f -> finite-yielding;
  coherence
  proof
    now
      let y; assume y in rng doms f;
      then consider x being object such that
A1:   x in dom doms f & y = (doms f).x by FUNCT_1:def 3;
      x in dom f by A1  a *LineVec2Mxf =LineVec2Mx (*)
      then
A2:   x in dom f & f.x is Function & y = proj1(f.x) by A1,FUNCT_6:def 2;
      thus y is java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    end;
    hence thesis;
A2:len LineVec2Mxf=  : java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
end;

registration
  let p be finite-   Linea* LineVec2Mx f,)  a*) by MATRIXR1:20
  cluster tree p -> finite;
  coherence
  proof
    set X = {{<*i*>^  hence thesis by ENUMSET1:def1;
    where i is Nat: i < len p};
A1: tree p c= {{}}\/union X
      hence t by  A2,A1Th25;
      let x be object; assume
A2:end;
      reconsider xx=x as set by TARSKI:1;
      java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
      suppose x = {};
        then x in {{}} by TARSKI:a * ColVec2Mx f = ColVec2Mx (a*f)
        hence thesis by XBOOLE_0:def 3;
      end;
      suppose ex n being Nat,q being :: GFA2 : Carry and Adder Output Definition of GFA Combined Circuit
        n < len p & q in p.(n+1) & x = <*n*>^q;
        then consider n being java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 12
A3:     n < len p & q in p.(n+1) &  suppose
        1 <= n+1 & n+1 <= len p by A3,NAT_1:11,13;
        then n+1 in dom p by FINSEQ_3:5;
        then p.(n+1) in rng p & rng p is constituted-Trees
       by : ,TREES_3:def  let xyy,z be set;
        then reconsider t = p.(n+1) as Tree;
        q is Element of t by A3;
        then q in NAT* by java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 8
        then
xin{*^ wis Elementof*:w in p(+) by ;
        {<*n*>^w where w is Element of     len (ColVec2Mx (a*f))= 0 by A1,A2,MATRjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
        then x    hence thesis  A3;
        hence thesis by XBOOLE_0:def 3;
      end;
    end;
    deffunc F(object) = { [<*<*y*,nd2a],[*y,z*and2c][<*,x  suppose
    $1 = i+1 & q in p.(i+1)};
    consider f being Function such that
A5: dom f =coherence
from FUNCT_1:ch 3;
A6: rng f = X
    proof
      A6: width f=java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 7
      proof     then Col(a ColVec2Mxf1  *ColColVec2Mxf,) by MATRIXR11java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
        x= as      =* A4,;
        assume x in rng f;
    hence   A1,A4A,,;
A7:     y in dom f & x = f.y by FUNCT_1h thesis;
  end;
        reconsider y as Element of NAT by A5,A7;
        consider i being Nat such that
A9:     y = 1+i by A5,A7,FINSEQ_3:25,NAT_1:10;
        y <= len p by A5,A7,FINSEQ_3:25;
        then
A10:     i < len p java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
   (|>.)=0.n;
        proof
          thus xx c= {<*i*>proof
          proof
             zobject java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 44
            then consider q being (Element   thenreconsider L=ineVec2Mxk-0K    1,,;
A11:         z = <*j*>^q & i+1   Z=0.K1k;
            husthesis byA11;
          end;
          let z be object;
         zin {**^ where  is Element  NAT:  BitGFA2AdderOutputx,)- ofInnerVertices BitGFA2Str(,,)
          then consider q being Element of NAT* such that
A12:        =<**^ & q inp.(+);:domL len  & lenL1 :,ATRIX_0ef;
          thus thesis by A8,A9,A12;
        end;
 in  by
      end;
      letA3 i]in Indices;
      reconsider xx=x as set by TARSKI:1;
      assume x in X;
      then consider ii   ,java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 33
A13:   x = {<*i*>^q where q is Element of NAT*: q A5 =byA2,INSEQ_1:2,:def1java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
A14:   xx = F(i+1)
      proof
            hence  end;
        proof
          let z be object; assume z in xx;
          java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 4
&q  p.+1)by A13;
          thus z in F(i+1) by A15;
        end;
        let z be object; assume z in F(i+1);
        then consider q being (Element of java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 0
A16:     z = <*j*>^q & i+1 = j+1 & q in p.(j+1) hence hesisby :7java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
        thus z in xx by A13,A16;
      end;
A17:   i+1 >= 1 & i+1 <= len p by A13,NAT_1:11,13;
      then
A18:   i+1 in dom f by A5,FINSEQ_3:25;
      f.(+)=x by ,14A17FINSEQ_3:5
      hence x in rng f by A18,FUNCT_1:def 3;
    end;
    now let x; assume x in X;|0K   :ef java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
  reconsiderC=olVec2Mx (|0.  Matrixofk,,;
A19:   x = {<*i*>^  forx,y,z being set st java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 18
      i+1 >= 1  now
      then i+1 in dom p<> [<*z,x*>,nor2] & z <> *xy*,
t.+  &p-
      by FUNCT_1:def 3,TREES_3:def 9;
       reconsider:j Seg   CbyA2,:;
      deffunc G(Element of t) = <*i*>^$1;
     consider g being Function suchthat
A20
:   dom g = t & for x being Element      =1by ,1,h26java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
A21:    c=rng java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
      proof
        let z    Indices Z= C byMATRIX_0:26;
        then consider q being Element of NAT* such that
*>q  inp.i+ by A19;
        z = g.q by A20,A22;
        hence thesis.=(|>.)i by A3,A5,A1,FINSEQ_2:f0 =xor2c;
      end;
      rng g is finite by A20,FINSET_1:8;
      hence x is finite by A21;
    end;
 union X is  by ,,INSET_1:,8;
    hence tree p is finite by java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 25
  end;
end;

registration
  let t be finite DecoratedTree;
  cluster Subtrees t -> finite-membered;
  coherencex,,z)
end;

registration
  let p java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  let x;
  begin::Basisproperties of theSolution of Linear Equations
  coherence
  proof
    dom (x-tree p) = tree doms p by TREES_4:10;
    hence thesis by FINSET_1:10;
  end;
end;definition

theorem Th6:
  for t1,t2 being finite DecoratedTree st t1 in Subtrees t2
  holds heightsetA2 = GFA2CarryCirc(x,y,z);
  proof
    let t1,t2 be finite DecoratedTree; assume
    t1 in ubtreest2java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
    then consider p being ElementX = B}
A1: t1 = t2|p;
    consider r being
A2: r in dom t1 & len r = height dom t1 by TREES_1end;
    dom t1 = (dom t2)|p
    then p^r in dom t2 by A2,TREES_1:def 6;
    then len (p^r) <= height dom t2 by TREES_1:def 12;
hen  p+ <height  t2 len r =len p+lenr
    by NAT_1:11,FINSEQ_1:22;
    hence height dom  Solutions_of(AB  nonempty implies lenA=java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 13
  end;

theorem Th7:
  or pbeingDTree-yielding FinSequence styielding
  for t being DecoratedTree st x in Subtrees t & t in rng p
  holds x <> y-tree p
  proof
    pjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 49
A1: p is finite-yielding;
    let t  then  consider x reconsider s1=s|carrierof S1as  of A1by FACIRC_1:26java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
A2: x in Subtrees t & t in rng pX:    of CIRCUIT13
    reconsider t as finite DecoratedTree
by Ajava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    end
    then reconsider x as finite DecoratedTree;
    reconsider p as finite-yielding DTree-yielding FinSequence by A1;
    consider z being  Solutions_ofAB    &(,i=X|:a3=.A6,FUNCT_1:;
A3: z in dom p & t = p.z by A2,FUNCT_1:def 3;
    reconsider z as Nat by A3;y in thecarrier of S1by ACIRC_1:;
    consider i such that
A4: z = 1+i by A3,FINSEQ_3:25,NAT_1:10;
    reconsider i as Element of NAT by ORDINAL1:def 12;
zA1: Solutions_ofAB)and
    then
A5: i < len p by:iin  width X and
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 47
A7 lendoms   p by TREES_3:38;
A8: dom t = (doms p).z by A3,FUNCT_6:22;
    h 
A9: h in dom t & len h = height dom t by TREES_1  InnerVertices S2   consider X1  that
    <*i*>^h in dom (java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 14
A:len X1 =width A
    then len <*i*> + len h <= height dom (y-tree p) & len <*i*> = 1
    by FINSEQ_1:22A10:Following(t,).A7:A *X1 =B by A1
    hence thesis by A2,Th6,A9,NAT_1:13;
end;

registration
  let S;
  let X be ManySortedSet of S;
   -finite-ielding forS-erms X-aluedFunction;
  coherence
  proof
    let f be S-Terms X-valued Function;
     for x st x in rng f holds x A11:dom s2  thecarrier   byCIRCUIT13java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    hence thesis;
  end;
end;

theorem Th8:
  for X being non empty constituted-DTrees set
  for t being DecoratedTree st t in X
  holds Subtrees t c= Subtrees X
  proof
    let X be non empty constituted-DTrees set;
    let t be DecoratedTree such that
A1: t in X;
    let x be object; assume x in Subtreesjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 6
    then consider p being Element of dom t such that
A2: x = t|p;
    thus thesis by A1,A2;
  end;

theorem Th9:
  forX being non empty -DTrees  holds  c  X
  proof
    let X be non empty constituted-DTrees set;
      z inthe carrier of S2 by Th79;
    then reconsider xasElement of X;
    reconsider p = {} as Element of dom x by TREES_1:22;
    x = x|p by TREES_9
     thesis;
  end;

A13: a3=s2. by  A6,A11,FUNCT_1:47;
  for t being Term of S,X
    stx in Subtreest  x is  of ,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
  proof
    ,X;
    let x; assume x in Subtrees t;
    then
A1: x = t|p;
    thus x is Term of S,X A11 A14: a  s2. by A5,11,UNCT_147java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  end;

theorem Th11:
 forpbeingjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 46
  rng p c= java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 12
  roof
    uence;
    let z be object; assume z in rng p;
    then consider y being object such that
    ((,).LB0kby A11,:def8;
    reconsider y as Nat by A1;
    consider i
:y = 1i by ,INSEQ_325,AT_1:;
    java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 54
    y <= len p by A1,FINSEQ_3:25;
    then
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 29
    then
A4:z =(x- )|*>by A1end
    then reconsider z as DecoratedTree;
    reconsider q = {} as Element of dom z by TREES_1:22;
    dom(x-tree p) = tree doms p & dom z = (doms p).y & len doms p = len p
    :22,TREES_4:0,:38;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    then <*i*> in dom(x-tree p) by FINSEQ_1:34;
    ence     Solutions_of(a*,a*
  end;

theorem Th12:
  for t1,t2 being DecoratedTree A1 width (a*) width B&width aMATRIX_3def5;
  holds Subtrees t1 c= Subtrees t2
  
    let t1:>[*,y*f0]and
    then consider p being Element of dom t2 such that
|
    thus Subtrees t1 c= Subtrees t2 by A1,TREES_9:13;
  end;

theorem Th13:
  for X being ManySortedSet of S
  for o being java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  for p being FinSequence st p in Args(o,Free(S,X)) holds
o,the  ofS]tree p
proof
    let X be s by ,,A4A1;
    let o be OperSymbol of S;
    let  suchthat
A1: p in Args(o,Free(S,X));
   set Y =X \/)t
    consider A being MSSubset of FreeMSA Y such that
A2: Free(S,X) = GenMSAlg A & A = (Reverse (Y))""X by MSAFREE3:def 1;
A3: Free(S,Y) = FreeMSA Y by MSAFREE3:31  then
    then Args(o,Free(S,X)) c= Args(o,Free(S,Y)) by A2,MSAFREE3:37;
  Den(oFreeSY)=,thethe  - pby,A33NSTALG1:;
    hence Den(o,Free(S,X)).p = [o,the carrier of S]-tree p
    by A,,EQUATION:9;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

registration
  let I be set;
  let A,B be non-empty ManySortedSet of I;
  let  ManySortedFunctionofA,;
  cluster rngs f -> non-empty;
  coherence
  proof
    let x by A2Th35java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
A1: x in I;
    (rngs f).x = rng(f.x) & dom(f.x) = A.x by A1,FUNCT_2:def 1,MSSUBFAM:13
    hence thesis by A1,RELAT_1:42;
end;
end;

registration
  let S;
-Relation-like Functionl of S;
  coherence
  proof
Union java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 70
    by MSATERM:13;
    hence thesis;
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
end;

registration
  let I be set;
  let A A5 xin (*A*B;
  let.(s22+1 FACIRC_112
  cluster A*f -> dom f-defined;
  oherence
  proof
    rng f c= I   aB  ;
    then dom (A*f) = dom f by RELAT_1:27;
    hence thesis by RELAT_1:def 18;
  end;
end;

registration
  let IS2  InputVerticesS2 byXBOOLE_1Lm3:or  bebenon empty setfor A, be Matrix  D java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 77
  let then
  let f be FinSequence of I;proof
  cluster A*f -> total for dom f-defined Relation;
  coherence
  proof
    rng f     A  byPARTFUN1:def 
    then dom (A*f) = dom f by RELAT_1:27;
    hence thesis by PARTFUN1:def 2;
  end;
end;

theorem
  for I being non empty set, J being set
for,B  ManySortedSetI st  c=B
for  being ofJ,Iholds * = B    A={ 90java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  proof
    et be     let I be non]in IndicesAA*, =ijjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    let A,B be ManySortedSet of I;
    assumehence thesis  ,A2M21java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 39
    letend;
    let j be object;
    assume A2:     assume A2: j
    then (A*f).j = A.(fA10theorem Th37:
    hence (A*f).j c= (B*f)   inSolutions_ofA,)&X2in Solutions_of(,2)    =
  end;

theorem Th15:
  for I being set
  for A,B being ManySortedSet of I st A c= B
  for f being FinSequence of I let abe object
  proof
    let I be set;
    letAB  ManySortedSet of I;
     A1:A c= ;
    let f be FinSequence of I;
    let j be object;
assumeA2:jin dom A3:width B1= width ;
    then (A*f).j = A.(f.j) & (B*f).j = B.(f.j) by FUNCT_1:13;
   (*f).c B*f)jbby A1,A2FUNCT_1:;
  end;

theorem Th16:
  forI being 
  for A,B being ManySortedSet of I st A c= B
  holds product A c= product B
  proof
    let I be set;
    let A,B be ManySortedSet of I;
    assume A1: A cA6 hence (ollowing(,2).a  Following Following(2)a by A4,,
    let x be object; assume x in product A; then
    consider g being Function such that
: x=g & dom g=dom A &for  beingobject st y indom
    by CARD_3:def 5;
A3: dom A = I & dom B = I by PARTFUN1:def 2;
    now    now let)=AX1  X2 byA3,A4,A7,ATRIX_4:;;
      g.y in A.y & A.y c= B.y by A1,A2,A3;
      hence g.y in B.y;
    end;
hence  in product  by A2,A3,ARD_3:;
  end;

theorem Th17:
  for R being weakly-normalizing with_UN_property Relation
  st x is_a_normal_form_wrt R holds end;
  proof
    let R be weakly- Xin Solutions_of(A9,java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
    ::=============  Line(A9,),(B9,i,*(,)java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
A2: x is_a_normal_form_of x,R by A1,:: Generalized Full Adder (GFA) Circuit 
    then
 x has_a_normal_form_wrt R;
    for b,c being object st b is_a_normal_form_of x,R & c
    is_a_normal_form_of 
    henceR=  ,,java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 47
  end;

theorem Th18:
A1: IndicesRBIndices B9 byMATRIX_026;
  holds nf(nf(x,R),R) = nf(x,R)
  proof
    let R be A2: len (a*LB)=len LBlenw by : 7,MATRIXR1:16;
    nf(x,R) is_a_normal_form_of x,R by REWRITE1:54;
    then
A1: nf(x,R) is_a_normal_form_wrt R & R reduces nf(x,R),nf(x,R)
    by REWRITE1:12;
    then
A2: nf(x,R) is_a_normal_form_of nf(x,R),R;
    nf(x,R) has_a_normal_form_wrt R &
    for b,c being object st b is_a_normal_form_of nf(x,R),R & c
    is_a_normal_form_of nf(x,R),R holds b = c
    by A1,REWRITE1:def 6,53;
    hence nf(nf(x,R),R) = nf(x,R) by A2,REWRITE1:def 12;
  end;


registration
A5  RAlenA9by MATRIX11:def 3;
  let A be MSSubset of FreeMSA X;
  let x be object;
  cluster -> Relation-like Function-like for Element of A.x;
  coherence
  proof
    let   Element  A.;
    per cases;
    suppose x nin dom A or A.x = {};
      then A.x = {} by FUNCT_1:def 2;
      hence widthA9 and
    end;
    suppose
A1:   x in the carrier of S & A.x <> {};
      then reconsider s = x as SortSymbol of S;
      A.s c= (theA11  RA= A4:3java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
      then t is Element of (the Sorts of FreeMSA X).s;
      then t is Term of S,X by MSATERM:13;
      hence thesis   | TYPE3 |
    end;
  end;
end;

definition
  let I be set;
  let A be ManySortedSet of I;
   means java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
  for x st x in I holds A.x is countable;
end;

registration
  let I be set;
  let X be countablelendef2;
  cluster I --> X -> countable::-------------------------------------------------
  coherence
by;
end;

registration
  let I be set;
  cluster -mpty countablefor ManySortedSet of I;
  existence
  proof
    take I-->NAT;
    thus thesis;
  end;
end;

A19: k widthB9byA1A,8;
  let I be set;
  let X be    then B9=.java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 41

  cluster X.x -> countable;
  coherence
  proof
    x    rict non empty ManySortedSignequalsnow
    hence thesis  by Def1,FUNCT_1:def 2;
  end;
end;

registration
  let A be countable set;
   -onefor FunctionofA,AT;
  existence
  proof
    set f =the Enumerationo ;
    dom java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 12
    then f is Function of A,NAT by FUNCT_2end;
    hence thesis;
  end;
end;

registration
  let I be set;
  let X0 be countable           .= a*LBk by A19,A20,A21,MATRIX_0:def 7
  cluster "1-1" for ManySortedFunction of X0, I-->NAT. (*B)k by ,:51
  existence

    deffunc F(object) = the one-to-one Function of X0.$1, NAT;
    consider f being ManySortedSet of I such that
A1: for x being object st x inateCircuit::   j>java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    f is ManySortedFunction+1GateCircuit(z        then LineRA,)Linej A18AMATRIX1128
    proof
      let x be object; assume x in I;
      then f.x = F(x) & (I-->NAT).x = NAT by       then f.x = F(x) & (I-->NAT).x = NAT by A1
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then  f as ManySortedFunction ,I-NAT;
    take f; let x; let g be Function;
    assume x in dom f;
    then  *(jk)= RX(,);
    hence thesis;
  end;
end;

theorem Th19:
  for S  func GFA3Ca(yz -unsplitgate1=arity `isBooleannon 
  for X being ManySortedSet of S
  for Y being non-empty ManySortedSet of S
  for w being ManySortedFunction of X, Y
  holds java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  proof
    let S  ;
    let X be ManySortedSet of S;
    let Y be non-empty ManySortedSet of S;
     w be ManySortedFunction of X, Y;
    let x be object; assume x in S; then
    (rngs w).x = rng(w.x) by MSSUBFAM: (rngs w).x = rng(w.x) by MSSUBFAM:13
    hence (rngs w).x c set =RLine(9ia*B9i);
  end;

theorem
  for S being set
  for X being countable ManySortedSet of S
  ex Y being ManySortedSubset of S-->NAT,
  w being ManySortedFunctiondefinition
  w is "1-1" & Y = rngs w &
    let x,y,z be set;
  proof let S be set;
let  countable  of;
      = --NAT;
    deffunc F(object) = the EnumerationGFA3CarryStr(xyy ,Th38;
    consider w GFA3CarryICirc(x,yend;
 sbeingstSholdsw  Fss)fromPBOOLE: 4
    w is Function-yielding
    proof
      let   per cases cases
      then w.x = F(x) by A1;
      hence thesis;
    end;
    then reconsider w as ManySortedFunction of S;
    w is ManySortedFunction of X,Y
    proof
       x beobject;assume
A2:   x in S;
A3   cardX.)c=NATbyCARD_3:def java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
A4   x=x byA1,A2;
      then
A5:   dom (w.x) = X.x by AOFA_I00:6;
:Yxcoherence
      rng (w.x) c= Y.x by A4,A3,A6,AOFA_I00:6;
      hence thesis by A5,FUNCT_2:2;
    end;
    then   as     then reconsider w as ManySortedFunction
    java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 9
    take Z,A5 i  1ateCircStr<*x,*,or2,*,z*,or2, [*x>nor2*
    thus w is "1-1"
p
      let x; let f be Function;
      ssume x in dom w;
      then w.x = F(x) by A1;
       RLineia*,i))
    end;
    endset RRARLineR,ia*RA,);
    let x; assume x in S;
    then w.x = F(x) & Z.x = rng(wA6 ex X 
    hence w.x is Enumeration of X.x & Z.x = card(X.x) by AOFA_I00:6;
  end;

theorem Th21:
  for I being set
  for A being ManySortedSet of I
for  being non-mpty ManySortedSetof  holds
  A is_transformable_to B
  proof
    let I be set;
tA  ManySortedSet of I;
    let B be
     for i being set st i in I holds B.itheorem (9i)yFVSUM_157
    hence is_transformable_to B PZFMISC1:ef 3;
  end;

theorem Th22:
  forI  set
  for A,B,C being non-empty = (a"*a)*Line(B9,i) by FVSUM_1**(B9)  FVSUM_1:54
  forfbeingManySortedFunction.A1VECTSP_1:def 10
  holds f is ManySortedFunction of A,C
  proof
    letproof
    let A,B,C be non-empty ManySortedSet of I;
    letA11: width RB=width B9 by A9,MATRIX11:  let xyzz be set
    assume A12 len (a"*(B,))width RB CARD_1def
    let x be object; assume
A2: x   set xy = [*x,*,A13:RRB= Replace(RB,iaLBR) by MATRIX11:29
A3: f.x is       .= Replace(Re(B9iaLB)i,LBR)by A9,MATRIX11:
    by A1;
    dom(f.x)=Ax&rngfx c=B.x
    by A2,FUNCT_2:  setCyz=1GateCircStr(<y,>,f2);
    hence.x is   A.,C by,BOOLE_11FUNCT_22java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
  ;

theoremA1: Cxy  width =width  by ,ATRIX11def ;
  for I being set, A15: (a"*Line(RA,i)w RAby CARD_1d ;
  for f being ManySortedFunction of A,  Cxy +* Cyz tolerates Czx by CIRCCOMB:
  ex g being ManySortedFunction of B,A st f**g = id B
  proof
    let I be set;
    let A,B be ManySortedSet of I;
          =  InnerVertices(() by
    let f be ManySortedFunction of A,B;
o"java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    deffunc F(object) = the rng-    hencethesis by A3A6A13,Th38;
    java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 6
:for i being  st   Iholds g. =F()fromPBOOLE:sch.{xy / {z}/InnerVertices(Czx)by CIRCCOMB:java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    g is java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
    proof
      let x be object; assume x in dom g; then
     g. = F(x)by A3;
      hence thesis;
    end; then
reconsiderg ManySortedFunction  I;
    g     . xy,yz, zx} y3
    proof
      let x be object; assume
A4:   x in I; then
A5:   g.  F() A3; then
)f=B
      by A2,A4,ALGSPEC1:def  S mjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
      A.x <> {} implies B.x <> {} by A3   and
A7:   dom (f.x) java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 0
A8:   (f.x)*(g.A5o:
      by A5,A6,ALGSPEC1:def 2:A9   =B9b A1;
      rng(.)c=dom(f.
      proof let y be object;
        assume y in rngng(g.x);then
        consider z being object such java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 31
A9:     z in
  ,A8,A9,UNCT_111
      end;
      hence thesis by A6,A7,FUNCT_2:2;
    end;then
     of BA
    take g;
    now let <: RA  A9by   ;
      assume
setCxy  1GateCircStr(*,*>  hen
      g.x = F(x) byA10:len RX = len RA & width RX=width X1 by A4,MATRIX_3:def 4;
      (f.x)*(g.x) = id rng (f.x) & dom (g.x) = rng (f.x) &   A11:len A9=B9by ,Th33
      by A2,A10,  then dom B9=Seg len RA by A8,FINSEQ_1:def 3;
      hence (f**g).x = id (B.x) by A10,MSUALG_3:2
      .= (id B).x by  set  =1A12: Indices RX = IndicesB9 by A5,A10,FINSEQ_1:def3;
    end;
    hence f**g = id B;
end;

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

  let p be FinSequence;
  let i;
  assume i <then
  i+1 <= len p & 1 <= i+1 by NAT_1:13,11;
  hence i+1 in dom p by FINSEQ_3:25;
end;

Th24:
  for A1,A2 being MSAlgebra over S
  st the MSAlgebra of A1 = the MSAlgebra of A2
  for B1 being MSSubset of A1, B2 being MSSubset of A2 st B1 = B2
  A3 InnerVertices (Czx +*Cxyz =InnerVerticesCzx \ java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 76

theorem Th25:
  for A1,A2 being MSAlgebra over S
  st the MSAlgebra of A1 = thus InnerVertices GFA3CarryStr,z)  InnerVertices ( + Cyz +*Czx
  for B1 being MSSubset of A1, B2 being MSSubset of A2 st B1 = B2
  for o being OperSymbol of S st B1 is_closed_on o holds o/.B2 = o/.B1
  proof
    let A1,A2 be MSAlgebra over S;
    assume A1: the  .  Cxy \/InnerVertices(Cyz+*Czx+ Cxyz byA1,
    let B1 be MSSubset of A1;
    let B2 be MSSubset of A2;
    assume A2: B1 = B2;
    letobe OperSymbol of S;
    assume A3: B1 is_closed_on o;
    hence o/.    .=InnerVertices Cxy \/InnerVertices Cyz \/ (InnerVertices Czx \/
    by A1,A2,Th24,MSUALG_2:def 7
    .= (Den(o,A1)) | ((B1# * the Arity of S).o) by A1,A2
    .= o/.B1 by A3,MSUALG_2:def 7  InnerVertices Cxyz) by A2,A3,XBOOLE_1:4
  end;

theorem Th26:
  or A1A2 being MSAlgebra  S
  stthe MSAlgebra of  =the MSAlgebra of A2
  for B1being MSSubset of A1 B2being MSSubsetofA2
is opers_closedholds (A2,) =Opers(A1,1)
  roof
    A1, overS;
    assume A1: java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    let B1 be MSSubset of ;
    let B2 beA20: indom B9 byA13A19,ZFMISC_1:;
    assume A2: B1 = B2 & A21 B9*,)=LineAo "*(1,) by A4,6A13,19,: ;
    now    reconsider =ColX1,)as Element ofwidth)-ples_onthecarrier of
      let x be object; assume  K  ;
      reconsider o  xas OperSymbolofSA22 en X1,)width  by,ATRIX_0:f 8
thusOpers(2B2. = : 8
      . /B1 by    thenB9(o,)=(,)p&B9*,)= by :def7;
      .= Opers(ider
    end;
    hence (A2B2 =Opers(BB1)
  end;

theorem Th27:
   A1, beingMSAlgebraover java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
   the MSAlgebra of A1 = the MSAlgebra of A2
  for B1 being MSSubset of A1, B2 being MSSubset of A2
  st B1 = B2 & B1 is opers_closed holds B2 is opers_closed
  by Th24;

theorem
  for A1,A2,B being MSAlgebra over S
the    MSAlgebra 
for  ofA1sttheMSAlgebra of B  theMSAlgebra of
  holds B is MSSubAlgebra of A2
  proof
         then
assume   = A2
    let B1 java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 7
    assume A2: the MSAlgebra of B = the MSAlgebra of B1      suppose
    thus java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    let C  then Line(,)LAia by,,A24,MATRIX1128java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
    reconsider C1 = C as MSSubset of A1 by A1;
    assume
: C =the Sorts of B;
    hence C is opers_closed by A1,Th27,A2,MSUALG_2:def 9;
     of   (A1,1 by ,A3,SUALG_2def 9java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
    hence the Charact           .= Sum(mlt(LAi((LAiamltL,X) by FVSUM_168
  end;

theorem
  for A1,A2 being MSAlgebra over S          .= B9*(o,p)+a*(B9*(j,p)) by A21,A25,A26,FVSUM_1:73
  for h being           .= LBop+a*(B9*(j,pby A23,MATRIX_0:def 
m A1,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  proof
    let A1,A2 be MSAlgebra over S such that
A1: the Sorts of A2 is empty-yielding;
    let    ofA1,2;
    let o be OperSymbol of S;
    end
    let x be Element of Args(o,A1);
    (the Sorts of A2).the_result_sort_of o = {} by A1; then
A2: Result(o,A2) = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    thus (h.(the_result_sort_of o)).(Den(o,A1).x) = {} by A1
=Den,A2)(#) by A2;
  end;

 4
  A1A2,  for A1,A2,B1 being ,A6,defjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
  st the MSAlgebra of A1 = the MSAlgebra of A2 &
  the MSAlgebra of B1 = the MSAlgebra of B2
  for h1    A1,B1
  for h2 being ManySortedFunction of A2,B2 st h1 = h2 &
  h1 is_homomorphism A1,B1 holds h2 is_homomorphism A2,B2
  
    let A1,A2,B1 be MSAlgebra over S,B2 be non-empty MSAlgebra over S such that
A1: the MSAlgebra of A1 = the MSAlgebra of A2 &
    theMSAlgebraB1=he  of java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  set f1  nor2  = nor2   nor2  thesis A3,A4A5A15;
        let
A2: h1  set =[**,] yz  <yz*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    let OperSymbol  such 
A3: Args(o  set Cxy =1(<*y*,f1;
    let x be Element of Args(o,A2);
    reconsider,Line(9,) +a set GateCircStr(y,*f2)
    thus (h2.(the_result_sort_of o)).(Den(opjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    = (h1.(the_result_sort_of o)).(Den(o,A1).x1)  assumethat
    .= Den(o,B1).(h1#x1) by A2,A1,A3
    .= Den(o,B2).(h2#x) by A1,A2,A3,INSTALG1
  end;

begin :: Trivial algebras

definition

  let X be ManySortedSet of I;
ivial-ielding meansjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
  forx xin    besuch that
  compatibility
  proof
    hereby assume
:X-ieldingjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
     thesisA7   by :47
      then x in dom X by PARTFUN1:def 2;
      then X.x in rng X by FUNCT_1:def 3;
      hence X.x is trivial by A1,PENCIL_1:def 16;
    end;
  assume
A2: for x st x in I holds X.x is   cases;
    now
      let y; assume y in rng X;
      then consider x being object such that
A3:   x in dom X & y = X.x by FUNCT_1:def 3;
      thus y is trivial by A2,A3;
    end;
    hence thesis by PENCIL_1:def 16;
  end;
end;

registration
  let I be set;
  cluster non- trivial- for ManySortedSetof I;
  existence
  proof
    deffunc F(object) = {$1};
    consider S being ManySortedSetof I such that
A1: for x being object st x in I holds S.x = F(x) from PBOOLE:sch ;
    take S;
    hereby
      let x be object; assume x in I; then
S.=F()byA1;
      hence S.x is non empty;
    end;
    let x be set; assume x in I; then
    S.x = F(x) by A1;
    hence thesis;
  end;
end;

registration
  let I be set;.=(InputVertices(Cxy)  {yz}) \/ (InputVertices()  xy) 
  let S be trivial-yielding ManySortedSet of I;
  let x be object;
  cluster S.x -> trivial;
  coherence
  proof  InnerVertices(Cyz)) by CIRCCOMB:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    xinI x ninI  dom S z)\ () \ y)\zxjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
    thesisA;
  end;
end;

definition
  let S;
  let A be MSAlgebra over     reconsider =LineA,+aLALLB=Line(,i)a*, LLRA=Line(RA,)+-)*
  attr A is trivial means: Def3:
java.lang.StringIndexOutOfBoundsException: Range [20, 5) out of bounds for length 37
endby : java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19


 let S;
c   non-mpty  strictMSAlgebra  S;
  existence
  proof
    deffuncF(object) = {$1};
   consider X being ManySortedSet of S such that
: x being object   hecarrier S X.x =Fx
    from PBOOLE:sch 4;
    set o = the     Line(RB,i)=Line(B9RBi=(9,i)*BbyA6A9
    take A = MSAlgebra(#X,o#);
      of -
    proof
ssume x in  
      X.x = F(x) by A1;
      hence ;    .=((x,y  yz)\/{,z \{xy})  zx /(     .Line(9)aB+K**  54
    end;
thus of is{x}ENUMSET167
    proof
      let x,y be. A15:   (ine(A9i+*A= A9 byCARD_1defjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
   x<y;
      (    (,=LineA9i+L  A6,;
ofS    carrier )&
      dom the Sorts of +-*(,)i+L+-_*LAbyA14
((x)  X.x orXx ={)&(()=X. or .{xy,z} \/x by ENUMSET110
      hence thesis by A2,ZFMISC_1:11;
java.lang.StringIndexOutOfBoundsException: Range [9, 4) out of bounds for length 8
    thus the Sorts of A is      .Line(A9,i)+a*LA+(-(a*LA)) by FVSUM_1:59
    proof
      let x be object; assume x in the carrier of S; then
      .=F(x) byA1;
      hence thesis;
    end;
    thus thesis;
  end;
end;

tion
  let S;
   for x,y,zbeing set st x <> [<*y,z*>,nor2] & y <> [<*z,x*>,
  cluster the Sorts of A -> trivial-yielding;
  coherence by Def3;
end;

theorem Th31:
for Ajava.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 5
  for s being SortSymbol of S
  for e   set f1 =set f1 =nor2,f2 =nor2endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  holds A |= e
  proof
    let A be trivial non-empty MSAlgebra over S;
bol of S;
    let e be Element of (Equations S).s;
    let h be ManySortedFunction of TermAlg S, A;
    ssumehis_homomorphism TermAlg S, A;
    h.s.(e`1) in  +a*ine(B9,))
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    hence h..e`)  .e`)by ZFMISC_1:ef ;
  end;:jin m

   cases
  for  suppose
  for T being EqualSet of  S    i<>j;
  holds A |= T
  by Th31;

theorem Th33:
  for A being non-A3 =j;
  for T being A3 A4 _+ <.
  for f being ManySortedFunction of A,T holds
  f is_homomorphism A,T
  roof
    let A be non-empty      then -1. =-1.+1K+ RLVECT_1defjava.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
    let T be non-empty trivial MSAlgebra over S;
     of AT
     o be OperSymbol ofS;assume
    Args(o,A) <> {};
     x  Elementof Args(,A)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
: dom the  the ResultSort S  the 'of  by : 1;then
    reconsider a = Den(o,A).x as java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 22
    (the Sorts of    setL=A9,i;
    Den(o,T).(f#x) in Result(o,T); then
    (the Sorts of T).the_result_sort_of o is trivial &
    Den(o,T).(f#x) in (the Sorts       =(_+)*  FVSUM_155
      LA:java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    by A1,FUNCT_1:13;
    hence (f.(the_result_sort_of o)).(Den(o,A).x) = Den(o,T).(f#x)
    by ZFMISC_1:def 10;
  end;

theorem Th34:
  for T being non-empty trivial MSAlgebra over S
  for A  ofAB &i in A&A,i)=width A|>java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
    ofA  MSAlgebraofT
  proof
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    let A be non-empty MSSubAlgebra of T;
:theSortsof A  ManySortedSubset of  Sortsof T
    by MSUALG_2:i  domA and
A2: now
java.lang.StringIndexOutOfBoundsException: Range [22, 6) out of bounds for length 22
        set wB0=wiB|>.;
A3:   x in the carrier of S; then
  LB=B;
t T.< }by,d 2def18java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
(  . is java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 52
      then java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 7
 ( SortsofA. ={}byZ:java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
      consider b being object such that  =   =java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
:tSorts .  b A3131java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
      thus (the Sorts of    en A= by ,;
      by A4    then  A=Seg lenBbFINSEQ_1def3java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    end;
    theInnerVertices Cxy={y}&InnerVerticesCyz  {z    hen[ik]inIndicesB yA8,ZFMISC_187
    then T is     then B*(i,k) = Linei * Col(,)by A5MATRIX_3def
    hence the MSAlgebra of A = the MSAlgebra of T by A2,PBOOLE:3  hen
  end;

begin :: Image

definition
  let S;
  let A be non-empty MSAlgebra over S;
    endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
   means
being-over,being  AB
  h is_homomorphism A,B & the MSAlgebra A5: InputVertices S \ InnerVertices MI = {end;
end;

registration
  let S;
   benon-empty MSAlgebra over S;
  cluster A-Image -> non-empty for MSAlgebra over Spjava.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
  coherence
  proof let C be MSAlgebra over S; assume
    C is A-Image; then
    consider B java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 6
    h being ManySortedFunction of A,B such that
A1: h is_homomorphism A,B & the MSAlgebra   InnerVerticesS is Relationby :
    thus the Sorts of C is non-empty by A1;
  end;
  cluster A-ImageInputVertices M =(InputVerticesMI)\/(InputVerticesS  InnerVertices
  existence
  proof
    take C = Image id the Sorts of A, A, h = id the Sorts of A;
java.lang.StringIndexOutOfBoundsException: Range [18, 4) out of bounds for length 45
    thus thesis;
  end;
end;

definition
 S
        by:;
  let C be non-misc.
  redefine attr C is A-Image means: Def5:
  exA3 Line(,.   S=LineAnt.  ,ELAT_152;
  compatibilitytheorem Th111:
  proof
    thus C is A-  for  encethesis by A3,,:;
    ex h being java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 4
    proof
      given B being non-empty MSAlgebra over S,
      h being ManySortedFunction of A,B such that
rphism A, &theMSAlgebra of C=Image h
      consider g0 being ManySortedFunction of A, Image h such that
A2:g0 is_epimorphism Alet  be ofn-uples_onNATsuch that
      reconsider g A1  ntc= domA 
      take g; thusof GFA3CarryStr
      proof
letbe  of S;assume    in the carrierof(x,,z
        let x be Element of Args(o,Apr
A3:     Args(o,Image h) = Args(o,C)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 19
        g0java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 6
.#x java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 33
        (.(the_result_sort_ofo).Deno).  (,C.gxjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
A5  =  A2MATRIX_023java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  widthSBcardSeg B byA2M:23;
      thus g is "onto" by A1,A2;
    end;
    given h being ManySortedFunction of A,C such that
A4: h is_epimorphism A,Cs Cxyz = 1GateCircStr(<*xy, yz, zx*>,f4 7: x in Solutions_ofAB;
    take C,h;
    thus h is_homomorphism A,C by A4;
    thus thesis by ,SUALG_319
  A9: le X=width A and
end;

definition
  let S;
   benon-mptyMSAlgebra,ATRIX_3:ef4;
  mode image of   mode image of A
end

registration
  let S;
  let A be non-empty MSAlgebra over S;
  cluster disjoint_valuedthen
  existence
  proof:y in the carrier of GFA3CarryIStr(x,y,z) by FACIRC_1:20;
    set T = the trivial disjoint_valued non-empty MSAlgebra over S;
    set h = the ManySortedFunction of A,T;
    reconsider T0 = T as MSAlgebra over S;
    T0 is A-Image
    proof
t Thjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
      thus h is_homomorphism A,T by Th33;
      thus the MSAlgebra of T0 = Image h by Th34;
    end;
    hence thesis;
  end;
end;

theorem Th35:
  for A being non-empty MSAlgebra over S
  for B being A-Image MSAlgebra over S
  for s being SortSymbol of S
  for e being Element of A:yz  the carrier of GFA3CarryIStr(x,y,z) by FACIRC_1:20;
  st A |= e holds B |= e
  proof
    let A be non-empty MSAlgebra over S;
ageMSAlgebra over Sjava.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
    consider f being ManySortedFunction java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 6
A1: f is_epimorphismA6  ininA16 jin    by ,A14,INSEQ_1:ef 3;
java.lang.StringIndexOutOfBoundsException: Range [9, 4) out of bounds for length 29
    let e be Element of (java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 8
     : A | ;
    let h be ManySortedFunction of TermAlg S, B;
    assume
A3 hence thesis by A3,A1AA,,4,ACIRC_12;
    consider g being ManySortedFunction of TermAlg S,A such that
A4: g is_homomorphismtheorem Th112:
    h.s = (f.s)*(g.s) & e`1 in (the Sorts of TermAlg S).s &
    ` inthe Sorts ofTermAlgS).
    by A4,MSUALG_3:2,EQUATION:29,30; then
1f..`1 h.2=fs(.e  15
    hence h.s.e`1 = h.s.eA18,INSEQ_1 java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  end;

theorem Th36:
  for  being -mptyMSAlgebra S
  for B being A-Image MSAlgebra over S
  for T being EqualSet of S
  st A |= T holds B |= T
  by Th35java.lang.StringIndexOutOfBoundsException: Range [9, 3) out of bounds for length 47

:: Term Algebras

definition
A:[jk]in SBbyA6,A17ZFMISC_187;
  let A be MSAlgebra overS;
  attr A is (X,S)-terms means: Def6:
theSortsofA ManySortedSubset  )} by Th106
end;

registration
    hen thesis by ENUMSET1:def 2;
  clusterend;
  coherence
  proof
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    proof
       the Sorts  Free,)c=the Sorts of (,X)
    end;
  nd
end;

registration
  let S, X;
     in InputVert InputVerticesGFA3CarryStr(y,) zin InputVerticesx,z)
  coherence
  proof
A1: Free(S,X) = FreeMSA X by MSAFREE3:31;
    hence Free(S,X) is non-empty;
    let x,y be object; assume

    assume
   theSorts  Free,X. ( SortsofFreeSX)) 
    consider z being object such that
A3: z in (the Sorts of Freet x,z)=A2: AdomBand
    by XBOOLE_0:3;A3:n0and
A4: dom the Sorts of Free(S,X) = t  java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 33
    reconsider x,y as SortSymbolLineB,)=width B |>0.e;
    z in (the Sortsset Segmn,;
  Sorts (theorem Th114java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
z SXb MSAFREE3;
    the_sort_ofz=x  java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 62
    hence contradiction by A2;
  end widthSBcard  width B 
end;

registration
  let S,X;
  X,termsxbeobject;
  existence
  proof
    takeFree(Xjava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
    thus thesis;
  end;
end;

definition
  let S,X;
  let A be X,S-terms MSAlgebra over S;    =GFA3CarryStr(x,,z)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  attr A is all_vars_including means: Def7:
  FreeGen is ManySortedSubset  the  ofA;
  attr A is inheriting_operations means: Def8:
  for o being OperSymbol of S, p being FinSequence holds
  (p in Args(o, Free(  setS  GateCircStr(A::idthSAwidth Aby FINSEQ_157;
  Den(o,Free(S,X)).p in (the Sorts of A).the_result_sort_of o implies
   p  (,)& (,A.=Den(,(,X).);
  attr A is free_in_itself means: Def9:
  forfbeing ManySortedFunction of FreeGen X, the Sorts of A
  for G being ManySortedSubset of the Sorts of A st G = FreeGen X
  ex h being ManySortedFunction of A,A st h is_homomorphism A,A & f = h || G;
end;

theorem
 for,B  nonempty MSAlgebra over S
  st the MSAlgebra of A = the A5: InnerVertices Cxy = {xy} & InnerVertices = {yz}by :42;
  holds Ais(XS)terms implies B is (X,S)-terms;

theorem
  for A,B being X,S-terms non-empty MSAlgebra over S
  st the MSAlgebra of A = the MSAlgebra of B
        reconsider j9=,9 as Elementof  java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
  (  inheriting_operations  is) &
  (  impliesB      now
  proof
    let A,B be X,S-terms non-empty MSAlgebra over S such that
A1: the MSAlgebra of A = the MSAlgebraA21      j9 in rng ;
    thus A is all_vars_including implies B is all_vars_including by A1;
    thus A is inheriting_operations implies B is inheriting_operations
    proof assume
A3:   for o being OperSymbol of S, p being FinSequence holds
      (p in Args(o, Free(S    . {xy,yz zx ENUMSET1:
A22:     dom =Seg n by FINSEQ_2:124;
      p in Args(o SgmSeg  =idseq  B by FINSEQ_348java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
      let o be OperSymbol of S, p be FinSequence;
Argso)=Args(,)&DenoA)= Den(,B by A1;
      hence p in Args(o, Free(S,X)) &
      Den  t
      p in Args(oA24:        nt
    end;

A4:by FACIRC_19,1;
     Sorts of A st  =FreeGen X
    ex h being ManySortedFunction of A,A st h is_homomorphism A,A & f = h || G;
 fbe ManySortedFunction  FreeGen X,the  then
    let G be ManySortedSubset of the Sorts of B such that
A5: G = FreeGen X;
    reconsider G1  G as ManySortedSubset of the Sorts of A by A1;
    consider h being ManySortedFunction of A,A such that
  hence
    ,B by A1;
    take h2;
    thus           hence*(,k)= Line(SA,p)*C(,)by ,A13,18,MATRIX_3:ef 4
    thus f = h2 || G by A1,A6;
  ;

registration
  let J be non empty non void ManySortedSign;
  let T be non-empty MSAlgebra over J;
  cluster,5       uppose
  existence
  proof
    the Sorts of T is GeneratorSet of T by MSAFREE2:6;
hence thesis;
  end;
end;

registration
  let S, X;
  cluster Free(S,X)  .={,,}\ z,x  :58
  coherence
  proof
    set A = Free(S,X);
: =FreeMSA X by :31;
    thus FreeGen X is ManySortedSubset of the Sorts of . 0K*um(ColX,))by FVSUM_1:73
    for o being OperSymbol of S, p being FinSequence holds
( in Args(o Free(,X) java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
DenoFree(,).in ( Sorts  A).he_result_sort_of  
    p in Args(o,A) & Den(o,A).p = Denend;
    let f be ManySortedFunction of FreeGen X, the Sorts of A;
    let G behence AX*(,k)B*,k);
A2: G = FreeGen    end;
    lenAX=len BbyA15,A6,FINSEQ_1:def 3;
    thus thesis by A2,A1,MSAFREE:def 5;
  nd;
end;

registration
  let S, X;
cluster : GFA3 Carry : Stability of the Carry Output Circuit
  coherence
  proof
    let A be (X,S)-terms MSAlgebra over S;
    assume
A1: FreeGen X java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 13
let x  ;assume x in thecarrierof S then
    reconsider x as   Solutions_of(Segm(A,N,Seg width A), Segm(B,N,Seg width B))
    FreeGen X)java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    hence thesis;
  end;
  cluster all_vars_including inheriting_operations free_in_itself
  for (X,S)-terms strict MSAlgebra over S;
  existence
  proof
    take Free(S,X);
    thus
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
  stN c domA &i nonempty& dom A  dom B  ist
reserve
  A0for XS)terms -mpty MSAlgebra over S,
  A1for (,)-erms MSAlgebra  over S,
over S,
  A for all_vars_includingsetxy=[*y*>f] yz  <*z*,f2  width B))
  (X,S)-terms MSAlgebra over S;

java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 13
  (for  let N such that
  for s being SortSymbol of S
  for t being Element of A0,s holds t is Element of Free(S,X),s
  proof
A1: the SortsA2: a2 = s.and
    then Union the Sorts of A0 c= Union the Sorts of Free(S,X)
     Th1PPBOOLE:def18java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    hence for t being Element of java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 30
    let s be SortSymbol of S;
    let t be Element of A0,s;
    t in (the Sorts of A0).s &
c= (he Sorts  (S,).
     A1PBOOLEdef 2def 
    hence thesis;
  end;

theorem Th40:
  for A1 iin 
  for x being Element of X.s holds rootA2 len A  1;
  proof
    let s be SortSymbol of S;
    let x be java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 28
    FreeGen X is ManySortedSubset of the Sorts of A1 by Def7; then
A1: (FreeGen X).s c= (the Sorts of A1).s by PBOOLE:def 2   ( s)[<*,y*,f1  card len =by :57;
    root-ree [,  FreeGen(s,)by MSAFREEdef 15; then
    root-tree [xthen
    =5 (,B)Solutions_of(Segm(( len)\i,Seg  A,
  end;

theorem Th41:
  for o being OperSymbol of S holds Args(o,A1) c= A6 x inSolutions_ofAB;
  proof
    let   len A=l B by henceFollowings.*,z*,f2] .*yz* by A4,ACIRC_13java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
   x beobject x Args(,1); then
A1: x in product((the Sorts of A1)*the_arity_of o) by PRALG_2:  Seg  )Del,)by :51;
A2: dom((the Sorts ofA1java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 24
end;
by PRALG_2:
    now
      let a be objectjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 7
      othen
A5:   (the_arity_of o).a in the in dom B & Line(B,i) = width B |-> 0.K (B  java.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 78
   t   A1)the_arity_ofo).=
      (    .= n'a3''''  by TWOSCOMP54
A7:   ((the Sorts of Free(S,X))*the_arity_of o).a =
      (the Sorts of Free(S,X)).((the_arity_of o).a) by A4,FUNCT_1:13;
      the Sorts of A1 is MSSubset of Free(S,X) by Def6;
      hence ((the Sorts of A1)*the_arity_of o).a c=
      ((the Sorts of Free(S,X))*the_arity_of o).a
      by A5,A6,A7,PBOOLE:def 2,def 18;
 then
    product((the Sorts of A1)*the_arity_of o) c=
    product((the Sorts of Free(S,X))*the_arity_of A3 Line(,i)= widthjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    x in product((the Sorts of Free(S,X))*for x,y,z being set for s being State of GFA3CarryCirc(x,y,z)
    A4: i in domB and
  end;

,]&a3s[*x>holdsjava.lang.StringIndexOutOfBoundsException: Range [51, 49) out of bounds for length 77
  let S be set;
  cluster disjoint_valued  et xy,z beset
  set f1 nor2 f2thusSolutions_of(A)c Solutions_of(elLine(A,)DelLineBi)byA1,2
  ,Th46
    deffunc I(object) = {$1};
    consider f being Function such that
A1:domnSolutions_of(DelLineA)DelLine(B);
from FUNCT_1:sch 3;
    reconsider f as ManySortedSet of S by A1,RELAT_1:def 18,PARTFUN1:def 2;
    take f;
    thus f is disjoint_valued

      let x,y be object;
      assume
A2:   x <> y;
      x n     then    domA/i}byA8,BOOLE_148
      (f.x = {x} or f.x    then jin {i}by XBOOLE_0:def ;
      hence f.x     hence Line(A,j) =   |> 0K&Line(,)=width  |>0Kby A3,5,
     java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 44
    ='not   ardS=l1+by :7java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    f.x = {x} by A1;
    hence thesis;
  
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4

registration
    set
  let T be disjoint_valued non-empty java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 6
  ->  T
  coherence
  
    let   of T;
    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 29
A1: x <> y;
    (xAi,Bor2   &''&,.*,z>  nota2 &java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
    by PBOOLE:def 18,PARTFUN1:def 2; then
    (Xjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    by    of,,K be f ,K forP   of
    hence thesis by A1,PROB_2:def 2,XBOOLE_1:Seg n,Seg n holds Solutions_of(A,B) c= Solutions_of(A*,BP &( isone--one
  end;


registration
  let S set idseqnjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  cluster (X,S)-terms strict for of n-NATby9java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
   
  proof
ee(,X;
    thus thesis  set A1: rng  rng Pc=eg nby ELAT_1d;java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  enddomIDn=eg njava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
end

definition
 ;
  func canonical_homomorphism A1 -> java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  it is_homomorphism Free:n=  by:def2java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  st GA3:(dseq n)P  PA1,RELAT_1:53;
  
  proof
F   S)MSAFREE331;
  reconsider  FreeGenX as nonempty  of FreeS)
    by MSAFREE3:31;
Hisof  by 
    reconsider f = id H as  then
    consider g being ManySortedFunction     consider g being ManySortedFunction oflenASegwidth ))*P
A2: g is_homomorphism Free(S,X),A1 & g||H = f by A1,MSAFREE:def 5;
    take g; thus thesis by A2;
  ;
  uniqueness
  proof
    let h1,h2 be ManySortedFunction of Free(S,X),A1 such that
A3: h1 is_homomorphism Free(S,X),A1 & for G beingA4:Following(s,2)=Following Following s :15java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    st G = FreeGen X holds id G = h1 || G and
A4: h2 is_homomorphism Free(S,X),A1 & for G being GeneratorSet of FreeA5 = x& java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 35
   G=X idG=h2 ||G;
    reconsider H = FreeGen X as non-empty GeneratorSet of Free(S,X)
    by MSAFREE3:;
    h1 || H = id H by A3 .= h2 || H by A4;
    hence h1 = h2 by A3,A4,EXTENS_1:19;
  end;
   .=*MATRIX13:;

registration
  let S, X, A0;
  cluster -> Function-like Relation-like for Element of A0;
  coherence
  proof
    a beElement ofA0
    consider x being object such that
A1: x intheSortsA0&   (he Sorts of )xby :java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
    reconsider x as SortSymbol of S by A1;
    the Sorts of A0 is ManySortedSubset of the Sorts of Free(S,X) by Def6; then
    (    (Bc=(*,*)by A,,h42;
    then a is Element of (the Sorts of FreeA10:card Segn  Segn;
 ;
  end;
  let s be SortSymbol of S;
  cluster -> Function-like Relation-like for Element of A0,s;
  
  proof
    let a be Element of A0,s;
    a    thenfor  st    (omA rngIDnP  (Ai)=widthA -0.java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
    hence    Line(i) B|-. by A3,XBOOLE_137;
  end;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

registration
  let S, X, A0java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  cluster -> DecoratedTree-like for Element of A0;
  coherence
  proof
    let a be Element of A0;
    consider x being object such that
A1: x in domA1:x<>[*,z*f2]  y< [<*then
  asjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 42
    the   setS=GFA3CarryStrxy,z;
    (the Sorts of A0).x c= (the Sorts of Free(S,X)).x by   reconsider xx = x, yy = y, zz = z as Vertex of S by Th111 =x
    then a is Element of (the Sorts of Free(S,X)).x by A1;
    hence thesis;
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 62
  let s be SortSymbol of S;
  cluster -> DecoratedTree-like for Element of A0,s;
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 11
  proof
    let aN@&for   M beMatrix of m,, stfor  st i in  l holds(x
    a is Element of (the Sorts of A0).s;
    hence thesis;
  end;
end;

registration
  let S, X;
cluster (,S)terms- then
  coherence
  proof letA2 N c=mand
     A is (,)-; then
    the Sorts of A is java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 8
    hence the Sorts of A is disjoint_valued;
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6


theorem Th42:
  for   ofA0holds  Sjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
f
    let t be Element of A0;
     being object  that
A1: s in dom the Sorts     per  ;
    reconsider s as SortSymbol of S by A1;
    the Sorts of A0 is ManySortedSubset of the Sorts of Free(S    c cardSegmbyA1A2,:;
    by Def6; then
    (the Sorts of A0).s c= (the Sorts of Free(java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 13
    then t is Element of (the Sorts of Free(S,X)).s by A1; then
    t Elementof Xby 
  
  end;

Th43:
  for t being Element of A0
  for s being   then (SA@=0&m-n0or (A@=m-n& S@= by A10,5,
  t in (the Sorts of A0).s
  proof
    let be Element  A0;
    consider x being object such that
A1:   then -   m', by :13;
    reconsider x as SortSymbol of S java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 22
    the Sorts of A0 is ManySortedSubset of the Sorts of Free(   or v =  :Seg m-n)N]/Seg(-SN:=:(-)N/SN:byZFMISC_1:9
    by [: m-
A2:     ={ yZFMISC_1:90;
    let s be
    assume
t (he  of Free(,X).s;
    hence t in (the Sorts of A0).s by A1,A2,XBOOLE_0:3,PROB_2:def 2;
  nd;

theorem
forjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 27
    beingElement of dom 
  proof set A = A2;
    let beElement ofAjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
defpredP    defpred P[Nat'
) SATand
    pis A
A1: P[0]
    proof
      let p be Element  holds V(
      p  xy,zbeset
 1;
  l
A2: P[i] implies P[i let strictnonempty  equals
     2GatesCircStr(y,,xor2;
A3:   P[i];
      let p be Element of dom t; java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 35
A4:   len p = i+1; then
      consider q being FinSequence, a being object such that
A20 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 37
      **    by36then
      A21: AM= byA12A19M:4
      {a} cfuncGFA3AdderCircx03java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
rjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 52
      len <*a*> = 1 by FINSEQ_1:40; then
   p=en1java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 40
      reconsider   coherence;
      reconsider q as Element of dom t by A5,TREES_1:21;
        then
      reconsider tq = t|q, tp = t|p A23: [Segn,: =Indices byA2,FMISC_1:;
A7:   dom tq   now
      <*a*> in dom tq & {} in dom tq by A5,TREES_1:22,def 6; then
      tq is not trivial by ZFMISC_1:def 10; then
      tq is CompoundTerm of S,X by MSATERM:28; then
tq.{} in [:thecarrier' S,thecarrier  }:  : 6;then
      consider o,s being object such that
A8:   o in the carrier'
 of S & s in {the carrier of S} & tq.{} = [o,s]
ZFMISC_1d2;
      reconsider o as OperSymbol of S by A8;
A9
      consider arg being ArgumentSeqA27:I in
A10:   tq = [o,the carrier of S]-tree arg by A8,MSATERM:10;
     **in dom tq &om tq= tree domsarg&<**>> {
      by A7,A5,A10,TREES_1:def 6,TREES_4:10; then
      consider n       w
:----------------------      casesby A28
      by TREES_3:def 15;
12    = <**.1 .=n        exNat  Seg(-n &ol(J=Line(,jj;
A13:   Free(S,X        then considerjjbeNatsuchthat
A14A29 jjinjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SymoX = roots arg &argisFinSequence ofTSDTConMSA X
      by MSATERM:21,def 1; then
      DenOp(o,X).arg = A31:    jj = idseq (m-'n).jj ,FINSEQ_249
A15:          =Sgm(Seg (-n)jj byFINSEQ_3:48;
      the_sort_of tq = the_result_sort_of o by A8,A9,MSATERM:17; then
      Den(o,Free(S,X)).arg in FreeSort(X, the_result_sort_of o)
      by A15,MSATERM:def 5; then
      Den(o,Free(S,X)).arg in (the Sorts of Free(S, X)).the_result_sort_ofA34:    rng Sgm=by :def14;
byA13,MSAFREEdef11 
A16:   Den(o,Free(S,X)).arg in (the Sorts of A).the_result_sort_of o
      (x,y,z) = GFA0AdderOutput(x,y,z);
     java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 59
A17:   tp = tq|<*a*> & a < len arg by A5,A11,A12,TREES_3A37:   Line(AI.SNjj=*, .jjbyA8def
     .+1  +  domby ,:;
      reconsider ar = arg as Elementthen
           arwidth m MATRIX_0:3
      bythen
      arg in cc((the Sorts of A)#,the_arity_of o) by FUNCT_1:13; then
:arg   (the  of )*he_arity_of o)by :def5;then
          . *jjjj by ,A31,33,: 1
eSorts )java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 64
      by A41:    len Line(A,I=m byA12,MATRIX_0:def 7;
      then (the_arity_of o
,FUNCT_1:def 3A42:    I =idseq n. by A27,:49
      then reconsider s = (the_arity_of o).(a+1) as SortSymbol of S;
      tp in((he  ofA*the_arity_of o).(a+1) by A18,A19,A20,CARD_3:9;
      then tp is Element of (the Sorts of A).s
 A17Lm2F12;
      hence thesis;
    end;
 [i  s 2A1A2)
    let p be Element of dom        then
    len p = len p;
    hence t|p is Element of A by A21;
  end;

theorem Th45:
FreeGenXisGeneratorSetofA2
  proof set A = A2;
    reconsider G = FreeGen X   xyzbe
    defpred P[set] means
    for s being SortSymbol of S st $1 in (the Sorts of A).s
    A50:      kk< Sgm SN.
A1: FreeMSA X = Free(A51:kk> .;
A2: for s being SortSymbol of S, v being Element of X.s holds
    P[root-tree [v,s]]
    proof
      let s be SortSymbol of S;
      let v be Element of X.;
      reconsider t = root-             kk in Njava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      let  java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 69
A3:   root-tree [v,s] in (the A53:          Sgm N.x=kk by A46,FUN java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
      the Sorts of A is ManySortedSubset of the Sorts of Free(S,X) by Def6;then
      (heSortsofA.r  tSorts of Free(,X).rby PBOOLE:def 2,def 18;
      then t in (the Sorts of Free(S,X)).r by A3; then
      t in FreeSort(X,r) by A1,MSAFREE:def 11; then
      r = the_sort_of t by MSATERM:def 5 .= s by MSATERM:14; then
      root-tree [v,s]ATRIX_0:ef 7;
,s  (X.( )SgmN   A  ,27,,49A53,
      FreeGen X is ManySortedSubset of the Sorts              
    MSUALG_2:def17then
      (FreeGen X).r c= (the Sorts of GenMSAlg       (FreeGen X).r c= (the Sorts of GenMSAlg G)byA12,A49,A53,MATRIX_0:def7
      hence thesis by A4;
    end;
A5: for o being OperSymbol of S, p being ArgumentSeq of Sym(o,X) st
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
     P[[ot carrierofS-reep
    proof
  ;
      let p be ArgumentSeq ofjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 23
      assume :for t  of ,Xstt in    Pjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      let r              for x,y,z being setst  < <xy>]for s Stateof
      assume [,  S-eepin(he of.;then
      reconsider t1 = [o,the carrier ofthen  xbeing objects 
      Element of (the Sorts ofA56           in  SgmSNand
 SubtreeSeqofSymo,)byMSATERM:def2 java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
      Sym(o,X) ==> roots p & p is FinSequence of TS DTConMSA X
      by DTCONSTR:def 6; then
A7:   t1 = DenOp(o,X).p by MSAFREE:def 12;
       isElement Args(o, FreeMSAX  setbyINSTALG11 
      p  setA3 = (yz);
A8:   p in Args(o, Free(S,X)) by MSAFREE3:31; then
      Den(o,Free(S,X)).p in ((the Sorts of Free(S,X))*the ResultSort of S).o &
      dom the ResultSort of S = the carrier' of S
      by FUNCT_2:5,def 1; thenTh28java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A9end;
      by FUNCT_1:13;
      Den(o,Free(S,X)).p = t1 by A1,A7,MSAFREE:def 13; then
      Den(o,Free(S,X)).p in (the Sorts of A).the_result_sort_of o
      A9,Th43;then
A10:   p in Args(o,A) & Den(o,A).p = Den(o,Free(S,X)).p by A8,Def8;
A11:   dom the Arity of S = the carrier'
 of S by FUNCT_2:def 1;
A12   o  java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
      cc(  GFA3AdderOutput(x,y.. java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 78
      .= product ((the Sorts of GenMSAlg G)*the_arity_of o)
      by FINSEQ_2:def 5;
A13:  Args(o,A) = cc((the Sorts of A)#,the_arity_of o) by A11,FUNCT_1: end;
      .= product          hence mlt(ineAI,Line(,jj)kk.K
A14:   dom ((the Sorts              endjava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
yPARTFUN1:2;
A15:  dom ((the Sorts of A)*the_arity_of o) = dom the_arity_of o
      by PARTFUN1:def 2; then
A16:   dom p = dom the_arity_of o by A10,A13,CARD_3:9;
      now let x be object; assume
:xin the_arity_of o; then
A18:     p.x in rng p  for,yzbeing setstz< <*x,*,]for sbeingState
        by A16,FUNCT_1:def 3,CARD_3:9,A10,A15,A13;
               (e_arity_of)xin rngthe_arity_of &rngthe_arity_of oc
        the carrier of S by A17,FUNCT_1:def 3; then
        reconsiders=( o.asSortSymbolofS;
        reconsider px = p.x as Element of (the Sorts of AA62:[,I in Indices (,Seg,N '   Followings2.<*y*xor2 '  Following(2. = java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
        ,A17,FUNCT_1:13java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
        px is Term of S,X by Th42; then
        px in (the Sorts of GenMSAlg G).s by A18,A6;
    .in(Sorts  *he_arity_of .x
        by A17,FUNCT_1:13;
      end;then
reconsider  =p    (,GenMSAlg ) by ,,14
,ARD_3:;
      reconsider B = the Sorts of setO0=java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 34
ManySortedSubset of the Sorts of A by MSUALG_2:def 9;
A19:   B is opers_closed &A66:Line(j). NI)=V*jjSgm .I)by ,A39A60,MATRIX_0:def 7
      by MSUALG_2:def 9;
A20:   B is_closed_on   MSUALG_2:def 6def 9;
      Den(o, GenMSAlg G) = o/.B by A19,MSUALG_2:def 8
|(rc(,y,z)
A21:   Den(o, GenMSAlg G).p = Den(o,A).q by FUNCT_1:          =-(SA*I,jj)) by A65,MATRIX_0:def 6
A22:   Den(o, GenMSAlg G).q = [o,the carrier of S]-tree p
     y A1,,,A10,SAFREE: ;; then
A23:   [o,the carrier of S]-treeA67    Line(,I.SgmN)  A*ISgmN) by ,A12,60,:
      dom           =Segm(,eg ,N)(,I  A42,62,ATRIX13java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
esulto,  G)=( SortsofGenMSAlg G)the_result_sort_ofo &
Resulto A)=( Sorts of ).he_result_sort_ofoby FUNCT_1:13;
      t1 in Result(o, A) & t1   for x,y,z being  set st z <        gm N by ,43,,ARTFUN1:efjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
       [o carrier  ]-tree p  (the    G)r
      by A23,A24,PROB_2:def 2,XBOOLE_0:3;
    end;
A25:for  beingTerm of S, holds [t]from : 1(A2,);
    G is GeneratorSet of A        jj))by ,A8,,A60,A36,44,,A48,Th7
    proof
      now
        hence (,  Line(I"L()by A25A24,MATRIX_3:
        by MSUALG_2:def 9;
        hence  Sorts of GenMSAlg  c=the Sortsend;
        thus  suppose
        proof
          let x be object; assume x in the carrier of S; then
          reconsider s = x as SortSymbol of S;
.Sum(.  Line(A,I)) by A12,FVSUM_1:66
       y in (the Sorts of A).x; then
 Elementof(   ).;
           Sorts of A  ManySortedSubset of the Sorts  Free(,X)
          by Def6; then
          (  java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 58
          by PBOOLE:def 2,def 18; then
   isElement of theSorts  FreeSX)s 
          y is Element of FreeMSA X by    hence *(i,j)
          y is Term of S,X by MSAFREE3:6;
          hence thesis by A25;
end;
      end;
hence  Sorts of   hence  by A12,A19,A20,A21;
    end;
    hence thesis;
  end;

theorem
   T   non- XS-  over 
  for A java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 4
  for G being GeneratorSet of T st G = FreeGen X
  for f being ManySortedFunction of G, X,Seg m \ N,Seg l) = 0.(K,m-'n,l) & Segm(X,N,Seg l) = B &&nbsp;X in Solutions_of(A,B
  ex h being ManySortedFunction of T,A st
is_homomorphism T,A &f  h|G
  proof
    let T be free_in_itself non-empty (XA1:card  =n and
    :  :  Definition A2:  Segm
    let G be GeneratorSetA3: n> and
:    X;
    let f be ManySortedFunction of G, the Sorts of A;
    = FreeGenX  non- GeneratorSet of (,)
    by MSAFREE3:31;
    consider j being ManySortedFunction of T,A such that
  funcfunc BitGFA3Str(x,,z) ->  gate`1= `A6 card Seg ==m by FINSEQ_1:57
A3: j is_homomorphism T,A & j is "
onto  then
    consider jj being ManySortedFunction of A,T such that
A4: j**jj = id the Sorts of A by A3,Th23,Th21;
   (-nl;
A5: h is_homomorphism: 79
   take k = j[SNSegl: =[N\S l:  ZFMISC_199
    thus k is_homomorphism T,A by A3,A5,MSUALG_3:10;
    thus f = (id the Sorts of A)**    .={} by  ZFMISC_1:90;
    .= j**(jj**f) by A4,PBOOLE:  then
    .= k || G by A5,EXTENS_1:4;A9:for,jbibj,ci,beNatst[ij in :,Segletxy be set;
  end;
  func BitGFA3Circ(x,yz - strict Boolean gate`2den Circuit of BitGFA3Str(java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
theorem Th47  ,y,z) equals
 canonical_homomorphismA2is_epimorphism Free(,, &
for beingSortSymbolS,  beingElementof A2,holds
  (canonical_homomorphism A2).s.t = t
  proof set A = A2;
A11:n< Segmby A1,2,:;
    reconsider G = java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
     f = canonical_homomorphism:--------------------
:fis_homomorphism(,AGFA3 Combined:Carrier,nnerVerticesandInputVertices
    defpred  then
    st $1 in (the Sorts of A).s
    holds f..1  $;
A3: for s being A15 SN c=Seg   :;
    holds   then card l=  :SN,Seg l: c= Indices Z by A13FINSEQ_1:ZFMISC_195java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
    proof
      let s SortSymbol of S;
      let v be Element of X.s;
r t =roottree[v,s] as  of ,  
        forijst ij  X\[NSeg l:\/SN, :)holds *i,
  Z(,j  A1,7A12,A14,9,h9java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      the Sorts  is MSSubset fFreeS)by Def6; then
      (the of A)rcA18:lenXmby A3,A11,,:23;
      then root-tree [v,s] in (FreeSort X).r by A4,A1; then
      roottree [v,
:   the_sort_of  =r&s   t by :def 5,14;
      root-tree [v,s] in FreeGen(s, X) by MSAFREE:def 15; then
A6:   root-tree [v,s] in (FreeGen X).s by MSAFREE  thusSegm(,NSegl)=ZERO&Segm(X,NS )= B ,;
A7:  X[:,Seg :  A11,,TRIX_023java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
(s|FreeGen)s)-ee[vs=fs.-ee[,s]
      by A6,FUNCT_1:49; then
)root-ree v,  id(X)).ot-ree [,s]
      by A2,A7,MSAFREE:def 1 .= root-tree [v,s] by A6,FUNCT_1:18;then  S=xyz;
      husthesis by A5,8;
    end
A9:foro being OperSymbol of ,pbeing ArgumentSeq of Sym(o,X) st
    for t being Term of S,  now
    holds P[[o,the carrier of S]-A25 :,Seg l:]c=Indices X by A2A21,:95
    proof
      let o be OperSymbol of S,j IndicesAXjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
       p be  of (,);
      assume
A10:   for t being Term of S,X st t in rng p holds P[t];
      let s be SortSymbol of S;
      assume
A11:  othecarrier of S]-ree  in the   )s;
      Sym(o,X) ==> roots p & p is     .= {xyf0} \/ {A1} \/ ({xyf1, yzf2, zxf3l  A,)m &len ColXj=m ,,RD_1:def ;
      byMSATERMdef1,;then
12   DenOp(A12:   DenOp(o
: 12dendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A13:   p is Element of Args(o, Free(S,X)) by A1,INSTALG1:1;
      reconsider t = Sym(o,X)-tree p as Term of S,X;
      the Sorts      A2A10FINSEQ_1def14,:5;
: ) =(Sorts SX).  d 2 18
A15  NnbyA1F40java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      FreeSort(X,s) = (the Sorts ofA33 SgmNi in N by A28A,FUNCT_1: 3;
      by A1,A34:j Seg lby A26,ZFMISC_187
A16:   s    then
A17:   Den(o,Free(A35:j=(dseq .jby :
      by A11,A12,A1 .= S )j FINSEQ_348java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
:pin Args(o,) &DenoA.  (,ree(,))p
      by A13,Def8;
      reconsider q = p as Element of Args(o, A) by A17,A13,java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 55
      reconsider p0 = p as Element A37: rng Sgm SN=SN by FINSEQ_1:def 14
A19:   A38 i= ( A28,:java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
            = Sgm(Seg n). by FINSEQ_3:48;
      dom ((the Sorts  A)*he_arity_of o) = dom the_arity_of o
      by MSUALG_3:,PRALG_2:3;
      now
        let i be Nat; assume
A20:     i in dom the_arity_of o; then
ao/.=(o) p0i in  p
        by A19,FUNCT_1:def 3,PARTFUN1A40:[:SN,Segl:]c Indices   A15,,FMISC_1:;
A22:     p0.i in ((java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 8
 set       lekkbe  such that
        p0.i is Element of (the Sorts of A).((the_arity_of o)/.i)
        by A21,A22,A20,FUNCT_1:13;
        then p0.i is Term of S,X by Th42;
hence.i=f.(he_arity_of )/i))(.i A10A21,A23;
      end; then
      f#p0 = q by A19,MSUALG_3percasesby A42,BOOLE_0def5;
      hence thesis by A16,A12,A1,A18,Def10,MSUALG_3:def 7;
    end;
A24: for  InnerVertices S1 is  &InnerVertices RelationA45    inSgm  java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    thus f is_epimorphism Free(S,          asElement ofNATbyA45;

      thus f is_homomorphism Free(ZFMISC_1:87java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      let x; assume xA47:   java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 0
       =as  Sjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
      thus rng(f.x) c= (the Sorts of A).      thus rng(f.x) c= (the Sorts of A).x) by A2,A5,,A46java.lang.StringIndexOutOfBoundsException: Range [0, 69) out of bounds for length 16
      let y be object; assume
yin theSortsofA.; then
      reconsider t = y as Element of (the Sorts of A).s;
      isTerm of , by then
java.lang.StringIndexOutOfBoundsException: Range [6, 3) out of bounds for length 24
Sorts  M  FreeSX)by;then
      (the Sorts of A).s c= (the Sorts of Free(S,X)).s
      by PBOOLE:def 2,def 18; then
      t in (the Sorts of Free(S,X)).s & dom(f.s)        let x,y,z be set such
      by FUNCT_2:def 1;
       thesis  A25A25,FUNCT_1def3
    end;
    letx of  ;
    let t set  =   set S2 = GFA3CarryStr,SgmSN.  A5A42,,: java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
    t is Term of S,X by Th42;
    hence f.s.t = t by A24;
  end;

theorem Th48:
  (canonical_homomorphism A2        (,).k=X*(SgmSNxSgmSeg )j A15,FACIRC_157
  = canonical_homomorphism A2
  proof           . ZERO(,) byA17A53,def1
    set f = end;
    now
      let x be object; assume x in the carrier of S;
      theorem Th130:
      the Sorts of A is MSSubset of Free(FVSUM_1:1
then
      the Sorts of A c= the Sorts of      end;
end;
      then
:   (*. fs)(.  dom fs  the   (.java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
      rng (f.s) c= (the Sorts of A).s &
A. ct Sorts ofFreeS,X).
      by PBOOLE:def 19,FUNCT_2      =(ASeg,N)(,)by A4A38,39,ATRIX13:ef 1
     
A2:   java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 8
       
A3:     
        then      .B*Jjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
A4:     f.s.y in (the Sorts of A).s by FUNCT_2:5;
        thus (f**f).s.y = f.s.(f.s.y) by A1     *i,j)=B*ij  A2,A33,A29,MATRIX_312;
      end;
      hence (f**f).x = f  thenAXB by MATRIX_0:27;
    end;
    hence thesis;
  end;

theorem
  A is Free(  letem Th51:
  proof
     (,,z {,,}  Th130;
      take B = A;
      FreeGen Xproof
      hence thesis;
        A Th22;then
      consider f being java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 30
A1:   f is_homomorphism FreeMSA(X), A & f||FreeGen X = id FreeGen X;
A2:   Free(S,X) = FreeMSA X by MSAFREE3:31;
       f0 =f ManySortedFunction ofFree(,X),Bby :31
      take       en x=} by A1,:ef 3;
      thus
A3:   f0 is_homomorphism Free(S,X),B by A1,MSAFREE3:31;
      reconsider C = the MSAlgebra of B as strict non-empty MSSubAlgebra of A
      MSUALG_2:;
      the Sorts of C = f0.:.:the Sorts of Free(S,X)
      
        defpred P[set] means
          then
        holds $ in (f0.:.:the Sorts of Free(S,X)).s & f0.s.$1 = $1;
A4:     for s being SortSymbol of S, v being Element of X.s
        holds P[root-tree [v,s]]
        proofA4:width A= byA1MATRIX_0:def3
          let  beSortSymbol of S
            be Element of X.;
          reconsider t = root-  *>nor2]>,nor3] inthecarrier of BitGFA3Strx,y)
          let r be SortSymbol of S; assume
A5:       root-tree [java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
          the Sorts of C is MSSubset of Free(S,X) by Def6; then
          (the Sorts   let x,z be set;
          by PBOOLE:def 2,def 18; then
          root-tree [v,s] in (FreeSort X).r by A5,A2; then
          - vs  (,r) by : java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A6:       the_sort_of t = r & java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 13
          root-tree [v,s] in FreeGen(s, X) by MSAFREE:def 15; then
:      root- [,s]in(FreeGen X).s  MSAFREE:def 16;
A8:       (f0.:.:the Sorts of Free(S,X)).s
          = (f0.s).:((the Sorts of Free(S,X)).s) by PBOOLE:def 20;
A9:       (id FreeGen X).s = id ((   xyz=[<xy  >f4;
          (f.s)|((FreeGen X).s).root-tree [v,s] = (f.s).root-tree [v,s]
          by A7,FUNCT_1:49; then
A10:       (f.s).root-tree [v,s] = (id((FreeGen X).s)).root-tree [v,s]
           A1A9MSAFREEdef .=root-tree [v,s] by A7,FUNCT_1:18;
          FreeGen X is MSSubset of Free(S,X) by MSAFREE3:31; then
          (FreeGen X).s c=A1 xin  carrier of S1 & y in the carrier of S1 by FACIRC_1:60;
          dom (f0.s) = (the Sorts of Free(S,X)).s
          by FUNCT_2:def 1,PBOOLE:def 2,def 18;
          hence thesis by A6A1 xin Solutions_of(0.Knk),);
        end;
A11      o beingOperSymbol of S,  
        for t being Term of S,X st t in rng p holds P[t]
        holds P[[o,the carrier of S]-tree p]
       proof
          let o be OperSymbol of java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 6
          let p be ArgumentSeq of Sym(o,X);
          assume
A12:       for t being Term of S,X st t in rng p holds P[A6:ex XstX= & X=widthA =B&*=B byA1java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
          let s be SortSymbol of S;
          assume
A13:       [oA7 1<i  i<n
          Sym(o,X) ==> roots p & p is FinSequence of TS DTConMSA X
          by MSATERM:def 1,21; then
4       DenOp(, X.p  Sym(,)tree &(FreeOper X)o=DenOp(o,X
          by MSAFREE:def 12,def 13;
A15:p is Element  Args(,Free,X) by ,INSTALG1:;
           t= Sym(o p  Term  ,;
thethen width B0KLine(i) ,A6,,
:(the Sorts of C)sc (heSorts of Free(S,X))end;
          by PBOOLE:def 2,def 18;
A17:       the_sort_of t = the_result_sort_of o &
    hence B.i=ZERO. by A9,FINSEQ_2:57
          by A2,java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 6
A18:       s = the_result_sort_of o by A13,A16,MSATERM:def 5;
A19:       Den(o,Free(S,X)).p in (the Sorts of A).the_result_sort_of o
          by A13,A14,A2,A17,A16,MSATERM:def 5; then
20        in Args(,)&Deno).  Den(o,(S,). by A15,ef8;
reconsider q  p asElementof Args(o, A) by A19,Def8java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
          reconsider p0 = p as Element of Args(o, Free(S,X)) by A2,INSTALG1:1;
:domq  dom the_arity_of o& dom(# = dom the_arity_of o &
          Args(o,A) = product ((the Sorts of A)*the_arity_of o) &
dom ( Sorts of )the_arity_of o) = dom the_arity_of o
          by MSUALG_3:6,PRALG_2:3;
          now
            let i; assume
A22:         i in dom the_arity_of o; then
A23:         (the_arity_of o).i  (he_arity_of o).  p0. in rng java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
            by A21,FUNCT_1:def 3,PARTFUN1:def 6;
A24:         p0. <*,*,f0;
,CARD_3:9; then
A25:         p0.i in (the Sorts of A).((the_arity_of o).i) by A22,FUNCT_1:13;
            p0.i is Element of (the Sorts of A).((the_arity_of o)/.i)
            by A23,A24,A22,FUNCT_1:13;
            then p0.i is Term of S  setS = BitGFA3Str(,yz;
            hence q.i = (f0.((the_arity_of o)/.i)).(p0.i) by A12,A23,A25  set 1  GFA3AdderOutput(x,y,z);
          end; then
:f0# =q  A21,MSUALG_3:24  et  GFA3CarryOutput,,;
A27:       f0.(the_result_sort_of o).(Den(o,Free(S,X)).p) = Den(o,A).p
          by A3;
A28:       (f0.:.:the Sorts of Free(S,X)).s
          =   assume n  0;
          dom(f0.s) = (the Sorts of Free(S  then
          [    .= {xyf0A1,yf1,zxf3 \ A}  =   Bm3
          f0.s.([o,the carrier of S]-tree   assume   Solutions_of(,B);
          by A14,A2,A16,A27,  &A *X=B by A1;
          hence [o,the carrier of S]-tree p in (f0.:.:the Sorts of Free(S,X)).s
          by A28,FUNCT_1end;
          thus thesis by A18,A14,A2,A20,A26,A1;
        end;
A29:     for t being Term of theorem Th54:
        now
thus the Sortsof  c=f0:.the Sorts of  forx,z being set <[*x,*xor2]&x<[*y,*>,or2  y
          proof
           >*,>nor2]&z<[xy>or2 holds x in InputVerticesBitGFA3Strx
            reconsider s = x as SortSymbol of S;
            let y proof
            
            t is Term of S,X by Th42;
            hence thesis by A29;
          end;
.: of Free(,X   ofthe SortsofC
 EQUATION:;
          hence f0.:.:the Sorts of Free(S,X) c= the Sorts of C
          by PBOOLE:def 18;
          se f1=nor2,f2 = nor2, f3 =nor2;
        hence the Sorts of C = f0.:.:the Sorts of Free(S,X) by PBOOLE:146;
      end;
      hence the MSAlgebra of  thus Solutions_of(,)c XX
    end;
    hence thesis;
  end;

begin :: Satisfiabilityxy>f1];

theorem
   A    S= xy)
  for s being SortSymbol of S
  for t being Element of  Sjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  holds A |= t '=' t;

theorem
  for  for considerXbe Matrixof k,e;
  for s being SortSymbol of S
  for t1,t2 being Element of TermAlg S,s
holds| t1 '':widthA &len =  A1A2ATRIX_0:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45

theorem
  for A being non-empty MSAlgebra over S
     ofS
  for t1,t2,t3 being Element of TermAlg S,s
  holds A |= t1 '=' t2 & A |= t2 '=' t3 implies A |= t1 '=' t3
  proof
    let ,y)- 
    let s be SortSymbol of S;
  > .n0,.Knm)isnonimpliesm=0
    assume
A1: A |= t1 '=' t2 & A |= t2 '=' t3;
    let h be ManySortedFunction of TermAlg S, A suchA1:n[<,*n]<,,]<,*or2*,nor3java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
A2  considerx  object
    h.s.t1 = h.s.t2 & h.s. : x Solutions_of0(n)0BitGFA3Str,,)byTh133java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
    hence thesis;
  end;

theorem
 A nonemptyMSAlgebra java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
      = MATRIX_0java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  forend;
  st 
     for i being Nat st i in dom the_arity_of o
     for s being SortSymbol of S st s = (the_arity_of o).i
     for t1,t2 being  BitGFA3AdderOutputxyz > InnerVertices BitGFA3Str(x,y,)
     holds A |= t1 '=' t2
  for t1,t2 being Element of TermAlg S, the_result_sort_of o
  st t1 = [o,the carrier of S]-tree a1 & t2 =    n=0;
  holds A |= t1 '=' t2
  proof
   A-empty  ;
    let o be OperSymbol of S;
    let a1,a2 be FinSequence;
      suppose
    assume A2: a2 in Args(o,A1 n0
    reconsider b1     GFA3AdderOutput(,    set B=(,n0
    assume A3: for i being Nat st i    set A=.(,,0;
    for s being    E{as  00,  MATRIX_013;
    for t1,t2 being Element of TermAlg S, s st t1 = a1.i & t2 = a2.i
    holds A |= t1 '=' t2;
    set s = the_result_sort_of o;
    let t1,t2 be Element of TermAlg S, s;
:  o  ofSt ;
    assume A5: t2 = [o,the carrier of S]-tree a2;
    leth be ManySortedFunction TermAlg S,A
    assume
A6: :---------------------------------
A7: now
      let n be Nat; assume
A8:   n in dom b1;
A9:   dom b1 = dom the_arity_of o & dom b2 = dom the_arity_of o by MSUALG_3:6;
reconsider s =( o.n as SortSymbol of java.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
by,A9,UNCT_1:;
      dom ((the Sorts of TermAlg S) * (the_arity_of o)) =dom the_arity_of o &
      ((the Sorts of TermAlg S) * (the_arity_of o)).n
=(the of TermAlg S)sby,A9FUNCT_113:;
      reconsiderA5  =;
by,MSUALG_3;
      h.s.(t1 '=' t2)`1 = h.s.(t1 '=' t2)`2 by A3,A8,A9,A6,EQUATION:def 5; then
A10:   h.s.t1 = h.s.(t1 '=' t2)`2 .= h.s.t2;
:  s =(the_arity_of o)/.n by A8,A9  not a2)'' ('not'a2'''not'a3)''(not a3 &''not'a1)
      thus (h#b2).n
       h(the_arity_of o).n))(.n)by A10,11,8A9MSUALG_3:def ;
    end;
    thus h.s.(t1 '
=' t2)`1
    = h.(Den,TermAlg S).a1) by   setf0 = xor2;
    .= Den(o, A).(h#b1) by A6
    . (,A).#2)  A7MSUALG_3: java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    .= h.s.(Den(o,TermAlg S).a2) by A6
 A2,A5,:3;
  end;

definition
  let S;
  let T be EqualSet of S;
  let A be MSAlgebra begin :Gaussian eliminations
  attr A is T-satisfying means: Def11: A |
end;

registration
  let S;
  let T be EqualSet of S;
  cluster TMatrix  (,)K) [,]:  be   n()m)K(,B9 be  
  existence
  proof
    set A = the non-empty trivial MSAlgebra over S;
    take A;
    thus A |= T by Th32;
    thus thesis;
  end;
end;

registration
  let S;
  let T ) ) & for ,of java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 22
 A -java.lang.StringIndexOutOfBoundsException: Range [17, 1) out of bounds for length 37
  cluster A-Image -> T  assume that
  coherence
  by Def11A1:P[(,B() and
end;

definition
  let SA9B9 for ijsti<>a3=s.
  let A be MSAlgebra over S;
  et T   reconsiders1=|  of S1  State  A1 by FACIRC_1:;
  let G be GeneratorSet of A;
  attr G is T-free means
for  -satisfying -empty MSAlgebra  S
 for f be ManySortedFunction  G,the Sorts ofjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    ManySortedFunction  , B java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
  h is_homomorphism A,B & h || G = f;
end;

definition
  let S;
  let T be EqualSet of S;
  let A be MSAlgebra over S;
java.lang.StringIndexOutOfBoundsException: Range [18, 2) out of bounds for length 24
 G   st G is T-ree;
end;

definition
 ;
  be MSAlgebra over ;
  func Equations(S,A) -> EqualSet of S means: Def14:
forsbeing  of  
  it.s = {e where e is Element of (Equations S).s: A |= e};
  existence

    deffunc X(SortSymbol of S)
    = {e where e is Element of (Equations S).$1: A |= e};
java.lang.StringIndexOutOfBoundsException: Range [34, 4) out of bounds for length 49
A1: for s beingA11 dom  = carrier of  by:java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    f    in  of S1  60java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    proof
      let x be object; assume x in the carrier of S; then
      s  x   of ;
A2:   f.s = X(s) by A1;
      let y be object; assume y in f.x; then
 S).  y=e  A =e  ;
      hence thesis;
    end;
    hence thesis by A1;
  end;
  uniqueness
  proof
    let f1,f2 be EqualSet of S such that
A3: for s being SortSymbol of S holds
    .  zin   S2  ;
A4: for s being SortSymbol of S holds
f.  ewhere    of ( )s  =e;
    now
letx be ; assume x     ;
      reconsider s = x as SortSymbol of S;
      thus f1.x = {e where e is Element of (Equations S      len A90by MATRIX_022;
 .  
    end;
    hence thesis;
  end;
A4   n()0

Th54java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
  for A being MSAlgebra over S
holdsA | Equations(Ajava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
pjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
 be   ;
    let s be SortSymbol of S;
    let r be Element of (Equations S).s;
    assume r in Equations(S,A).s; then
    r in {e where e is Element of (Equations S).s: A |= e} by Def14; then
    consider e being Element        set n1=+;
A1: r = e & A |= e;
        
  end;

registration
  let S;
  non- S
  cluster -> Equations(S,A)-satisfying for A-Image java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 12
  coherence
  
    let B be A-Image MSAlgebra over S;
     is Equations(,A)satisfying
    by Th54;
is;
  endfbe of  such that
end;

begin :: Term correspondence

scheme TermDefEx{ S()-> A12    len  <  
  X()-> non-empty ManySortedSet of S(),
A13    len f=n()and
  ex F being ManySortedSet of S()-Terms X() st
  (for s being SortSymbol of S(), x being Element of X().s holds
  .root--tree [,s]= (,s)) &
  for o being OperSymbol of S(), p being ArgumentSeq of Sym(o,X()) holds
  F.(Sym(o,X())-tree p) = F(o,F*p)
  proof
    defpred Q[DecoratedTree,Function] means dom $2 = Subtrees $1 &
    (for s being SortSymbol of S(), x being Element of X().s
(s))&
    for o being OperSymbol of S(), p being ArgumentSeq of java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 20
    st Sym(o,X())-tree p in Subtrees $1
    holds $2.(Sym(o,X())-tree p) = F(o,$2*p);
    defpred P[DecoratedTree] means ex f being Function st Q[$1,f];
A1: for t1,t2 being Term of S(),X()
    for f1,f2 being Function st Q[t1,f1] & Q[t2,f2] holds f1 tolerates f2
    proof
      let t1,t2 be Term of S(),X();
      let f1,f2 be Function; assume
A2:   Q[t1,f1] & Q[t2,f2];
      let x be object; assume x in dom f1 /\ dom f2;
      then
A3:   x in Subtrees t1 & x in Subtrees t2 by A2,XBOOLE_0:def 4;
      then
A4:   ex r being Element of dom t1 st x = t1|r;
      defpred R[DecoratedTree] means $1 in            et i, such that
      impliesA18:        i,j]in    >en  and
A5:   for s A19:        j<n1;
      holds R[root-tree [v,s]            j=n=1by A19,NAT_1:8;
      proof
        let s be              A9*(,j)0.( by A10,,A18
        assume
A6:     root-tree [x,s] in           <=n1 by NAT_1:;
        then f1.root-tree [x,s] = R(x,s) by A2;
        hence thesis by A6,A2;
      end;
A7:   for o being OperSymbol of S(), p being ArgumentSeq of Sym(o,X() st
      for t being Term of S(),X() st t in rng p holds R[t]
      holds R[[o,the carrier of S()]-tree p]
      proof
        leto be  of S(), p be java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 12
A8:     for t being Term of S(),X() st t in rng p holds R[t];
sett  othecarrier )-ree p;
        assume
A9:     t in Subtrees t1 & t in Subtrees t2;  then
        rng p c= Subtrees t1
        proof
          let x be object; assume
A10:       x in rng p;
          then consider y being object such that
A11:       y in dom p &A23:j0n1 
reconsider   Natby ;
          consider n being A25:      Indices A9=[:Seg n() (:  ,:23;
A12:       y = 1+n by A11,FINSEQ_3:25,NAT_1:10;
   ElementElement    : 12;
          rng p c= S()-Terms X() by FINSEQ_1:def 4;
          then  tn = p.y as Termof (),()byA11,10;
          reconsider q = {} as Element of dom tn by TREES_1:22;
          consider r being Element of dom t1 such that
A13:       t=t1rbyA9;
          +1<= len p by A11,A12FINSEQ_3:25;
          then n <          then 0+1<=len f+1 & len f+1<=n() by A28,XREAL_1:7,XXREAL_0:2;
then |*n*> =  &<n          
          thenA30      len f1 inSeg n);
          hence           QQ[at means 1<=() implies ex A9 be Matrix of n(,m(,K)
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
then
A14:     dom(f1*p) = dom p by A2,RELAT_1:27;
        rng p c= Subtrees t2
        proof
java.lang.StringIndexOutOfBoundsException: Range [16, 10) out of bounds for length 33
   ;
          then consider y being object such that
A16:       y in dom p & x = p.y by FUNCT_1:def 3;
          reconsider y as Nat by A16;
          consider n being Nat such that
A17:       y = 1+n by A16,FINSEQ_3:25,NAT_1:10;
          reconsider n as Element of NAT by ORDINAL1:def 12;
          rng p c= S()-Terms X() by FINSEQ_1:def 4;
          then reconsider tn = p.y as Term 
           q = }as   domtn  :22;
          consider r being             set k1=1;
A18:       t = t2|r by A9;
          n+1 <= len p by A16,A17,FINSEQ_3:25;
          then n < len p & <*n*>^q = <*n*> by NAT_1:13,             be of(,(,)   (,()K(
          then t|<*n*> = x & <*n*> in           then t|<*n*> = x & <*n*> in dom
thenin t Subtrees t  by :java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
          hence x in Subtrees t2;
        java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
        then
A19:     dom(f2*p) = dom p by A2,RELAT_1:27;
        now let x be object; assume
        in dom pjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
          
A21:       p.x in rng p by             K() by A35,NAT_1:13
          rng p c= S()-Terms X() by FINSEQ_1:def 4;
          then reconsider w = p.x as Term of S(),X() by A21;
A22:       R[w] by A8,A21;
          reconsider y = x as Nat by A20;
          consider n being Nat such that
A23:       y = 1+n by A20,FINSEQ_3:25,java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 33
          reconsider n as Element of NAT by ORDINAL1:def 12;
          reconsider q = {} as Element of dom w by TREES_1:22;
          consider r1 being Element of dom t1 such that
A24:       t = t1|r1 by A9;
          consider r2 being Element of dom t2 such that
:t =t2| ;
          n+1 <= len p by A20,A23,FINSEQ_3:25;
          then n < len p & <*n*>^q = <*n*> by NAT_1:13,FINSEQ_1:34;
          then t|<*n*> = w                end;
          then w in Subtrees t & Subtrees t c= Subtrees t2 &
                           thesis by A36,,,39,A40;
          hence (f1*p).x = f2.w by A20,A22,FUNCT_1:13 .= (f2*p).x
          by A20,FUNCT_1:13;
        end;
        then f1*p = f2*p by A14,A19;
        hence f1.t = F(o,f2*p) by A2,A9 .= f2.t by A2,A9;
      end;
      for t being Term of S(),X() holds R[t] from MSATERM:sch 1(A5,A7);
      hence thesis by A3,A4;
    
A26: for s being SortSymbol then
    holds P[root-tree [v,s]]
    proof
       be   A Indices=ndices   :java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
A27:                    [ f+,]in   by ,A26,ZFMISC_18;
      take f                 then
      husdom f   t [,]by
      hereby let s1 be SortSymbol of S(), x1 be Element of X().s1;

A28:     root-tree [x1,s1] in Subtrees root-tree [x,s];
        then root-tree [x1,s1] = root-tree [x,s                   i, such that
        then [x1,s1] = [x,s] by TREES_4:4;
        then x1 = x & s1 = s by XTUPLE_0:1;
        hence f.root-tree [x1,s1] = R(x1,s1) by A27,A28,FUNCOP_1:7;
      end;
      let o be OperSymbol of S(), p be ArgumentSeq of Sym(o,X());
      assume Sym(o,X())-tree p in Subtrees root-tree [x,s];1:z < [*,*,f0]and
      then Sym(o,X())-tree p = root-tree [x,s] by A27,TARSKI:def 1;
      then A2: x <> [<*y,z*>,2]& y > [*z,*>f3]& <> <*,y*>f1;
      then s = the carrier of S() & s in the carrier of S() by XTUPLE_0:1;
      hence thesis;
    end;
:for obeing of () beingArgumentSeqof (,()st
    for t being Term of S(),X() st t in rng p holds P[t]
    holds P[[o,the carrier of S()]-tree p]
    proof
      let o be OperSymbol of S(), A57                  (-AA*k1))*a"
)*LAfj)"0java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
A30:   for t be Term of S(),X() st t in rng p holds P[t];
      defpred W[object,object] means
ex   beingTerm (,(
      st t = p.$1 & $2 = f & Q[t,f];
A31:   for x being object st x in dom p ex y being object st W[x,y]
      proof
        let x be object; assume x in dom p;
        then
A32:     p.x in rng p & rng p c= S()-Terms X() by FUNCT_1:def 3,FINSEQ_1:def   let  be State of ;
        then reconsider t = p.x as Term of S(),X();
                 =GFA3CarryStr,y,)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
     Qtf  A30A32
        take f,f,t;
        thus thesis by A33;
      end;
consider gbeing Function suchthat
A34:   dom g = dom p & for x being object st x in dom p holds W[x,g.x]
      from CLASSES1:sch 1(A31);
A35:   now
        thus rng g is functional
        
          let y be object; assume y in rng g;
          then consider x being object such that
A36:       x in dom g & y = g.x by FUNCT_1:def 3;
Wxy A34A36;
          hence thesis;
        end;
        let x,y be Function; assume
in g&yinrngjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
        then consider x0 being object such that
A38:     x0 in dom g & x = g.x0 by FUNCT_1:def 3;
        consider y0 being object such that
A39:     y0 in :jRA lenf1 java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
        W[x0,x] & W[y0,y] by A34,A38,A39;
        hence x tolerates y by A1;
      end;
      then reconsider f1 = union rng g as Function by PARTFUN1:78;
      set t = [o,the carrier of S()]-tree p;
      set f = f1+*({t}-->F(o,f1*p));
      take f;
,]exbeset   1 & $2 = proj1 I
A40:   :[,  ,A50,java.lang.StringIndexOutOfBoundsException: Range [69, 66) out of bounds for length 70
      consider Y being set such that
A41:   for x being object holds
      x in Y iff ex y be object st y   Following(per A63:
A42:   dom f1 = unionthen
      proof
        thus dom f1 c= union Y
        proof
          let x                       RA*jn1 =AA*(,byA46A47,,MATRIX11def3
          then [x,f1.x] in f1 by FUNCT_1:1;
          then consider Zbeingsetsuchthat
A43:       [x,f1.x] in Z & Z in                    ;
          x in proj1 Z & proj1 Z in Y by A43,A41,XTUPLE_0:def 12;
          hence thesis by TARSKI:def 4;
        end            LAfn1=aby A26,A46MATRIX_0d7
        let z be object; assume z in union Y;
        then consider Z being set such that
A44:     z in Z & Z in Y by TARSKI:def 4;
        consider y be object such that
A45:     y in rng g & ex I being set st I = y & Z = proj1 I by A44,A41;
        reconsider y as Function by A45,A35;
        [z,y.z] in y by A44,A45,FUNCT_1:1;
         z   A45: java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
        . -(1,))1K)byA38VECTSP_1d10
      end;
A46:   dom f = dom f1 \/ dom({Sym(                      LA.n1=AA*(k1, byjava.lang.StringIndexOutOfBoundsException: Range [45, 42) out of bounds for length 65
      .= dom f1 \/ {Sym(o,X())-tree p};
dom dom(t}-F(o,1*)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
proof
          set x = the Element of dom f1 /\ 0)byA46A,A,ATRIX11defjava.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
          assume dom f1 /\ dom ({t}--> end;
          then
A47:       x in dom f1 & x in dom ({t}-->F(o,f1*p)) by java.lang.StringIndexOutOfBoundsException: Range [0, 63) out of bounds for length 42
          then [x,f1.x] in f1 by FUNCT_1:1;
          then consider Y being set suchA69:            dom AASeglen   FINSEQ_1:ef 3;
A48:       [x,f1.x] in Y & Y in rng g by TARSKI:def 4;
          consider  being object such that
A49:       y in dom g & Y = g.y by A48
A50:       A71              i in dom f;
          then reconsider t1 = p.y                  set fi=/.;
          x in Subtrees t1 & t1 in rng p
          by A34,49A48,,XTUPLE_0def 2FUNCT_1:def 3;
          then x <> t by Th7;
          hence thesis by A47,TARSKI:def 1;
        end;
        then
A51:     f1 c= f by FUNCT_4:28,PARTFUN1:56;
      per cases;
      suppose
:p ={;
        then
ree p)= {(,X)-tree p by ;
        dom p = {} by A52;
        then rng g = {} by A34,RELAT_1:42;
        hence dom f = {} \/ Subtrees t by A53,A46,ZFMISC_1:2 .= Subtrees t;
        hereby let s be SortSymbol of S(), x be Element of X().                    =0K)
assumetreexs   t;
          then root-                  then
          then [A76:             (LA((AA*k1))*a)*Af)fi=AA(k1,fi+0.() by A32,
          then s = the carrier of S() & s in the carrier of S() by XTUPLE_0:1;
          hence f.oottree[x,] = Rxs)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        end;
        let o0 be OperSymbol of S(), p0 be ArgumentSeq of Sym(ZFMISC_1:87;
        assume Sym(o0,X())-tree p0 in Subtrees t;
        then
A54:     Sym(o0,X())-tree p0 = t by A53,TARSKI:def 1;
        rng p /\ dom f c= dom f1
        proof
 z;z    /d f; then
A55
:      zin  p&rng(-Terms X( byXBOOLE_0:def 4,FINSEQ_1:ef4
          then reconsider                    end
                              suppose
A56:       y  dom p&z  p. by ,FUNCT_1:ef 3
          W[y,g.y] by A34,A56;
          then
A57:       zMATRIX11:def3;
          then proj1 (g.y) in                      hence RA*(i,f/.i)<>0.K() by A40,A71;
          hence thesis by A42,A57,TARSKI:def 4;
        end;
        then
A58:     f1*p = f*p by A51,ALGSPEC1:2;
        Sym(0,()=Sym(,X()&p=  byA54,15java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
        then
:= &o0=ojava.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 39
A60:     t in {t} by TARSKI:def 1;
        t in dom ({t}-->F(o,f1*p)) by TARSKI:def 1;
        hence f.(Sym(o0,X())-tree p0) f  A31,XBOOLE_0def5
        .                    then
      :[,]in  AAby,A32,A48,,:
      suppose p <> {};
p  emptyDTreeyielding ;
A61:     union Y = Subtrees rng p
        proof
          thus union Y c= Subtrees rng p
proof
             z beobject;assume z in union ;
           consider Wbeingjava.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 47
A62:         z in W & W in ,: 3
            consider y be object such that
A63:         y in rng g & S[y,W] by A62,A41;
             beingobject such end
A64:         a in dom g                    j inSeg  RA& (j K)
reconsideraasNatby A34,64
            consider f being Function, t being Term of S(),X() such that
A65:         t = p.a & y = f & Q[t,f] by A34,A64A81:jinwidthRAand
            WA82:j</.java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
            Wc Subtrees rng p by Th8;
            hence thesis by A62;
          end;
          let z be object; assume z in Subtrees rng p:7java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
          then consider t being (Element of rng p), q being Element of dom t
          such that
A66:       z = t|q;
        inSubtreest A66
          consider a being object such that
A68:       a in dom p & t = p.a by FUNCT_1:def 3;
          reconsider a as Nat by A68;
          consider f3 being Function, t1 java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 29
A69:       t1 = p.a & g.a = f3 & Q[t1,f3] by A68,A34;
          f3 in rng g by A34,A86:                 j =nby A82XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
          then Subtrees t inthen0K)=AA*(en+1j by A83A86
byA67TARSKId ;
        end;
        dom ({t}-->F(o,f1*p)) = {t};
        then dom f = union Y \/ {t} by A42,FUNCT_4:def 1;
        hence dom f = Subtrees t by A61,Th3;
        hereby let s be SortSymbol of S(), x be Element of X().s;
          assume
A70:       root( A40A46A,A,java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
          s in the carrier of S(); then s <> the carrier of S();
          then [x,s] <> Sym(o,X()) by XTUPLE_0:1;
          then
A71:      root-tree [x,s] <> t by TREES_4:17;
          then
          root-tree [x,s] nin {t} & Subtrees t = {t}\/Subtrees rng p
          by Th3,TARSKI:def 1;
          then root-tree [x,s] in Subtrees rng p by A70,XBOOLE_0:def 3;                then
java.lang.StringIndexOutOfBoundsException: Range [23, 10) out of bounds for length 76
          such that
       tree[s r
          h in rng p & rng p c= S()-Terms X() by FINSEQ_1:defend;
then  h ofS)X)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
          consider f2 being Function such thatA90:     inSegm)byA21,25,:java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A73:       Q[h,f2] by A30;
          consider a being object such that
        domp&h=p.byjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 49
         reconsideras A74java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
          consider f3 being Function, t1 being Term of S(),X() such that
A75:       t1per
A76:       f3            java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
A77:       root-tree [x,s] in Subtrees h by A72;
          then f2.root-tree [x,s] = R(x,s) by A73;
  reconsider t= s as Stateof A1+*A2;
          by A77,A74,A75,A76,A34,FUNCT_1:1,def 3;
          then [root-tree [x,s], R(x,s)] in f1 by TARSKI:def 4;
          then f1.root-tree [x,s] = R(x,s) &
          root-tree [x,s] nin dom ({t}-->F(o,   S=( LAfine(len f1)
          A71,ARSKIdef,:;
          hence keRARBjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25

        let o1 be OperSymbol of S(), p1 be ArgumentSeq of Sym( henceP[RARB]              hence P[RA,RB] 
        set t1 = Sym(o1,X())-tree p1;
        Symo1,X)-ree p1 in Subtrees t;
        then
A78:     Sym(1 in{}\ Subtreesrngp Th3
        rng p c= Subtrees
rng)f  f1 ,A61
        then
A79:     f1*p = f*p by A51,ALGSPEC1:2;
        per cases by A78,A61,XBOOLE_0:def 3;
        suppose
A80:       t1 in {t};
          then
          A95:        .A9*i0)A,def

A81:       Sym(o,X()) = Sym(o1,X()) & p = p1 byi0,1 A26,,,java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
          dom({t}-              hence RA( f,<0K)byA23A;
          then
          f.t1 = ({t}-->F(o,  Following(t,)|thecarrier S1 by FACIRC_1:0;;
          .= F(o,f1*p) by A80,FUNCOP_1:7;
          hence f.(Sym(o1,X())-tree p1) = F(o1,f*p1)
          by A81,A79,XTUPLE_0:1;
        end;
        uppose  in union Y;
          then consider W being set such that
A82:       t1 in W & W in Y by TARSKI:def 4;
          consider y be object such that
A83:       y in rng g  Following(t,)|he carrierS2by ,FACIRC_131
          consider z being object such that
  &y=g: java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
          reconsider z as Nat by A34,A84;
          consider f2 being Function, t2 be Term of S(),X() such that
A85:       t2 = p.z & y = f2 & Q[t2,f2] by A34,A84 i>en +;
A86:       f2.t1 = F(o1,f2*p1) by A85,A82,A83;
& (rngp1/\om c p1
          by XBOOLE_1:17,Th11;
          Subtrees t1 c= Subtrees t2 by A82,java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 22
          then
A88:       rng A88:       rng p1suppose
          f2 c= f1 by A83,A102               lenf1java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

A89:       (rng p1)/\dom f c=A104 jA9(lenf1) .A9(0j A94
          thusMATRIX_0 ;
.o1*)byA86A89java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 46
endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      end;

A90: for t                       =0K)0.( by A10,22A99A103
    defpred G[object,object] means
    ex t being Term of S(),X(),f being Function st
    t = $1 & f = $2 & Q[t,f];
A91: for x being object st x in S()-Terms X() ex y being object st G[x,y]
    proof
      let x                st[,]  
      then reconsider t = x as Term              ,)=0.(;
      P[t] by A90;
      hence thesis;
    end;
    consider F being Function such that
92 domF =)TermsX)&
for x being object stx S(then
    from CLASSES1:sch 1(A91);
    rng F is functional  f.fi&.   f by A105,FUNCT_1:def 3,PARTFUN1:def 6;
    proof
thusrngF 
      proof
        let x be object; assume x in rng F;
       considerbeingobjectsuchthat
A93:     x0 in dom F & x = F.x0 by FUNCT_1:def 3;henceRA(,f.<0K&jindomf&ijimpliesf/<.)by
        G[x0,x] by A92,A93;
        hence thesis;
      end;
      let h1,h2 be Function; assume
A94:   h1 in rng F & h2 in Following(3.or() Followings,).a Following(3
      then consider x0 being object such that
A95:   x0 in dom F & h1 = FA:            domfbyXBOOLE_0def5java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
      consider y0 being object such that
A96:   y0 in dom F & h2 = F.A110:           j<len f+1 by N:13;
Gx0h1  y0]byA92,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
      hence h1 tolerates h2 by A1;
    end;
    then.=.(  A105A108java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    by A92,RELAT_1:42;
    reconsider f = union rF as Function;
     =S(-ermsX)
    proof
A97:   dom f = union the set of all dom h where h is               then [i,j] in Indices A9 by A25,A33,A31,A94:
      by COMPUT_1:12;
      thus dom f c= S()-Terms X()
      proof
        let x be object; assume x in dom f;
        then consider W being set such that
A98:     x in W & W in the set of all dom h where h is Element of rF
        by A97,TARSKI:def 4;
considerbeingElementof 1
A99:     W 
        java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 42
A100:     x0 in dom F & h = F.x0 by FUNCT_1:def 3;
        reconsider x0 as Term of S(),X() by A92,A100;
        G[x0,h] by A92,A100;
        thenx is Term of S()X() by A98,A99,Th10;
        hence thesis;
      end;
      let x be object; assume x in S()-Terms X();
      then reconsider x as Term of S(),X();
      consider t being Term of S(),X(), h be Function  in\len1  <0java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A101:   t = x & h = F.x & Q[t,h] by A92;
      reconsider h as Element of rF byhence  A114;
      ;
      by A101,TREES_9:11;
hencejava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 39
    end;
    thenreconsiderfasS-X)
    by PARTFUN1:def 2,RELAT_1:def 18;
    take f;
    hereby let s be SortSymbol of S(), x be Element of X().s;
  tree[,] asTerm ofS)X)by MSATERM
      G[t,F.t] by A92;
      then consider g being Function such that
A102:   g = F.t & Q[t,g];
Adefjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
      then
A103:   g c= f by ZFMISC_1:74;
      t in dom g by A102,TREES_9:11;
      hence f.root-tree [x,s] = g.t by A103,FOMODEL0:51
      .= R(x,s) by A102,TREES_9:11;
    end;
    let o be OperSymbol of S(), p be ArgumentSeq of Sym(o,A125:      ij java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 35
    reconsider  =;
    G[t,F.t]    java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 38
    then consider g being Function such that
A104: g = F.t & Q[t,g];
A105: g in rF by A92,A104,FUNCT_1:def 3;
    then
A106: g c= f by java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 16
A107: t in dom g by A104,TREES_9:11;
    rng p c= Subtrees t & (rng p)/\ dom f c= rng p by Th11, iin dom byA125Z:;
    thenin  Aalf1&=(  java.lang.StringIndexOutOfBoundsException: Range [77, 76) out of bounds for length 78
    then
A108: g*p = f*p by A105,ZFMISC_1:74,ALGSPEC1:2;
    thus f.(Sym(o,X())-tree p) = g.t by A106,A107,FOMODEL0:51
    .= F(o,f*p) by A104,TREES_9:11,A108end
  end;

scheme TermDefUniq{ S()-> non empty non void ManySortedSign,
  X()-> nonij suchthat
R-set (FinSequence)>set,
  F1,F2()->ManySortedSet of S()-Terms X()}:
  F1() = F2()
  provided
A1: (for s being SortSymbol of S(),A135:       now
    F1().root-tree [    F1().root-tree [xthat
A2: for o being OperSymbol of S(), p being ArgumentSeq of Sym(o,X()) holds
    F1().(Sym(o,X())-tree p) = F(o,F1()*p) and
A3: (for s being SortSymbol of S(), x being Element of X().s holds
    F2().root-tree [x,s] = R(x,s)) and
A4: for o being OperSymbol of S(), p being ArgumentSeq of Sym(o,X()) holds
    F2().(Sym(o,X())-tree p) = F(o,F2()*p)
  proof
    defpred P[object] means F1().$1 = F2().$1;
A5: for s being SortSymbol of S(), x being Element of X().s holds
    P[root-tree[x,s]]
    proof
      let s be SortSymbol of S();
      let x be Element of X().s;
      thus F1().root-tree[x,s] = R(x,s) by A1
      .= F2().root-tree[x,s] by A3;
    end;
ntSeqof oX)
    st for t being Term of  ilen+ A139
    holds P[                hence *i,9.i)<0.() by
    proof
      let o be OperSymbol of S();
      let p be ArgumentSeq of Sym(o,X()); assume
A7:   for t being Term of S(),X() st t in rng p holds P[t];
A8:   dom (F1()*p) =assume that
      by PARTFUN1in 
      now
        let x be object; assume
A9:     x in dom p; then reconsider i = x as Element               suppose
        reconsider t = p.i as Term of S(),X() by A9,MSATERM:22;
        t in rng p by A9,FUNCT_1:def 3; thenA1421;
       t A7
        hence (F1()*psuppose
        .= (F2()*p).xA144:           in{f+ & injava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 44
      end; then
      F1()*p = F2()*p by A8;
      hence F1().([o, the carrier of S()]-tree p) = F(o,F2()*p) by A2
      .= F2().([o, the carrier of S(f9=f9/jbyA141,PARTFUN1:ef 6
    end;
A10: for t being Term of S(),X() holds P[t] from MSATERM:sch 1(A5,A6);
     for x being object st x in S()-Terms X() holds P[x] by              ;
    hence              suppose
  

definition
  let S, X;
  let w be ManySortedFunction of X, (the carrier of S) --> NAT;
lettbe 
A1:  t is Element of Free(S,X);
    deffunc R(set,set) = root-tree [w.$2.$1,$2];
    deffunc F(OperSymbol of S,FinSequence) =
S((java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 46
hence by ,,147
  ex F being ManySortedSetendjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  (for s being SortSymbol of S, x being Element of            dom f9=eg byjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 48
  A148       domf9 c domAa by ,F5
   ofSymoX)holds
  F.(Sym(o,X)-tree p)             
  existence
  java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
    consider F being ManySortedSet of S-Terms X such that
A2: for s being SortSymbol of S, x being Element of X.s holds
    F.root-tree [x,s] = R(x,s)                 then len f+1 in dobydef;
A3                
FSym,- p  (,pfrom
    set Y = (the carrier of S)-->NAT;
[]
    ex t beingthen
    the_sort_of t = the_sort_of q;
A4           inAaiby56
letbeElementofXs
A5:   w.s.x in NAT (n1=.(  A121A153java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
      reconsider t = F.root-tree [x,s] as Term of S,Y by MSATERM              end
      reconsider q = root-tree [x,s] as Term of S,X by MSATERM:4;
      thus P[root-tree [x,s]]
      proof
        take t, q;
        the_sort_of t = s by A5,MSATERM:14;
        hence thesis by MSATERM:14;
      end;
    end;
 ;
      let p be ArgumentSeq of Sym(o,X); assume
A7:   for t being Term of S,then
A8:   dom (F*p) = dom p & dom p = dom the_arity_of o
      by MSATERM:22,PARTFUN1:def 2;
      now let i be Nat;
        assume
A9:     i in dom p; then
        reconsider q = p.i as Term of S,X by PARTFUN1:4;
A10:     (F*p).i = F.(p.i) & p.i in
        by A161           [j,f9/i] in Indices Aa by A148,A155,:;
A11:                     per cases;
        reconsider t = (F*p).i as Term of S,Y
        by A9,FUNCT_1:13;
        reconsider q = p.i as Term of S,X by A9,PARTFUN1:4;
        take t;
        thus t                   hencethesisbyA119A160A;
        thus the_sort_of t = (the_arity_of o                end;
      end; then
reconsiderFp=F*asArgumentSeqofSymoYby,24java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
      reconsider q = Sym(o,X)-tree p as Term of S,X;
      reconsider t = Sym(o,Y)-tree Fp as Term of S,Y;
      thus P[[o, the carrierj>byA149ZFMISC_156java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
      proof
        take t,q;
        thus =F(o the carrier of S]-ree p))&
        q = [ohencethesisbyA135A154,156Td1
A12:     q.{}end
        t.{} = Sym(o,Y) by TREES_4
        hence the_sort_of t = the_result_sort_of o by             end;
        .= the_sort_of q by            thusjinSegjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 71
      end;
    end;
A13: for t being Term of S,X holds P[t] from MSATERM:sch 1(A4,A6);
    t is Term of S,X by A1,Th42;
    then consider tt being Term of S,Y, q being Term of S,X such that
A14: tt = F.t & q = t & the_sort_of tt = the_sort_of q by A13;
    reconsider Ft = F.t as Element of TermAlg S by A14,MSATERM:13;
    take Ft, F;
    thus thesis by A2,A3;
  end;
  uniqueness
  proof
    let t1,t2 being Element of TermAlg S;
ngManySortedSet of S-Terms X such that
A15: t1 = F1.t and
A16: (for s being SortSymbol of S, x being Element of X.s holds
    F1.root-A168:          ilenf+ by TARSKIdef;
A17: for o being OperSymbol of S, p being ArgumentSeq of Sym(o,X) holds
    F1.(Sym f9=/i def6
    given F2 being ManySortedSet of S-Terms X such that
 t2=F2. 
A19: (for s being SortSymbol of S, x being Element of A171           >  by A168,NAT_1:13;
                [,] inIndices Aa yA133,A148,164ZFMISC_187java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
A20: for o being OperSymbol of S, p being ArgumentSeq of Sym(o,X) holds
    F2.(Sym(o,X)-tree p) =           end
       fromTermDefUniq(16,17A19A)java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
    hence thesis by A15,A18;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;          fmisses{}&<** one-o-nebyA14,FINSEQ_3:4

theorem Th55:
  for w being ManySortedFunction of X, (the carrier of S) --> NAT
  for F being ManySortedSet of S-Terms X st
  (for s being SortSymbol of S, x being Element of X.s holds
  F.root-tree [x,s] = root-tree [w.s.x,s]) &
  for o being OperSymbol of S, p being ArgumentSeq of Sym(o,X) holds
  F.(Sym(o,X)-tree p) = Sym(o,(the carrier of S)      proof
  holds
  for t being Element of Free(S,X) holds F.t = #(t,w)
  proof
    let w be ManySortedFunction of X, (the carrier of S) --> NAT;
    deffunc R(set,set) = root-tree [w.$2.$1,$2];
    deffunc F(OperSymbol of S,FinSequence)
    = Sym($1,(the carrier of S)-->NAT)-tree($2);
    let F be ManySortedSet of S-Terms X such that
A1: (for s being SortSymbol of S, x being Element of X.s holds
    F.root-tree [x,s] = R(x,s)) and
A2: for o being OperSymbol of S, p being ArgumentSeq of Sym(o          (j0(
    F.(Sym(o,X)-tree p) = F(o,F*p);
    let t be Element of Free(S,X);
    consider G being ManySortedSet of S-Terms X      end;
#t)=Gtand
A4: (for s being SortSymbol of S, x  thenconsider
.java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 35
A5: for o being OperSymbol of S, p being ArgumentSeq of Sym(o,X) holds
    G.(Sym(o,X)-tree p) = F(o,G*p) by Def15;
    F = G from TermDefUniq(A1,A2,A4,A5);
    hence F.t = #(t,w) by A3;
  end;

registration
  let S, X;
  let G be non-empty       consider be FinSequence of  such that
  letA180:forijstij IndicesA9ilenfj=( holdsA9(,j)=0.( 
  cluster -> Relation-like Function-like forA181: f isone-toone 
        len f< m)and
A182: len<n()
    let x be Element of G.s;
    G.s c= (the Sorts of Free(S,X)).s & x in G.s A184 forij stiin domf holds [f,,, byA179;
    hence thesis;
d
end;

:
  for w being A186: dom A9=Seg len by FINSEQ_1def3
  ex h being  ex h being  f;
  h is_homomorphism Free(S,X), TermAlg S5;
  for s       idseq Lis FinSequenceofNAT &len (dseq=LbyCARD_1def 7
  holds #(t,w) = h.s.t
  proof
    let w be ManySortedFunction of X, (the carrier of S) --> NAT;
A1: TermAlg S = Free(S, (the carrier of S)-->NAT) by MSAFREE3:31;
    reconsider G = FreeGen X as non-empty GeneratorSet of Free(S,X)
    by MSAFREE3:31;
    deffunc F(SortSymbol of S,Element of G.$1)
    = root-tree [w.$1.($2.{})`1, $1];
A2: for s being SortSymbol of S, x being Element of G.s holds
    F(s,x) in (the Sorts of TermAlg S).s
    proof
      let s be SortSymbol of S, x be Element of G.s;
      G.s = FreeGen(s,X) by MSAFREE:def 16;
      then consider y such that
A3:   y in X.s & x = root-tree [y,s] by MSAFREE:def 15;
      x .{} = [y,s] by A3,TREES_4:3;
      then reconsider x1 = (x .{})`1 as Element of X.s by A3;
A4:   w.s.x1 in ((the carrier of S)-->NAT).s;
      then reconsider t = F(s,x) as Term of S, (the carrier of S)-->NAT
      by MSATERM:4;
      t in FreeSort((the carrier of S)-->NAT, the_sort_of t) by MSATERM:def 5;
      then t in FreeSort((the carrier of S)-->NAT,s) by A4;
      hence thesis by MSAFREE:def 11;
    end;
    consider f being ManySortedFunction of G, the Sorts of TermAlg S such that
A5: for s being SortSymbol of S for x being Element of G.s holds f.s.x = F(s,x)
    from Sch2(A2);
    FreeGen X is free & FreeMSA X = Free(S, X) by MSAFREE3:31;
    then consider h being ManySortedFunction of Free(S,X), TermAlg S such that
A6: h is_homomorphism Free(S,X), TermAlg S & h||G = f;
    set t = the Element of Free(S, X);
    consider F being ManySortedSet of S-Terms X such that
A7: #(t,w) = F.t &
    (for s being SortSymbol of S, x being Element of X.s holds
    F.root-tree [x,s] = root-tree [w.s.x,s]) &
    for o being OperSymbol of S, p being       then reconsider idLidseqLF9 Elementof L-NAT by
    F.(Sym(o,X)-tree p) = Sym(o,      setSSegmidL;
    take h; thus h is_homomorphism Free(S,X), TermAlg S by A6;
    let A189 Indices =S LSeg ]byMATRIX_024
    efpred P[ecoratedTree means
    for s being SortSymbol of S
     letkbeNat;
A8: for s being SortSymbol of S, x being Element of X.s
    holds P[root-tree [x,s]]
    proof
      let s be SortSymbol of S, x be Element of X.s;
reconsider t=roottree[s] as Term of S, by MSATERM:4;
      let s1 be SortSymbol of S;
      assume root-tree [x,s] in (the Sorts of Free(S,X)).s1;
      then t in (the Sorts of FreeMSA X).s1 by MSAFREE3:31;
      then s = the_sort_of t & t in FreeSort(X, s1)
      by MSAFREE:def 11,MSATERM:14;
      then
A9:   s = s1 by MSATERM:def 5;
      FreeGensX byMSAFREEdef;
      then reconsider q = t as      then reconsider q 
      t is Element of FreeMSA X by MSATERM:13;
      then t is Element of Free(S,X) by MSAFREE3:31;
      hence #(root        letijsuchthat
      .= A193   i, Indices;
      =roottree[s[s`,sjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
      .= F(s,q) by TREES_4:3
      .= f.s.t by A5
      .= ((h.s)|(G.s)).q by A6,MSAFREE:def 1
      .= h.s1.(root-tree [x,s]) by A9,FUNCT_1:49;
    end;
A10: for o being OperSymbol of S, p being ArgumentSeq of Sym(o,X) st
    for t being Term of S,X st t in rng p holds P .(f.)java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 52
    holds P[[o,the carrier of S]-tree p]
    thenSisjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 68
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
,)suchthat
A11:   for t being TermA198 lenSegmA,LSegwidthA9=Seg byMATRIX_0 
      letsbe SortSymbol ofS;
      reconsider t = Sym(o,X)-tree p as Term of S,X;
      o carrierof]treepin( of (SX)sjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
      then t in (the Sorts of FreeMSA X).A200:A9>  A19776;
      thenA201::now
      then the_sort_of t = s & t.{} = Sym(o,X) by TREES_4: setw0 A9|>0K)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
      then
A12:A202:   iindom\(Seg L;
      FreeMSA X = Free(S,X) by MSAFREE3:31;
      then reconsider q = p as Element of Args(o,Free(S,X)) by INSTALG1:1;
pc domF
      proof
        let y be object; assume y in rng p;
        then consider x beingobject such that
A13:     x in dom p & y = p.x by FUNCT_1:def 3;
        reconsider x as Nat by A13;
        p.x is Term of S,X & dom F = 
       A13:22 ;
        hence thesis by A13;
      then
A14:   dom(F*p) =          then
      dom q = dom the_arity_of o by RELAT_1:27,MSUALG_3:6;
      now
        let          thus . =A9*ij by A207,MATRIX_0:def 7
A15:     x in dom p;
        then reconsider i = x as Nat;
        reconsider tend
 java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 48
        then reconsider u = t as Element of Free(S,X) by MSAFREE3:31;
        reconsider s = (the_arity_of o)/.i as SortSymbol of S;
A16:     t in rng p by A15,FUNCT_1:def 3;
        the_sort_of t = s by A15,MSATERM:23;
        then t in FreeSort(X,s) by MSATERM:def 5;
        then t in (the Sorts of FreeMSA X).s by MSAFREE:def 11;
        then
A17:     t in (the Sorts of Free(S,X)).s by MSAFREE3:31;
        thus (F*p).x = F.t by A15,FUNCT_1:13
        .=#(w A7,h55
        .= h.s.u by A11,A16,A17
        .= (h#q).x by A15,MSUALG_3:def 6;
       
 # java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
      t is Element of FreeMSA X by MSATERM:13;
      then t is Element of Free(S,X) by MSAFREE3:31;
      hence #([o, the carrier of S]-tree p, w) = F.t by Th55,A7
      .= Sym(o,(the carrier of       java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
.oFreeS( carrierof)-NAT)(#q by A18A1,h13
      .= h.s.(Den(o,Free(S,X)).q) by A1,A6,A12
      .= h.s.([o, the carrier of S]-tree p) by Th13;
    end;
A19: for t being Term of S,X holds P[t] from MSATERM:sch 1(A8,A10);
    t is Element of (the Sorts of Free(S,X)).s;
    then t is Element of FreeMSA X by MSAFREE3:31;
    then t is Term of S,X by MSATERM:13;
    #tw  .stby ;
  end;

A217    of len   &fis
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 65
  for s being SortSymbol of S, x being Element of X.s
  holds #(root-tree [x,s], w) = root-tree [w.s.x, s]
  proof
    let w be ManySortedFunction of X, (the carrier of SA220:rngf c=Seg width A9and
    let s be SortSymbol A221  i,jsti in fholds[f,,j, by A217java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    reconsider t = root-tree [x,s] as Term of S,X by MSATERM:4;
    deffunc R(set,set) = root-tree [w.$2.$1,$2];
    deffunc F(OperSymbol of S,FinSequence)
    = Sym($1,(the carrier of S)-->NAT)-A222: n(=0 or)0java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
STermsX=Unionthe  of FreeMSA X MSATERM:13
    then t is Element of Free(S,X) by MSAFREE3:31;
    then consider G being ManySortedSet of S-Terms X such that
A1: #(t,w) = G.t and
A2: (for s being SortSymbol of S, x being Element of X.s holds
    G.root-tree [x,s] = R(x,s)) and
java.lang.StringIndexOutOfBoundsException: Range [15, 4) out of bounds for length 70
    G.(Sym(o,X)-tree p) = F(o,G   rngfc= =the_rank_of A9 by A215A220
    thus #(root-tree [x,s],  domfrngfare_equipotentbyA219Wdef4java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
  end;

theorem Th58:
  for w being ManySortedFunction of X, (the carrier of S) --> NAT
  for o being OperSymbol of S, p being ArgumentSeq of Sym(o,X)
  for q being FinSequence st dom q = dom p &
  for i being Nat, t being Element of    assume 
   . (tjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
Sym,Xtreep ) o(thecarrierofS->)treeq
  proof
    let w be ManySortedFunction of X, (the carrier of S) --> NAT;
    let o be OperSymbol of S, p be ArgumentSeq of Sym(o,  then
    let q be FinSequence such that
A1: dom q = dom p and
A2: for i being Nat, t being Element of Free(S,X) st i in dom p & t = p.i
    holds q.i = #(t,w);
    reconsider t = Sym(o,X)-tree p as Term of S,X;
    deffunc R(set,set) = root-tree [w.$2.$1,$2];
    deffunc F(OperSymbol of S,FinSequence)
=Sym(,(theof S)-NAT-(2;
A3: S-Terms X = Union the Sorts of FreeMSA X by MSATERM:13;
   tisElement Free(X MSAFREE3:1;
    then consider G being ManySortedSet of S-Terms X such that
A4: #(t,w) = G.t and
A5: (for s being SortSymbol of S, x being Element of X.s holds
    G.root-tree [x    let ij be Nat  that
:o beingOperSymbolofS being  SymoX 
    G.(Sym(o,X)-tree p) = F(o,G*p) by java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 20
    rng p c= dom G
    proof
      let y be object; assume y in rng p;
      then consider x being object such that
:indomp&y=p.by FUNCT_1:3java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
      reconsider x as Nat by A7;
      y is Term of S, X by A7,MSATERM:22;
       y in S-Terms X;
      hence thesis by PARTFUN1:def 2;
    end;
    then
A8: dom (G*p) = dom p by RELAT_1:27;
now
      let x be object; assume
A9,,Ajava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
thenreconsider   xasNat
      reconsider t = p.i as Term of S,X java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 10
      reconsider t as Element of Free(S,X) by A3,MSAFREE3:31;
      thus q.x =A236:jinSegwidth A9and
      .= (G*pA237: j<rngfi
    end;
    then q = G*p by A1,A8;
ce#Sym(,)-ree p,w  Sym(o(the carrier ofS->)treejava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
    by A4,A6;
  end;

  java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 77
  for Y being ManySortedSubset of X
  holds Free(S,Y) is MSSubAlgebra of Free(S,X)
 
    let Y be ManySortedSubset of X;
    thus
A1: the Sorts of Free(S,Y) c= the Sorts of Free(S,X)
    proof
      let x object 
xinthe carrierof S;
then reconsider s =xasSortSymbolofS
       zjava.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 29
A2A2: beMatrixof(,()K),B9beMatrixofn)m9),)stPjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
 reconsider t  z as Elementof (heSortsofFreeSY)x
A3:   t in S-Terms(Y,Y(\/)((the carrier of S)-->{0})).s by1_( ) holds P[(A9,i,ineA9,)+a*ineA9j)F(9i,j,)
      thenjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      by MSAFREE3:16;
A4A3:forA9 be Matrix of n(),m(),K(), B9 be Matrix of n(),m9(),K() st P[A9,B9
A5:   Y c= X by PBOOLE:def 18;
      Y(\/)((the carrier of S)-->{0}) c= X(\/)((the carrier of S)-->{0})
      by PBOOLE:18,def 18;
      then  t2  t1 Termofjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 75
      by MSATERM:26;
       t2=Svariables_int2by :defjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
      .variables_int1b :ef4;
      then variables_in t2 c= X & the_sort_of t2 = the_sort_of t1
      by A4,A5A4  =java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
      then t2 in {t3 where t3 is Term of S,X(\/)((the carrier of S)-->{0}):
      the_sort_of t3 = s & variables_in t3 c= X} by A4;
      t2inSTerms(X\)(carrierofS->).java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
         def5;
      j java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    end;
    let B be MSSubset of Free(S,X); assume
A6: B = the Sorts of Free(S,Y);
    consider A1 being MSSubset of FreeMSA(Y (\/) ((the carrier of S) --> {0}))
    such that
A7: Free(S,Y) = GenMSAlg A1 &
    A1 = (Reverse (Y (\/)((the carrier of S) --> {0})))""Y by MSAFREE3:def  <=1 holds A9*i,gm N.)=_) ) PA9B9 & Segm(A9Seg card N)is
    thus
A8: B is opers_closed
    proof
      let o be OperSymbol of S;
      let z be object;
      assume z in rng ((Den(o,Free(S,X)))|((B# * the Arity of S).o ));
then  java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 44
A9:   a in dom ((Den(o,Free(S,X)))|((B# * the Arity of S).o )) &
      z = ((Den(o,Free(S,X)))|((B# * the Arity of S)sti dom  i > NholdsLine(9i  ( |0K)  i
A10:   a in dom (Den(o,Free(S,X))) /\ ((B# * the Arity of S).o )
byA9,:61;
      then
A11:   a in dom (Den(o,Free(S,X))) & a in (B# * the Arity of S).o
      by XBOOLE_0:def 4;
      reconsider a as Element of Args(o,Free(S,X)) by A10;
A12:   (B# * the Arity of S).o = (B# ).the_arity_of o by FUNCT_2:15;
A13:   (B# ).the_arity_of o = product (B*the_arity_of o) by FINSEQ_2
A14
:   Args(o,Free(S,X)) = product ((the Sorts of Free(S,X))*(the_arity_of o)) &
      dom ((the Sorts of    then consider
        Matrixofn)m(,K(, beMatrix of n()m9(,()such
      dom ((the java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 8
      by PRALG_2:3;
      then
A15:   dom a = dom the_arity_of o by PARTFUN1:def 2;
      z = Den(o,Free(S,X)).a by A9,A11,FUNCT_1:49;
      then
A16:   z = Sym(o,X)-tree a by Th13;
A17:   for x being object
         st x in dom ((the Sorts of Free(S,Y))*(the_arity_of o))
      holds .x in ((the Sorts FreeS,Y))*(the_arity_of o)).x
        by A11,A12,A13,A6,CARD_3:9;
      then
A18:   a in Args(o,Free(S,Y)) by A14,A15,CARD_3:9;
A19:   Deno,reeS,Y).a  [,the carrier of S]-treea
      by A17,A14,A15,CARD_3:9    set ,1)
      thus z in    set LLL(A1*(n1,/n1)-1K())L;
    et=(A1,);
    end;
    now
       obe  ofS;
      A18:len =()by :def2;
          set SA=SegmA1  ,;
      by A7,SUALG_2:def 9;
A20:   A2 is_closed_on o by A7,MSUALG_2:def 6,def 9;
      Free(S,Z) = FreeMSA Z by MSAFREE3:31;
      then
A21:       then
domDen(FreeS)) =ArgsoFreeSZ)
      by A7,FUNCT_2:def 1,MSAFREE3:37;
      then
A22:   dom (Den(o,Free(S,Z))| Args(A22:   dom (Den(o,Free(S,Z))| Args(o
       :2java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
A23:   java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
 
        let x be A24: (A1*(n1,Sgm N/.n1)-1_()>1K(
A24:     x in product ((the Sorts of Free(S,Y))*the_arity_of o) &
        dom ((the Sorts of Free(S,Y))*the_arity_of A25  A1n,/n1)-1K=1.()
       dom ( Sorts  Free(,)) o   the_arity_of java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
3java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  fbeing  such that
 x =f&dom  =dom o java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
for y being object st y in dom the_arity_of o
        holds f.y in ((the Sorts of Free(S,Y))*the_arity_of o).y
yCARD_3:def 5;
        now
          let y be object; assume
       indom java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
          f. in ( SortsofFree(,Y)* )y&
          (the_arity_of o).y in the carrier of S by A25,A26,FUNCT_1:102;
          then f.y in (the Sorts of Free(S,Y)).((the_arity_of o).y) &
          (the Sorts of Free(S,Y)).((the_arity_of o).y) c=
          (the Sorts of Free(S,X)).((the_arity_of o).y)
          by A1,A26,FUNCT_1:13;
          then f.y in (the Sorts of Free(S,X)).((the_arity_of o).y);
          hence f.y in ((the Sorts of Free(S,X))*the_arity_of o).y
          by A26,FUNCT_1:A32 forst i  cardN&i=holds*iSN.)=1K)
        end;
        then x in product ((the Sorts of Free(S,X)    proof
        by A25,A24,CARD_3:def 5;
        hence x in Args(o,Free(S,X)) by PRALG_2:3;
      end;
      dom(Den(o,Free(S,X))) = Args(o,Free(S,X))
      by FUNCT_2:def 1;
      then
: (FreeX) java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 68
      java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A28:   now let x be object; assume
A29:     x in Args(o,Free(S,Y));
                  .1K) A33A37java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A30:    x in product ((the Sorts of Free(S,Y))*the_arity_of o) by PRALG_2:3;
        reconsider p = x as Element of
        product ((the Sorts of Free(S,Y))*the_arity_of o) by A29,PRALG_2:3;
        dom p = dom ((the Sorts of Free(S,Y))*the_arity_of o) &
        rng  o c=thecarrierof S &
        dom the Sorts of Free(S,Y) = the carrier of S
         A30CARD_39PARTFUN1def2;
        then dom p = dom the_arity_of o by RELAT_1:27;
        then dom p = Seg len the_arity_of o by FINSEQ_1:def 3;
        then reconsider p = x as FinSequence by FINSEQ_1:def 2;
A31:     (Den(o,Free(S,X))| Args(o,Free(S,Y))).x = Den(o,Free(S,X)).x
        by A29,FUNCT_1:49
o;
        thusjava.lang.StringIndexOutOfBoundsException: Range [45, 41) out of bounds for length 63
        = =(*.1)*SAj)byA41A47,,MATRIX13:ef1
        .= (Den(o,Free(S,X))| Args(o,Free(S,Y))).x by A21,A29,A31,Th13;
      end;
      thus (the Charact of Free(S,Y)).o
      = In1
      .= o/.A2 by 
      .= Den(o,FreeMSA Z)| ((A2# * the Arity of Send
      .= Den(o,Free(S,Z))| ((A2# * the Arity of S).o) java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 9
      .= (Den(o,Free(S,X))) | ((B# * the Arity of S).o)
      by A6,A28,A27,java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 16
      .= o/.B by
    end;
    hence the Charact java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 13
        i>

theorem Th60:
  for w being ManySortedFunction of X, (the carrier of S)-->NAT
  for t being Term of S,X
  holds #(t,w) is Element of Free(S, rngs w), the_sort_of t &
  #(t,w) is Element of TermAlg S, the_sort_of t
  proof
    let    let tis that
    let t be Term of S,X;
    defpred P[DecoratedTree] means ex t being Term of S,X st
    $1 = t & #(t,w) is Element of Free(S, rngs w), the_sort_of t;
A1: for s being SortSymbol of S, x being Element of X.s
    holds P[root-tree [x,s]]
    proof
       SortSymbol, beofXs
      reconsider t = root-tree [x,s] as Term of SA57 [,j inbyA5A20A29A18A27A23A54A55ZFMISC_1;
      take t; thus root-tree [x,s] = t;
      sup
      then t is Elementjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 55
      then consider F being ManySortedSet  oristiinSegcard&< java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 64
A2:   #(t,w) = F.t &
      (for s being SortSymbol of S,A59  = A and
Froottree[,  treewsx,) &
      for o being OperSymbol of S, p being ArgumentSeq ASegcardNisand
      F.(Sym(o,X)-tree p) = Sym(o,(the  (foristidomA&i > holdsLineAi  ( -0K)&
A3:   #(t,w) = root-tree [w.s.x,s] by A2;
      dom w = the carrier of S by PARTFUN1:def 2;
      then rng (w.s)thusN  m)    A&r=cardN&PABbyA4A5,A61
      then
A4:   w.s.x in (rngs w).s by FUNCT_2:4;
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 71
      java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 65
      inFreeSort( w,the_sort_oft)byMSATERMdef5java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
 t java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 79
      hence thesis by MSAFREE3:31;
      thus thesis;
    end
A5: for o being       =A( .)  FINSEQ_3java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
    for t being Term of S,X st t in rng    now
    holds P[[o,the carrier of S]-tree p]
    proof
      let o be OperSymbol of S, p be ArgumentSeq of Sym(o,X) such that
A6:   for t being Term of S,X st t in rng p holds P[t];
      take tt = Sym(o,X)-tree p;
      thus tt = [o,the carrier of S]-tree p;
      S-Terms X = Union the Sorts of FreeMSA X by MSATERM
      then tt is Element of Free(S,X) by MSAFREE3:31;
      then consider F being ManySortedSet of S-Terms X such that
A7:   #(tt,w) = F.tt &
 of Xs 
      F.root-tree [x,s] = root-tree [w.s.x,s]) &
      for o being OperSymbol of S, p being ArgumentSeq of Sym(A1: lenA  B
      Fjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
A8:   #(tt,w) = Sym(o,(the carrier of S)-->NAT)-tree(F*p)     let jsuchthat
A9:   Args(o,Free(S,rngs w))
      = product ((the Sorts of Free(S,rngs w))*the_arity_of o) &
      dom((the Sorts of Free(S,java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 23
      by PRALG_2:3A7  A1=java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
      p is Element of Args(A8 Solutions_ofA,)=Solutions_of(RAF(B1i,,a)by A5,,java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
      then p is Element of Args(o,Free(S,X)) &
      java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 23
      by PRALG_2 cases
      then
A10:   p in product ((the Sorts of Free(S,X))*the_arity_of o) &
      dom((the       A4
      by PRALG_2:3;
      then
A11:   dom p = dom the_arity_of o by CARD_3:9;
A12:   dom F = S-Terms X by PARTFUN1:def 2
      .= Union the Sorts of FreeMSA X by MSATERM:13
      .= Union the Sorts of Free(S,X) by MSAFREE3:31;
A13:   rng p c= Union the Sorts of      java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 66
      proof let y be object; assume y in rng p;
        then consider x being object such that
A14:     x in dom p & y = p.x by FUNCT_1:def 3;
        y in ((the Sorts of Free(S,X))*the_arity_of       java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 28
        then y in (the Sorts of Free(S,X)).((the_arity_of o).x) &
t )xinjava.lang.StringIndexOutOfBoundsException: Range [44, 41) out of bounds for length 48
   theofSX)= java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 53
        by A14, [,] &SegmA1SegcardN
by2;
      end;
       per;
A15:   dom (F*p) = dom p by A12,RELAT_1:27
      .= dom the_arity_of o by A10,CARD_3:9;
now
        let y be object; assume
A17     yin  the_arity_of o
        then
A18:     p.  rng p A11,FUNCT_1def3
        p.y is Element of java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 9
        then reconsider t = p.y as Term
A19:     P[A21:  N<>{};
        reconsider i = y as Nat by A17;
        (the_arity_of o).i = the_sort_of t by A11,A17,MSATERM:23;
        then F.t in (the Sorts of Free(S,rngs w)).((the_arity_of o).i) by A19;
        then F.t in ((the Sorts of Free(S,rngs w))*the_arity_of o).i
        by A17,FUNCT_1:13;
        hence (F*p).y in ((the Sorts of Free(S,rngs w))*the_arity_of o).y
        by A11,A17,FUNCT_1:13;
      end;
      Den(o,Free(S,rngs w)).(F*p) = [o,the carrier of S]-tree (F*p)
      by A16,A9,A15,CARD_3:9,Th13;
      then [o,the carrier of S]-tree (F*p) in Result(o,Free(S,rngs w)) &
      dom the ResultSort of S = the carrier' of S
      by A16,A9,A15,CARD_3:9,FUNCT_2:5,def 1;
      then #(tt,w) in ((the Sorts of Free(S,rngs w)).the_result_sort_of o) &
      tt.{} = Sym(o,X) by A8,FUNCT_1:13,TREES_4:def 4;
      hence thesis by MSATERM:17;
    end;
    for t being Term of S,X holds P[t] from MSATERM:sch 1(A1,A5);
    then P[t];
    hence #(t,w) is Element of Free(S, rngs w), the_sort_of t;
    then
A20: #(t,w) in (the Sorts of Free(S, rngs w)).the_sort_of t;
    X is_transformable_to (the carrier of S)-->NAT by Th21;
    then rngs w is ManySortedSubset of (the carrier of S)-->NAT
    by PBOOLE:def 18,MSSUBFAM:17;
    then Free(S, rngs w) is MSSubAlgebra of Free(S, (the carrier of S)-->NAT)
    by Th59;
    then the Sorts of Free(S, rngs w) is MSSubset of
    Free(S, (the carrier of S)-->NAT) by MSUALG_2:def 9;
    then the Sorts of Free(S, rngs w) is MSSubset of TermAlg S by MSAFREE3:31;
     theSortsofFreeS,rngsw)c
    (the Sorts of TermAlg S).the_sort_of t by 
    hence thesis by A20;
  end;

theorem
now
  for F        letisuchthat
    iSS
  F.root-tree inot iin SNbyA29,XBOOLE_0:def5;
  being ,pbeingArgumentSeqofSymoX holds
   .Sym(o,X)tree p =o,the carrierofS)-reeFp)
  for o being OperSymbol of S, p        i inL A29,BOOLE_0def5;
  F*p in Args(o, Free(S, rngs w)) &
  F*p in Args(o, Free(S, (the carrier of S)-->NAT))
  proof
    let w be ManySortedFunction of X, (thethen
A31:  Segcard   Seg Lby FINSEQ_15;
    deffunc A32: B1= A20,ATRIX_023;
    = Sym($1,(the A33:  Seg len B1=dom B1B1=wB byA20,INSEQ_1def ,:;
    let F be ManySortedSet of S-Terms X such that      thus the_rank_of A=the_rank_ofA^B)iSolutions_ofA,B non
A1:   empty
    F.root-tree [x,s] = R(x,      proof
A2: for o being        the_rank_of A   A^B;
    F.(Sym(o,X)-tree p) = F(o,F*p);
    let o be OperSymbol of S, p be ArgumentSeq of Sym(o,X);
    rng p c= dom F
    proof
      let y be object; assume y in rng p;
consider objectsuchthat
A3:   x in dom p & y = p.x by FUNCT_1:def        SegmSegmjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
      reconsider x as Nat by A3;
      y is Term of S, X by A3,MSATERM:22        Segm(1,SNSeg,23,25Th50,RELAT_1132;
      then y in S-Terms X;
      hence thesis by PARTFUN1:def 2;
    end;
    then
A4: dom (F*p) = dom p by RELAT_1:27;
A5: dom p = dom 
A6: S-Terms X = Union the Sorts of FreeMSA X by MSATERM:13
    .= Union the Sorts of Free(S,X) by MSAFREE3:31;
    X is_transformable_to (the carrier of S)-->NAT by Th21;
    then rngs w is ManySortedSubset of (the carrier of S)-->NAT
    by PBOOLEdef18,17
    then
A7: Free(S, rngs w) is MSSubAlgebra of Free(S, (the carrier of S)- set ABA1^B1;
byTh59
    now
      let i be Nat;
      assume
A8:   i in dom p;
      then reconsider t = p.i as Term of S,X by MSATERM:22;
java.lang.StringIndexOutOfBoundsException: Range [28, 7) out of bounds for length 36
thenreconsidertt=.as Elementof(Sortsof Free(,w)
      the_sort_of t by Th60;
A9:   the Sorts of Free(S, rngs w) is MSSubset of
      Free(S, (the carrier of S)-->NAT) by A7,MSUALG_2            .widthAB-0KbyA26A,A40,A41A42A,123
      reconsider tt as Term of S, rngs w by Th42;
      take tt; thus tt = (F*p).i by A8,FUNCT_1:13;
      (the        then the_rank_of =SN M:java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
      Free(S, (the carrier of S)-->NAT) width =idthAB byA40N11;
       Free(rngsw))the_sort_oft
      by A9,PBOOLE:def 2,def 18;
      then tt in (the Sorts of FreeMSA(rngs w)).the_sort_of t
      by MSAFREE3:31;
      then tt in FreeSort(rngs w,the_sort_of t)
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      hence the_sort_of tt = java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
.o.  MSATERM;
    end;
    then F*p is ArgumentSeq of Sym(o, rngs w)
    by A4,A5,MSATERM:24;
    then F*p is Element of Args(o, FreeMSA(rngs w))
    by INSTALG1:1;
    then F*p is Element of Args(o, Free(S, rngs w))
byMSAFREE3:31;
    then F*p in Args(o, Free(S,rngs       lenA1= by A20MATRIX_023
    Args(o, Free(S, (the carrier of      thenZERO=by A50A46;
    hence thesis;
  end;

theorem Th62:
tionof (thecarrier ofS--NAT X
  ex h being ManySortedFunction of TermAlg S, A st
  h is_homomorphism TermAlg S, A &
  for s being SortSymbol of S, i being Nat holds
  h.s.root-tree [i,s] = root-tree [w.s.i, s]
  proof
    set Y = (the carrier of S)-->NAT;
    let w be ManySortedFunction of Y, X;
    deffunc F(set,Function) = root-tree [w.$1.($2.{})`1, $1];
    consider ww being ManySortedFunction of the carrier of S such that
A1: for x st x in the carrier of S holds dom(ww.x) = (FreeGen Y).x &
    for y being Element of (FreeGen Y).x holds ww.x .y = F(x,y) from Sch1;
A2: ww is ManySortedFunction of FreeGen Y, FreeGen X
    proof
      let x be object; assume x in A57:    B=0.(K,L,wB) by A1,MATRIX13:95
thenreconsiders = asSortSymbolof S
A3:   dom(ww.s) = (FreeGen Y).s by A1;
A4:   (FreeGen X).s = FreeGen(s,X) & (FreeGen Y).s = FreeGen(s,Y)
      by MSAFREE:def 16;
      rng(ww.java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      proof
        let  +   (^B9 byjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
consider zbeing objectsuchthat
A5:     z in dom(ww.s) & y = ww.s.z by FUNCT_1:def 3 thus (AB nonemptyimpliesthe_rank_ofAthe_rank_of(A
        reconsider z as Element of (FreeGen Y).proof
        consider v being set such that
A6:     v in Y.s & z = root-tree [v,s] by A4,MSAFREE:def 15;
A7:     y = F(s,z) by A1,A5;
        z.{} = [v,s] by A6,TREES_4:3;
        then (z.{})`1 = v;
        then w.s.(z.{})`1 in X.s by A6,FUNCT_2:5;
        byA4,A7,SAFREE:def15
      end;
      hence thesis by A3,FUNCT_2:2;
    end;
    reconsider G = FreeGen Y as GeneratorSet of TermAlg S;
    FreeGen X is MSSubset of A by Def7;
    then reconsider ww as ManySortedFunction of G, the Sorts of A by A2,Th22;
    considerh being ManySortedFunctionof TermAlg S such that
A8: h is_homomorphism TermAlg S, A & ww = h||G by MSAFREE:def 5;
    take h; thus h is_homomorphism TermAlg S, A by A8;
   sbe of S, beNat;
A9: ww.s = (h.s)|(G            . Line(A9,i). A70,71FINSEQ_1def7
    i in NAT & NAT = Y.s by ORDINAL1:def 12 .= A9*(ij  A71MATRIX_0def7
    then root-tree [i,s] in FreeGen(s,Y) & FreeGen(s,Y) = G.s
    by MSAFREE:def 15,def 16;
    then java.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 68
    thus h.s.root-tree [i,s] = ww.s.z by A9,FUNCT_1:49
    .= F(s,z) by A1 .= root-tree [w.s.[i,s]`1, s] by TREES_4:3
. java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 28
  end;

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
forbeing ManySortedFunction ofX thecarrier of S)--NAT
exhbeing ManySortedFunction fFreeGenX,theSortsofTermAlgSst
  for s being SortSymbol of S, i  hence  byA63;
hs.oot-ree[is]=root-ree [.i,s
  proof
    set Y = (the carrier of S)-->NAT;
    let
    deffunc F(set,Function) = root-tree
    consider ww being ManySortedFunction of the carrier of S such that
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    for y being Element of (  let bejava.lang.StringIndexOutOfBoundsException: Range [23, 17) out of bounds for length 23
A2: ww is ManySortedFunction of FreeGen X, FreeGen  funcAb > equals
proof
      let x be java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5
      then reconsiderend;
A3:   dom(ww.s) = (FreeGen X).s by A1;
A4:   (FreeGen X).s = FreeGen(s,X) & (FreeGen Y).s = FreeGen(s,Y)
      by MSAFREE:def 16;
      rng(ww.s) c= (FreeGen Y).s
      proof
        let y be object; assume y in rng(ww.s);
        then consider z being object such that
A5:     z in dom(ww.s) & y = ww.s.z by FUNCT_1:def 3;
        reconsider z as Element of (FreeGen X).s by A1,A5;
        consider v being set such that
A6:     v in X.s & z = root-tree [v,s] by A4,MSAFREE:def 15;
A7:     y = F(s,z) by A1,A5;
        z.{} = [v,s] by A6,TREES_4:3;
        then (z.{})`1 = v;
        then w.s.(z.{})`1 in Y.s by A6,FUNCT_2:5;
        hence thesis by A4,A7,MSAFREE:def 15;
      end;
      hence thesis by A3,A7 lenA ColVec2Mxb ,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    end;
    set A = the all_vars_including inheriting_operations free_in_itself
    (X,S)-terms MSAlgebra over S;
    reconsider G = FreeGen X  end
    reconsider
    the Sorts of TermAlg S by A2,Th22;
    take ww;
    let s be SortSymbol of S, i be Element of X.s;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    by MSAFREE:def 15,def 16;
    then reconsider z = root-tree [i,s] A1 exgstColVec2Mx f =ColVec2Mx g & len g = width A by Th58;
    thus ww.s.root-tree [i,s]
    = F(s,z) by A1 .= root-tree [w.s.[i,s]`hencebyA1java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 36
    .= root-tree [w.s.i, s];
  end;

begin :: Free algebras

java.lang.StringIndexOutOfBoundsException: Range [48, 7) out of bounds for length 54
reserve A0 for all_vars_including inheriting_operations free_in_itself
  (X0,S)-terms MSAlgebra over S;

theorem
forbeingManySortedFunction TermAlgS,A0st
  h is_homomorphism TermAlg S, A0
  for w being ManySortedFunction of X0, (the carrier of S)-->NAT st w is "1-1"
  ex Y being non-empty ManySortedSubset of (the carrier of S)-->NAT,
  B being MSSubset of TermAlg S,
  ww       len fwAbyA2Tjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  g being ManySortedFunction of A0,A0 st
Y=rngsw&B  of Free(Y
  ww is_homomorphism Free(S,Y), A0 & g is_homomorphism A0FINSEQ_2:2MATRIX13:;
  for s being SortSymbol of S, i being Nat st i in Y.s
  ex x being Element of X0.s st w.s.x = i    
  ww.s.root-tree [i,s] = root-tree [x, s]
  proof set A = A0;
    let h be ManySortedFunction of TermAlg S, A such that
A1: h is_homomorphism TermAlg S, A;
    let v be ManySortedFunction of X0, (the carrier of S)-->NAT such that
A2: v is "1-1";
    set Z = (the carrier of S)-->NAT;
    deffuncjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 19
    consider w being ManySortedSet of S such that
A3: for s being SortSymbol of S holds w.s = F(s) from PBOOLE:sch 5;
    w is Function-yielding
    proof
      let x be object; assume x in dom w;
      then w.x = F(x) by A3;
      hence thesis;
    end;
    then reconsider w as ManySortedFunction of the carrier of S;
    w is ManySortedFunction of Z,X0
    proof
      let x be object; assume x in the carrier of S;
      then reconsider s = x as SortSymbol of S;
      dom v = the carrier of S by  now
A4:   w.x = F(s) & v.s is one-to-one & Z.s = NAT & rng(v.s) c= Z.s
      by A2,A3;
then
A5:;
      hence(k1=.Kk1;
      .= NAT\/rng(v.s) by A4,FUNCT_1:33 .= NAT by XBOOLE_1:12;
      rng (w.s) c= X0.s
      proof
        let x be object; assume x in rng (w.s);
        then consider y being object such that
:y indom (.  x=w.y by FUNCT_1def3
        y in dom ((v.s)") or
        y nin dom((v.s)"
);
        then x = ((v.s)")(K,,1 byA5,,MATRIX_5:24;
        x = (NAT-->the Element of X0.s).y
        by A4,A7,FUNCT_4:11,13,PARTFUN1:def 2;
        then x = (v.s)"
.y & y in dom      then *ColVec2MxSolutions_of(A,0.Kk,1)by A1,A4Th35
        x = the Element of X0.s
        by A2,A5,A7,FUNCOP_1:7;
(."  (v."  dom (v.s   vs)c .s
        or x in X0.s by FUNCT_1:33,FUNCT_1:def    end;
            now

      hence thesis by A5,FUNCT_2:2;
    end;
    then reconsider w as ManySortedFunction of Z,X0;
    consider ww being ManySortedFunction A10:  ColVec2Mx f in Solutions_of(A,ColVec2)by java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
A8  S,A 
fors  ofS, being holds
    ww.s.reconsider,  ( -java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 77
A9: dom v = the carrier of S by PARTFUN1:def 2;
    rngs v c= Z
    
      let s be object; assume
      s in the carrier of S;
      then (rngs v).s = rng (v.s) by A9,FUNCT_6:22;
            then +g in S by A1;
    end;
    then reconsider Y = rngs v as non-empty ManySortedSubset of Z
    by PBOOLE:def 18;
    take Y;
A10: Free(S,Z) = TermAlg S by MSAFREE3:31;
A11: Free(S,Y) is MSSubAlgebra of Free(S,Z
    then reconsider B = the
    by A10,MSUALG_2:def 9;
    take B;
    reconsider wB = ww||B as ManySortedFunction of Free(S,Y),A;
    take wB;
    reconsider G = FreeGen X0 as GeneratorSet of A by Th45;
    consider vv being ManySortedFunction of G, the Sorts of TermAlg S such that
A12: for s being   consider x beingobject suchthat
    vv.s.root-java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
   g being ManySortedFunctionof A,A suchthat
A13: g is_homomorphism A,   Xsuchthat
    take  Xand
    thus Y =A5:len X = width A and
    Free(S,Y)  widthX  width   and
    A6   X  bby java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
thus  is_homomorphism Free(,) A&g s_homomorphism A,A
    by A13,A8,A10,A11,EQUATION:22; then
A14: g**wB is_homomorphism Free(S,Y),A by MSUALG_3:10;
    reconsider H = FreeGen Y as GeneratorSet of Free(S,Y) by MSAFREE3:31;
    reconsider hB = h||B as ManySortedFunction of Free(S,Y),A;
A15: now
      let x be object; assume x in the carrier of S;
      then reconsider s = x as SortSymbol of S;
A16:   dom ((hB||H).s) = H.s & dom (((g**wB)||H).s) = H.s by FUNCT_2:def 1;
      now let y be object; assume
A17:     y in H.s; then y theorem Th61:
        then consider such that
A18:     z in Y.s & y = root-tree [z,s] by MSAFREE:def 15;
A19:     H.s c= B.s & Y.s c= Z.s by PBOOLE:java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 32
        then
n X0.by A18,FUNCT_25;
        wB.s = (ww.s)|(B.s) & z in Z.s by A18,A19,MSAFREE:def 1;
        then
A21:     wB.s.y = ww.s.y & z in NAT by A17,A19,FUNCT_1:49;
        then wB.s.y = root-tree[w.s.z,s] by A8,A18;
        A3:{} in Solutions_ofA9,olVec2MxL) byTARSKI:def 1;
        then
A22:     wB.s.yA4: {}=ColVec2Mx f and
        z in Z.s by A18,A19; java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 28
        zhencethesis;
A23:     vv.s.(ww.s.y) = vv.s.root-tree [w.s  end;
        .= root-tree [v.s  suppose
        .= root-tree [v.s.(((NATA5: width A > 0;
        by A3;
        dom v = the carrier of S by PARTFUN1:def 2;
        then
A24:     v.s is one-to-one & rng(v.s) = Y.s
        A2FUNCT_6:22java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A25:     z in dom ((v.s)") by A18,A24,FUNCT_1:33;
A26:     vv.s.(ww.s.y) = root-tree [v.s.((((v.s)"
 x=ColVec2Mxf and
A23A25,:
        .= y by A18,A24,FUNCT_1:35;
A27:     rngs vv c= B
        proof
          let x be object; assume x in the carrier of S;
thenreconsider  = xas SortSymbolof S;
          let   let K;
A28:       y in (rngs vv).x;
          dom vv = the carrier of S by PARTFUN1:def 2;
          then y in rng (vv.s) by   let A 
         consider z beingobjectsuchthat
A29:       z in dom(vv.  func Space_of_Solutions_ofA > Subspace (width-K

          then consider a being set such that
A30:       a in X0.s & z = root-tree[a,s] by A29,MSAFREE:def 15;
          v.s.a in rng (v.s) & dom v = the carrier of S
          by A30,FUNCT_2:4,PARTFUN1:def 2;
          then v.s.a in Y.s & y = root-tree[v.s.a, s] by A29,A30,A12
,FUNCT_6:22;
          then y in FreeGen(s,Y) by MSAFREE:def 15;
          then y in H.s & H.s c= B.s by MSAFREE:def 16,PBOOLE:def 2,def 18;
         thesis;
        
:(*  t ofS/ of S
        by   set V(A)VectSp_overK;
:dom(*) =(carrierof /\hecarrier ofS
         d 2;
        (B||. y =(hB.byMSAFREE:ef 1
        .= hB.s.y  assume Solutions_of(,)is non java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
.()(vvjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
        .= ((hB**vv).s).(wB  set CfColVec2Mx fjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
        .= (g||G).s.(wB.s.y) by A13,A27,EXTENS_1:11
        .(.)(Gs)(s)by MSAFREE:def1
        .= g.s.(wB.s.y) by A22,FUNCT_1:49
        .= ((g.s)*(wB.s)).y by A19,A17,FUNCT_2:15
        .= ((g**wB).s).y by A32,PBOOLE:def 19
        .= (((g**wB).A4:len CBlenB  len A=len CB by A2,Th33,MATRIX_0:def java.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
.= (g*wB)|H)x . by MSAFREE:def 1
      end;
      hence (hB||H).x = ((g**wB)||H).x by A16;
    end;
     is_homomorphismFree(,Y, A by A1,11A10,EQUATION:;
hence|B=g* byA15,EXTENS_119PBOOLE:
    let s be SortSymbollen len(-_K*  java.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
A33: i in Y.s;
A34: dom v = the carrier of S by PARTFUN1:def 2;
    
A35: v.s is one-to-one by A2;
    then
A36: rng ((v.s)) =dom (v.)&dom(v.s) = X0s&rng(.)  . java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
    dom((v.s)") = rng (v.s) by A34,FUNCT_1:33,FUNCT_2A:ColVec2Mxgin A)
    then reconsider x = (v.s)"
.i as Element of X0.s by A33,FUNCT_1:def 3;
    take x; thus v.s.x = i by A33,A35,A36,FUNCT_1:35;
    root-tree [i,s] in FreeGen(s,Y) & java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 23
    by A33,PBOOLE:def 18,MSAFREE:def 15;
    thenwidthCBwidth(_)CB & -_)java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 76
A37: root-tree [i,s] in H.s & H.s c= B.s by MSAFREE:def 16;
    w.s = F(s) byA11 +-K*inSolutions_ofAColVec2Mx len A|0K)byA9,,java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    then x = w.s.i by A33,A36,FUNCT_4:13;
    then root-tree [x, s] = ww.s.root-tree [i,s] by     theng(1K)fin Solutions_ofA,enA|>0K byA11
    .= ((ww.s)|(B.s)).root-tree [i,s] by A37,FUNCT_1:49;
    hence wB.s.root-tree [i,s] = root-tree [x, s] by MSAFREE:def 1;
  end;

theorem Th65:
  for h being java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 25
  h is_homomorphism Free(S,X), A
  ex g being ManySortedFunction of A,A st
  g is_homomorphism A,A & h = g**canonical_homomorphism A
  proof set X0 = X;
    let h be ManySortedFunction of Free(S,X0), A such that
A1: h is_homomorphism Free(S,X0), A;
    set ww = canonical_homomorphism A;
    reconsider H = FreeGen X0 as GeneratorSet of Free(S,X0) by Th45;
    reconsider G = FreeGen X0 as GeneratorSet of A by Th45;
A2: now
      let s  hen
      B( |>.K=Bby
 bydef 16java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
      G c= the Sorts of A by PBOOLE:def 18;
      then H.s c= (the Sorts of A).s;
      hence ww.s.root-tree [i,s] = root-tree [i, s] by A3,    reconsideruUasof(idthA-the by
    end; then
A4: ww is_homomorphism Free(S,X0), A &
beings
wws.-[,]=root-ree [,s java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 53
    reconsider hG = h||H as ManySortedFunction of
    G qua ManySortedSet of S, the Sorts of A;
    consider g being ManySortedFunction of A,A such that
A5: g is_homomorphism A,A & g||G = hG by Def9;
takegjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    thus g is_homomorphism A,A by A5;
A6: g**ww is_homomorphism Free(S,X0),A by A4,A5,MSUALG_3:10;
    now
      let x be object; assume;
      then reconsider s = x as SortSymbol of S;
A7:   
      now let y be object; assume
y .;theny java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 60
        then consider z such that
A9:     A1:width A= java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 37
A10:     ww.s.y = root-treesetLlen A|>.;
        then ww.s.y in FreeGen(s,X0) by  the carrierof widthA)-Kc=Solutions_of(A,L)
        then
A11:     ww.s    xbe
A12:A3: x in the carrier of (widthA)VectSp_overK;
A13:     dom (g**ww) = (the     java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 77
        by PARTFUN1:def 2;
        thus (h||H).x .y
        = ((g.s)|(G.s)).(ww.s.y) by A9,A10,A5,MSAFREE:def 1
        .=A5   lenA0;
       . ((.*wws). y A8,A12FUNCT_215
        .= ((g**ww).s).y by A13,PBOOLE:def 19
        .= (((g**ww).s)|(H.s)).y by A8,FUNCT_1:49
        .= ((g**ww)||H).x .y by MSAFREE:def 1;
      end;
      hence (h||H).x = ((g**ww)||H).x by A7;
    end;
    hence h = g**ww by A1,A6,EXTENS_1:19,PBOOLE:3;


theorem Th66:
  for o being OperSymbol of S
  for x being Element of Args(o,A) holds
  for x0 being Element of Args(o,Free(S,X)) st x0 =
  (canonical_homomorphism A)#x0 = x
  proof:: set A = A0;
    let o be OperSymbol of S;
    let x be Element of Args(o,A);
    let x0 be Element of Args(o,Free(S,X));
    assume A1: x0 = x;
    set k = canonical_homomorphism A;
    now
      let n being Nat;
      assume
A2:   n in dom x0;
A3:   dom x = dom the_arity_of o by MSUALG_3:6; A10  lenx9width A  def7
A4      (AColVec2Mx L=theset ofall
      dom ((the Sorts of A)*the_arity_of o) = dom x by A3,PRALG_2:3; then
      x .n in ((the Sorts of A)*the_arity_of o).n by A1,A2,MSUALG_3:6; then
      x .n is Element of A, (the_arity_of o)/.n by A4,A2,A1,A3,FUNCT_1:13;
hence xn=k((the_arity_of o)/.)(x0.) by A1,Th47java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
    end;
    hence (canonical_homomorphism A)#x0 = x by MSUALG_3:def 6;
  end;

theorem Th67:
  for o being OperSymbol of S
  for x being Element of Args(o,A) holds
  Den(o,A).x =
  (canonical_homomorphism A).(the_result_sort_of o).(Den(o,Free(S,X)).x)
  proof ::set A = A0;
    let o be OperSymbol of S;
    let x be Element of Args(o,A);
    set k = canonical_homomorphism A;
    set s = the_result_sort_of o;
    x in Args(o,A) & Args(o,A) c= Args(o, Free(S,X)) by Th41; then
    reconsider x0 = x as Element of Args(o,Free(S,X));
    k#x0 = x by Th66;
    hence Den(o,A).x
    = k.(the_result_sort_of o).(Den(o,Free(S,X))Kholds
  end;

theorem Th68:
  for h being ManySortedFunction of Free(S,X), A
  st h is_homomorphism Free(S,X), A
for beingOperSymbolof S
 ofArgs(,A)holds
  h.(the_result_sort_of A2: [i,j] in Indices A an
  = h.(A3: A*(i,j >0KbyMATRIX13:94;
  proof set X0 = X;
    let h be ManySortedFunction of Free(S,X0), A;
    assume h is_homomorphism Free(then java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 22
beingjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 56
 Th65;
    let o be OperSymbol of S;
    let x be Element of java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 19
A2: dom h = the carrier of S & dom canonical_homomorphism A = the carrier of S
    by PARTFUN1:def 2;
A3: dom (h**canonical_homomorphism A) = (dom h    0. =1(K,width A)*(, byA11,:ef3
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
:  in(,A)& Args(oA)c (,ree(X) by Th41;
    thus h.(the_result_sort_of o).  ]java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 54
=h.the_result_sort_of .(canonical_homomorphismA.
    (the_result_sort_ofORDERS_1,FUNCT_2,EQREL_1,SETFAM_1,PARTFUN1,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 6
= ((h.    .= A*(i,j) by A4,MATRIX_0 7;
    
    .=(h**canonical_homomorphism;
    (the_result_sort_ofletI be set f be ManySortedSet of I, be FinSequence of Ijava.lang.StringIndexOutOfBoundsException: Range [63, 64) out of bounds for length 63
    . g*(canonical_homomorphism  then Lincarrierof Space_of_Solutions_of Aby A1MATRIX13:;
(the_result_sort_of o.Den(o,Free(S,0).)by e;
    .= h.(the_result_sort_of o).(Den(o,Free(S,X0)).x)holds dom (fder f such that
  end;

theorem>ofthecarrier' - A18 java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 22
  for h being ManySortedFunction of Free(S,X), A
  st h is_homomorphism Free(S,X), A
  for o being OperSymbol of S
  for x being Element of Args(o,Free(S,X)) holds
  h.(the_result_sort_of o).(Den(o,Free(S,X)).x)
  = h.(the_result_sort_of o).(Den(o,Free(S,X)).
  ((canonical_homomorphism A)#x))
  proof set X0 = X;
    let h be ManySortedFunction of Free(S,X0), A;
    assume h is_homomorphism Free(S,X0), A; then
    consider g being ManySortedFunction  A,such that
 ofthecarrier' - Functionof the carrier' 
    let o be :: following is very bad hacking
 ArgsoF(SX0));
    set k = canonical_homomorphism A;
A2:transitiveantisymmetric
thush(he_result_sort_of .Deno,FreeS,X0).
    = (.he_result_sort_of o)(c A.
the_result_sort_ofo)).Den(o,Free(,X0). byA1,MSUALG_3
.java.lang.StringIndexOutOfBoundsException: Range [33, 28) out of bounds for length 60
(o(S,0).x)) by SUALG_9:8,FUNCT_2:5
..java.lang.StringIndexOutOfBoundsException: Range [31, 28) out of bounds for length 32
    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 15
 S  java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 64
    (the_result_sort_of o).
    (ao~=o   =o2;
    .= ((g ,y beofS st ~=y java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
     o).(o,ree(SX0).(canonical_homomorphismA)x)java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
y A2,MSUALG_9:8,UNCT_2:15
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 32
    assume
  end;

theorem
forX0, nonempty countable  ofS
forbeingjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 54
  (X0,S)-java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 52
  h is_homomorphism Free(S,Y0), A
  ex g being ManySortedFunction of Free(java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 11
  g is_homomorphism FreebyDef1;
  for G being GeneratorSet of Free(S,Y0) st G = FreeGen Y0
  holds|G=h|java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
  proof
   X0 benon-mpty   ofSjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    let A java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
    (X0,S    take s=OSSignS0;
    let h be ManySortedFunction thuss  discreteop-iscreteby ;
A1:h is_homomorphismFree(S,), A;
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 38
rF =FreeGen Y as GeneratorSet Free(,Y byTh45
    reconsider H = FreeGen X0 :: ... probably not, unnecessary
    reconsider G :: this is mostly done in YELLOW_1, but:: could be major effort;  I don't care now
    now
letjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 53
      root-w2 <= w1 implies w1 (,)) java.lang.StringIndexOutOfBoundsException: Range [47, 44) out of bounds for length 47
      then A2: root-tree [i,s] in H.s by MSAFREE:def 16;
      G c= the Sorts of java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 7
then H c= (the Sorts of A).sjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      hence ww.s.root-treeassume   h65
    end; then
 ww is_homomorphism Free(S,0), A &
    for s let i beobject such that
w..tree[,s =roottree [i,s]by Def10;
heSorts  A is MSSubset of Free(S,X0) by Def6;
then reconsider hG = h||F as ManySortedFunction of
    F qua ManySortedSet  S,the Sorts of Free(S,X0)byTh22;
     set=java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 21
    then consider g being ManySortedFunction of Free(S,Y),Free(S,X0) such that
A4: g java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 8
take g
    thusS op-iscreteimplies Sis 
A5: 
    now
 carrierof ;
 thenreconsiders  xas   ;
:dom(h|). =F.   java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      now let y be cluster -> monotone for of ;
A7:     y   coherence  ;
A8:     g.s.y = implieso1=o2
A4MSAFREEd 11
        then
     .sy  t Sorts A. A7FUNCT_25
A10:      ;
java.lang.StringIndexOutOfBoundsException: Range [54, 3) out of bounds for length 59
        by PARTFUN1o1 o,w1 &o1 has_least_sort_for o,w1;
 thus h|F).x .y = ww..g.s.y) by A8,9Th47
        .= ((ww.s)*(g.s)).y by A7,A10,FUNCT_2:15
        .= ((ww**g).s).y by A11,PBOOLE:def 19
        .= (((ww**g).s)|(F.s)).y by A7,FUNCT_1:49
        .= ((ww**g)||F).x .y by MSAFREE:def 1;
      end;
      hence (h||F).x = (
    end;
    hence h = ww**g by A1,A5,EXTENS_1       C)*j9by,ATRIX_0def ;
  thusthesis by A4;
  endA2: w1<the_arity_of o;

theorem~
  for w being ManySortedFunction of X0, (the carrier of S).0. java.lang.StringIndexOutOfBoundsException: Range [29, 24) out of bounds for length 30
  
   of(,X0),
 java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 44
  t1 = #  assume
  holds A0 |=let wm1 be Element        hence IJRC*IJ)A7,8ATRIX11d ;
  proof set A = A0;
     w   ofX0, the carrierof
    java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    set-regularofjava.lang.StringIndexOutOfBoundsException: Range [41, 41) out of bounds for length 27
    has_least_args_for ow1 &   ow1 mplies o3  o4
    defpredPDecoratedTree- Function means
    for s being SortSymbol of S
    for t1,t2 being Element of TermAlg S,  < the_arity_of o4 by java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    for t3 being Term of S,X0
   .$   $,)  java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 70
:beingjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 58
    u n byA4,MATRIX_0:23
    proof
       s1 be SortSymbol of S;
      let v be Element of X0.s1;
      set t = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      let s be SortSymbol of S;
      let t1,    the carrier carriercarrierLine    |. Space_of_Solutions_of 
      let t3 be Term of S,X0;
      assume A2: t3 = k.s.  set D = (the carrier of R D = (the carrier ofR)-- z;
      assume A3: t1 = #(t,w);
      assume let s1,2being Element of R;
      t1 = hence thesis;
      by e  of R;
t1 in(the SortsofFreeSY).
      by  setS=egm(A,N,Seg width A);
      letidt  egwidth AbyA2,ATRIX_0java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
(s1
      (ati
      
      mode OrderSortedSet of R is order-sorted ManySortedSet of R;
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      hence A |= t1 '=' t2 by A3,A4;
    end;
A5: for o being OperSymbol of S, p being ArgumentSeq of Sym(o,X0) st
    for t being Term of S,X0 st t in rng p holds P[t]
    holds P[[o,the carrier of S]-tree p]
    proof
      let o be OperSymbol of S;
      let p be ArgumentSeq of Sym(o,X0);
      assume
      for t being Term of S,X0 st t in rng p holds P[t];
      set t = [o,the carrier of S]-tree p;
      let s be SortSymbol of S;
      let t1,t2 be Element of TermAlg S, s;
      let t3 be Term of S,X0;
      assume A6: t3 = k.s.t;
      assume A7: t1 = #(t,w);
,)
:FreeMSAX0 = Free,X0t
        pasElementofjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 70
:  DenoFreeS,X0). java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 77
      theSorts ofit =ConstOSSet(S,z)  the Charact of it=CHA:[]injava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 44
      reconsider tq = t1 as Term of S,Y by Th42;
      defpred Q[Nat,object] means
      for t being Element  Sby MSUALG_1:def1:5;
A11:    then
12   fori Nat st i in Seg len pexbeing  stQi,]
      roof
        let i be Nat;
        assume i in Seg len p; then
        p.i is Term of S,X0 by A11,MSATERM:22; then
        p.i is Element of. java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 40
        reconsider t = p.i as Element of Free(S,X0) by MSAFREE3:31;
tw;
        thus Q[i,x;
      end;
      java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
A13:   dom
      for i being 
by ORDERS_3:;
      dom q = dom p & for i java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 20
        st i in dom p & t = p.i
        holds q.i = #(assume
      then
A14:   t1 = Sym(o,Y)-tree q by A7  then x  product( by FINSEQ_2:def5
      now
        let i be object; assume
A15:     i in dom . iw2 byLm1;
        p.i is Term of S,X0 by A11,A13,MSATERM:22; then
        .ijava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 56
        reconsidert  .i asElement of FreeSX0) by MSAFREE3:31
        q.i = #(  then g in produ()byA4,A6C:def5;
        .java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 52
        java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      then
      q is DTree-S1=OSSign S0,s0  theSorts of M  =theCharactof Mjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
      tq.{} = Sym(o,Y) by A14the  of =the  of S1 & the ResultSortof S1=the
      the_sort_of tq = the_result_sort_of o by MSATERM:17; then
      tq in     hence hesis;
      t1 in ( A om\)ogjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 48
t1 t SortsofTermAlgS)the_result_sort_ofo FINSEQ_11636java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
      then
 PROB_2: ,:NSEQ_3114java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 70
       tt =t Element of Free(X)  byA16,,FI;
A17:   the Sorts:len w2 = len w3java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 26
      java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 36
      t Sorts of A). c=(the   then rng gb c= the carrier of K by A
      by A17,PBOOLE:def 2,def 18; then
    hence thesisbyA8,RDERS_2:;
      let hbeManySortedFunction of TermAlg S, A such that
A18:  let S,o1,byjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 45
      consider  o1 =o2  the_arity_of o1) <= (the_arity_of o2
   is_homomorphismFreeS,0) TermAlg S 
      for s being SortSymbol   o2<o1java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
      holds #(t,w) = hh.s.t by Th56;
A20the_arity_of o1)by ,A2;
      (the Sorts of A).s c= (the java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 17
     A17PBOOLEdef2def ,5:;
      thus h.s card  o1<  o2 Resulto1
      .= hproof
      . (h.s)*(hh o,)=((theSorts ofA  ofS.by
. (*hh.)(DenoFree(S,X0).a)by :
      (oFree(S,X0).ka)) by A16,Th69A5 m->
      =(*s)DenA.#)  ,,A19,SUALG_310,A16
      .= ((h**hh).s).(k.s.(Den(o,Free    . (theSorts ofA.((the ResultSort of S).o1)by FUNCT_2:15
      .= ((h.s)*(hh.s)).(k.s.(Den(o,Free(S,X0)).aendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
      .= h.s  reconsider M =the Sorts of Aas OrderSortedSet of S by Th17;
      = h.s.(hh..kt)) byA9,INSTALG1:3
9for lfor Mbe ofl java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 69
      .= h.s.(t1 '=' t2)`2;
    endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
A21:   assume the_arity_of o1< the_arity_of o2;
    let t be Element of (the Sorts of Free
A22: t is Term of S,X0 by Th42;
    let t1,t2 be Elementof S,s;
    assume A23: t1 = #(t,w);
    assume A24: t2 = #(k.s.t,w);
    k.s.t is Element of (the Sorts of A).s; then
    k.s.tA13 :Seg(m-,Seg m \N]c MV byA12,ZFMISC_195
    hence A |= t1 '=' t2 by A22,A21,A23,A24;
  end;

theorem
  for w being ManySortedFunction of X0, (the carrier of S)-->NAT
  for:: of FUNCT_2:def 1 spoils that
  for p being Element of Args(o,Free(S,X0))
  for java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 72
for t1,t2 being Term  S,X0 st  = Den(o,  :mwidth  by A5,ATRIX_023
  for t3,t4 being Element java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 5
        l i
A0| t3 = t4
        t
    let w be java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 21
    set Y = (the carrier of  Den(o2,A|Argso1, =      (x  st j in Seg (-n  Col(,i) = Line(V,j)or Col(C,i)=m
    let o be java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 7
    ppbe rete Sisop-scretejava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    let q  java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 64
:canonical_homomorphismA)p  q;
    Free(S      S is discretejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    suppose
    let java.lang.StringIndexOutOfBoundsException: Range [8, 10) out of bounds for length 8
A2: t1 = Den(o,Free(S,X0):: TrivialOSA(S,z,z1) interprets all funcs as one constant
let t3,t4 be ElementofTermAlgS,java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 60
      of
 = #(t1,w) & t4 (1qua set)
    reconsider t1 as Element of Free(S,X0),the_result_sort_of      S ch2x  x K1Kjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
    by  then
    i
    by A1,A2,Def10,MSUALG_3:def 7;
    hence A |= t3      the ResultSort ofS)o in the of S;26:card Seg mn) S m    ,java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
;


 beingManySortedFunction X0 the carrierof )-> t
      ) S,z *theResultSort ofS)by PBOOLEdef 15java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
  g is_homomorphism TermAlg S, Free(S,X0) &
  for s being SortSymbol of S
  for t being Element of Free(S,X0),s holds g.s. #(t,w) = t
  proof
    let w be ManySortedFunction of X0, (the carrier of S)-->NAT;
    assume    hence thesis;
A2: Free(S,X0    , be strict OSAlgebra of S;
    reconsider G = FreeGen    assume that
    -mpty GeneratorSet of S;
    set YA7: Sorts T2 = S,z) and
    defpred P[set,set,set] means
      (heCharactofT1.o1 = eno,T1) by MSUALG_1:def 
(inrng(w.)$3=root-ree (.).,1)&
      o,T2 java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 26
    $3 = the Element of (the Sorts of Free(S,X0)).reconsiderMasofthe carrier KbyA10
A3: for s being SortSymbol of S, t being Element of G.s
    exnow
    proof
      let s be SortSymbol of S;
          hencethesisby A5,PBOOLE:;
      t in G.s;  for z1 being  holds Sz,. a*java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 41
      t java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 44
      consider being setsuchthat
A4:   x in Y.s & t = root-tree [x,s] by MSAFREE:def 15;
     x as  ofjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
     java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 16
      
A5:     x in rng(    Den(o1,A) = ArgsA - z1& o2,
        consider a being java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 4
A6:     a in dom(w.s) & x = (w.s).a by FUNCT_1:def 3;
        reconsider T = root-tree [a,s] as Element of
        (the Sorts of Free(S,X0)).s by A6,MSAFREE3:4;
        ;
        let x0 be Element of Y.s; assume t = root-tree [x0,s]; then
:    0, [xsbyA44 
A8;
        w.s is one-to-one by A1,MSUALG_3:1;

        by A6,A8,FUNCT_1:34;
        thus thesis by A5,A7,XTUPLE_0:1;
      end;
      suppose
  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 23
        set T = thelet;
        take T;
 x0 ofY.;assumet=root-ree[0,s] then
        [x0,s] = [x,s] by A4,TREES_4:coherencebyEQREL_1: ;
hencejava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 48
      end;
    end;
    consider gg being ManySortedFunction  N=i,:3;
       such that
A10:   let X beset;
   holds Pst,gg.s.t]1(A3;
considergbeingManySortedFunction  (SX0) such 
A11: gjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    thus g is_homomorphism TermAlg S,  
    defpred P[DecoratedTree] means
for being SortSymbolof S st 1in(the Sorts ofFreeS,).
holds g.. #$,w =$;
 S,vbeing Element of X0.
    holds P[root-tree [v,s]]
    
      let s be SortSymbol of S;
      let v be Element of X0.s;
      set t = root- endjava.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
        java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 39
A13:   t in (the Sorts of Free(S,X0)).s0;
      t  the w<op1
A14:   s = s0 by A13,XBOOLE_0:3,PROB_2:def 2; then
A15
root[.s0.s0 in FreeGens0 by MSAFREEdef15 then
A16   -[..s0 in A32,ATRIX_0:7d;
A17:gg.s0r-tree:=n. ,A48java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 51
;
A18:   #(t,w) = root-tree [w.s0.v
      gg.:the_result_sort_ofLo2< java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 65
A19:   g.s0.java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
A17;
      w.s0 is one-to-one by A1,MSUALG_3:1;
      thesis A1926
    end;
 assume
    for t being Term of S,for op being Element of onw< the_arity_ofopholds it =LBound(opw;
    holds Pconsider  beingElementof onsuch 
    proof
      let o be OperSymbol of S;
      let p be ArgumentSeq of:Name Lo  on by Th33;
      assume
   tTermof []
      set    let op2be Elementof on suchthat
      mbol S 
w
      t.{} = [o
result_sort_of byjava.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 79
      t in FreeSort(X0,A4 java.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 37
      t in (the Sorts of Free(S,X0)).java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 24
      then
A23:   s = the_result_sort_of o by A22,XBOOLE_0:3,PROB_2:def 2;
      defpred Q[Nat,objectA68:lenmSNm-n FINSEQ_1:def 3;
being FreeX  t .1holds$=#t)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
A24:   dom p = Seg len p by FINSEQ_1:def 3;
A25:   for i being Nat st i in Seg len p ex x being object st Q[i,x]
      proof
        let i be Nat;
        assume i in Seg len p; then
is of, java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 51
        p.i is Element of FreeMSA reconsider mSN as Element of (m-'n)-tuples_on the carrier of K by A68
        reconsider t = p.i as Element of Free(S,X0,92
        take x = #(t,w);
        thus Q[i,          
      end;
      consider q being FinSequence such that
A26:   dom q = Seg len p &
      for i being Nat st i in Seg len p holds Q[i,q.i] from FINSEQ_1:sch 1(A25
);
      dom q = dom p & for i being Nat, t being Element of Free(S,X0)
        st i in dom p & t = p.i
        holds q.i = #(t,w) by A24,A26;
      
A27:   #(t,w) = Sym(o,Y)-tree q by Th58;
      now
        iobject 
A28:     i in dom q; then
        :       [,xinIndicesSegmSeg(-)N) byA47,A49A46,A79
        p.i is Element of FreeMSA X0 by MSATERM:13; then
        t=pi as ElementofFreeSX0 MSAFREE331
        q.i = #(:[,j  java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 64
iof Y MSAFREE3java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 52
        hence q.i is DecoratedTree;
      end; then
A29:   q is DTree-yielding by TREES_3:24;
      TermAlg S = Free(S,Y) by MSAFREE3:31; thenhenceCol)  M1(ji)byA73def
      #              =LineM1j.by A38,A72MATRIX_0def7
      java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 41
rbeingjava.lang.StringIndexOutOfBoundsException: Range [38, 34) out of bounds for length 56
A30:   #(t,w) = [o,the carrier of S]-tree r by MSATERM:10;
      r =then ColM1)-byjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 50
      reconsider             .java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 71
      reconsider a = p as Element of Args(o,Free(S,X0)) by A2,INSTALG1:1;
      for n being Nat st n in dom q holds a.n = (g.((the_arity_of o)            .f.byA65,LVECT_1:def 4;
      
        let n be Nat;
        assume A31: n in        assume A31: n in 
A32:     dom q = dom the_arity_of o & dom a = dom the_arity_of o by MSUALG_3:6;
        then reconsider tn = a.n A86:xin  SgmSNand
A33:     tn in rng p by A31,A32,FUNCT_1:def 3;
        the_sort_of tn = (the_arity_of o)/.n by A31,A32,MSATERM:23; then
         o).)byMSATERM:def 5; then
        tn in (the Sorts of Free(S,X0)).((the_arity_of o)/.n)
        by A2,MSAFREE:def 11; then
A34:     g.((the_arity_of o)/.n). #(tn,w) = tn by A21,A33;
        Q[n,q.n] & tn is Element of Free(S,X0)
by A26,31MSATERM:13;
        hence a.n = (g.((the_arity_of o)/.n)).(q.n) by A34;
      end; then
A35:   g#q = a by MSUALG_3:def 6;
      thus g.s. #(t,w) =A90:[x 1.Km-n)byMATRIX_024
java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
      .= t by A2,A35,INSTALG1:3;
    end;
A36: for t being Term of S,X0 holds P[t] from MSATERM:sch 1(A12,A20);
    let s be SortSymbol of java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 41
    let t be Element of (the Sorts of Free(S,X0)).s;
    t is Term of S,X0 A94:      len M1=m-n by A5,A24,MATRIX_0:23;
    hence g.s. #(t,w) = t by A36;
  end;

theorem Th74:
  for B being non-empty MSAlgebra. /SgmSN(MV byA34A92A93A97;
  for hbeing ManySortedFunctionof Free(S,X0,java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
  st h is_homomorphism Free(S,X0),B
  for w being ManySortedFunction of X0, (the carrier of S)-->NAT st w is "1-1"
  for s being SortSymbol of S
  then
   S sstt3=(w &t4=#(,w 
  B |= t3 '=' t4 implies h.s.t1 = h.s.t2
  proof
    let A be              .K
    let h be ManySortedFunction of Free(S,X0),A;
   A1FreeSX0,
    let w be ManySortedFunction of X0, (.= (f/.(Sgm SN.x))*1_K by A10,A38A,java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 64
    assume w is "1-1"; then
    consider g being ManySortedFunction of TermAlg S, Free(S,X0) such that
A2: g is_homomorphism TermAlg S, Free(S,X0) &
    for s being SortSymbol of S
    for t being Element of Free(S,X0),s holds g.s. #(t,w) = t by Th73;
    let s be SortSymbol of S;
    let t1,t2 be Element of Free(S,X0),s;
    let t3,t4 be Element of TermAlg S, s;
    assume A3: t3 = #(t1,w);
    assume A4: t4 = #(t2,w);
    assume A |= t3 '=' t4; then
A6: (h**g).s.(t3 '=' t4)`1 = (h**g).s.(t3 '=' t4)`2
    by A2,A1,MSUALG_3:10;
    (h**g).s = (h.s)*(g.s) by MSUALG_3:2; then
    (h**g).s.t3 = h.s.(g.s.t3) & (h**g).s.t4 = h.s.(g.s.t4) by FUNCT_2:15;
    hence h.s.t1 = h.send;
  end;

theorem Th75:
  for G being GeneratorSet of A0 st G = FreeGen X0
  holds G is Equations(S,A102: SumL=f by FINSEQ_2:119
  proof set A = A0;
A1: FreeMSA X0 = Free(S,X0) by MSAFREE3:31;
    let G be GeneratorSet of A; assume
A2: G = FreeGen X0;
    set T = Equations(S,A);
    let B be T-satisfying non-empty MSAlgebra over S;
    let f be ManySortedFunction of G  then
    reconsider f0 = f as ManySortedFunction of FreeGen X0, the Sorts of B
    by A2;
    reconsider H = FreeGen X0 as free GeneratorSet of Free(S,X0)
    by A1;
    consider g being ManySortedFunction of Free(S,X0), B such that
A3: g is_homomorphism Free(S,X0),B & g || H = f0 by MSAFREE:def 5;
    the Sorts of A is MSSubset of Free(S,X0) by Def6; java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 0
    reconsider i = id the Sorts of A as ManySortedFunction of A, Free(S,X0)
    by Th22;
    take h = g**i;
    thus h is_homomorphism A,B
    proof
      let o be OperSymbol of S such that Args(o,A) <> {};
      :=nbyjava.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 31
      set s = the_result_sort_of o;
      Den(o,A).x in Result(o,A); then
A4:   Den(o,A).x in (the Sorts of A).s by FUNCT_2:15;
A5:   i.s = id ((the Sorts of A).s) by MSUALG_3:def 1;
      x in Args(considerX that
      reconsider x0 =lenX=widthONEjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
      set w = the "1-1"A9 ONE *X =(|>.) byjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
      Den(o,A).x is Element of Result(o,A) &
      Den(o,Free      suppose
      reconsider f1 = Den(o,A).x, f2 = Den(o,Free(S,X0)).x0 as Term of S,X0
      by Th42;
      reconsider f = Den(o,Free(S,X0)).x0 as Element of Free(S,X0),s
      by MSUALG_9:18;
      reconsider fa = (canonical_homomorphism A).s.f as
      Element of Free(S,X0),s by Th39;
      f1 in (the Sorts of A).s by MSUALG_9:18; then
      f1 is Element of Free(S,X0),s by Th39; then
      f1 in (the Sorts of Free(S,X0)).s & f2 in (the Sorts of Free(S,X0      end
      by MSUALG_9:18; then
      f1 in FreeSort(X0,s) & f2 in FreeSort(X0,s) by A1,MSAFREE:def 11; then
      the_sort_of f1 = s & the_sort_of f2 = s by MSATERM:def 5; then
      reconsider t2 = #(f1,w), t1 = #(f2,w) as Element of TermAlg
A6:   f1 = (canonical_homomorphism A).s.f by Th67;
      A |= t1 '=' t2 by A6,Th71; then
      t1 '=' t2 in {e where e is Element of (Equations S).s: A |= e}; then
      t1 '=' t2 in T.s  then (0).SS = (Omega) ()SS=(.byjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 42
A7:   g.s.f = g.s.fa by A6,A3,Th74;
A8:   now
        let n be Nat;
        set an = (the_arity_of o)/.n;
        assume
A9:     n in dom x;
A10:     dom ((the Sorts of A)*the_arity_of o) = dom the_arity_of o &
        x=  java.lang.StringIndexOutOfBoundsException: Range [35, 32) out of bounds for length 64
        x .n in ((the Sorts of A)*the_arity_of o).n by A9,MSUALG_3:6; then
        x .n in (java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 9
,FUNCT_1:13; then
A11:     x .n in (the Sorts of A).an by A9,A10,PARTFUN1:def 6;
        thus (h#xendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
        .= ((g.an)*(i.an)).(x .n) by MSUALG_3:2
        .= (g.an).((i.an).(x .n)) by A11,FUNCT_2:15
        .= (g.an).((id ((the Sorts of A).an)).(x .n)) by MSUALG_3:def 1
        .= (g.(o/.)(x.)  A11;
      end;
      thus (h.(s)).(Den(o,A).java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 56
      = ((g.s)*(i.s)).(Den(o,A).x) by MSUALG_3:2
      .= (g.s).((i.s).(Den(o,A).xKfor,  jindomA1 i=jimpliesa<1_  PRLine
      .= (g.s).(Den(o,A).x) by A5,A4,FUNCT_1:18
      .= (g.s).(Den(o,Free(S,X0      letA1 ofLWKB1MatrixofLW, that
      .= Den(o,B).(g#x0) by A3
      .= Den(o,B).(h#x) by A8,MSUALG_3:def 6;
    end;
    now let       let ij;
      then reconsider s = x as SortSymbol of S;
A12:   G.s c= (the Sorts of A      then Space_of_Solutions_of RLine(1,i,ine(A1)+a*ineA1,) 
      dom (.)=(theSorts ofFree(SX0). 
      rng (i.s) c=  (the Sorts of Free(S,X0)).s
      by FUNCT_2:def 1; then
      dom((g.s)*(i.s qua Function)) = dom (i.s) by RELAT_1:27
      .A8 A9A]
A13    consider A1 beMatrixofLW,1 be Matrix ofL,W,,such 
      the Sorts of A is MSSubset of Free(S,X0) by Def6; then
      (the Sorts of  [,]&Segmcard,  .cardNand
      by PBOOLE:def 2,def 18; then
      G.s c= (the Sorts of Free(S,X0)).s &
      dom (g.s) = (the Sorts of Free(S,X0)).s by A12,FUNCT_2:def 1;
      then
A14:   dom ((g.s)|(H.s)) = G.s by A2,RELAT_1:62;
A15:   now
        let x A14: width A1=W :;
A16:     x in G.s;
        hence (((g.s)*(i.s))|(G.s)).x = ((g.s)*(i.s)).x by FUNCT_1:49
        .= (g.s).((A16:cardSegWN=Wc  java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 49
        .= d=W-ard byA9A14,A15,NAT_1:,XREAL_1233;
        .= g.s.x by ,16,UNCT_117
.|.s.  A16:9java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
      end;
thus(h|G.  h.s)|(Gs) by MSAFREEdef 
      .= ((g.s)*(i.s))|(G.s) by MSUALG_3:2
      .= (g.s)|(H.s) by A13,A14,A15
      .= f.x by A3,MSAFREE:def 1;
    end;
    hence h || A20 Segm(,Seg cardN,)=.K,ard ) byA9,A14,A19,56
;

theoremA22:Seg len A1=om A1 by FINSEQ_1def 3;
  A0 is Equations(S,A0)-free
  proof
  =FreeGenX0asGeneratorSetofA0 byTh45
    ; java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 32
  end;

begin :: Algebra of normal forms

definition
  let I be set;
  let X,Y be ManySortedSet of I;
  let R be ManySortedRelation of X,Y;
  let x be object;
  redefine func R.x -> Relation of X.x,Y.x;
  coherence
  proof
    per cases;
    suppose x in I;
      hence thesis by MSUALG_4:def 1;
    end;
    suppose x nin dom R;
wjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 37
      henceby XBOOLE_1:
    end,h66
  end;
end;

definition
letIbeset;
letManySortedSetofI
   ofX;
  attr R is java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
forxjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 62
  attr R is with_UN_property means: Def17:
  for x being set st x in I holds R.x is with_UN_property;
end;

registration
  cluster -> strongly-normalizing with_UN_property for empty set;
  coherence;
end;

theorem Th77:
  for I being set
  for A being ManySortedSet of I
  ex R being ManySortedRelation of A
  st R = I-->{} & R is terminating
  proof
    let I be set;
    let A be ManySortedSet of I;
    set R = I-->{};
    for i being set st i in I holds R.i is Relation of A.i by XBOOLE_1:2;
    thenFINSEQ_157MATRIX13:def3;
    take R;
    thus R = I-->{};
    let i be set;
    thus thesis;
  nd


registration
  let I be set;
  let X be ManySortedSet of I;
  empty-- with_UN_property
  for ManySortedRelation of X;
  coherence;
  cluster empty-yielding for ManySortedRelation of X;
  existence
  proof
    consider R being ManySortedRelation of X such that
A1: Rjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    take R;

    LineMi)+*ineM,j))
  end;
end;

registration
  let I be set;
  let X be ManySortedSet of I;
  let R be a>1K;
  let i be object;
  cluster R.i -> strongly-normalizing for Relation;
  coherence
  java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 12
    per cases;
    suppose i in I;
      hence thesis by Def16;
    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
      hence thesis by FUNCT_1:def 2;
    end;
;
end;

registration
  let I be set;
  let X be ManySortedSet of I;
  let R be with_UN_property ManySortedRelation of X;
  let i be object;
  cluster R.i -> with_UN_property for Relation;
  coherence
  proof
    per cases;
    suppose i in I;
      java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 28
    end;
 domR
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

definition
  let S,X.\M.} java.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 39
  let R    then
  attr R is -var means: Def18
   xbeingElementof(X).
  holds x is_a_normal_form_wrt R.A13 LjinlinesMby A5A4,java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 44
end;

theorem
  x is_a_normal_form_wrt {};

registration
  let S,X;
  cluster empty-yielding -> NF-var invariant stable
  for ManySortedRelation of Free(S,X);
  coherence
  proof
    let R be ManySortedRelation of Free(S,X); assume
A1: R is empty-yielding;
    thus R is NF-var
    proof
      let s be SortSymbol of S;
      R.s is , N be without_zerofinite ubset ofNAT Nc Segm & dimW  N  Segm
      hencethesis;
    end;
    thus R is invariant
    by A1;
    let h be Endomorphism of Free(S,X);
    let s be SortSymbol of S;
    thus thesis by A1;
  end;
end;

registration
  let S,X;
  cluster NF-var terminating with_UN_property
  for invariant stable ManySortedRelation of Free(S,X);
  existence
  proof
    take R = the empty-yielding ManySortedRelation of Free(S,X);
    thus thesis;
  end;
end;

me {(-set R)-Relation set] :
  Px2(]
  provided
A1:  P[x1()] and
A2:  R() reduces x1(),x2() and&lines M=U byMATRIX13:;
:for yz beingset stR)reducesx1(),y&[yz]in R()&
   [  P]
    RLine(A9,i,Line(A9,)  aL(j)),B9i,ja)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    consider t being RedSequence of R() such that
A4: t.1 = x1() & t.:domA9=Seg lenA9  FINSEQ_1:ef 3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    defpred Q[Nat] means $1 in dom t implies P[t.$1];
A5: Q[0] by FINSEQ_3:24;
A6: now let i; assume
A7:   Q[i];
      thus Q[i+1]
      proof assume
A8:     i+1 in dom t & not P[t.(i+1)];
        per cases by NAT_1:3;
        suppose i = 0;
          hencehence thesis byA4,A8MATRIX13121;
        end;
        suppose i > 0;
          then consider j being Nat such that
A9:       i = j+1 by NAT_1:6;
          i <= i+1 & i+1 <= len t by A8,FINSEQ_3:25,NAT_1:11; then
A10:      1 <= i & i <= len t & rng t <> {} by A9,NAT_1:11,XXREAL_0:2; then
A11:      i in dom t & 1 in dom t by FINSEQ_3:25,32;
          [t.i,t.(i+1)] in R() by A8,A11,REWRITE1:def 2;
          hence thesis by A3,A7,A8,A11,A4,A10,REWRITE1:17;
        ;
      end;
    end;
    Q[i] from NAT_1:sch 2(A5,A6);
    hence thesis by A4,FINSEQ_5:6;
  end;

scheme B {x1,x2()->set, R()->Relation, P[set] }:
  P[x1()]
  provided
: (] 
A2:  R() reduces x1(),x2() and
A3:  for y,z being set st [y,z] in R() & P[z] holds P[y]
  proof
A4: R()~ reduces x2(),x1() by A2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A5: for y,z being set st R()~ reduces x2(),y & [y,z] in R()~ & P[y] holds P[z]
    proof
      let y,z be set;
      assume R()~ reduces x2(),y;
      assume [y,z] in R()~;
      then [z,y] in R() by RELAT_1:def 7;
      hence thesis by A3;
    end;
    thus P[x1()] from A(A1,A4,A5);
  end;

definition
  let X be non empty set;
  let R be with_UN_property strongly-normalizing Relation of X;
  let x be Element of X;
  redefine func nf(x,R) -> Element of X;
  coherence
  proof
    defpredlet strictSubspaceofmVectSp_overK such that
A1: P[x];
    nf(x,R) is_a_normal_form_of x,R by REWRITE1:54;
    then
A2: R reduces x,nf(x,R);
A3: for y,z being set st R reduces x,y & [y,z] in R &
    P[y] holds P[z]
    proof
      let y,z be set;
      assume R reduces x,y;
      assume A4: [y,z] in A2 
      z in field R & field R c= X \/ X by A4,RELAT_1:15,RELSET_1:8;
          ONEjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 19
:width.K,m=m byMATRIX_024;
    P[nf(x,R)] from A(A1,A2,A3);
    hence thesis;
  end;
end;

definition
  let I be non empty set;
  let X be non-empty ManySortedSet of I;
  let R be with_UN_property terminating ManySortedRelation of X;
  func NFormsR -non-mptyManySortedSubsetof X  :
  for i being  holds
  it.i = the set of all nf(x,R.i) where x is Element of X.i;
  existence
  java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    F(ofI =
    the set of all nf(x,R.$1) where x is Element of X.$1;
    consider A being ManySortedSet of I such that
 ibeingjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 64
A2: A is ManySortedSubset of X
    proof
      let i be object;
      assume i in I;
      then reconsider j = i as Element of I;
A3:   A.j = the set of all nf(x,R.j) where x is Element of X.j by A1;
      let x be object; assume x in A.i;
      then ex y being Element of X.j st x = nf(y,R.j) by A3;
      hence thesis;
    end;
    A is non-empty
    proof
      let i be object;
      assume i in I;
      reconsider j=i as ElementI
 set   nfxj where ElementXj byA1
      set x = the Element of X.j;
      nf(x,R.j) in A.i by A4;
      hence thesis;
    end;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let A1,A2 be non-empty ManySortedSubset of X such that
A5: for i being Element of I holds
    A1.i = the set of all nf(x,R.i) where x is Element of X.i and
A6: for i being Element of I holds
    A2.i = the set of all nf(x,R.i) where x is Element of X.i;
    let i be Element of I;
    thus A1.i = the set of all nf(x,R.i) where x is Element of X.i by A5
. .i;
 
;

scheme MSFLambda { Mjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 36
  F(object,object)->set}:
  ex f being     Seg m /\ N =N by A12XBOOLE_128
  for o being Element of B() holds dom (f.o) = D(o) &
  for x being Element of D(o) holds f.o.x = F(o,x)
  proof
    defpred P[object,object] means
     ex g being Function st $2 = g & dom g = D($1) &
    for x being Element of D($1) holds g.x = F($1,x)A:IndicesA=:dimW,Segm: A7MATRIX_023;
A1: for o being object st o in B() ex g being object st P[o,g]
    proof
      let o be object; assume o in B();
      deffunc G(object) = F(o,$1);
      consider g being Functiondom SgmSegdim WS byA1840;
A2:   dom g = D(o) & for x being object st x in D(o) holds g.x = G(x)
      from FUNCT_1:sch 3;
      take g,g; thus g = g & dom g = D(o) by A2;
      thus for x being Element of D(o) holds g.x = F(o,x) by A2;
    end;
    consider f being ManySortedSet of B() such that
A3: for o being object st in Segdim Wand
    f is Function-yielding
    proof
      let o be object; assume o in dom f;
      then P[o,f.o] byper ;
      hence f.o is Function;
    end;
    then reconsider f as ManySortedFunction of B();
    take f;
    let o be Element of B();
A4: P[o,f.o] by A3;
    hence dom (f.o) = D(o);
    let x be Element of D(o);
    thus f.o.x = F(o,x) by A4;
  end;

definition
  let S,X;
  let Rbe terminatingwith_UN_propertyinvariant stable
  ManySortedRelation of Free(S,X)MATRIX13:17
overSmeans:Def20
  the Sorts of it = NForms R &
   OperSymbolofS,abeingElementofArgs(oit)
  Den(o,it).a = nf (Den(o,Free(S,X)).a, R.the_result_sort_of o);
  existence
  proof
    deffunc D(OperSymbol of S) = product ((NForms R)*the_arity_of $1);
    deffunc F(OperSymbol of S,Element of D($1)) =
    nf(Den($1,Free(S,X)).$2, R.the_result_sort_of $1);
    consider f being ManySortedFunction of the carrier' of S such that
A1: for o being OperSymbol of S holds dom(f.o) = D(o) &
    for x being Element of D(o) holds f.o.x = F(o,x) from MSFLambda;
    f is ManySortedFunction of (NForms R);
    (NForms R)*the ResultSort of S
    proof
      let i be object; assume
      iin thecarrier ofS
      then reconsider o = i as OperSymbol of S;
   dom(f.o) = D(o) by A1;
      then
A2:   dom(f.o) = (NForms R)# qua Function.the_arity_of o by FINSEQ_2:def 5
      . (NFormsR)*Arityof S. byFUNCT_2:;
      rng(f.o) c= ((NForms R)*the ResultSort of S).o
      proof
        let x be object; assume x in rng(f.o);
        then consider y being object such that
A3:     y in dom(f.o) & x = f.o.y by FUNCT_1then
        yasElementof()byA1,A3;
A4:     x = F(o,y) by A1,A3;
        (NForms R)*the_arity_of o qua ManySortedSet of dom the_arity_of o
        c= (the Sorts of Free(S,X))*the_arity_of o
        qua ManySortedSet of dom the_arity_of o
        by Th15,PBOOLE:def 18;
        then product ((NForms R)*the_arity_of o) c=
        product((the Sorts of Free(S,X))*t
        A58:      [y,x] in Indices SA@ by A27,Lm1;
        by PRALG_2java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 79
        then Den(o,Free(S,X)).y in Result(o,Free(S,X)) by FUNCT_2:5;
         a=Den(Free(S,). as
        Element of Free(S,X),the_result_sort_of o by FUNCT_2:15;
        a,Rthe_result_sort_of)inthe ofall
nf(z, R.the_result_sort_of o)
        where z is Element of Free(S,X), the_result_sort_of o;
        then nf(a, R.the_result_sort_of o) in (NForms R).the_result_sort_of o
        by Def19;
        hence thesis by A4,FUNCT_2:15;
      end;
      hence f.i is Function of ((NForms R)#*the Arity of S).i,
      ((NForms R)*the ResultSort of S).i by A2,FUNCT_2:2;
    end;
    then reconsider f as ManySortedFunction of (NForms R)#*the Arity of S,
    NForms)*java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 35
  =MSAlgebra#FormsR f)as
    non-empty strict MSAlgebra over S by MSUALG_1:def:java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 37
    take A;
 =java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 38
    let o be OperSymbol of S, a be Element of Args reconsiderAB asMatrixoflenA,BK byA4MATRIX_051;
    Args(o,A) = product ((the Sorts of A)*the_arity_of o) by PRALG_2:3;
    hence Den(o,A).a = nf (Den(o,Free(S,X)).a, R.the_result_sort_of o) by A1;
  end;
  uniqueness
  proof
    let A1,A2 be non-empty strict MSAlgebra over S such that
A5: the Sorts of A1 = NForms R &
    for o being OperSymbol of S, a being Element of Args(o,A1) holds
    Den(o,A1).a = nf (Den(o,Free(S,X)).a, R.the_result_sort_of o) and
A6: the Sorts of A2 = NForms R &
    for o being : width X = width ColVec2Mx-K and
    Den(o,A2).a = nf (Den(o,Free(S,X)).a, R.the_result_sort_of o);
    the Charact of A1 = the Charact of A2
    proof
      let o be OperSymbol of S;
A7:   dom Den(o,A1) = Args(o,A1) & dom Den(o,A2) = Args(o,A2) by FUNCT_2:        len A=0;
      now
        let a be object;
        assume a in Args(o,A1);
        then Den(o,A1).a = nf(Den(o,Free(S,X)).a, R.the_result_sort_of o) &
        Den(o,A2).a = nf(Den(o,Free(S,X)).a, R.the_result_sort_of o) by A5,A6;
        hence Den(o,A1).a = Den(o,A2).a;
      end;
      hence thesis by A5,A6,A7,FUNCT_1:2;
    end;
    hence thesis by A5,A6;
  end;
end;

h79
  for R being terminating with_UN_property invariant stable
  ManySortedRelation of Free(S,X)
  for a being SortSymbol of S
oldsnf(xR.) = x
  proof
    let R be terminating with_UN_property invariant stable
    ManySortedRelation of Free(S,X);
    let a be SortSymbol of S;
    assume x in (NFormsset=A*java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    then x in the set of all nf(z,R.a) where z is Element of Free(S,X),a
    by Def19;
    then ex z being Element of Free(S,X),a st x = nf(z,R.a);
    hence nf(x,R.a) = x by Th18;
  end;

Lm3: now
  let S,X;
  let R be terminating with_UN_property invariant stable
  ManySortedRelation of Free(S,X);
   obe S;
  set A = NFAlgebra R;
A1: the Sorts of A = NForms R by Def20;
  (NForms R)*the_arity_ofthen
  c= (the Sorts of Free(S,X))*the_arity_of o
  qua ManySortedSet of dom the_arity_of o
  by Th15,PBOOLE:def 18;
  then product ((NForms R)*the_arity_of o) c=
  product((the Sorts of Free(S,X))*the_arity_of o) by Th16;
  then product ((NForms R)*the_arity_of o) c= Args(o,Free(S,X))
  by PRALG_2:3;
  hence Args(o,A) 
end;

theorem Th80:
  for R being terminating with_UN_property invariant stable
  ManySortedRelation of Free(S,X)
  for g being ManySortedFunction of Free(S,X),Free(S,X)
  st g is_homomorphism Free(S,X),Free(S,X)
  for s being SortSymbol ofA12 the_rank_of  =the_rank_of  java.lang.StringIndexOutOfBoundsException: Range [51, 48) out of bounds for length 52
  for a being Element of Free(S,X),s holds
  nf(g.s.nf(a,R.s), R.s) = nf(g.s.a, R.s)
  proof
letR beterminatingwith_UN_propertystable
    ManySortedRelationofFree(SX);
    let gbeManySortedFunction of Free(S,X),Free(S,X);
    assume g is_homomorphism Free(S,X),Free(S,X);
    then
A1: g is Endomorphism of Free(S,X) by MSUALG_6:def 2;
    let s be SortSymbol of S;
    let a be Element of Free(S,X),s;
    nf(a,R.s) is_a_normal_form_of a,R.s by REWRITE1:54;
    then
A2: R.s reduces a, nf(a,R.s);
    defpred P[set] means nf(g.s.nf(a,R.s), R.s) = nf(g.s.$1, R.s);
A3: P[nf(a,R.s)];
A4: for b,c being set st [b,c] in R.s & PA2:widthAlen Band
    proof
      let b: = A  java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 38
      assume A5: [b,c] in R.s;
      then reconsider x = b, y = c as Element of Free(S,X),s by ZFMISC_1:87java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 29
A6:   [g.s.x,g.s.y] in R.s by A1,A5,MSUALG_6:def 9;
      assume P[c];
      hence P[b] by A6,REWRITE1:29,55;
end;
    P[a] from B(A3,A2,A4);
    hence nf(g.s.nf(a,R.s), R.s) = nf(g.s.a,  then
  end;

theorem    let xbe java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
  for p being FinSequence holds p    xin Solutions_oflenAB|0.)byA2,,6,7A4A5,Def5
  for i being Nat st i >= len p holds p/^i = {}
  proof
    let p be FinSequence;
A1: 0 <= len p by NAT_1:2;
A2: now
      let i be Nat;
      assume 1 <= i & i <= len(p/^0);
      then i in dom(p/^0) by FINSEQ_3: set BX=BX
     hence(p^0).i (+) by A1,RFINSEQd =pi;
    end;
    len(p/^0) = len p - 0 by A1,RFINSEQ:def 1 .= len p;
    hence p/^0 = p by A2;
    let i be Nat;
    assume i >= len p;
    then i = len p & len (p /^ len p) = len p - len p or i > 
    by XXREAL_0:1,RFINSEQ:def 1;
    hence p/^i = {} by RFINSEQ:def 1;
  end;

theorem Th82:
  for p,q being FinSequence holds (p^<*x*>^q)+*(len p+1,y) = p^<*y*>^q
  proof
    let p,q be FinSequence;
A1: dom (p^<*x*>^q) = Seg len(p^<*x*        BX=0(lenAB,1) byA6A4A10A17A19;
    .= Seg(len(p^<*x*>)+len q) by  end
    .= Seg(len p + len <*x*>+len q) by FINSEQ_1:22
    .= Seg(len p+1+len q) by FINSEQ_1:40;
:java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 58
    .= Seg(len(p^<*y*>)+len q) by FINSEQ_1:22
    .= Seg(,A3,Th72;
    .= Seg(len p+1+len q) by FINSEQ_1:40;
A3: dom((p^<*x*>^q)+*(len p+1,y)) = dom (p^<*x*>^q) by FUNCT_7:30;
nowletabeobject
      assume
A4:   a in dom(p^<*x*>^q);
      then reconsider i = a as Nat;
A5:   i >= 1 & i <= len(p^<*x*>^q) by A4,FINSEQ_3:25;
      per cases by XXREAL_0:1;
      suppose
A6      <lenp1
        then i < len pby 
        then i in dom p &dompc dom(p<**)&domp c domp<**
        by A5,FINSEQ_1:26,FINSEQ_3:25;
        then (p^<*x*>).i = p.i & (p^<*x*>^q).i = (p^<*x*>).i &
        len p+1 <> i & (p^<*y*>).i = p.i & (p^<*y*>^q).i = (p^<*y*>).i
        by A6,FINSEQ_1:def 7;
        hence (p^<*x*>^q)+*(len p+1,y).a = (p^<*y*>^q).a by FUNCT_7:32;
      end;
      suppose
A7:     i = len p+1;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 53
        then i >= 1 & len(p^<*x*>) = len p+1 & len(p^<*y*>) = len p+1
        by A7,FINSEQ_1:22,NAT_1:11;
        then i in dom (p^<theorem
        java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 60
        (p^<*y*>^q).i = (p^<*y*>).i & (p^<*y*>).i = y by A7,FINSEQ_1:def 7,42;
        hence (p^<*x*>^q)+*(len p+1,y).a = (p^<*y*>^q).a  be Matrixofnn,,BbeMatrixofKsuchthat
end
      suppose
A8:     i > len p+1;
        then i >= len p+1+1 by NAT_1:13;
        then consider j being Nat such that
A9:     i = len p+1+1+j by NAT_1:10;
A10:     i = len p+1+(1+j) by A9;
        len <*x*> = 1 & len <*y*> = 1 by FINSEQ_1:40;
        then
A11:     len(p^<*x*>) = len p+1 & len(p^<*y*>) = len p+1 by FINSEQ_1:22;
        then len(p^<*x*>^q    widthBA0;
        then 1 <= 1+j & 1+j <= len q by A10,A4,FINSEQ_3:25,XREAL_1:6,NAT_1:11;
        then 1+j in dom q by FINSEQ_3:25;
        then (p^<*x*>^q).i = q.(1+j) & (p^<*y*>^q).i = q.(1+j)
        by A10,A11,FINSEQ_1:def 7;
        <*q+len1,.;
      end;
    end;
    hence (p^<*x*>^q)+*(len p+1,y) = p^<*y*>^q by A1,A2,A3;
  end;


theorem Th83:
  for p being FinSequence, i being Nat st i+1 <= len p
  holds p|(i+1) = (p|i)^<*p.(i+1)*>
  proof
    let p be FinSequence;
    let i be Nat;
    assume A1: i+1 <= len p;
    then
A2: len(p|(i+1)) = i+1 by FINSEQ_1:59;
    i < len p by A1,NAT_1:13;
    then
A3: len(p|i) = i & len <*p.(i+1)*> = 1 by FINSEQ_1:40,59;
    then
A4: len:: Copyright (c) 1993-2026 Association of Mizar Users
    thus len (p|(i+1:: licenses, or see http://www.gnu.org/licenses/gpl.html and
    let j be Nat;
    assume
:1 < j  = len(|i+);
    per  requirements SUBSET
suppose
A6:
  in  (p|i) by ,A5,A6,INSEQ_3:25;
      thus (p|(i+1)).j = p.j by A2,A5,FINSEQ_1:1,FUNCT_1:49
. p).  ,A5FINSEQ_1:,:49
+1)>.j by A7,FINSEQ_1def7;
    end;
    suppose
A8tthen{} c=  by A2,FMISC_1:;
p|1)j  p.i1 by FINSEQ_1:,UNCT_1:9
      .= ((pthen
    end;
    for Sbeing nonempty set,ybeing Element of holds{}is proper

:
  for p being FinSequence, i being java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 12
  holds p/^i = <*p.(i+1)*>^(p/^(i+1))
  proof
    let p be FinSequence;
    let i be Nat;
    assume A1: i+1 <= len p;
    then
A2: i < len p by NAT_1:13;
    then
A3: len(p/^i) = len p-i by RFINSEQ:def 1;
    len(<*p.(i+1)*>^(p/^(i+1))) = len <*p.(i+1)*>+len(p/^(i+1)) by FINSEQ_1:22
    .= 1+len(p/^(i+1)) by FINSEQ_1:40 .= 1+(len p-(i+1)) by A1,RFINSEQ:def 1
    .= len p-i;
    hence len(p/^i) = len(<*p.(i+1)*>^(p/^(i+1))) by A2,RFINSEQ:def 1;
    let j be Nat;
    assume
A4: 1 <= j & j <= len(p/^i);
    then
A5: j in dom(p/^i) by FINSEQ_3:25;
    per cases by A4,XXREAL_0:1;
    suppose
A6:   j = 1;
      hence (p/^i).j = p.(i+1) by A2,A5,RFINSEQ:def 1
      .= (<*p.(i+1)*>^(p/^(i+1))).j by A6,FINSEQ_1:41;
    end;
    suppose
      j > 1;
      then j >= 1+1 by NAT_1:13;
      then consider k being Nat such that
A7:   j = 1+1+k by NAT_1:10;
A8:   len <*p.(i+1)*> = 1 by FINSEQ_1:40;
A9:   len(p/^(i+1)) = len p-(i+1) & len p-(i+1)+1 = len p-i & j = 1+k+1
      by A1,A7,RFINSEQ:def 1;
      then
      1 <= 1+k & 1+k <= len(p/^(i+1)) by A3,A4,XREAL_1:6,NAT_1:11;
      then
A10:   1+k in dom(p/^(i+1)) by FINSEQ_3:25;
      thus (p/^i).j = p.(i+j) by A2,A5,RFINSEQ:def 1 .= p.(i+1+(1+k)) by A7
      .= (p/^(i+1)).(1+k) by A1,A10,RFINSEQ:def 1
      .= (<*p.(i+1)*>^(p/^(i+1))).j by A8,A10,A9,FINSEQ_1:def 7;
    end;

  end;

theorem Th85:
  for R being terminating with_UN_property invariant stable
  ManySortedRelation of Free(S,X)
  for g being ManySortedFunction of Free(S,X),Free(S,X)
  st g is_homomorphism Free(S,X),Free(S,X)
  for h being ManySortedFunction of NFAlgebra R, NFAlgebra R
  st for s being SortSymbol of S, x being Element of NFAlgebra R,s holds
     h.s.x = nf(g.s.x,R.s)
  for s being SortSymbol of S
  for o being OperSymbol of S st s = the_result_sort_of o
  for x being Element   for x being Element of
  fory  Element ofArgso,ree(S,)) st x =y holds
  nf(Den(o,NFAlgebra R).(h#x),R.s) = nf(Den(o,Free(S,X)).(g#y),R.s)
  proof
    Rbeterminating  invariantstable
ManySortedRelation ofFree(,X)
letg  ManySortedFunction  Free(,X)Free(S,X)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
assumeg is_homomorphism Free(S,X),Free(S,X);
let  ManySortedFunction of NFAlgebra, NFAlgebra Rjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
   assume
A1:  cluster trivial properfor nonemptySubset Y;
    h    take A;
    [];
letobeOperSymbolofS such that
A2:s =the_result_sort_of o;
    let x be     take X;
let y be Element of Args(o,Free(S,X)) such that
: xx = y;
defpred P[Nat means $ < len he_arity_of oimplies
    let IT be SubSpace of Y;
=nf(eno,NFAlgebra ).h#)R.);
    (#x)=dom the_arity_of  &dom(g#y)=domthe_arity_of o
    by MSUALG_36;
    then
 (x) = len o&len(#)=len the_arity_ofo
byFINSEQ_3:29;
    (g#y)|0 = {} & (h#x)/^0 = h#x by Th81;
    
;
 coherence
    by Lm3;
,X));
    R c= theSorts ofFree(S,X &the  of NFAlgebra R = NForms R
PBOOLE ;
    then  coherence
(,NFAlgebraR)= (the Sorts  NFAlgebra). &
  NFAlgebra R)c=(the  of(SX).&
    Den(o,NFAlgebra R).thenreconsiderA0=the carrier ofYasnonempty of Y;
by,15
    then
reconsiderDx=Den(oFree,X)).x Dnx = Den(,NFAlgebra R).h#)as
    Element of Free(S,X),s;
s) = nf(Dnx,R) by A2,Def20;
    then
A7
A8 let be Nat;
      assume
A9:   P[i];
      thus P[i+1]
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 18
A10     i+ < lenthe_arity_ofo;

   oby:;
A12TopStruct Y1 Y0 isdiscrete  Y1 d
=(gy)i)<(#)(1*  A4,Th83
henceby A1,:def1;
A15     +1in  the_arity_of  & ((the Sorts ofNFAlgebra R)
        *java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 8
        byby A1: ;
:x(+1) in ((  fNFAlgebraR)the_arity_ofo.(+)&
        (the_arity_of o)/.(i+ coherence;
         ,: 6:;
        then   Y0isalmost_discreteimplies Y1is almost_discrete
        reconsider xi1 = x .(i+  forAbeing ubsetof  st in topology Y0  (the carrier
        
domx=the_arity_ofo byMSUALG_36
        thenendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
,MSUALG_3:def:Def2
        .= 
        byuniqueness
java.lang.StringIndexOutOfBoundsException: Range [15, 8) out of bounds for length 74
        RA2:the carrier of={y}java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
       java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
:.( o/(+1)reducesg.( o)/(+)).,
        hx.(i+1) setY0  y)
:dom(#x)= dom the_arity_of o byMSUALG_3:6java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
        then
A19:     len  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 Qset]
        nf((Den(o,Free(S,X)).(((g#y)|  properiff{} proper

A20hence{}is  byA1java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
A21:     for a,b being set st [a,b] in R.((the_arity_of o)/.(i+1)) & Q[b]
         cluster propertrivial strict for onempty SubSpaceof Y;
       proof
          let
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
          then reconsider c = a, d = b as Element of (the Sorts of Free(S,X))
A1  carrier  Y0={0}by TEX_1def;
          reconsider j = i+1 as Element of NAT by ORDINAL1:def 12;
          set f = transl(o,j,((g#y)|i)^<*d*>^((h#x)/^(i+1)),java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 60
          now
         ((g#)i^*d*>)=i+<d>by A12,22
.=i+ by :40;
            hus
  end
java.lang.StringIndexOutOfBoundsException: Range [17, 12) out of bounds for length 46
            len (((g#y)|i)^<*d*>^((h#x)/^(i+1))) = len(((g#y)|i)^<*d*>)+
            len((h#x)/^(i+1)) by FINSEQ_1:22
            .= i    takeSspacex);
            =lenthe_arity_of o by A18,FINSEQ_3:29;
            hence dom java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
=dom ((#y|^<**^(#x/(+))  A24,INSEQ_329
            let a be object;
            assume
:        a in omthe_arity_of;
            then     - properfor   X
A26:         blet Xbenon emptyTopSpace;
X0
            suppose
A27:           b <= i;
              then
A28:           b in dom((g#y)|i) & dom((g#y)|i) c= dom(((g#y)|i)^<*d*>) &
              b in Seg i by A26,A12,FINSEQ_3:25,FINSEQ_1:26;
              then (registration
              by FINSEQ_1:def 7 .= ((g#y)|i).a by A28,FINSEQ_1: coherence;
              .= (g#y).a by A27,A26,FINSEQ_1:1,FUNCT_1:49;
              hence   coherence
              in ((the Sortscluster discrete open closed proper strict for SubSpace of X;
       by A24,25,MSUALG_3:6;
end
           
A29:            - nonopen non closed for proper non empty SubSpace of X;
A1 X0 isopen orX0 closed;
          ((#))^<d>(hx/(+))). =((g#y)i)^<**)a
y:ef 7. d by ,,:2;
              then (((g#y)|i)^<*d*>^((h#x)/^(i+1))).a
          by A4,TARSKI:2java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
              hence (((g#y)|i)^<*d*>^((h#x)/^(i+1))).a
               ofFree(,)*the_arity_of )a
byA16,25,29,UNCT_1:3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  clust antidiscrete open nonclosed proper strict  SubSpaceofX;
            suppose
A30:           bjava.lang.StringIndexOutOfBoundsException: Range [16, 6) out of bounds for length 6
              then consider k being Nat such that
A31:java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
              i+1+k > i+1+0 by A30,A31;
              then >0&b-(i1 = (len the_arity_of o-i1)
byA26,XREAL_1:,6java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
              then k >= 0+1 & k <= len((h#x
              by A10,A19,RFINSEQ:def 1,A31,NAT_1:13;
             java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
A32:           A2:  G  openand
              then (((g#y)|i)^<*dG=#Y \F PRE_TOPC3;
by,A31,INSEQ_1:def . (#x).a by A31,A19A32,A10
RFINSEQ:def 1java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
hence((gy|i)<*d>^(h#x)^i+)))a
              in assume
              by A24,A25,A6,MSUALG_3:6;
            ;
          end;
          then
A33:       ((g#y)|i)^<*d*>^((h#x)/^(iA/ []   by XBOOLE_128;
          in product ((the Sorts of Free(S,X))*the_arity_of o) by java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 46
          then
          ( 
          then
A34:       [f.c,f.d] in R.s java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 5
          reconsider ad = ((g#y)|i)^<*d*>^  assume
        as  A1
          reconsider Dd = Den(o,Free(S,X)).ad as Element of Free(S,          reconsider Dd = Den(o,Free(S,X)).ad as Element of Free(S,X
          java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 7
c  Den(,ree,X).(((#y)i^*d>((#x)/(i+))+(,c)
byMSUALG_6def4
.= (,Free(,X).(g#)i)^<c*^(h#x/^(+)))by ,Th82;
          f.d = Den(o,Free(S,X)).((((g  Y,A being Subset iffY0java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
MSUALG_6:ef 4
          .= Den  assume
          then
A36:java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [21, 10) out of bounds for length 61
          are_convertible_wrt R.s by A34,A35,REWRITE1:29;
          Qb;
A5:   G isopenand
        end;
A37:     Q[g.((the_arity_of o)/.(i+1)).xi1] from B(A20,A17,A21);
        dom y = dom     then the topology of Y0 = bool carrierofY0;
        hence
        nf((Den(o,Free(S,X letD  Subset of  Yjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
=nf((Den(,NFAlgebraR.hx),Rs by A13,A15A37,MSUALG_3:def 6;
      end;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      take;
    then
A38: nf(Den(theorem Th21:
   h/ o),.s
=Den(NFAlgebra )(x)Rs;
    (g#y)|lenjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 40
    by A4,FINSEQ_1:58A4    \ =Bjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 26
thesis A38FINSEQ_13;
  end;

registration
  let S,X;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  ManySortedRelation of Free(S,X);
  cluster NFAlgebra R -A1 B c= A;
  coherence
  proof set A = NFAlgebra R;
    
    hence the Sorts       B /\ G c= A /\ GX26;
  end;
end;

registration
  let S,X;
  NF   invariant stable
  ManySortedRelation of  byTh22XBOOLE_1:17;
  cluster NFAlgebra R -> java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 8

coherence

A1: the Sorts of A = NFormsassumethat
    thus FreeGenXis ManySortedSubset fthe of java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    proof
      let i     then consi beingof   that
      assumethen
      reconsiders=ias SortSymbol ofSjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
       xbeobject;
   X.;
      Free(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      then    is &\ Qisclosed) impliesforA BbeingSubsetof  A is
      then reconsider x as Element java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      x   let A, B be Subset of Y
      then   and
      by REWRITE1:54;
      x nfxRs java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
      (NForms R).s = the set A9:B/ = D/ by A5;
      by Def19, java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 38
hencethesis by A1;
    end;
    hereby
  o beOperSymbol of S,pbe FinSequence;

A3:   p in Args(o, Free(S,X)) &
 in(the  of A)the_result_sort_of;


      dom ((the Sorts of Free(S,X))*the_arity_of o)
      = dom the_arity_of o by MSUALG_3proof
      reconsider q = p as FinSequence;
      Den(,ree,).p in the set fall
nf(z,R.the_result_sort_of java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 45
      (the java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
      byproof
       considerz Elementof(heSorts ofFreeSX)
      . osuchthat
A5:   Den(o  husthesisbyA1;
A6  for A being   of holds A is 
      by A5,REWRITE1:54;
A7:   now
        let i be object;    ex G beingSubset of  stGis\G=D
A8     i   p;
        then
A9:     (the Sorts of 
        ((the Sorts of         G is open &{x}/\ G  Dby ;
        reconsider j = iA4:   D  {};
= )i  of
        by A4,A8,FUNCT_1: hence  G being Subset ofX stGis  x / G   by A1A3,
A10:     ai = (the_arity_of  forA  Subset  holds(x Point of st  in java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
        A1   beingPoint   stx in AexG  Subsetof X st  isopen
        by PRALG_2:3;
        thenreconsider   p.asElement
( Sorts ofFreeS).((he_arity_of )i)by A3,A8A4,:9;
        assume p.i nin ((NForms R)*the_arity_of o).i;
        then . nin(Forms R)(the_arity_of.i)A4,FUNCT_1:;
        then pj nin the set of all
nf(b,R.((the_arity_of o)/.i)) where b is Element of
        (the Sorts of Free(S,X        consider being X
byA10,;
of,
        R.((the_arity_of o        henceC ;
 of t  of Free,X).
        ((the_arity_of
        by A10,REWRITE1:54;
        then R.((the_arity_of o).i) reduces pj,nf
        & nf(pj,R.((the_arity_of o).i)) <> pj;
        then consider x being object such that
A11:     [pj,x] in R.((the_arity_of o).i) by REWRITE1:33,def 5;
        reconsider x as Element of
fFree(,X).((he_arity_of o).i) by A11,ZFMISC_1:87;
        set f = transl(o,j,q,Free(S,X));
A12:     f.pj = Den(o,Free(java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
UNCT_7:35;
       [.j.x]in R.the_result_sort_of o
        by A11,A3,A8,A4,A10,MSUALG_6assume
hencecontradiction by A6,A12,EWRITE1:def 5;
      end;
dom(NForms R)*the_arity_of o) = dom the_arity_of o by A1,PRALG_2:3;
     thenpin product(NForms R)the_arity_of o)byA4,CARD_39
  (A A1:3java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
      hence A2 P <Q;
=nfDen(o,(S))p,.the_result_sort_of o)by 
      .=   forAbeingSubset of   A  everywhere_denseholds A is discrete
    end;
     fbeManySortedFunction   FreeGenX Sorts of 
 beManySortedSubset of the Sorts of A;assume
A13: G = FreeGen X;
   XasGeneratorSetof(,X)byMSAFREE331;
    the Sorts     then a in IntbyZFMISC_1:;
    H is_transformable_to the Sorts of Free(S,X) by Def20,Th21;
    then
A14: the Sorts of A c= the Sorts of Free(S,  then Cl Int A misses G by A4,A6,TSEP_1:36;
    domsf=  by MSSUBFAM:17,PBOOLE:ef18;
    then rngs f c= the Sorts of Free(S,X) & FreeMSA X = Free(S,X)
    by PBOOLE:13,MSAFREE3:31;
    then f  Abe  Xjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
    H is free by A14,A1 A is discrete;
    then consider g being ManySortedFunction of Free(S,X),Free(S,X) such that
A15: g A3: F is closed
    deffunc F(SortSymbol of S, Element of A,$1) = nf(    then
    defpred P[object,    then D c=A/\Cl by A2,XBOOLE_1:;
A16: for s,x being object
s inthe carrier of S  x  (the Sorts of A).
    ex y being object st y in (the java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 20
    proofhence Fbeing Subset of X st Fis closed   /  = D;
      let s,x be object;
: s in the carrier of S;
      assume A18: x in (the Sorts of A).s;
     A17
     z=x asElementoftbyA18java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      (NForms R).t c= (the Sorts of Free(S,X)).t by PBOOLE:def 2,def 18;
  =gt. as  ofFreeS,X)t by A1F:5;
      y = nf(a, R.t);
      then y in the set of endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
      hence y in (the Sorts of A).s by A1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      thus P[s,x,y];
    ;
    consider h being java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 28
 s, beingobject
      st s in the carrier of S & x in (thehenceA trivial;

    h.s.x in (the Sorts of A)
    take h;
thus is_homomorphism 
    proof
      let o be OperSymbol of S; assume
      Args(o,A) <> {};
      let x be Element:theTopStructof   java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 46
      (NForms R)*java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 26
      c= (the Sorts of Free  discreteby A1Th19
      qua ManySortedSet of dom the_arity_of o
      by Th15,PBOOLE;
product(NFormsR* )cjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
      product((the Sorts of reconsider a Pointof  by ;
      then product ((NForms R)*the_arity_of o) c= Args(o,  
      by PRALG_2:3;
      then Args(o,A) theorem Th41:
 reconsider  =xas Element of rgs,Free(,X))java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
A20:   for s being SortSymbol of S, x being Element of  ssume
      h.s.x = nf(g.s.x,R.s) by java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 18
      reconsider Dy = Den(o,Free(S,X)).y as
      Element of Free(S,X),the_result_sort_of o by FUNCT_2:15;
      Den(o,A).x in Result set  A/{;
      A6: now
      by FUNCT_2:15;
      hence h.(the_result_sort_of       hence h.(the_result_sort_of o
      = nf(g.(       SubsetX  is& \G={} byA3Th26;
      by A19
      .= (.)D(FreeSX)xjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
      R.(the_result_sort_of o)), R.(the_result_sort_of o)) by Def20
. (.the_result_sort_of o).(Dy),
      .(he_result_sort_ofo) byA15,Th80
      .= nf(Den           G #X\ ;
      by A15
      .= nf(Den(o,A).(h#x), R.(the_result_sort_of o)) byA15,,h85
      .nfnfDen(,(,).hx),R( o),

      .= nf(Den(o,Free(S,X)).(h#x), R.(the_result_sort_of o endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      .= Den(o,Athen
    end;
    let a be Element thus A c= B by XBOOLE_
A21: dom(f.a) = H.a & dom((h||G).a     thesis;
    hence dom(f.a) = dom((h||G).java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    let x be object;
    assume
A22: x in dom(f.a);
A23: G.aA2 A discrete;
    reconsider fax =   then consider D being Subset of X such that
    theSorts  = R byD;
     f.x=nf(fax,.)by Th79
    .= nf(((g.a)|(H.a)).x,R.a) by java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 35
    .= nf(A7: G is op and
..x A,A21,22,19
    .= ((h.a)|(G.a)). hencecontradictionA6,BOOLE_0 ;
    .= (h||G).a.x by MSAFREE:def 1;
  end;
end;


Messung
CHZG
8110010093

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

*© Formatika GbR, Deutschland