Eine aufbereitete Darstellung der Quelle

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


Quelle  msualg_9.miz   Sprache: Mizar

 

:: On the Trivial Many Sorted Algebras and Many Sorted Congruences
::  by Artur Korni\l owicz
::
:: Received June 11, 1996
:: Copyright (c) 1996-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 XBOOLE_0, STRUCT_0, MSUALG_1, PBOOLE, FINSET_1, SUBSET_1,
      CLOSURE2, TARSKI, RELAT_1, FUNCT_1, FINSEQ_1, MARGREL1, NAT_1, java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 17
      reconsider java.lang.StringIndexOutOfBoundsException: Range [16, 4) out of bounds for length 4
      ,   ,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      WELLORD1, PARTFUN1. len  A2
      java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 4
  , ,java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 76
       STRUCT_0  vbebeobjectjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      PARTFUN1
      NAT_1, TREES_4, FUNCT_6, DTCONSTR, MSUALG_1, MSUALG_2, PRALG_1, MSUALG_3,
      MSAFREE,PRALG_2,   GlabelVertex(,- 
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 25
 then c19D:
A1  =n&  c29 
 registrations A2 b java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 25
EQREL_1,PZFMISC1 MSSUBFAM,STRUCT_0, FUNCT_1,MSUALG_1,
      MSUALG_2, PRALG_2, MSUALG_3, MSAFREE, MSUALG_4, MSUALG_5, CLOSURE2,
      nsider c1=c19 as  of E^omega by A2,Th5;
 requirementsSUBSET,BOOLE;
 definitions FINSEQ_1, FUNCT_1, FINSET_1, MSUALG_1, MSUALG_3, PBOOLE, TARSKI,
      XBOOLE_0bthus java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 23
 equalities
 expansionstheorem :
 theoremsCARD_3,CLOSURE1,CLOSURE2  coherence
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      MSUALG_3, MSUALG_4,   then len a + len a = len a by AFlena +   
      PRALG_1, PRALG_2, PZFMISC1, java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 15
      XBOOLE_0,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 schemes :: Concatenation of Languages

begin :: Preliminariesjava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10

reserve a  func A ^ B - Subsetof Eo    hereby
  S for non empty non void ManySortedSign;

registration
  let I 
  cluster   x in it iff exa,b st   AA1   dom  =domthe_VLabel_of G\  v->)by java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 68
existence
  proof
    EmptyMSI c M PBOOLE:43;
    EmptyMS is A1:   iff  ^omegaPxfrom 1;
    then reconsider A = EmptyMS I as Element of Bool M by    take C;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 11
     
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
end;

registration
  letA2:xin C1iff ex        lety java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
cluster
  existence
      
    let x beobject;
A1: now
            thusxin A3 y indom VL
      iproof
      set assume in;
       j= {a as object;
      take j;
      thus P[i,j]
    end;
nsiderC 
A2: for i be object st i in I holds P[i,C.i] from PBOOLE:sch 3(A1);
      M
    proof
      let i be java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 17
      java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
A3:i  I;
      then
A4:   M.i java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 6
      let q be object:: Concatenation of Languages
      consider java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 13
{},;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 5
thenq a A5TARSKI:def 1;
      hence thesis by A4;
    end;
    thenreconsider C              G A4
    take C;
    thus C is non-empty
    proof
leti java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
      ssume i;
      then ex a being Element of M.i st C.i = {a} by A2;
sisjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    end;
    let i be object;
    assume i in I;
    then ex     suppose
    hencethesis;
  end;
end;

registration
  let .>
  o be OperSymbol of S;
  cluster -> FinSequence-like for Element of Args(o,A);

  proof
    let x be Element of Args(o,A);
    dom x = dom the_arity_of                 , ;
    then consider n being Nat such that
A1: dom x = Seg n by FINSEQ_1:def 2;
    take n;
    thus thesis by A1;
  end;
end;

registration
  let S beend;
  F be MSAlgebra-Family of I, S;
  cluster -> Function-like Relation-like for Element of (SORTS F).s;
  coherence
  proof
    let x be Element of (SORTS           inthe_Vertices_of ;
    x is Element of product Carrier(F,s) by PRALG_2:def 10;
    hence thesis;
  end;      
end;

registration
  let S be non void non empty ManySortedSign, X be non-empty ManySortedSetthen   =the_Vertices_ofG  :def3;
  the carrier of S;
  cluster FreeGen X -> free non-empty;
  coherence by MSAFREE:14,16;
end;

registration
  let S be non void non empty ManySortedSign, X be non-empty ManySortedSet V1=LasPartFuncofthe_Vertices_ofG,ngVL by
  the carrier of S;
  cluster FreeMSA X ->java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 11
  by :17java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
end;

registration
  let S be non empty non void ManySortedSign, A, B be non-empty hence   ;
  S;
  cluster [:A,B:] -> non-empty;
  coherence
  proof
    [:A,B:] = MSAlgebra (# [|    end;
      Charact of A,the Charact of B:]] #) by PRALG_2:def 8;
    hence the Sorts    thus ;
  end;
end;

theorem
  for X, Y being set, f being Function st a in dom f & f.a in   end;
  holds f.a = [(pr1 f).a, (pr2 f).a]
proof
  let X, Y be set, f be Function such that
A1:a in dom f and
A2: f.a in [:X,Y:];
  (pr1 f).a = (f.a)`1 & (pr2 f).a = (f.a)`2 by A1,MCART_1:java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 4
  hence thesis by A2,MCART_1:21;
end;

theorem Th2:
  for X being non empty java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  } holds rng f = {Y}
proof
  let X be non emptyjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  thus rng f c= {Y};
  let q be object;
  consider x being object such that
  let G be VGraph;
  assume q in {Y};
  then
A2: dom f = X & q = Y by FUNCT_2:def 1,TARSKI:def 1;
  f.x = Y by A1,FUNCT_2:50;
     ,,FUNCT_1:def 3;
end;

theorem Th3:
  Class(nabla I) c= {I}
proof
  let q be object;
  assume q in Class(nabla I);
   consider xbeing object such that
A1: x in I and
A2: q = Class(nabla I,x) by EQREL_1java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
  Class(nabla I,xjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  hence thesis by A2,TARSKI:def 1;
end;

theorem Th4
  for I being non empty set holds Class(nabla I) = {I}
proof
  java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  consider a being object such that
A1: a in I by XBOOLE_0:def 1;
  thus Class(nabla I) c= {  let G be _finite VGraph, ,xbe ;
  let q be object;
  assume q in {I};
  then
A2: q = I by TARSKI:def 1;
  Class(nabla I,a) = I by A1,EQREL_1:26;
  hence thesis by A2,A1,EQREL_1:def 3;
end;

theorem Th5:
  ex A being ManySortedSet of I st {A} = I --> {a}
proof
  reconsider A = I --> a as ManySortedSet of I;
    clusterGlabelVertex(v)-> f
  now
    let i be object;
    assume
A1: i in I;
    hence {A}.i = {A.i} by PZFMISC1:def 1
      .= {a} by A1,FUNCOP_1:7
      .= (I --> {a}).i by A1,FUNCOP_1:7;
  end;
  hence ;
end;

theorem
  for A being ManySortedSet of I ex B being non-empty ManySortedSet     now
  st A c= B
proof
  let A be ManySortedSet of  per ;
  deffunc F(object) = {{}} \/ A.$1;
  consider f       
A1: for i be object st i in I holds f.i = F        v  the_Vertices_ofG
  f is non-empty
  proof
    let i be object;
           G(,)=.set,  *(v
    then f.i = {{}} \/ A.i by A1;
    hence thesis;
  end;
  then reconsider        -)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
  take f;
  let i be object;
  assume i in I;
  thenfi=A.\/ {}  ;
  hence thesis by XBOOLE_1:7;
end;

theorem
  for M being non-empty java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 30
ManySortedSubset of M ex C being non-empty finite-java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 8
st  c=java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
proof
  let M be non-empty ManySortedSet of I, B be finite-yielding ManySortedSubset;
  of M;
  defpred P[object,object] means
    ex a being Element ofjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A1: now
    let i be object such that
    i in I;
    set a = the Element of M.i;
     reconsider j = {a}   let G  loopless VGraph,v,be set
    take j;
    thus P[i,j];
  end;
  consider C being ManySortedSet of I java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 41
A2: for i be object st i in I holds P[i,C.i] from PBOOLE:sch 3(A1);
A3: C is ManySortedSubset of M
  proof
    let i be object;
    assume
A4: i in I;
    then consider a being Element of M.i such that
A5: C.i = {a} \/ 
    let q be object;
    assume q in C.i;
    then
A6: q in {a} or q 
    B c= M by PBOOLE:def 18;
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    then
A7: q = a or q in M.i by A6,TARSKI:def 1;
    M.i          G.labelVertex(vx =Gset(, the_VLabel_of G + (v
    hence thesis by A7;
  end;
A8: C is finite-yielding
  proof
    let i be object;
    assume
A9: i in I;
    reconsiderb=Bi as finite set;
    consider a being Element of M.i such that
A10: C.i = {a} \/ B.i by A2,A9;
    thus thesis by A10;
  end;
  C is non-empty
  proof
    let i be object;
    assume i in I;
    thend;
    hence thesis;
  end;
  then reconsider C as non-empty finite-yielding ManySortedSubset of M by A3,A8
;
  take C;
  let i be object;
  assume i in I;
  then ex a being Element of M.i st C.i = {a} \/ B.i by A2;
  hence thesis by XBOOLE_1:7;
end;

theorem
  for A, B being ManySortedSet of I for F, G being ManySortedFunction of
  A, {B} holds F = G
proof
  let A, B be ManySortedSet of I, F,  hence  byDef22java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  now
    let i be object;
    
A1: i in I;
    then
A2: {B}.i = {B.i} by PZFMISC1:def 1;
    F.i    end
PBOOLE:def 15;
    hence F.i = G.i by A2,FUNCT_2:51;
  end;
  hence thesis;
end;

theorem Th9:
  for A being non-empty ManySortedSet of I, B being ManySortedSet
  of I for F being ManySortedFunction of A, {B} holds F 
proof
  let A be non-empty ManySortedSet of I, B be ManySortedSet of I, F be
  ManySortedFunction of A, {B};
  let i be set;
  assume
A1: i in I;
  then {B}.i = {B.i} & F.i is Function of A.i, {B}.i 
,PZFMISC1:def 1;
  hence thesis by A1,Th2;
end;

theorem Th10
  for A being ManySortedSet of I, B being non-empty ManySortedSet
  of I for F being ManySortedFunction of {A}, B holds F is "1-1"
proof
  let A be ManySortedSet of I, B be non-empty ManySortedSet of I, F be
  ManySortedFunction of {A}, B;
  now
    let i be set;
    assume i in I;
    then  in the_Vertices_of G;
,PZFMISC1:def 1;
    hence F.i is one-to-one by PARTFUN1:17;
  
  hence thesis by MSUALG_3:1;
end;

theorem
  for X being non        ->) by Def22
X "-1"
proof
  let X be non-empty ManySortedSet of the carrier of S;
  for i being set st i in the carrier of S holds (Reverse X).i is one-to-one
  proof
    set D = DTConMSA X;
    let i be set;
    assume i in the carrier of S;
    then reconsider s = i as SortSymbol of S;
    set f       suppose
    let x1,x2 be object such that
A1: x1 in dom ((Reverse X).i) and
A2: x2 in dom ((Reverse   not v in  Gjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
A3: ((Reverse X).i).x1 = ((Reverse X).i).x2;
A4: f = Reverse(s,X) by MSAFREE:def 18;
    then
A5: dom f = FreeGen(s,X) by FUNCT_2:def 1;
    then consider a2 being set such that
A6: a2 in X.s and
A7: x2 = root-tree [a2,s] by A2,MSAFREE:def 15;
A8: [a2,s] in Terminals D by 
    then reconsider t2 = [a2,s] as Symbol of D;
    t2`2 = s;
    then root-tree
    Terminals D & tt`2 = s} by A8;
    then root-tree t2 in FreeGen(s,X) by MSAFREE:13;
    then
A9: f.x2 = [a2,s]`1 by A4,A7,MSAFREE:def 17
      .= a2;
    consider a1 being set such that
A10: a1 in X.s and
A11: x1 = root-tree [a1,s] by A1,A5,MSAFREE:def 15;
A12: [a1,s] in Terminals D by A10,MSAFREE:7;
    then reconsider t1 = [a1,s] as Symbol of D;
    t1`2 = s;
    then root-tree t1 in {root-tree tt where tt is Symbol of D : tt in
    Terminals D & tt`2 = s} by A12;
    then root-tree t1 in FreeGen(s,X) by MSAFREE:13;
    then f.x1 = [a1,s]`1 by A4,A11,MSAFREE:def 17
      .= a1;
    hence thesis by A3,A11,A7,A9;
  end;
  hence thesis by MSUALG_3:1;
end;

theorem
  for A being non-empty finite-yielding ManySortedSet of I ex F being
  ManySortedFunction of I --> NAT, A st F is "onto"
proof
  let A be non-empty finite-yielding ManySortedSet of I;
  defpred P[object,object] means
   ex f being sequence of  A.$1 st $2 = f & rng f = A.$1;
A1: for i being object st i in I ex j being object st P[i,j]
  proof
    let i be object;
    assume
A2: i in I;
    consider f being sequence of  A.i suchregistration
A3: rng f = A.i by A2,CARD_3:96;
    take f;
    thus thesis by A3;
  end;
  consider F being ManySortedSet of I such that
A4: for i being object st i in I holds P[i,F.i] from PBOOLE:sch 3(A1);
  F is ManySortedFunction of I -cluster G.(v,) - connected;
  proof
    let i be object;
    assume i in I;
    then (ex f being sequence of  A.i st F.i = f & rng   coherence
    NAT).i = NAT by A4,FUNCOP_1:7;
    hence thesis;
  end;
  then reconsider F as ManySortedFunction of I --> NAT, A;
  take F;
  let i be set;
  assume i in I;
  then ex f being sequence of  A.i st F.i = f & rng f = A.i by A4;
  hence thesis;
end;

theorem
S being non empty    nonemptyMSAlgebra
  over S for f, g being Element of product the Sorts of A
 st for i being object
  holds proj         inthe_Vertices_of G;
proof
  let S be non empty ManySortedSign, A be non-empty MSAlgebra over S, f, g be
  Element of product the Sorts of A such that
A1: for i being object
   (theSorts of A,).f =proj(   Ai.;
  set X = the Sorts of A;
  now
    thus dom f = dom X by CARD_3:9
      .= -x) by ;
    let x be object such that
    x in dom ;
A2: dom (proj(X,x)) = product X by CARD_3:def 16;
    hence f.x = proj(X,x).f by CARD_3:def 16
      .= proj(X,x).g by A1
      .= g.x by A2,CARD_3:def 16;
  end
  hence thesis;
end;

theorem
  for I being non empty set for s being Element of S for A being
MSAlgebra-Family of I,S for f, g being Element of product Carrier(A,s) st for a
being Element of I holds proj(Carrier(A,s),a).f  thencardbool(eg        not  inthe_Vertices_ofG
  f = g
proof
  let I be non empty set, s be Element of S, A be java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 30
  g be Element     java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 64
A1: for a being Element of I holds proj(Carrier(A,s),a).f = proj(Carrier
  (A,s),a).g;
  now
 dom f = dom Carrier(A,s) by CARD_3hence thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    hence dom f = dom g by CARD_3:9;
    let x be object such that
A2: x in hencejava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A3: dom (proj(Carrier(A,s),x)) = product Carrier(A,s) by CARD_3:def 16;
    hence f.x = proj(Carrier(A,s),x).f by CARD_3:def 16
      .= proj(Carrier(A,s),x).g by A1,A2
      .= g.x by A3,CARD_3:def 16;
  end;
  hence thesis;
end;

theorem
  for A, B being non-empty MSAlgebra over S for C being non-empty
MSSubAlgebra of A for h1 being ManySortedFunction of B, C st h1 is_homomorphism
  B, C for h2 being ManySortedFunction of B, A st h1 = h2 holds h2
  is_homomorphism B, A
proof
  let A, B be non-empty MSAlgebra over S, C be non-empty MSSubAlgebra of A, h1
  be ManySortedFunction of B, C such that
A1: h1 is_homomorphism B, C;
  the Sorts of C is ManySortedSubset of the Sorts of A by MSUALG_2:def 9;
  then id (the Sorts of C) is ManySortedFunction of C, A by EXTENS_1:5;
  then consider G be ManySortedFunction of C, A such that
A2: G = id (the Sorts of C);
  G is_monomorphism C, A by A2,MSUALG_3:22;
  then
A3: G is_homomorphism C, A;
A4: G ** h1 = h1 by A2,MSUALG_3:4;
  let h2 be ManySortedFunction of B, A;
  assume h1 = h2;
  hence thesis by A1,A4,A3,MSUALG_3:10;
end;

theorem
  for A, B being non-empty MSAlgebra over S for F java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 12
  ManySortedFunction of A, B st F is_monomorphism A, B holds A, Image F
  are_isomorphic
proof
  let A, BbenonemptyMSAlgebra over S, F be ManySortedFunction of A, B;
  assume
A1: F is_monomorphism A, B;
  then F is_homomorphism A, B;
  considerGbeing ManySortedFunctionofA Image F such that
A2: G = F and
A3: G is_epimorphism A, Image F by MSUALG_3:21;
  take G;
  thus G is_epimorphism A, Image F   thus G is_epimorphism A, Image F by
  thus G is_homomorphism A, Image F by A3;
  thus thesis by A1,A2;
end;

theorem Th17:
  for A, B being non-empty MSAlgebra          ;
  ManySortedFunction of A, B st F is "onto" for o being OperSymbol of S for x
 ArgsoB  ex beingElement of Args(,)st #x
proof
  let A, B be non-empty MSAlgebra over;
  that
A1: F is "onto";
  let o be OperSymbol of S, t be Element of Args(o,B);
  (he_arity_of)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  defpred P[object,object]  end;
   ex y1 being Element of (the Sorts of A).((
  the_arity_of o)/.$1) st (F.((the_arity_of o)/.$1)).y1 = t.$1 & $2 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ing st  in Dx  P[kx]
  proof
    let k be Element of NAT;
    assume k in Seg D;
    then
A3: k in dom the_arity_of o by FINSEQ_1:def 3;
    set s = (the_arity_of o)/.k;
A4: t.k in (the Sorts of B).s by A3,MSUALG_6:2;
    rng (F.s) = (the Sorts of B).s by A1;
     objectsuch 
A5: y1 in (the Sorts of A).s and
A6: F.s.y1 = t.k by A4,FUNCT_2:11;
    reconsider y2 = y1 as Element of (the Sorts   coherence
    take y1;
    take y2;
    thus thesis by A6;
  end;
  consider p being FinSequence such that
A7: dom p = Seg D and
A8: for k being Element of NAT st k in Seg D holds P[k,p.k] from
  MSUALG_8:sch 1(A2);
A9: len p = len the_arity_of o by A7,FINSEQ_1:def 3;
  for k being Nat st k in dom p holds p.k in (the Sorts of A).((
  the_arity_of o)/.k)
  proof
    let k be Nat;
    assume k in dom p;
    then
    ex y1 being Element of (the Sorts of A).((the_arity_of o)/.k ) st F.((
    the_arity_of o)/.k).y1 = t.k & p.k = y1 by A7,A8;
    hence thesis;
  end;
  then reconsider p as Element of Args(o,A) by A9,MSAFREE2:5;
  set fp = F # p;
  take p;
  reconsider E = (the Sorts of B)*(the_arity_of o) as non-empty ManySortedSet
  of dom (the_arity_of o);
A10: Args(o,B) = product E by PRALG_2:3;
A11: Seg D = dom the_arity_of o by FINSEQ_1:def 3
    .= dom ((the Sorts of B)*(the_arity_of o)) by PRALG_2:3
    .= dom t by A10,CARD_3:9;
A12: for k being Nat st k in dom t holds fp.k = t.k
  proof
    let k be Nat;
    assume
A13: k in dom t;
    then
    ex y1 being Element of (the Sorts of A).((the_arity_of o)/.k) st (F.(
    (the_arity_of o)/.k)).y1 = t.k & p.k = y1 by A11,A8;
    hence thesis by A11,A7,A13,MSUALG_3:def 6;
  end;
  dom fp = dom ((the Sorts of B)*(the_arity_of o)) by A10,CARD_3:9
    .= dom t by A10,CARD_3:9;
  hence thesis by A12;
end;

theorem Th18:
  for A being non-empty MSAlgebra over S, o being OperSymbol of S
  for x being Element of Args(o,A) holds Den(o,A).x in (the Sorts of A).(
  the_result_sort_of o)
proof
  let A be non-empty MSAlgebra over S, o be OperSymbol of S, x be Element of
  Args(o,A);
  Den(o,A).x is Element of (the Sorts of A).((the ResultSort of S).o) by
FUNCT_2:15;
  hence thesis;
end;

theorem Th19:
  for A, B, C being non-empty MSAlgebra over S for F1 being
  ManySortedFunction of A, B for F2 being ManySortedFunction of A, C st F1
is_epimorphism A, B & F2 is_homomorphism A, C for G being ManySortedFunction of
  B, C st G ** F1 = F2 holds G is_homomorphism B, C
proof
  letjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  reconsiderxb  xas  of Eomega;
A2  java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 28
  let G be ManySortedFunctionhence   A1  luster  G.(, -nonnegative-weighted;
A3: G ** F1 = F2;
  let o be  
  Args(o,B      end;
  let x be Elementnow
  F1 is "in java.lang.StringIndexOutOfBoundsException: Range [14, 1) out of bounds for length 7
  then consider y being Element of Args      per cases;
A4: F1 # y =          A12,java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 13
  set r = the_result_sort_of     
  F1 is_homomorphismA13:for being object holds x inBiff x =<E byA4;
  
:(F1 hence contradiction by A2,13,TARSKI:def 1;
A6: (F2.r).(Den(o,A).y) = (G.r * F1.r).(Den(o,A).y) by A3,MSUALG_3:2
    .= (G.r).(Den(o,B).x) by A5,Th18        ->  end
  (F2.java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 23
    .= Den(o,C).(G #x) by A4,MSUALG_3:8;
   (G.(he_result_sort_of o)).(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 13
end;

thus%Ein ^Bimplies %E  %  java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
  B, C for non-empty ManySortedSet of I;

definition
  let I be set;
  let A be ManySortedSet of I;
  let B, C be non-empty ManySortedSet of I;
    of,|C;
    then{  %>in A^   
  :ef1:
  for i being   end;
  existence
  proof
    deffunc G(object) = pr1 (F;
     Xbe ManySortedSet   such that
A1: for i be object java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
     is java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 12
    proof
      let i be object;
     
A2:   in 
      then   
. =java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 31
      then reconsider Xi:x  A
A4:     
A5 Xi  Bi
      
        let q be object;
        assume q in rng Xi;
        x beobject  that
A6:  proof
A7:Xi.=q : 3java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
        xin
        then
A8:     Xi.x = (F.i.x         in  GDef1;
,MCART_1:def    hence thesis;
           ;
        then
A9:     rng (F.i &B =  implies A^^Bc C ^^D
        assume java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 8
                hencethesis;
      end;
      dom (F.i) = A.i by A2,A4,FUNCT_2:def 1;
      then Xi= .iby Md12
      hence thesis by A5,FUNCT_2:def 1,RELSET_1:4;
    end 
    then reconsider X as ManySortedFunction of A, B;
 X;
    thus thesis by A1;
  end;
  uniqueness
  proof
    let M, N be ManySortedFunction of A, B such that
A10: for i be set st i in I holds M.i = pr1 (F.i) and
A11: for i be set st i in I holds N.i = pr1 (F.i);
    now
      let i be object;
      assume
A12:  i in I;
      hence Mjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
        .= N.i by A11,A12;
    end;
    hence M = N;
  end;
  func Mpr2 F -> ManySortedFunction of A, C means
  :Def2:
fori being setst in I  it. =pr2 (.
  existence
  proof
    deffunc G(object) =pr2 (F    
    consider X be ManySortedSet of I such that
A13: for i be object st i in I holds X.i = G(i) from PBOOLE:sch 4;
    X is ManySortedFunction of A, C
    proof
     i  object;
      assume
A14:  i in I;
      then reconsider Ci = C.i as non empty set;
A15:  X.i = pr2 (F.i) by A13,A14;
      then reconsider Xi = X.i as Function;
A16  Fi Function . [,C]by,def15;
A17:  rng Xi c= Ci
      proof
        let q be object;
        assume q in rng Xi;
        then            G +(.->java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
A18:    x in dom Xi and
java.lang.StringIndexOutOfBoundsException: Range [16, 3) out of bounds for length 34
        x in dom (F.i) by A15,A18,MCART_1:def 13;
        then
A20:    Xi.x  thenthe_VLabel_of G is PartFuncof the_VLabel_of G,REAL by
,MCART_1:def 13;
        RELSET_1:4
        then
A21:    rng (F.i) c= [:B.i,C.i:] by        then the_VLabel_of G PartFunc of the_Vertices_of G, REAL by Lm2,
        assume not q in Ci;
        hence contradiction ;
      end;
      dom (F.i) = A.i by A14,A16,FUNCT_2:def 1;
      then        then  EL as  of  G,REAL by A1,Lm4;
      hence thesis by A17,FUNCT_2:def 1,RELSET_1:4;
    end;
    then reconsider X as ManySortedFunction of A, C;
    take        hence thesis;
    thus thesis by A13;
  end;
  uniqueness
  proof
    let M, N be ManySortedFunction of A, C such that
A22: for i be set st i in I holds M.i = pr2 (F.i) and
A23: for i be set st i in I holds N.i = pr2 (F.i);
    now
      let i be object;
      assume
A24:  i in I;
      hence M.i = pr2 (F.i) by A22
        .= N.i by A23,A24;
    end;
    hence M = N;
  end;
end;

theorem
  for F being ManySortedFunction of A, [| I-->{a} , I-->{a} |] holds
  Mpr1 F = Mpr2 F
proof
  let F be ManySortedFunction of A        hence thesis by Def22;
  now
    let i be object;
A1: end;
    assume
A2: i in I;
A3: now
      let y be object such that
A4    end;
A5:   (F.i).y in rng (F.i) by A4,FUNCT_1:def 3;
      (F.i) is Function of A.i, [| I-->{a} , I-->{a} |].i by A2,PBOOLE:def    hence thesis;
      then rng (F.i) c= [| I-->{a} , I-->{a} |].i by RELAT_1:def 19;
      then
A6end;
      then ((F.i).y)`1 in (I-->{a}).i by A5,MCART_1:10;
      then
A7:   ((F.i).y)`1 in {a} by A2,FUNCOP_1:7;
      ((java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
   Gbereal-weighted WGraph;
A8:   ((F.i).y)`2 in {a} by A2,FUNCOP_1:7;
      thus (pr2 (F.i)).y = ((F.i).y)`2  cluster - real-weighted for WSubgraph of G;
        .= a by A8,TARSKI:def 1
        .= ((F.i  
    end;
    (Mpr1 F).i = pr1 (F.i proof
    hence (Mpr1 F).i = (Mpr2 F).i by A1,A3,MCART_1:def 12;
  end;
  hence thesis;
end;

theorem
  for F being ManySortedFunction of A, [|B,C|] st F is "onto" holds Mpr1
  F is "onto"
proof
  let F java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A1: F is "onto";
  let i be set;
  assume
A2: i in I;
  then reconsider m = (Mpr1 F).i _trivial non-multi simplerealWEV
  rng m = B.i
  proof
    thus  m c=B;
    let a be object such that
:a inB;
    consider z be object such that
A4: z in [|B,C|].java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 16
    set =[a,z`2]java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    z in [:B.i,C.i:] by A2,A4,PBOOLE:def 16;
    then
A5: p`2 in C.i by MCART_1:10;
    p`1 in B.i by A3;
    then p in [:B.i,now
    then
A6: p in [|B,C|].i by A2,PBOOLE       x Nat;
A7: dom m = A.i by A2,FUNCT_2:def 1;
: (. is  of.,[BC|.i by ,PBOOLEd 15;
    then
A9: dom (F.i) = A.i by A2,FUNCT_2:def 1;
    rng (F.i) = [|B,C|].i by A1,A2;
    then consider b be object such that
A10: b in A.i and
A11:11;
    m.b = (pr1 (F.i)).b by A2,Def1
      .= p`1 by A10,A11,A9,MCART_1:def 12
      . ajava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
      by ,,java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 41
  end;
  hence thesis;
end;

theorem
  for F being ManySortedFunction of A, [|B,C|] st F is "onto" holds Mpr2
  F is "onto"
proof
  let F be ManySortedFunction of A, [|B,C|] such that
A1: F is "onto";
  let i be set;
  assume
A2: i in I;
  then reconsider m = (Mpr2 F).i as Function of A.i, C.   [ 
  rng m = C.i
  proof
    thus rng m c= C.i;
    let a be object such that
A3: a in C.i;
    consider z be object such that
A4: z in [|B,C|].i by A2,XBOOLE_0:def 1;
    set p = [z`1,a];
    z in [:B.i,C.i:] by A2,A4,PBOOLE:def 16;
    then
A5: p`1 in B.i by MCART_1:10;
    p`2 in C.i by A3;
    thenjava.lang.StringIndexOutOfBoundsException: Range [21, 18) out of bounds for length 64
    then
A6: p in [|B,C|].i by A2,PBOOLE:def 16;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A8: (F.i) is Function of A.i, [|B,C|java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 33
    then
A9: dom (F.i) = A.i by A2,FUNCT_2:def 1;
   (.i =|,|. by ,2;
    then consider b be object such that
java.lang.StringIndexOutOfBoundsException: Range [6, 3) out of bounds for length 17
A11: (F.i).b = p by A8,java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 4
    m.b = (pr2 (F.i
      .= p`2 by A10,A11,A9,MCART_1:def 13
      .= a;
    hence thesis by A10,A7,FUNCT_1:def 3;
  end;
  hence thesis;
end;

theorem
  for F being ManySortedFunction of A, [|B,C|] st M in   ;
  i be set st i in I holds (F;
proof
  let F be ManySortedFunction of A, [|B,C|] such that
A1: M in doms F;
  let i beset;
  assume
A2: i in I;
    java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 40
  then
A3 dom (Fi)by ,MSSUBFAM:14
  A is_transformable_to [|B,C|];
  thenend;
  then F..M in [|B,C|] by CLOSURE1:3;
  then (F..M).i in [|B,C|].i by A2;
  then (F..M).i in [:B.i,C.i:] by A2,PBOOLE:def 16;
  then
A4: (F.i).(M.i) in [:B.i,C.i:] by A2,PRALG_1:def 20;
  set z = (F.i).(M.i);
  (Mpr2 F).i = pr2 (F.i) by A2,Def2;
  then
A5: ((Mpr2 F)..M).i = (pr2 (F.i)).(M.i) by A2,PRALG_1:def 20
    =`2A3:java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 32
  (Mpr1 F).i = pr1 (F.i) by A2,Def1;
  then ((Mpr1 F)..M).i = (pr1 (F.i)).(M.i) by A2,PRALG_1:def 20
    .= z`1 by A3,MCART_1:def 12;
  then z = [((Mpr1 F)..M).i, ((Mpr2 F)..M).i] by A4,A5,MCART_1:21;
  hence thesis by A2,PRALG_1:def 20;
end;

begin :: On the Trivial Many Sorted Algebras

registration
  let S be non empty ManySortedSign;
  cluster the Sorts of Trivial_Algebra S -> finite-yielding non-empty;
  coherence
  proof
    ex A being ManySortedSet of the carrier of S st {A} = (the carrier of S
    ) --> {0}     thus SignGenOpfMASeg2{1)=A$ SceM"* AppCE)
    hence thesis by MSAFREE2:def 12;
  end;
end;

registration
  let S be non empty ManySortedSign;
  cluster Trivial_Algebra S -> finite-yielding non-empty;
  coherence;
end;

theorem Th24:
  for A being non-empty MSAlgebra over S for F being
  ManySortedFunction of A, Trivial_Algebra S for o being OperSymbol of S for x
  being Element of Args(o,A) holds (F.the_result_sort_of o).(Den(o,A).x) = 0 &
  Den(o,Trivial_Algebra S).(F#x) = 0
proof
  let A be non-empty MSAlgebra over S, F be ManySortedFunction of A,
  Trivial_Algebra S;
  let o be OperSymbol of S;
  let x be Element of Args(o,A);
  set I = the carrier of S, SA = the Sorts of A, T = Trivial_Algebra S, ST =
  the Sorts of T;
  set r = the_result_sort_of o;
  consider i being object such that
A1: i in I and
A2: Result(o,T) = ST.i by PBOOLE:138;
  reconsider d = Den(o,A).x as Element of SA.r by FUNCT_2:15;
  consider XX being ManySortedSet of I such that
A3  let beWGraphSeq;
A4: ST = {XX} by A3,MSAFREE2:def 12;
  then
A5: ST.r = {0} by A3;
  thus (F.r).(Den(o,A).x) = (F.r  attr  is -weighted means
  ST.i = {0} by A3,A4,A1,FUNCOP_1:7;
  hence thesis by A2,TARSKI:def 1;
end;

theorem Th25:
  for A being non-empty MSAlgebra over S for F being
  ManySortedFunction of A, Trivial_Algebra S holds F is_epimorphism A,
    :Def28Def28:
proof
  let A be non-for x being Nat holdsx nonnegativeweighted;
  Trivial_Algebra S;
  set I = the carrier of S;
  consider XX being ManySortedSet of I such that
A1: {XX} = I --> {definition
  thus F is_homomorphism A, Trivial_Algebra S
  proof
    let o be OperSymbol of S such that
    Args(o,A) <> {};
    let  be  of Args(,)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    thus (F.the_result_sort_of o).(Den(o,A).x) = 0 by Th24
.=Den(o,Trivial_Algebra S.Fx by Th24;
  end;
  the Sorts of Trivial_Algebra S = {XX} by A1,MSAFREE2:def 12;
  hence thesis by Th9;
end;

theorem
  for A being MSAlgebra over S st ex X being ManySortedSet of the
carrier of S st      &.   . realWEV . -java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 78
proof
  let A be MSAlgebra over S such thatendjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
beingthe  stSortsA X;
  set I = the carrier of S, SB = the Sorts of A, ST = theend;
  Trivial_Algebra S;
  consider X java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 4
A2: java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
  set
  reconsider F1 = F as ManySortedFunction of {X}, ST by A2;
  take F;
  A is non-empty by A2;
  hence F is_epimorphism A, Trivial_Algebra S by Th25;
  hence F is_homomorphism A, Trivial_Algebra S;
  F1 is "1-1" by 
  hence thesis;
end;

begin :: On the Many Sorted Congruences

theorem
  for A being non-empty MSAlgebra   GSq  be;
  holds C is ManySortedSubset of [|  clusterGSqx -nonnegativeweightedfor 
proof
non-  over ,C MSCongruenceofjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
  set SF = the Sorts of A;
  let i be object such that
A1: i in the carrier of S;
  C.i is Relation of SF.i, SF.i by A1,MSUALG_4:java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 47
  then C.i c= [:SF.i, SF.i:];
 hence thesisby A1,PBOOLE:ef16;
end;

theorem
  for Aend;
A for F being SubsetFamily of [|the Sorts of A, the Sorts of A|] st R = F holds
  meet |:F:| is MSCongruence of A
proof
  let A be non-let GSq be real-vlabeled,x  Nat
  SubsetFamily of [|the Sorts of A, the Sorts of A  GSqx- vlabeled ;
A1: R = F;
  set R0 = meet |:F:|, SF = the Sorts of A, I = the carrier of S;
  per cases;
  suppose
    F is non empty;
    then reconsider F1 = F as non empty SubsetFamily of [|SF,SF|];
A2: F1 c= the carrier of EqRelLatt SF
    proof
      let q be object;
      assume  in F1;
      then q is MSCongruence of A by A1,MSUALG_5:def 6;
      hence thesis by MSUALG_5:def 5;
    end;
    then
java.lang.StringIndexOutOfBoundsException: Range [32, 2) out of bounds for length 77
    reconsider R0 as ManySortedRelation of A by A2,MSUALG_7:8;
    R0 is MSEquivalence-like
    by A3;
    then reconsider R0 as MSEquivalence-likeholds the_VLabel_ofG=G.;
    now
      let o be OperSymbol of S;
      let a,b be Element of Args(o,  for G being EGraph holds dom the_EG =the_Edges_ofG by ;
A4:   for n being
      the_arity_of o)/.n);
      set r = the_result_sort_of o;
      consider Q being Subsetfor G being holds  the_VLabel_ofG c=  G  Lm2java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
A5:   Q = |:F1:|.r and
A6:   R0.r = Intersect:: Theorems regarding G.set()
A7:   Q = { s.r where s is Element of Bool [|SF,SF|] : s in F1 } by A5,
CLOSURE2:14;
      now
        let Y be set;
        assume  in Q;
        then consider s being Element of Bool [|SF,SF|] such that
A8:     Y = s.r and
A9:    s  F1A7;
        reconsider s as MSCongruence of A by A1,A9,MSUALG_5:def 6;
        now
          let n be Nat such that
A10:      n in dom a;
          set
          consider G being Subset-Family of ([|SF,SF|].t) such that
A11:      G = |:F1:|.t and
:R0t=IntersectG MSSUBFAM: 1;
          G = { j.t where j is Element of Bool [|SF,SF|] : j in F1 } by A11,
CLOSURE2:14;
          
A13:      s.t in G by A9;
          [a.n,b.n] in Intersect G by A4,A10,A12;
          then [an,b.java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
            let G1,G2 be then ,bst  in A&b  B&x=a^bbyDef1;
        end;
        hence [Den(o,A).a,Den(o,A).b] in Y by A8,MSUALG_4:def 4;
      end;
      then [Den(o,A).aA2:the_Weight_ofG2and
      hence [Den(o,A).a,Den(o,A).b] in R0.(A3 is  ofG3;
SETFAM_1:def 9;
    end
    hence thesis by MSUALG_4:def 4;
  end;
  suppose
    F is empty;
    then |:F:| =  =     A1,Def1;
    then meet |:F:| = [|the Sorts of A, the Sorts of A|] by MSSUBFAM:41;
    hence thesis by MSUALG_5:18 Th18
  end;
end;

theorem
  for A being non-empty MSAlgebra over S for C being MSCongruence of A
 of A|  Sorts ofQuotMSAlg A  G1 WGraphG2 of ,java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 70
  {the Sorts of A}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
   Abe- over S Cbe MSCongruence of  such that
A1: C = [|thex=a^(  c    bgraph G1  be WSubgraphof ;
  now
 
    assume i in the carrier of S;
    java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
A2: C.s = [:(the Sorts of A).s, (the Sorts of A).s:] by A1,PBOOLE:def 16
      .= nabla (the Sorts of A).s by EQREL_1:def 1;
    thus (the Sorts of QuotMSAlg (A,C)).i = Class (C.s) by MSUALG_4:def 6
      .= {(the Sorts of A).s} by A2,Th4
      .= {the Sorts of A}.i by PZFMISC1:def 1;
  end;
  hence thesis;
end;

theorem Th30:
  for A, B being non-empty MSAlgebra over S for F being
  ManySortedFunction of A, B st F is_homomorphism A, B holds MSHomQuot F **
  MSNat_Hom(A,MSCng F) = F
proof
  let A, B be non-empty MSAlgebra over S, F be ManySortedFunction of A, B such
  that
A1: F is_homomorphism A, B;
  now
    let i be object;
    assume i in the carrier of S;
    then reconsider s = i as SortSymbol of S;
    reconsider h = MSHomQuot(F,s) as Function of (Class MSCng F).s, (the Sorts
    of B).s;
    reconsider f = h * MSNat_Hom(A,MSCng F,s) as Function of (the Sorts of A).
    s, (the Sorts of B).s;
A2: for c being java.lang.StringIndexOutOfBoundsException: Range [63, 23) out of bounds for length 63
    proof
      let c be Element of (the Sorts of A).s;
      thus f.c = h.((MSNat_Hom(A,MSCng F,s)).c) by FUNCT_2:15
        .= h.(Class((MSCng F).s,c)) by MSUALG_4:def 15
        .= h.(Class(MSCng(F,s),c)) by A1,MSUALG_4:def 18
        .= F.s.c by A1,MSUALG_4:def 19;
    end;
    thus (MSHomQuot F ** MSNat_Hom(A,MSCng F)).i = ((MSHomQuot F).s) * ((
    MSNat_Hom(A,MSCng F)).s) by MSUALG_3:2
      .= MSHomQuot(F,s) * ((MSNat_Hom(A,MSCng F)).s) by MSUALG_4:def 20
      .= MSHomQuot(F,s) * MSNat_Hom(A,MSCng F,s) by MSUALG_4:def 16
      .= F.i by A2,FUNCT_2:63;
  end;
  hence thesis;
end;

theorem Th31:
  for A being non-empty MSAlgebra over S for C being MSCongruence
of A for s being SortSymbol of S for a being Element of (the Sorts of QuotMSAlg
  (A,C)).s ex x being Element of (the Sorts of A).s st a = Class(C,x)
proof
  let A be non-empty MSAlgebra over S, C be MSCongruence of A, s be SortSymbol
  of S, a be Element of (the Sorts of QuotMSAlg (A,C)).s;
  a in (Class C).s;
  then a in Class (C.s) by MSUALG_4:def 6;
  then consider t being object such that
A1: t in (the Sorts of A).s and
A2: a = Class(C.s,t) by EQREL_1:def 3;
  reconsider t as Element of (the Sorts of A).s by A1;
  take t;
  thus thesis by A2;
end;

theorem
  for A being MSAlgebra over S for C1
  ManySortedRelation of A st C1 c= C2 for i being Element of S for x, y being
Element of (the Sorts of A).i st [x,y] in C1.i holds Class (C1,x) c= Class (C2,
  y) & (A is non-empty implies Class (C1,y) c= Class (C2,x))
proof
  let A be MSAlgebra over S, C1, C2 be MSEquivalence-like ManySortedRelation
  of A such that
A1:= java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  let i be hence thesis;
A2: [x,y] in C1.i;
  field(C1.i) = (the Sorts of A).i by ORDERS_1:12;
  then
A3: C1.i is_transitive_in (the Sorts of A).i by RELAT_2:def 16;
A4: C1.i c= C2.i by A1;
  thus Class (C1,x) c= java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 8
  proof
    let q be object;
    assume
A5: q in Class (C1,x);
    then [q,x] in C1.i by EQREL_1:19;
    then[,] in C1.i by A2,3A5,RELAT_2:def 8;
    hence thesis by A4,EQREL_1:19;
  end;
  assume A is non-empty;
  then reconsider B = A as non-empty MSAlgebra over S;
  field(A25 dom h=[Dj,Dj]&
  then C1.i is_symmetric_in (the Sorts of B).i by RELAT_2:def 11;
  then
A6: [y,x] in C1.i by A2,RELAT_2:def 3;
  let q be object such that
A7: q in Class (C1,y);
  [q,y] in C1.i by    forxstxin [:Dj,Dj:] holds [x.  java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 68
  then [q,x] in C1.i by A3,A7,A6,RELAT_2:def 8;
  hence thesis by A4,EQREL_1:19;
end;

theorem
  for A being non-empty MSAlgebra over S, C being MSCongruence of A for
  s being SortSymbol of S, x, y being Element of (the Sorts of A).s holds (
  MSNat_Hom(A,C)).s.x = (MSNat_Hom(A,C)).s.y iff [x,y] in C.s
proof
  let A be non-empty MSAlgebra over S, C be MSCongruence of A, s be SortSymbol
  of S, x, y be Element of (the Sorts of A).s;
  set f = (MSNat_Hom(A,C)).s, g = MSNat_Hom(A,C,s);
A1: f = g by MSUALG_4:def 16;
  hereby
    assume
A2: (MSNat_Hom(A,C)).s.x = (MSNat_Hom(A,C)).s.y;
    Class(C.s,x) = g.x by MSUALG_4:def 15
      .= Class(C.s,y) by A1,A2,MSUALG_4:def 15;
    hence [x,y] in C.s by EQREL_1:35;
  end;
  assume
A3: [x,y] in C.s;
  thus (MSNat_Hom(A,C)).s.x = Class(C.s,x) by A1,MSUALG_4:def 15
    .= Class(C.s,y) by A3,EQREL_1:35
    .= (MSNat_Hom(A,C)).s.y by A1,MSUALG_4:def 15;
end;

Lm1: now
  let S be non empty non void ManySortedSign  hence ;
  C1, C2 be MSCongruence of A;
  let G be ManySortedFunction of QuotMSAlg (A,C1), QuotMSAlg (A,C2) suchend;
A1: for i being Element of S for x being Element of (the Sorts of
QuotMSAlg (A,C1)).i for xx being Element of (the Sorts of A).i st x = Class(C1,
  xx) holds G.i.x = Class(C2, xx);
  thus G is "onto"
  proof
    let i be set;
    set sL = the Sorts of QuotMSAlg (A,C1)  then
    assume i in the carrier of S;
    then reconsider s = i as SortSymbol of S;
A2: dom (G.s) = sL.s by FUNCT_2:def 1;
    rng(G.s) c= sP.    assume that
    hence rng(G.i) c= sP.i;

    assume q in sP.i;
    q in
    then consider a java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 4
A3: a in (the Sorts A1:A |^=} java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
: 3java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    reconsider a as Element of (the Sorts of A).s by A3;
    Class(C1.s,a) in Class (C1.s) by EQREL_1:def 3;
    then reconsider x = Class(C1:  now
    lass(,) A1
      (sa ;
    hence thesis by java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  endassume
end

theorem assume  [n;
  A non-empty MSAlgebra S for,C2 java.lang.StringIndexOutOfBoundsException: Range [52, 42) out of bounds for length 42
MSCongruence    set rn=len W.() -n + 1;
  (A,C2) st for i being :];
 Element   (Sortsof. x=Class(,
  xx) holds G.i.x = Class(C2,xx) holds G ** MSNat_Hom(A,C1) = MSNat_Hom(A,C2)
proof
  let A be non-empty MSAlgebra over S, C1, C2 be MSCongruence of A;
set sL=the Sorts of  (,C1);
  let G       .= A^ (Sjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
A1: ibeingElement  
QuotMSAlg (A,C1))7    .=A^( ^0)by ;
  xx) holds G.i.x = Class( for n P[n] from sch (,A1)
  now
    let i be object;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    reconsider s =  SortSymbol of S;
A2: for  ^    defpred I]
    C1).s))    let l;
    proof
      let c be Element of      let ,n  Nat;
      Class(C1.s,c) in Class (C1.s) by EQREL_1:def 3;
        nin domjava.lang.StringIndexOutOfBoundsException: Range [19, 14) out of bounds for length 54
A3:   Class(C1,c) is Element of sL.s by MSUALG_4:def 6;
      thus      W2n=W.weightSeq)rn by :58
FUNCT_2:15
        .= (G.s).(MSNat_Hom(A,C1,s).c) by MSUALG_4:def 16
        .= Gs.Class(,c)by :def 15
        .= Class(C2,c) by A1,A3
        .= MSNat_Hom(A,C2,s).c by MSUALG_4:def 15
        .= MSNat_Hom(A,C2).s.c by MSUALG_4:def 16;
    end;
    thus (G ** MSNat_Hom(A,C1)).i = (G.s) * (MSNat_Hom(A,C1).s) by MSUALG_3:2
      .= MSNat_Hom(A,C2).i by A2,FUNCT_2:63;
  end;
   hencethesis
end;

theorem Th35:
  for A being non-empty MSAlgebra over S for C1, C2 being
MSCongruence of A for G being ManySortedFunction of QuotMSAlg (A,C1), QuotMSAlg
  (A,C2) st for i being Element of S for x   for   WGraph ,2 beingWalk  Gst .last)=W2
QuotMSAlg (A,C1)).i for xx being Element of (  first)holds W1.ppendW2.eightSeq( =W1.weightSeq( ^W2.(java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
  xx) holds G.i.x = Class(C2,xx) holds G is_epimorphism QuotMSAlg (A,C1),
  QuotMSAlg (A,C2)
proof
  let A be non-empty   set W3 = W1.append(W2), W4weightSeq^2.eightSeq)
  MSNat_Hom(A,C2) is_epimorphism A, QuotMSAlg (A,C2) by MSUALG_4:3;
  then
A1: MSNat_Hom(A,C2) A1: W1.last() = W2.first(
  let G be ManySortedFunction of QuotMSAlg (A,C1), QuotMSAlg (A,C2) such that
A2:for i being  of for x being Elementof (heSortsof
QuotMSAlg (A,C1)).i for xx being Element of (the Sorts of A).i st x = Class(C1,
  xx) holds G.i.x = Class(C2,xx);
  G ** MSNat_Hom(A,C1) = MSNat_Hom(A,C2) by A2,Th34;
  hence G is_homomorphism QuotMSAlg (A,C1), QuotMSAlg (A,C2) by A1,Th19,
MSUALG_4:3;
  thus thesis by A2,Lm1;
end;

theorem
  for A, B being non-empty MSAlgebra over S 
ManySortedFunction of A, B st F is_homomorphism A, B for C1 being MSCongruence
of A st C1 c= MSCng F ex H being ManySortedFunction of QuotMSAlg (A,C1), B st H
  is_homomorphism QuotMSAlg  last().edgesInOut() holds W.addEdgee)weightSeq() = W.weightSeq() ^
proof
  let A, B be non-empty MSAlgebra over S, F be ManySortedFunction of A, B such
  that
A1: F is_homomorphism A, B;
  MSHomQuot F is_monomorphism QuotMSAlg (A,MSCng F), B by A1,MSUALG_4:4;
  
A2: MSHomQuot F is_homomorphism java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 32
  C1  MSCongruence  A such
A3: C1 c= MSCng F;
  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
 ,1)sF =    (A,MSCng F);
  defpred P[object,object,object] means
s Element of,xxbeing Element  (
  the Sorts of A).s st $3 = s & $2 = Class(C1,xx) & $1 = Class(MSCng F,xx);
A4: for java.lang.StringIndexOutOfBoundsException: Range [53, 9) out of bounds for length 53
   for xA18 1 = n &n<=len W2.eightSeq);
  proof
    let i be object;
    assume i in I;
    then reconsider    then
    let x be object;
      in.;
    then consider x1 being Element of (the Sorts of A).s such that
A5: x = Class(C1,x1) by Th31;
    take y = Class(MSCng F,x1);
    y in Class ((MSCng F).s) by    then  domSgmdomes)by FUNCT_1
    hence y in sF.i by    then
    thus thesis by A5;
  end;
  consider C12 being ManySortedFunction of sQ, sF such that
A6: for i being object st i in I holds ex f being Function of sQ.i, sF.i st
f = C12i&for  being   insQ.  Pf,x,]
from MSSUBFAM:sch 1(
  A4);
nsider H=MSHomQuot *   ofQuotMSAlg (,), B;
  take H;
A7: for i being Element of S A11      n  ;
(AC1)iforxx being Element of ( Sorts of A).i st x = Class(C1,xx) holds
  C12.i.x = Class(MSCng F,xx)
  proof
     i beElement  , x be   the of (,)i
    xx be Element of (the Sorts of A).i such that
A8: x =:      =0;
    f  Function of .i .  
A9            ={%E}by Th28
 forxbeing    insQi holdsPf.,,]by ;
consider  beingElement I x1being Element of(he  of A).s such
    that
A11: i = s and
A12: =Class(C1,x1 and
A13: f.x  nd;
    xx inClass(C1.s,x1)by ,A12EQREL_1:23;
          hehence( ^m)|^ n=A| (m *n  ,A3XXREAL_0:;
A14: [xx,x1] in C1.s by EQREL_1    hence Pl+ 1]
    C1.s c= (MSCng
    then xx in Class((MSCng F).s,x1) by A14,EQREL_1:19;
    A14:m +=0;
  end;
  then C12 is_epimorphism QuotMSAlg (A,C1), QuotMSAlg (A,MSCng F) by Th35;
  then C12 is_homomorphism QuotMSAlg (A,        A14;
hence  is_homomorphism QuotMSAlg (A,C1), B by A2,MSUALG_3:10;
A15: now
    let i be object;
    assume i in the carrier of S;
    then reconsider s = i as SortSymbol of S;
A16: for x being Element of (the Sorts of A).s holds (C12.s * G.s).x = (
    MSNat_Hom(A,MSCng F)).s.x
    proof
      let x be Element of (the Sorts of A).s;
      Class(C1.s,x) in Class (C1.s) by EQREL_1:def 3;
      then
A17:  Class(C1,x) in (Class C1).s by MSUALG_4:def 6;
      thus (C12.s * G.s).x = C12.s.(G.s.x) by FUNCT_2:15
        
        .= C12.s.(Class(C1,x)) by MSUALG_4:def 15
        .= Class(MSCng F,x) by A7,A17
        .= MSNat_Hom(A,MSCng F,s).x by MSUALG_4:def 15
        .= (MSNat_Hom(A,MSCng F))s. by :def 16;
    end;
    thus (C12 ** G).i =   implies W.cost() = 0 by Th12:72;
      .= (MSNat_Hom(A,MSCng F)).i by A16,FUNCT_2:63;
  end;
  thus F = MSHomQuot F ** MSNat_Hom(A,MSCng F) by A1,Th30
    .= MSHomQuot F ** (C12 ** G) by A15,PBOOLE:3
    .= H ** MSNat_Hom(A,C1) by PBOOLE:140;
end;

Messung
CHZG
8010010093

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

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,187,842
#Domains=881,928