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

Quelle  cat_5.miz   Sprache: Mizar

 

:: Categorial Categories and Slice Categories
::  by Grzegorz Bancerek
::
:: Received October 24, 1994
:: Copyright (c) 1994-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, SUBSET_1, ZFMISC_1, MCART_1, CAT_1, A4:  o1 =id o by A1,AT_2def4java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
      as non emptyby A4XBOOLE_0:ef 4;
      SETFAM_1, GRCAT_1, FUNCT_3, CAT_5, MONOID_0, RELAT_2, BINOP_1;
 notations TARSKI:dom Source       C1 FUNCT_2:ef 1;
      DOMAIN_1, RELAT_1, REALSET1, FUNCT_1, RELSET_1, PARTFUN1, FUNCT_2:dom the Target of C1 = the carrier' of C1 by FUNCT_2:def 1;
      ORDINAL1, NUMBERS, BINOP_1, STRUCT_0, GRAPH_1, CAT_1, CAT_2;
 constructors SETFAM_1, PARTFUN1, REALSET1, NATTRA_1, FUNCOP_1, RELSET_1,
      XTUPLE_0, NUMBERS;
 registrations XBOOLE_0, SUBSET_1, FUNCT_1, RELSET_1, REALSET1, CAT_1, CAT_2,
      STRUCT_0, RELAT_1, XTUPLE_0;
 requirements SUBSET, BOOLE;
 definitions TARSKI, FUNCT_1, CAT_1, CAT_2, XBOOLE_0;
 equalities CAT_1,A7: dom  =M A5,RELAT_1:1java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 expansions TARSKI, FUNCT_1, java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 15
 theorems TARSKI, ZFMISC_1, SETFAM_1, MCART_1, FUNCT_1, FUNCT_2, proof
      PARTFUN1, CAT_1, CAT_2, NATTRA_1, RELAT_1, RELSET_1, XBOOLE_0, java.lang.StringIndexOutOfBoundsException: Range [0, 77) out of bounds for length 22
      BINOP_1, XTUPLE_0;
 schemes FUNCT_1, FUNCT_2, BINOP_1, XFAMILY;

begin :: Categories with Triple-like Morphisms

theorem Th1:
  for C being Category,
    D beingtheorem 
   st the CatStr of C = the CatStr of D holds
      D is Category-like transitive associative reflexive with_identities
proof
  let C be   for X,Y be non empty RealLinearSpace
      D be non empty non void CatStr such that
A1: the CatStr of C = the CatStr of D;
  thus
A2: for f,g being Morphism of D
    holds [g,f] in dom(the Comp of D) iff dom g=cod f
   proof let f,      [X,Y:],[X,product <Y*:java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
      reconsider ff=f, gg=g as Morphism of C by A1;
 D) iffdom gg=cod ffby A1,d 6;
    thus [g,f] in dom(the Comp of D) implies dom g=cod f
     proof
      assume
A4:     [g,f] in dom the Comp of D;
      thus dom g = dom gg by A1
        =ff byA4A1,:def 6
        .= cod f by A1;
     end;
    thus thesis by A1,A3;
   end;
  thus
A5: for   & vw bePoint  :,: I(+w  I.+I.w )
  st dom g=cod f holds dom(g(*)f) = dom f & cod(g(*)f) = cod g
   proof let f,g be Morphism of D;
     = gas Morphism ofC A1;
    assume
A6:   dom g = cod f;
A7:    dom gg = cod ff by A1,A6;
     then  [gg,ff] in dom(the Comp of C) by CAT_1:def 6;
     then
A8  olds.(rv=(I.v) )
     dom(gg(*)ff) = dom ff & cod(gg(*)ff) = cod gg by A7,CAT_1:def 7;
    hence thesis by A1,A8,A6,A2,CAT_1:def 1;
   end;
A9: for ,gbeing Morphism ofD  cod g = dom f
    for ff,gg being Morphism of C st ff=f & gg=g
     holds f(*)g = ff(*)gg
   proof let f,g be
A10:  cod g = dom f;
    let ff,gg be Morphism of C such that
A11:  f =java.lang.StringIndexOutOfBoundsException: Range [55, 18) out of bounds for length 55
A12:   cod gg = dom ff by A10,A11,A1;
     f*)g
          = (the Comp of D).(f,g) by A10,A2,CAT_1:def 1
         .= (the Comp of C).(ff,gg) by A1,A11
         .= ff(*)gg by A12,CAT_1:16;
   end;
  thus  f,, beingMorphism ofjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  st dom h = cod g & dom g = cod f
  holds h(*)(g(*)f) = (h(*)g)(*)f
   proof let f,g,h being Morphism of D;
    ff=f,g,hh=as  of byA1
    assume that
A13:  dom h = cod g and
A14:  dom g = cod f;
A15:  dom hh = cod gg & dom gg = cod ff by A13,A14,A1;
A16    (for be Point of , r be Element of  java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
A17:   h(*)g = hh(*)gg by A13,A9;
A18:  dom(h(*)g) = dom g by A13,A5;
     cod(g(*)f) = cod g by A14,A5;
    h*(()java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
        = hh(*)(gg(*)ff) by A9,A16,A13
       .= hh(*)gg(*)ff by A15,CAT_1:def 8
       .= (h(*)g)(*)f by A14,A9,A17,A18;
   end;
  thus
 D is reflexive
  proof
  let b be     defpred P[object,object,object] means $3 = [ $1,<* $2 *> ];
   reconsider bb = b as Element of C by A1;
   reconsider ii = id bb as Morphism of D by A1;
A19:  cod ii = cod id bb by A1
      .= b;
    dom ii = dom id bb by A1
      .= b;
    then id bb in Hom(b,b) by A19;
   hence Hom(b,b)<>{};
  end;
  let     A2:for x,beobject st x in the carrier of X & y in the carrier of Y
   reconsider aa = a as Element of C by A1;
   reconsider ii = id aa as Morphism of D by A1;
A20:  cod ii = cod id aa by A1
      .= a;
    dom ii = dom id aa by A1
      .= a;
   then reconsider ii as Morphism of a,a by A20,CAT_1:4;
   take ii;
   let b be Element of D;
    reconsider bb = b as Element of C by    ex z beobject z in the carrier  :,productproduct <Y>] & P[,,]
   thus Hom(a,b)<>{} implies for g being Morphism of a,b holds g(*)ii = g
    proof assume
A21:    Hom(a,b)<>{};
     let g be Morphism ofproof
      reconsider gg = g as Morphism of C by A1;
A22:    cod gg = cod g by       be java.lang.StringIndexOutOfBoundsException: Range [50, 21) out of bounds for length 68
         .=bb by A21,CAT_1:;
A23:    reconsidery0=Point A9  minDD java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
A24:    dom gg = dom g by A1
         .= aa by A21,CAT_1:5;
      then
      gg in Hom(aa,bb) by A22;
       reconsiderggas      J=* by A1;then
A25:    dom g = dom gg by A1
         .= a by A24;
      cod ii = cod reconsider m1 =masMorphism  C1 ;
         .= a;
     hence             C2by A7,A9,XBOOLE_0      [,<*y*>]in[thecarrier ofXthe carrier ofproduct<*Y
          .= (the Comp      reconsider   m1 as Morphism of  by java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 24
          . gg(*id aa  A23,A24,CAT_1:java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
          .= g by A24,CAT_1:22;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      assume
A26:    Hom(java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 35
;
      reconsider gg = g as Morphism of C    considerIbe Functionend;
A27:    dom gg = dom g by A1
         .= bb by A26,CAT_1:5;
A28:    dom id aa = aa;
A29:    cod gg = cod g by A1
         =aabyA26CAT_1:5;
      then
      gg in Hom(bb,aa) by A27;
      then p
A30:    cod g = cod gg by A1
         .   rngCC
      dom ii = dom id aa by A1
         .= a;
         A4:forx, be object   in the carrier    java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 21
          .= (thereconsider m1 =m as Morphismof C1 by ;
          .= (id aa reconsider   holdsP[,.y]from :1(2)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
          .=g byA29:java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
end;

Lm1:
   ,  
    reconsider IasFunction of [:X: A19
beingofdbeing ofD st c  java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
 idc = 
 proof let C,D be Category such that
A1: the CatStr of C = the CatStr of     then reconsider CC as Function ofA8def14;
  let c be Element of C, d benow let(domthe Comp ofC1) /
     [:the carrier'of ,thecarrier' of C2:] by RELAT_1:61;
   reconsider ii = id c as Morphism of D by A1;
A3: cod ii = cod id c      then
A4: dom ii = dom id c by A1 .= d by A2;
    Morphism d CAT_1:;
   for b being Object of D holds
     (Hom(d,b) <>       &I.z1=Iz2;
       for f[the '  C2,carrier ofC2]byXBOOLE_1:26;
   & (Hom(b,d) <> then
     for f being Morphism of b,d      consider :dom Cm =[:,: by 100;
  proof let b be Object of D;
    reconsider bb = b as Element of C by A1;
   thus Hom(d,b) <> {} implies      A6: x1 in  carrier of X & y1 in the carrier of Y & z1=[x1,y1]
       for f being Morphism of d,b holds f(*)ii = f
          byA5,ZFMISC_1: 2;
A5:   HomA19:    Cm and
     let f be Morphism of d,b;
      reconsider =  ofC  A1java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
A6:    dom ff = dom f by A1 .:m`2inbyA18,A19MCART_1:10;
 c  r = `,m2= `  ofC1
       cod ii = d by A3 .byA22 ;
     hence f(*)ii = (the Comp of D). byA5ZFMISC_1: ;  as Morphism ofC2
         =(C  ff,dc)byA1
         .= ff(*)id c by A7,CAT_1:16
         .= f by A6,CAT_1:22;
    
    assume
A8:   Hom(b,d)  
     let f be Morphism of b,d;
      reconsider fffasMorphism java.lang.StringIndexOutOfBoundsException: Range [36, 36) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 50
A10:domid  c .=2**A4,A7;then
       dom ii = d by A4 .= cod f by A8,CAT_1:5;
     hence ii(*)f = (the Comp of D).(ii,f) by CAT_1:16
         .= (the Comp of C).(id c,ff) by A1
         .= (id c)(*)ff by A10x1=x2&<y1><*y2* byXTUPLE_0:1;
         .= f by A9,CAT_1:21;
  end;
   hence id c = id d by CAT_1:def 12;
 end;

definition
  let IT be non       hence z1=z2 by =z2  A6,,FINSEQ_1:76;
  attr IT is with_triple-like_morphisms means
  :Def1:
  for f being Morphism of IT ex x being set st f = [[dom f, cod f], x];
end;

registration
  cluster with_triple-like_morphisms for strict Categoryh --oneby FUNCT_219java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  existence
  proof
    take C = 1Cat(0, [[0,0], 1]);
    let f be Morphism of now w object;
    take 1;
    dom f = 0 by TARSKI:def 1;
    hence thesis by TARSKI:def 1;
  end;
end;

theorem Th2:
  for C being with_triple-like_morphisms non void non empty CatStr,
  f being Morphism of C holds
   f =f`11& cod f =f`  A27:  dom m1 = dom mm by A1,CAT_2
proof
  let C be with_triple-like_morphisms java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 35
  let f be Morphism of C;:    m1*)m2 java.lang.StringIndexOutOfBoundsException: Range [28, 20) out of bounds for length 45
         [f codf],x)by
        y inJ java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 45


definition
  let C    set CAT =CatStr(#O,M,DD,CC,Cm#);
   ofC
  redefine func f`11 -> Object of java.lang.StringIndexOutOfBoundsException: Range [34, 25) out of bounds for length 25
  coherence
  proof f`11 = dom f byreconsiderg9= g,  asMorphism C1 java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 70
    hence thesis;
  end;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 36
  coherence
  proof f`12 = cod A41:henceI onto byFUNCT_2:3;
    hence thesis;
  end
end;

scheme CatEx { A, B() -> non empty set, P[A42 CAT is transitive
  F(object,object) -> set }:
  ex C being with_triple-like_morphisms strict Category st
  the carrier of C = A() &
  (fora,     prooflet f, M CAT;
      P[a,b,f] holds [[a,b],f] is Morphism of C) &
  (for m being Morphism        g9 =g, =f Morphism   byXBOOLE_0: ;
  exa,b being Element ofjava.lang.StringIndexOutOfBoundsException: Range [26, 8) out of bounds for length 14
    m = [[a,b],f] & P[a,b,f]) &
    for m1,m2 being (Morphism of C), a1,a2,a3 being Element of A(),
        f1,f2 being Element of B() st java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 12
  holds m2(*)m1 = [[a1,a3], F(f2,f1)]
provided
A1c      A10:  v=[x1,x java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
         y1  ofX :=java.lang.StringIndexOutOfBoundsException: Range [21, 16) out of bounds for length 54
A2: for a being Element of A()
   exbeing   y1,]byLm1;
    for b being Element of A(), g being Element of B() holds
    Pab,]implies(,)= )&([ag]impliesF(f      .v+) x1+x2y2  A11java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A3: for a,b,c,d being Element of A(), f,g,h being Element:domf       [+,*y2*]java.lang.StringIndexOutOfBoundsException: Range [32, 29) out of bounds for length 33
      .  .(x1,    = 47;
proof
  set M = {[[a,A50       java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 40
(:Pa,]java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  set a0 = the Element of AA52:codh  cod  A8,UNCT_1:7java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  consider f0 being Element of          A43,,A48A49,A50,A46,:def7
A4: P[a0,a0,f0]
  and for b being byA43,,,A51,A52,AT_1def 7
      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  by A2;
A5: [[a0,a0],f0] in M by A4;
Mc[A,:,)]
  proof
    let x be object;
     xinM;
    then ex a, b  A14,A1;
      A42;
    hence thesis;
  end;
  then reconsider M asA54: associative .)by 13Def1
A6: now
    let m be Element of M;
    m in M;
    then java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 76
A7m= [ab]f]
A8: P[a,b,f];
A9: m`11 = a by A7,MCART_1:85;
    m`12 = b by A7,MCART_1:85;
   hence =[[`,m12,   forvbePoint of[X:,r Element of REAL
  end;
  deffunc f(Element of M) = $1`11;
  consider DM being Function of M, A() such that
 being Element of  holds DM.  ()from holds I.*v)=*.v)
  deffunc g(Element of M) = $1`12;
    FunctionofMjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
A11: for m being Element of M holds CM.m  let            =tjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 59
  deffunc f(object,object) = [[$2`11,$1`12],F($1`2,$2`2)];
  defpred P[object,object] means $1`11 = $2`12 & $1 in M & $2 in M;
A12: now
    let x,y be A59:    dom hg = dom)       v[,]by ;
    assume
A13:       .= dom gby A53,A55;
      16: (r*v) = IA60    gf =od((*))by58:f 1
    that
A14: x = [[ax,bx],fx] and
A15: P[ax,bx,fx];
    consider ay, b2 being Element of A(), fy being Element of B() such that
A16: y = [[ay,b2],fy] and
A17: P[ay,2,y byA13
A18:x11=ax by A14,CART_185;
A19: x`12 = bx by A14,MCART_1:85;
A20:y`   I(,2byA15
A21: y`12 = b2 by A16,MCART_1:85;
A22: x`2 = fx by A14;
A23: `=fy by A16;
A24: F(fx,fy) in B(      . x1<*x2> :g9= g by FUNCT_1:47;
    P[ay,bx,F(fx,fy)] by A1,A13,A15,A17,A18         
    hence f(x,y) in M by A19,A65:h9()g9=the of      A18 .=<x2>byA1 then
  end;
A66     g9  gby A7,:47;
A25:forx,y beingA67 f =codfjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 40
   and
A26: for x,y being object st [x,y] in dom CC holdsA56C16hence *(I. rv) by A16A17,;
  CC.(x,y) = f(x,y) from BINOP_1    endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
  defpred     A19:<0*> 0product <Y*> by ;
  $2 = [[$1,$1], f] & P[$1,$1,f] &
 being  of ) gbeing Elementof () 
  (P[$1,b,g] implies F(g,f) = g) & (P[b,$1,g] implies F(f,g) = g);
A27: now
    let  hence .(0.[:X,Y]  0(:,<*:)byA19A4;
    consider f being Element of B() such that
A28: P[a,a,f] and
A29: for b being Element of A  end    cod(*)f9) codg9by ,A67,AT_1def ;
    impliesA70:     (*g9)=dom by A55A63,CAT_1d ;
    by A2;
    [[a,a],f] in M by A28;
    then reconsider y = [[a,a],f] as java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 40
    take y;
    thus II[a,y] by A28,A29;
  ;
  consider I being Function of A(), M such that
A30=(theCompofCAT.(,the Comp of  holds ex I be Function of [:product X,Y:],produ<Y*java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
  set C = CatStr (# A(),M,DM,CM,CC #);
31 is-like
  proof
    thus
  now let f, . the CompofC1)h9(he ofC1.g9,&(   be of   be Y
A32:  [g,f] in           =h9(*g9(*)f9)by,,A55A63A64,
      by   .)() A55,,63java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 64
       A56,16
      hence [g,f] in dom(the Comp of . the of ., ,& ( for v be Point of [:product X,Y:], r be Element
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
A33: for f,g be Morphism of Cend
     holds [g,f]A72: is 
      
    proof
      let f,        be Object  CAT;
A35:  (the Source of C).f = f`11 by A10java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  the  )      =  java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 58
A37:  (the Target of C).f = f`A73:    thecarrier C1 = thecarrier ofCjava.lang.StringIndexOutOfBoundsException: Range [48, 46) out of bounds for length 64
rgetofCg=g` byA11;
      assume
A39:   dom g=cod f;
      then
A40:  CC.(g,f) = [[f`11,g`12],F(g`2,f`2)] by A26,A25,A36,A37;
A41:  CC.g,f])11=f` A40MCART_1:;
A42:    (the Comp of consider I be Function [:roduct X      id b2in (thecarrier' C1) /\the carrier' of 
      (CC.[g,f])`12 = g`12 by A40,MCART_1:85;
      hencedom((*)f) =dom f  cod(g(*)f
      by A10,A11,A35,A38,A41,A42;
    end;
A43: C is associative
    proof
      let f,g,h be Morphism of C;
A44 A1: I is     id b2 in M;
A45:  (the Source of C).h = h`11 by A10;
A46:  (the Target of C).f = f`12 by A11;
A47:  (the Target of C).g = g`12 by A11;
          & ( for  be Point of product X, y be Point of Y holds
A48:  domh =cod g and
A49:   dom g = cod f;
A50:  [g,f] in dom CC by             = b
A51:  [h,g] in dom CC by A25,A45,A47,       cod ii = cod id b1 by A74,FUNCT_149
A52  [gf   CCby,FUNCT_1def 3&(or, of X]holdsI.vw=.  .w)
      CC.[h,g] in rng thenin(b)by A75java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
      end
A53:  gf = [[f`11,g`12],F(     w
A54:  hg =holds .()=Iv java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A55:  DM.gf = gf`11     & I.(0.[:product XY:]) =0     ofbyjava.lang.StringIndexOutOfBoundsException: Range [55, 51) out of bounds for length 58
A56:  DM.hg = hg`11 by A10;
A57:  CMgf= 12byjava.lang.StringIndexOutOfBoundsException: Range [27, 24) out of bounds for length 47
A58:  CM.hg =A77:   a1 =idaa byA1,CAT_2:4 =id a2 by A2,AT_2:ef4
A59:  DM.gf = f`11 by A53,A55,MCART_1:85;
A60:CMgf=g`  A53,A57,85;
A61:  .g= h`12by A54,A58,MCART_1:85;
A62:  [h,gf] in dom CC by A25,A45,A11,A48,A57,A60;
A63:  [hg,f] in dom CC by A25,A44i a2  M
          & (for  then =a Morphism ;
A64:  P[f9`11,f9`12,f9`2] by A6A78:dom  id byFUNCT_1:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
A65:  P[g9`11,g9`12   id 49
A66:  P[h9`11,h9`12,h9`2] by A6;&(for v,w Point [product X,product <*Y*>:]
A67:    (the Comp of C).(h,g) = h(*)g by A33,A48       then iiinHom,)by A78
A68     (*g) =dom g byA34,A48
A69:    (the Comp of C).(g,ftake;
       cod &( for      b Element ;
      hence h(*)(g(*      thusHoma,<{gbeingb (ii java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
         = (the Comp ofA79:       a,)<>}
         [let  a
        .= [[f`11,h`12], F(h9`2,F(g9`2,f9`2))]         g thecarrier ofC1 :ef4
        .=[[11,`, F2,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 34
,A81:dom  ::Jcarrier product(X^<Y>b Uef 3java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
        .= [[f`11,h`12], F(hg` .(theofC1carrierC2)g ,FUNCT_149
            java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
        .= h(*)g(*)f by A67,A33,A49,A68,CAT_1:def java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 25
    end;
A70: C is reflexive
   proof
    let b be Object of C;
    consider f being Element of B() such that
A71: I.b = [[b,b then
         (*)=.:theA83:      [g,ii] in dom the Co of CAT A33;
     holds (P[b,c,g] implies F(g,f)         hence g*)ii =Cm(,)by CAT_1:ef1
    by A30;
    bb =as Element of (;
    reconsider Ib = I.bb as Element of M;
    reconsider ii = I.bb as     hence K is onto by FUNCT_2:def 3
A72:       (I.`12byA11
         .= b by A71,MCART_1:85;
      dom             =*ida1 byA82A81CAT_1java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
         .= letg  Morphism of
      then I.b          g in the ofC1bydefxbePointofproductXyo;
     hence Hom(b,b)<>{};
    end;
 C is with_identities
      :I.,)*byjava.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
let be of;
consider being  B(such that
A73:  I.a = [[a,a], f] and P[a:      codgg=(of)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
A74:  for c being Element of A(), g being java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 19
) &(Pa,  F(f,g)= g)
       by;
    reconsider aa = a as Element of A();
    reconsider Ia = I.aa as Element of M;
    java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 42
A75:    cod ii = (I.a)`12 byA88:     iig  dom  Comp )=x1^by A2
         .= a by A73,MCART_1:85;
  
         .= a by A73,MCART_1:85;
                  (heomp of )|the carrierof )ii)
    take ii;
    let b be Element of C;
thusHomab)>}i ofajava.lang.StringIndexOutOfBoundsException: Range [0, 63) out of bounds for length 47
 
A76:      Hom(a,b)<>{};
         Morphismofa,b;
        asof(;
       g in M;
       then consider a1,b1 being     hence thesis by A33,A42,A54,A72
       such that
A77:     g =[[a1,b1],f1] and
A78:     P[a1,b1,f1];
A79:     aendjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
        .= DM.g
        .= [[a1,b1] C1,2Subcategory of ;
        .= a1 by MCART_1:85;
       then
A80:    theorem Tv,Point [X:;
A81:    [[a,a], f]`11 = a1 by A79,MCART_1:85;
A82:    [[a1,b1],f1]`12 = b1 by MCART_1:85;
       g`11 = [[a1,b1],f1]`11 by A77
       ,85
           .= [[a      . J.(I.v+ . java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 56
           .= `12 by A73java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
       then
A83:    [g,ii]      .= J.(Iv +J.(w  A2
      hence g(*)ii = (the Comp of C).(set  = C1/\ C2,C21= C2/ ;
        .= CC.(g,ii)
       [g]java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 48
        .= [[a1,b1],f1] by A80,A81,A82,A77,A73
          y ;
     end;
(,a)<>{} implies for f being Morphism A1 o Objectof  by;
     proof assume
A84:      Hom(b,a)<>{}A2:o  of   XBOOLE_0:def4
      let g be Morphism of b,a;
       reconsider bb = b as Element of A();
        inM;
       then consider b1,a1 being Element of A(), f1 being Element of B()
       such that
A85:     g =[[b1,a1],f1] and
A86:     P[b1,a1,f1];
A87:     a = cod g by A84,CAT_1:5
        .= CM.g
        .=[a1],f1`12byA85,A11
        . by :;
       then
A88:    F(f,f1) = f1 by A74,A86;
A89:A89:     ofC21= (the Source of C2)M1byproof
A90:    [[b1,a1],f1]`11 = b1 by MCART_1:85;
       g`12 =A7: theSource of C12 = (the Source of )|l v   of[product java.lang.StringIndexOutOfBoundsException: Range [62, 37) out of bounds for length 62
           .= a by A87,MCART_1:85
           =[a(TargetofC1M2by1,A2,Def2;
           .= ii`11 by A73;
       then
A91:    [ii,g] in dom CC by A25;
      hence ii(*)g = (the Comp of C).(A10: the Comp of C21 = (the Comp of C2)| by A1,A2
        .= CC.(ii,g)
A11:t Compof      . JI.)by 
        .= [[b1,a1]A12:the   the *.)FUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
        .= g java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 8
     end

  end;
  then reconsider Cthus .(:the Targetof C2=(the Target ofC|2 by NATTRA_1:;
  C is with_triple-like_morphisms
  proof
    let f be Morphism of C;
    f in ;
    then consider a, b being Element of A(), g being Element of B() such A17: the Target of C12= (the TargetofC)(/ )byA9,A13,:71
A92 f =[[a,]g]and[a,]
    take g;
A93: dom f = f`11 by A10
      . the CompofC12=(the Comp of )|M| by A11,ATTRA_1:java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
     f  f` by 
      .=    = t of)||M2| byRELAT_171
    hence thesis by A92,A93;
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  then hence thesis by A1,A2,A3,A4,A5,A16,A17,Def2;
  take C;
  thus the carrier;
  hereby
    let a,b be Element of A(), f be
    assume P[a,b,f];
    then [[a,b],f] in M;
    hence [theorem 
  end;
  hereby
    let of ;
    mume
    hence ex a,b being Element of A(), f being Element of B() st
    m = [[a,b],f  then
  end;
  let m1,m2 be(Morphism of C, a1,a2,a3 be Element of A(),
  f1,f2 be Element of B();
  assume that
94 ex I  Functionof [X,Y:],[:X,product<*Y*>:]
A95: m2 = [[a2,a3],f2];
A96: m1`11 = a1 by A94,MCART_1:85;
7: m1`12 = a2 by A94,MCART_1:85;
A98: m2`11 = a2 by A95,MCART_1:85;
A99:m2`12   by A,MCART_1:5java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
CC(&   PointX,y Point  YholdsI,y) [,<**> java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
    .= [[a1,a3],     ,Pointof[BOOLE_1:17;
    .= [[a1,a3],F(f2,m1`2)] by A95
    .=[a1,a3], &forbe Pointof[X:,rofholdsI*)rI java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
end;

 java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  {  & ( for = O
  for C1,    java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 40
  the carrier of C1 A8 ois Objectof C2 byXBOOLE_0:def 4p
  (for a,b being Element of A(), f being Element of B() st
  Pa,:thecarrierof/\C2=hcarrierof /the carrierofC2byA7,
  ex a,b being Element of A(), f being Element of B() st
  m = [[a,b],f] & P[a,b,f]) &
  forJ bejava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 56
  f1,f2 being Element of B() st m1 = [[a1,a2],f1] & m2 = [[a2,a3,,Def2Def2;
Sourcejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 79
  (for a,b being Element of A(), f being Element of B() st
PabA12of\ ( java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 79
  ex    : \  )| b  D;
  m A14: the Source C1  ( Source ntREAL .*r(.) java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
     0Y=**java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  f1,f2    & A15 /C2 ( of| 'f java.lang.StringIndexOutOfBoundsException: Range [69, 65) out of bounds for length 69
  holds m2(*)m1 = [[[objectjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 30

 for a being Element of  A2for,y   java.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 63
for b being ElementA17 exzbe  java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 72
(P[abyA10,A16,71
proof
  let oof
A1: the carrier of C1 = A() and
A2: for a,b being Element of A(), f being Element of B() st
  a, java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 48
A3: for m being Morphism of C1
   abbeingElement of (,xin the ofX& ythe   Y;then
  m = [[a,b],f] & P[a,b,f] and
A4: for m1,m2 being (Morphism of C1), a1,a2,a3 being Element of A(),
  being Element of B() st m1 = [[a1,a2],f1] & m2 = [[a2,a3],f2]
  holds m2(*)m1 = [[a1,a3], F(f2,f1)] and
A5 thecarrierof C2 ( and
A6: for a,b       then reconsider  as C2by def;
Pa,f  [a,]f Morphism A19 C1 ofC def ;
A7: for m being Morphism of C2
      econsider o=o1  Element of  A19;
  m  [[[a,b,] _2ef 4;
A8: for m1,m2 being (Morphism of C2), a1,a2,a3 java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 34
  f1,f2 being Element of B() st m1 = [[a1,a2],f1] &
  holds m2(*)m1 by A20XBOOLE_0def ;
A9: the carrier'of C1= the' ofC2
  proof
    hereby
      let x bethejava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 48
      assume x inthen the Compof C1\  t   )java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
      beingElement of B(st
      x = [[a,b],f] & P[a,b,f] by A3;
      then x is Morphism of C2 by A6;
      hence x in the carrier' of C2;
    end;
    let  be 
    assume x in the carrier' of C2;
    hen ex a,b being Element of (), f beingElement of B() st
    x = [[a,b],f] & P[a,b,f]     reconsider I as Function of [:X,Y:],[:X, product <*Y*>:];
    then     by A10,100
    hence thesis;
  
 the  of C1 =the 'of FUNCT_2java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 6
 the Source of C2 = the carrier' of C2 by FUNCT_2:def 1;
A12: dom the     thus Iis one-to-
A13: dom the Target of C2 = the carrier' of C2 by java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 0
A14: now    proof
    let x be object;
    assume in the carrier'  C1;
    then reconsider m1 = x as Morphism of C1;
    reconsider m2  letF   nowet ,z2 be object;
    thus (the Source of C1).x = dom m1 .= m1`11 by Th2
      .= dom m2 by Th2
      = (Source  C2)x;
  end;
  then
A15: the Source of C1 = the   Def3:
  now
    let x be object;
    assume x in the carrier' of C1;
    thenjava.lang.StringIndexOutOfBoundsException: Range [19, 9) out of bounds for length 45
    reconsider m2 = m1 as Morphism  ofE=F Fc :     x1 in the carrier of X & y1 in the carrier of1
      is ofE;
      .= cod m2 by Th2
      .= (the Target of C2).x
  end;
  then
A16: the Target of C1 = the Target of C2 by A9,A12,A13;
A17: dom the Comp of C1 = dom the Comp of C2
  proof
    hereby
      let x be object;
      assume
A18:  x in dom        by A5,FMISC_1: 2;
      then reconsider xx  xas
      Elementof :the   C1carrier java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 30
       y  as
      Element of [:the carrier' of C2, the carrier'domof= the 'ofDbyFUNCT_2:ef1;
A19:  y =         . x2,< ofDthe of &
      then dom(xx`1    carrierof  = 1java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      then dom(y`1) = cod(y`2) by A14,A16;
      hence x in dom the Comp of C2 by A19,CAT_1:def 6;
    end
    let x be object;
    assume
A20: x in dom the Comp of thus   
    then reconsider xx = x as
   ofjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
reconsider  xxas
    Element of [:the carrier' of C2, the carrier' of C2:] by A9;
 21
    then dom(y`1) = cod(yasnon emptySubsetof'of java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    then dom(xx`1) = asA11  .  ** byA10A1;
    hence thesis by A21,A9:  (Obj F).dom x in O by A1:def3;
  end;
  now
    ;
dom(Fx in   x,)byA491011
A22: [x,y] in dom the Comp of C1;
    then reconsider g1 = x, h1 = y as Morphism ofA13   in Hom(dom (F.x), cod (F.x)) by A8;
rg2g1, h1ofby java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    consider a1,b1 being Element of A(), f1 being Element of B() such java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [17, 3) out of bounds for length 45
    consider c1,d1 being Element of A(), i1 being    M =meetMM;
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 69
A25: : Zin c Z  ;
      .= dom g1 by Th2
      .= cod h1 by A22,CAT_1:15
      .= h1`12 by Th2
      .= d1 by A24,MCART_1:85;
    thus (the Comp of C1).(x,y) = g1(*)h1 by A22,CAT_1:def 1
      .= [[c1,b1],F(f1,i1)] by A4,A23,A24,A25
      .= g2(*)h2 by A8,A23,A24,A25
      .= (the Comp of .(x)by ,A22,CAT_1:def 1;
  end;
  hence thesis byA1,A5,A9,A15,A16,A17BINOP_1:20java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
end;      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 28

scheme FunctorEx { A,B() -> Category, O(set) -> Object      M   set  A14SETFAM_1:def ;
     =the carrier' of D
 ex F letv, bePoint  [:X,java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  for f being hencethesis;
provided
A1: for f java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
for g being Morphism of B() st g = thenreconsider   non empty Subsetof the 'of Djava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
dom g = O(dom f) & cod g = Oset = (the  |;
A2:      consider he  D|java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
A3: for f1,f2 being Morphism of A:wrng O
g1 = F(f1) & g2 = F(f2) & dom f2 = cod f1 holds F(f2(*)f1) = g2(*)g1
proof
  consider F being Function such that
A4: dom F = the carrier' of A() and
A5: for x .= [x1+y1<x2 18: inand
  FUNCT_1:sch 3d ;
rngc   java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 43
  proof
    let x be object;
    assume x in rng F;
    then consider y being object such that
A6A15Iv= x1,*java.lang.StringIndexOutOfBoundsException: Range [25, 25) out of bounds for length 16
A7: x = F.y by FUNCT_1:def 3;
= (y)by ,,A7java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    then x is Morphism of B() by A1,A4,A6;
    hence thesis;
  end;
  then reconsider Fdom x =  rjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 54
 java.lang.StringIndexOutOfBoundsException: Range [20, 15) out of bounds for length 33
A8: now
    let c be Object of A();
       take  =(c);
    thus F.(id c)A32x2asjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 54
      .= id d by A2;
  end;
A9: now
      of A();
    reconsider g = F(f) as Morphism of Bjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    thus F.(id dom f) = F(id dom        Ejava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 56
      .= id O(dom f) by A2
      .= A36:    the' ofE XA5
      .= id dom (F.f) by reconsider y1 = x1,  java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 79
    COMP dom    D) \[MM:] by61;
      .= id O(cod f)     java.lang.StringIndexOutOfBoundsException: Range [55, 51) out of bounds for length 58
      .= id cod g  =byjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 40
      .= id cod (F.f           x2CAT_2;
  end;
  now
    let f,g A39      theCompofE by,A37A38,15;
    assume
A10  g      .= r rjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
:Fg  Fg A5
A12: F.f = F(f) by A5;
    F.(          y
    hence F.(g(*)f) = (F.g)(*)(F.f) by A3,A10,A11,A12;
        A32A,java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 30
  then then in   *> product<Y*> by A1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
        y inX  ;
  thus thesis by A5;
end;

theorem Th3:
  for C1 being Category, C2 being Subcategory of C1 st C1 is Subcategory ofjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 41
  oldsofC1  java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 43
proof
  C1be , C2 be of ;
  assume
A1: C1 is  rooflet of ;
  then
A2:       
 the carrier of 
  then
:        ;
A4: the carrier' of C1 c= the carrier' of C2 by A1,java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 27
 the carrier'java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 26
  thenEjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 58
A5: the carrier' of C1 = the carrier' of C2 by A4;
theC1  of C2  1AT_2java.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 55
  the Comp of           ofE X
  
A7 the       ofC2 by A6;
  now
      beMorphism ofC1
    reconsider m2 = m1 as Morphism of C2 by  d  =id byCAT_2def 4;
    thus (the d o  by A42;
      .=(the Source of )
  end;
  then
A8:       hence id x1be  X,x2be  ofYsuch 
  
    let m1 be Morphism of C1;
    reconsider m2 = m1 as Morphism of C2 by A4;
    thus (the Target of C1).m1 = cod m1 .= java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 11
      .= (the Target of C2).m1;
  end;
  then
 the       < |x1.|,|x2||* ||..|=|w.  A22Th18;
  hence thesis by A3,A5,A7,A8;
end;

theoremv  (,x2 A22
  for C being Category, D being Subcategory of C, E being Subcategory of D
  holds E is Subcategory of C
proof
  let C be Category, D be Subcategory of C, E be Subcategory of D;
A1 the carrier ofDc=thecarrier of C by CAT_2:def 4;
A2: the Comp of D c= the Comp of C by CAT_2:def 4;
A3: the carrier of E c= the carrier of D by CAT_2:def 4;
A4: the Comp of E c= the Comp of D by CAT_2:def 4;
  thus the carrier of E c= the carrier of C by A1,A3;
    end;
    let a,b be Object of E, a9,b9 be java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 37
    reconsider a1 = a, b1 = b as Object of D by CAT_2:6;
    
A5: a = a9 and
A6: = ;
A7: Hom(a,b) c= Hom(a1,b1) by CAT_2:def 4;
     4;
    hence Hom(a,b) c= Hom(a9,b9) by  ex I t  'of    byA5A43A44
  end;
  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  let a be Object of E, a9 be Object of C;
  reconsider a1  leta,  ,a9, x11FinSequencesty=(, java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 64
  assume
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 69
 a java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 30
  hence thesisbe;
end;

definition
  let C1,C2 be Category;
  given C being Category such that
A1: C1 is Subcategoryg = f Morphism D  def ;
A2: C2 is Subcategory of C;
rjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 45
A3: o1 is Object of C2;
  func C1 /\ C2 -> strict Category means
  
  Def2: the carrier of it = (the carrier of C1) /\ the carrier java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 38
  the carrier' of itend;
  the java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  the Target ofA1 I  one-o-ne & Iis
  the Comp of it = (the Comp of C1)||the carrier' of java.lang.StringIndexOutOfBoundsException: Range [53, 12) out of bounds for length 12
  existence
  proof
    set DD = (the Source of C1)|the carrier      , bePoint    & ( for v,w be Point ofjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 51
     =java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 51
    set Cm = (then
    reconsider O A:dom java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 38
    asnonempty A3XBOOLE_0:def 4java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    reconsider o2 = o1 as Object of C2 by A3;
o=o   ,java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 51
A4      cod z2 = cod x2 cjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 74
    id o2 = id o by A2,CAT_2:def 4;
    then reconsider M = (the carrierh java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 13
    as non empty set     A2: J is one-to-one is java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
A5: dom the Source of C1 = the carrier' of C1 by FUNCT_2:def 1;
A6: dom the Target of C1 = the carrier' of C1 by FUNCT_2:def 1;
A7   &(wbe Point [roduct X,oduct <*Y*>java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
A8: dom CC = M by A6A63:theComp of  c=+ J.w )
    rng DD c= O
    proof
      let x be object;
      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 75
      then consider m being object such that
A9:  m in dom DD and
A10:  x = DD.m by FUNCT_1:def 3;
      reconsider m1 = m as Morphism of C1 by A9;
      reconsider m2 =    & (0.: java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 61
      reconsider m = m1 as & ( for v be Point of [:productjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 44
A11    reconsider  = a ObjectofDTARSKI:
   m1  assume
      dom m = dom m2 by A2,CAT_2:9;
      henceby A64CAT_2: java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    end;
,  ,java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 73
    rng CC c= O
    proof
      let x be object;
      assume x rngCC
      then consider m being object such that
A13: m in     (*I)=J.:thecarrier  :productX,<Y*:)byRELAT_1:
A14:  x = CC.m by FUNCT_1:def 3;
      reconsider m1  m oduct (<java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 58
      reconsider m2 = m as Morphism of C2 by A8,A13,XBOOLE_0:java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 37
      reconsider m = m1 as Morphism of C by A1,CAT_2:8;
A15:  x = cod m1 by A13,    thus for x be Point offorx of java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 53
A16:  cod m1 = cod m by A1,CAT_2exx1, beFinSequence =  ** y1& K(,  ^y1
      codm=cod  A2,AT_29;
      hence thesis by A15,A16,XBOOLE_0:def 4;
       java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    then reconsider CC as Function of java.lang.StringIndexOutOfBoundsException: Range [6, 39) out of bounds for length 36
A17: dom Cm = (dom the A68: thecarrierof  Obj 
     [:the carrier  and
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
 Cmc=tC1,hecarrierC1:]/
    [:the carrier' of C2,the carrier' of C2:] by XBOOLE_1:26;
    then
A18: dom Cm c= [:M,M:] by ZFMISC_1:100;
    Cm=M
    proof
      let x be object;
      assumeJ(java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 28
      java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 4
A19:  m in dom Cm and
A20      hence by java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A21  `in  t for,be[:  K(+ww =K.+Kw
A22:   proof
A23:  m = [m carrierE  is java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 55
      .+)   java.lang.StringIndexOutOfBoundsException: Range [42, 39) out of bounds for length 66
            by   
        `1   2 Morphism of.J. J(wjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
            by A2122;
      reconsider mm = m1, n = m2 as Morphism of C by A1,CAT_2:8;
by,X:4
      then
 = by     ;
A26:  x = (the Comp of C1).(m1,m2) by A19,A20,A23,FUNCT_1:47;
A27:  dom m1 = dom mm by A1,CAT_2:9;
A28:dom  =dom mm    K(*)*Kvjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A29:letv [XY]  java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 62
A30:  cod n2 = cod n: x dom   JIvbyjava.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 45
A32:  m1(*)m2 = mm(*)n by A1,A25,CAT_2 .= r*(J.Iv) by 
      (  () by,,A27A28,29,C:11
      hence thesis by A31,A32,XBOOLE_0 Fidx=id (( .)by ;
    end;
        thus K.(0.[:pro ]=0roduct(<*  A15;
    set CAT = CatStr(#O,M,DDreconsiderthusvbe  of[roductY java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 70
A33: CAT is Category-    dom id ObjF.  java.lang.StringIndexOutOfBoundsException: Range [11, 9) out of bounds for length 40
    proof
        let         hence .K. | =| JI.)||by :
        reconsider g9 = g, f9 = f as Morphism of C1 by XBOOLE_0:def 4;
A34 
       |v.A1
        hereby
assume[,end;
          then
A36:      [g,f] in dom the Comp of C1 by A17,XBOOLE_0:def 4;
          thus  g=e;
            .= cod f9 by A36,CAT_1:def 6
            .= cod f by A35,FUNCT_1:49;
        end;
        assume
A37:     dom g = cod f;
A38:    dom g = dom g9 by A7,FUNCT_1:47;
A39:    dom g end;
A40:    [g,f] in [:the carrier' of C2,the carrierA9: 
ZFMISC_1:87;
        [g,f] in dom the Comp of C1 by A38,A39,CAT_1:def 6;
        hence [g,f] in dom(the Comp of CAT) by
         thus id =id Fdom f)by 71
A41: for f,g being Morphism of CAT  =id (.f)by72
     [g,f] in dom the Comp of CAT=id (.)by A10,AT_2:ef4;
A42: CAT is transitive
     proof let f,g be Morphism of CAT;
        reconsiderg9 ,f9  fas C1 by def;
        assume
A43:     dom g=cod f;
        
A44:    [g,f] in dom the Comp of CAT by A41;
A45:     dom the Comp of CAT c= dom the Comp of C1 by RELAT_1end;
        reconsider java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 5
        reconsider h9 = h as Morphism of C1 by XBOOLE_0:def 4;
A46:    h = (the Comp of CAT).(g,f) by A44,CAT_1:def 1
         .= (the Comp of C1).(g9,A13: F.(g(*)f) = (F.g)(*)(F.f) by Cjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
         . g9()9 A45,,def ;
A47:    dom f = dom f9 by    hence.g))=(.)*G) A15,AT_2:;
A48:    dom g = dom g9 by A7,FUNCT_1:47;
A49:    dom h = dom h9 by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 7
A50 codf   by ,FUNCT_1:47java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A51:    cod g = cod java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Range [19, 3) out of bounds for length 40
        thus dom(g(*)f) = dom f
        A47,,A49A50,46,CAT_1def 7java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
        thus cod(g(*)f) = cod g
        by A43,A46,A48,A50,A51,A52 reconsider =(F)a asObjectof by :6
      end;
A53:   for f,g    . a = id ((Obj F).a) by A1,CAT_1:68
    holds dom(g(*)f) = dom f & cod(g(*)f) = cod g
      by A42;
A54: CAT is associative
      proof
letf,g,MorphismofCAT;
        reconsider h9 = h, g9 = gend
        assume  then
A55:    dom h = cod g and
A56:    dom g = cod f;
A57:    [h,g] in dom the Comp of CAT by A41,A55;
A58:    [g,f] in dom the Comp of CAT by A41,A56;
        then reconsider hg = (the Compjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
            gf = (the Comp of java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 36
                 byA57,PARTFUN1:4java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    set  = theOof
A59:    dom hg = dom(h(*)g) by A57,CAT_1:def 1
           .= dom g by A53,A55;
A60:    gf= (gg())by A58CAT_1:1
           .     Obj)xjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 60
A61:by,XBOOLE_0def4java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
A62:    [h,gf] in dom the Comp of    of)java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 47
A63:    dom h9 = dom h by A7,FUNCT_1:47;
A64:    the carrier E1=(the of T \thecarrierof Eby ,A,ef2
         
A65:      h9(*)g9 =(the Comp of C1).(h9,g9) by A63,A55,CAT_1:16;
A66:    dom g9 = dom g by A7,FUNCT_1:47;
A67:    cod f9 = cod f by A8,FUNCT_1:47;
         then
A68      () ( CompofC1).(9f9)byA66A56CAT_1:16;
A69:      cod(g9(*)f9) = cod g9 by A56,A66,A67,ef2;
A70:      dom(h9(*)g9) = dom g9 by A55,A63,A64,CAT_1:def 7;
A71:      hg = h(*)g by A57,CAT_1:def 1;
         gf = g(*)f by A58,CAT_1:def 1;
        hence h(*)(g(*)f)
           =(the     E1 is SubcategoryTh6
                       by A62,CAT_1:def 1
          .= (the Comp of C1).[h9,gf9] by A62,FUNCT_1:47
          .= (the Comp of C1).(h9,(the Comp of C1).(g9,end
          .= h9(*)(g9(
          .= h9(*)g9(*)f9 by A55,A56,A63,A64begin
          .= (the Comp of C1).((the Comp of
  A65A56,,67CAT_1
          .= (the Comp of C1).[hg9,f9] by A57,FUNCT_1:47
          .= (the Comp of CAT).((the Comp of CAT).(h,g),f) by A61,FUNCT_1:47
          .= h(*)g(*)f by A71,A61,CAT_1:def 1;
      ;
A72: CAT is reflexive
     proof
      let b be Object of CAT;
      reconsider b1 = b as Object of C1 by XBOOLE_0:def 4;
      reconsider b2 = b as Object of C2 by XBOOLE_0:def 4;
A73:    the carrier of C1 c= the carrier of C by A1,CAT_2:def 4;
X  nonempty set;
A74:    id b1 = id bb by A1,CAT_2  attr  java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 37
      id b2 in   ;
             by A74,XBOOLE_0:def 4;
      then
     id b2 in M;
      then java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
A75:     dom ii = dom id b1 by A74,FUNCT_1:49
             .= b;
       cod ii = cod id b1 by A74,FUNCT_1:49
             .= b;
       then ii in Hom(b    letxbe Elementof Xjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
      e;
     end;
    CAT is with_identities
      proof let a be java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 10
      reconsider a1 = a as Object of C1 by XBOOLE_0:def 4;
      reconsider a2 = a as Object of C2 by XBOOLE_0:def 4;
A76:    the carrier of C1 c= the carrier of C by A1,CAT_2:def 4;
      reconsider aa = a1 as Object of C by A76;
A77:    id a1 = id aa by A1,CAT_2:def 4java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      id a2 in (the carrier' of C1) /\ the carrier' of C2
             by A77,XBOOLE_0:def 4;
      then
     id a2 in M;
      then reconsider ii = id a2 as Morphism of(abeing Object of C, A being Category st a = A holds
A78:     dom ii = dom id a1 by A77,Morphiofjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
             .= a;
     cod ii    F being Functor of ,Bst=[[,] )& m1m2  Morphism of 
             .= a;
       ii in (aa)by java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
,  CAT_1:def 5;
      take ii;
      let b be Element of CAT;
      thus Hom(a,b)<>{} implies for g being Morphism of a,b holds g(*holds m2(*)m1 = [[A,C],G*F];
       proof assume
A79:       Hom(a,b)<>{};
        let g be Morphism of a,b;
         g in the carrier' of C1 by XBOOLE_0:def 4;
         then reconsider gg = g as Morphism of C1;
A80:      g in the carrier' of C2C java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
A81:      dom gg = (the Source of    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
           .= ((the Source of C1)fofC
m
           .= a1 by A79,CAT_1:5;
A82:      cod id a1 = a1;
      cod ii = cod id a1 by A77,FUNCT_1:49
          .=  dom;
         then
A83:      [g,ii] in dom the Comp of CAT by A33;
        hence g(*)ii = Cm.(g,ii) by CAT_1:def 1
            .= ((the Comp of C1)||the carrier' of C2).(g,ii)
            .= ((the Comp of C1)).(gg,  for ,D being Category theCatStr of C = theCatStr ofDholds
            =gg()id a1 by ,A81,CAT_1:16
            .= g by A81,CAT_1:22;
       end;
        assume
A84:       Hom(b,a)<>{};
          java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 33
         : the CatStr  java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 38
         then reconsider gg = g as Morphism of C1;
A85:      g in:carrier  isand
A86:      cod gg = (the Target of C1).g
           .= ((the Target of C1)|the carrier' of C2).g by A85,FUNCT_1:49
           .=codg
           .= a1 by A84,CAT_1:5;
A87:      dom id a1 = a1;
      dom ii = dom id a1 by A77,FUNCT_1:49
          .=  cod gbyA84,CAT_1:5;
         then
A88:      [ii,g] in dom the Comp of CAT by A33;
         ii(*)g=Cm.(ii,g)by :def 1
            .= ((the Comp of C1)||the carrier' of C2 FFunctor ,
            for   ,Cstm1=[A,BF  = [[
            .= (id a1)(*)gg by A87,A86,CAT_1:16
            .= g by A86,CAT_1:21;
    end;
     thesis A,A;
  end;
  uniqueness;
end;

reserve C      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 32
  C java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 29

theorem Th5:
  the carrier of C1 meets the carrier of C2 implies C1 /\ C2 = C2 /\ C1
proof
  assume (the carrier of C1) /\ the carrier of C2 <> {};
thenreconsider O = the of ) ofC2as 
  set;
  seto  ElementofO;
  set C12 = C1 /\ C2, C21 = C2 /\ C1;
  set M1 = the carrier' of C1, M2 = the carrier' of C2;
  set O1 = the carrier of C1,     mbeMorphism  Djava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A1: o is Object of C1 by XBOOLE_0:def 4;
A2: o is Object of C2 by XBOOLE_0:def 4;
  then
A3: the carrier of C12 = O by A1 A=dom m and
A4: the carrierA7:B =cod ;
A5: the carrier' of C12 = (java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 24
,Def2;
A6 henceex F being Functor of A,B st m = [[A,B], F] by A4,A8;
A7: the Source of C12 = (the java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 6
A8: the Target of C21 = (the Target of C2)|M1 by A1,A2,Def2;
A9: the Target of C12 = (the Target of C1)|M2 by A1,A2,Def2;
A10  let beFunctorof,,Gbe  ofbcjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A11: A9: m1 [b,] java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A12: the Source of C1 = (the Source of C)|M1 by NATTRA_1:8;
A13:the  ofC1 =t Targetof C)M1 by :8java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
A14: the Source of C2 = (the Source of C)|M2 by NATTRA_1:8;
A15: the Target of C2 = (the Target of C)|M2 by NATTRA_1:8;
A16: the Source of C12 = (the
    .= the Source of C21 by A6,A13`  java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 33
A17: the Target of C12 = (the Target of Cm12 A985;
      then
 the Comp of C12 A15 f2]in  Compof C by A13A14,CAT_1:;
    .= (the Comp of C)|([:M1,M1
    .= (the Comp of C)||M2||M1 by RELAT_1 C 1C [,CidC  
    .= the Comp of C21 by A10,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 5
  hence   ;
end;

theorem Th6:
  the carrier of C1 meets the carrier of C2 implies
  C1 /\ C2 is Subcategory of C1 & C1 /\ C2 is SubcategoryC1C2java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 26
proof
  assume
A1: (the carrier of C1) meets the carrierjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
  then
A2: (the carrier of C1) /\ the carrier of C2 <> {};
A3: C1 /\ C2 = C2 /\ C1 by A1,Th5;
  now
    let C1,C2 be Subcategory of C;
    assume
A4: (the carrier of C1) /\ the carrier of C2 <> {};
A5: (the carrier of C1) /\ the =[BC,;
17
A6: (the carrier' of C1A8: [,C,F2 A6 ;
XBOOLE_1:17;
    reconsider O = (the carrier of C1) /
    by A4;
   o  Ojava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
A7: o is A1 =byA9,java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 29
A8: oF2F1 = idA  A11A12,FUNCT_217java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    
A9: the carrier of C1/\C2 = (the carrier 
;
A10: the carrier' 
,A8,Def2;
A11: the Source of C1/\C2 = (the Source of C1)|the carrier' of C2 by A7,A8,Def2
;
A12: the Target of C1/\C2 = (the Target of C1)|the carrier' of C2 by A7,A8,Def2
;
: C1/= t  C1| carrier C2by ,Def2;
A14: the Source of C1 = (the Source 1CatA [,] java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 32
 the C1= carrier'ofbyFUNCT_2def 1;
    then
A15: the Source of C1/\C2 = (the Source of C1)|the carrier' of C1/\C2
    by A10,A11,A14,RELAT_1:71;
A16: the proof dom m  m`  Th13
    dom the Target of C1 = the carrier' of 
    then
A17: the Target of C1/\C2 = (the Target of C1)proof codm = `12byTh13;
    by A10,A12,A16,RELAT_1:71;
A18: for o being Element java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 4
       java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 63
leto1of;
     assume
o1 inO;
      then reconsider o2 = o1 as Element of C2 by XBOOLE_0:def 4;
A19:    the   let C1, C2 be Cat Category
      reconsider o = o1    
A20:    id o1 = A1:the     thecarrier of C2
     java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 34
     hence id o1 in (the carrier' of C1) /\ the carrier' of C2
        A20Xjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 30
    end;

    the Comp of C1 = (the Comp of C1)||the carrier' of C1;
    then ofC1/C2  t  ofC1)|
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    [:the carrier' of C2,the carrier' of C2:]) by A13,java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 45
thenthe C1/\  CompofC1)||carrier'java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    by A10,ZFMISC_1:100;
    hence C1/\C2 is Subcategory of C1 by A5,A6,A9,A10,A15,A17,A18,NATTRA_1:9;
  end;
  hence thesis by A2,A3;
end;

definition
  let C,D be Category;
  let F be Functor of C,D;
A8:now
  :Def3:
  the carrier of it = rng java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 20
  for E being     assume x inin C1;
  the carrier of E = rng Obj F & rng F c= the carrier' of     then reconsider =x Morphism;
  holds it is Subcategory of E;
  
  proof set a =. m2  
A1:      =(he ofC2).x;
    then (Obj F).a in rng Obj F by FUNCT_1:def 3;
    then java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    reconsider O as non empty Subset of the carrier of D;
    set f = the Morphism of C;
A2: dom F = the carrier' of C by FUNCT_2
A3: dom the Source of D java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A4: dom the Target of D = the carrier' of D by FUNCT_2 of[ java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 60
    defpred P[set] means
    rng F c= $1 & ex E being Subcategory of D st the carrier of E = O &

    consider MM being set such thatthen (`) =cod2 ,A7
A5: for x being set      x  the  ofC2 by ,: ;
    from XFAMILY:sch 1;
    set HH = {Hom(a0,b) java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
       domthe Comp C2;
reconsider   asempty  the 'of D
    by CAT_2:19;
    reconsider D0 = (the Source of D)|M0, C0 = (the Target of D)|M0
    as Function of M0,O by CAT_2:20of[java.lang.StringIndexOutOfBoundsException: Range [28, 20) out of bounds for length 64
    java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 67
    by CAT_2:20;
    CatStr(#O,M0,D0,C0,CC#) is full java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 36

A6: CatStr(#O,M0,D0,C0,CC#) is Subcategoryjava.lang.StringIndexOutOfBoundsException: Range [42, 22) out of bounds for length 22
    rng F c= M0
    proof
      let y be object;
       java.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 68
       java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 44
A7:   x ina1=java.lang.StringIndexOutOfBoundsException: Range [30, 26) out of bounds for length 60
A8:   y = F.x by FUNCT_1:def 3;
      reconsider x as Morphism of C by A7;
A9:  (Obj F).dom x in O by i1 being Functor of c1,d1 such that
A10:  (Obj F).A17 h1 [c1d1,  java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
_1:9;
A12:  cod (F.x) in O by A10,.= [[c1,b1],f1*i1] by A16,A17
A13       ()A16A17,A18Def6
      Hom(dom (F.x), cod (F.  ofC2)(,)by 10A15,def 1java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
      hence thesis by A13,TARSKI:def 4;
    ;
    then
A14: M0 in MM by A5,A6;
    set Mjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 Z beingsetstZin  rng F= by A5;
    now
      let X be set;
      assume X in MM;
      then
A16:  rng F c= X by A5;
      F.f in rng F by A2,FUNCT_1:def 3;
      hence F.f in X by A16;
    end;
    l   java.lang.StringIndexOutOfBoundsException: Range [28, 24) out of bounds for length 30
    M c= the carrier' of D
    proof
      let x be object;
      thus  carrier  Dis
      then x in M0 by A14,SETFAM_1:def 1;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
    end;
    then reconsider M as non empty Subset of the     
    set DOM = (the Source of D)|M;
    set COD = (the Target of D)|M;
    set COMP = (the Comp of D)||M;
A17: dom DOMjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
    rng DOM c=        [[,A,id ] = idbbyDef6;
    proof
       ybe ;
      assume y in rng DOM;
      then consider x being
A18:  x in M and
A19:  y = DOM.x by A17,FUNCT_1:def 3;
      reconsider x as Morphism of D by A18;
      x in M0 by A14,A18,SETFAM_1:def 1;
      then consider X being set such that
A20:  x in X and
A21:  X in HH by TARSKI:def 4;
java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 46
A22:  X = Hom(a,b) and
A23:  a in O and b in O by A21;
      dom x = a by A20,A22,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 31
hencejava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 49
    end;
    then reconsider DOM as Function of      that
 dom COD =M by,:62java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
     COD java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    proof
      let y be object;
      assume y in rng COD;
      thenconsider x  object 
A25:  x in M and
A26:  y = COD.x by A24,FUNCT_1:def 3;
      reconsider x as Morphism of D by A25;
      x in M0 by A14,A25,SETFAM_1:def 1;
      then consider X being set such that
A27:  x in X and
A28:  X in HH by TARSKI:java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 13
      consider a,b being Object of D such that
A29:  X = Hom(a,b) and a in O and
A30:  b in O by A28;
      cod x = b by A27,A29,CAT_1:1;
      hence thesis by A24,A25,A26,A30,FUNCT_1:47;
    end;
    then reconsider COD as Function of M,O by A24,FUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 7
A31: dom COMP c= [:M,M:] by RELAT_1:58;
    rng COMP c= M
    
      let y be object;
      assume y in rng COMPjava.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 28
      then consider x being object such that
A32:  x inhereby
A33:  y = COMP.x by FUNCT_1:def 3;
      reconsider x1 = x`1, x2 = x`2 as Element of M  
A34:  x = [x1,x2] by A31,A32,MCART_1:21;
      now
        let X be set;
        assume
A35:    X in MM;
        thenthen fbeing Morphism ofC java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
        the carrier of E = O and
A36:    the carrier' of E = X by A5;
        reconsider y1 = x1, y2 = x2 as Morphism of EA8:     being, f[,BF  ,,java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 67
        COMP=(   D)/[M,: by:;
        then x in dom the Comp of D by A32,XBOOLE_0:defA10     `  java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
        A11  f`11  A yA8MCART_1;
A37:          f`12 :;
A38:    dom y1 = dom x1 by CAT_2:9;
        cod y2 = cod x2 by CAT_2:9;
        then
A39:;
        the Comp A12: dom the Comp o =dom theof
        then (the Comp of E).x = (thelet java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
          .= y
        by A32,A33,FUNCT_1:47;
 java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 57
        hence y in X by A36;
      end;
      hence by ,SETFAM_1:ef 1
    
    then reconsider COMP as PartFunc of [:M,:codf  f12byjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    for o being Element of  
     proof let o be Element of D;
      assume
A40:    o in O;
           holdsido in X
        proof let X be set;
         assume X in MM;
          then P[X] by A5;
          then consider E being Subcategory of D such that
A41:        the carrier of E = O and
        carrierE= java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
          o in      =)  ,java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 37
          then reconsider oo.g9A22A24,Def6
          id oo. the  D).g,f)byA12A,CAT_1def java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
         hence id o in X by A42;
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
1:def1;
     end;
    then reconsider T = CatStr(#O,M, DOM, COD, COMP#)
    as strict Subcategoryof byjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    take T;
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 78
SETFAM_1:5;
    let E be Subcategory of D;
    assume that
A43: the carrier of E = rng Obj F and
A44: rng F c= the carrier' of E;
    thus the carrier of T c= the carrier of E by A43;
    the carrier' of E c= the carrier' of D by CAT_2:7;
    then the carrier'ofEin by ,A43A44;
    then
A45: M c= the carrier' of E by SETFAM_1:3;
    hereby
      let a,b be Object of theoremTh17:
      assume that
A46:  a = a9 and
A47:  b = b9;
      thus Hom(a,b) c= Hom(a9,b9)
      proof
        let x be object;
        assume x in Hom(a,b);
                 fbeing Morphismo such that
A48:    x = f and
A49:    dom f = a and
A50:    cod f = b;
 =f MorphismofDTARSKI:def 3;
        reconsider f java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 5
A51:    dom g = a by A49,CAT_2:9;
A52:    cod g = b by A50,CAT_2:9;
A53:    a9 = dom f by :       in
        b9 = codfbyA47,A52,CAT_2:;
        hence thesis by A48,A53;
      end;
    end;
A54:java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 43
    proof
      let x be object;
      assume
A55:  x in dom the Comp of T;
      then reconsider x1 = x`1, x2 = x`2 as Element of M by MCART_1:10;
      reconsider y1 = x1, y2 = x2 as Morphism of T;
      reconsider z1 = x1, z2 = x2 as Morphism of E by A45;
A56:  x = [x1,x2] by A55,MCART_1:21;
      then
A57:  dom y1 = cod y2 by A55,CAT_1:15;
A58:  dom y1 = dom x1 by CAT_2:9;
A59:  dom z1 = dom x1 by CAT_2:9;
A60:  cod y2 = cod x2 by CAT_2:9;
      z2 =by:;
      hence thesis by A56java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 7
    ;
    now
      let x be object;
      assume
A61:  x in dom the Comp of T;
  theCompof  =theComp ofDby :def 4;
A63:  the Comp of E c= the Comp of D     java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 27
      thus (the Comp of T).x = (the  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
        .= (the Comp of E).x by   forA g beingElementof 
    ;
    hence the Comp of T c
    let a be Object of T, a9 be Object of E;
    reconsider b = a as Object of D by TARSKI:def 3;
    assume
A64: a = a9;
    id a = id b by CAT_2:def 4;
    hence thesis by A64,CAT_2:def 4;
  end;
  uniqueness
  proof
    let C1,C2 be strict Subcategory of D such that
 assume P[b,a,g];
A66: rng F c= the carrier' of C1 and
A67: for E being Subcategory of D st
    the carrier of E = rng Obj F & rng F c= the carrier' of E
    holds C1 is Subcategory of E and
A68: the carrier  java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
:F  ' C2 and
A70: for E being Subcategory of D st
the java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 61
    holds   RELAT_1:;
A71: C1 is  consider C strict like_morphisms such 
    C2 is A11: the carrier of C 
byA71,Th3

java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4

theorem Th7:
,  java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 74
 ofEholds isFunctorofC,E

  let C,D be Category, E be Subcategory of D, F bethus carrierof  java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 47
  assume
A1: rng F c= the carrier' of E;
A2: dom F = the carrier' 
A3: dom       then id  A2,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  reconsider G = F as Function of the carrier' of C, the carrier' of E
  by A1,A2,FUNCT_2:def 1,RELSET_1:4;
A4:rng Obj Fc= the carrier E
  proof
    let java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 60
    assume y in rng Obj F;
    then consider x being object such that
A5: x in a =[[,c]g and
A6: y = (Obj F).x by java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 22
    A15:  dom ida =(id `11by java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
    F.id x = cod   `12 byjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    then id ((Obj F).x) in rng F by A2,FUNCT_1:def= ida)() CAT_1:
thenjava.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 62
    ;
    dom id (henceid=[[D  ,A15,85;
    hence thesis by A7;
 ;
A8: now
    let c be Object of C;
    (Obj F).c incjava.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 69
    then reconsider d = (Obj F).c asPabf  java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
    take d;
    thus G.id c = id ((Obj F).c) by CAT_1:68
      .= id d by CAT_2:def 4 codm=b  java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 38
  end;
 
    let f be java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 8
A10: dom (F.f) = dom (G.f) by CAT_2:9;
A11 F.)  (f)by
    thus G.id dom f = id (F.dom f) by CAT_1:71
java.lang.StringIndexOutOfBoundsException: Range [46, 33) out of bounds for length 33
      .= id dom (G.f) by A10,CAT_2:def 4;
    thus G.id cod f = id (F.cod f) by CAT_1:71
      .= id cod (F.f) by CAT_1:72
      .= id cod (G.f) by A11,CAT_2:def 4;
  end;
  now
    let f:m1 =[[,]F 
    assume
A12: dom g A: AB]= a1b1]by A22A24X1;
    then
A13: F.(g(*)f) = (F.   ;
  () java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 43
A15;
    codthen as  ;
    hence   take C;
  end;
  hence thesis by A8,A9,CAT_1:61;
end;

theorem
  for C,D being Category, F being Functor of C,D holds
F Functor C  java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
proof
egoryF  Functorjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
  rng F c= the carrier' of Imagethen in 
  hence thesis by Th7;
end

theorem Th9:
  for C,D being 
  for G being Functor of C,D st F = G holds Image F = Image G
proof
  let C,D be Category, E be Subcategory of D;
  let F be Functor of C,E, G be Functor of C,D such that
A1: F = G;
  reconsider S = Image F as strict Subcategory of D by Th4;
A2: now
    thus dom Obj F = the carrier of C  [A]F] sMorphism of  iffF Y)holds   
    by FUNCT_2:def 1;
    let x be object;
    xinof C;
    then reconsider a = x as Object of C;
    reconsider b java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    G.id a = id ((Obj F).a) by A1A3  java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 29
      .= id b by CAT_2:def 4;
    hence (Obj G).x = (Obj F).x by   [[A,B],F] is Morphism of C2 iff F in Y  java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 41
  endproof
  then
A3: Obj Flet x object
  then
A4: the carrier of S = rng Obj G by Def3;
A5: rng G c= the carrier' of S by A1,Def3;
  now
    let T be Subcategory of D;
    assume that
A6: the carrier of T = rng Obj G and
A7: rng G c= the carrier' of T;
    set x = the Object of C;
A8: (Obj G).x in rng Obj G by A2,FUNCT_1:def 3;
A9: (Obj Glet  java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    then (Obj G).x in (the carrier of T) /\    a =  b = codmCategoryby
byA6,A8XBOOLE_0def 4;
    then
A10: (the carrier of T) meets the carrier of E;
    then E1=  \ E as java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 59
    the carrier of E1 = (the carrier of T) /\ the 
;
    then
A11: the carrier of E1 = rng Obj F by A3,A6,XBOOLE_1:28;
    the carrier' of E1 = (the carrier' of T) /\ the carrier' of E by A6,A8,A9
,Def2;
    then rng F c= java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    then
A12: Image F is Subcategory of E1 by A11,Def3;
    E1 is Subcategory of T by A10:ef8java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    hence S is Subcategory of T by A12,Th4;
  end;
  hence thesis by A4,A5,Def3;
end;

begin :: Categorial Categories

definition
  let IT be set;
  attr IT is categorial means
  :Def4:
  for x being set st x in IT holds x is Category
end;

definition
  let X be non empty set;
  redefine attr X is categorial means
   for    C;
  compatibility;
end;

registration
  A1 a  of  and
  existence
  proof
    take X = {1Cat(0,{0})};
    let x be Element of X;
    thus thesis by TARSKI:def 1;
  end;
end;

definition
  let X be non empty categorial set;
  redefinehence by A3A4,ARSKI:1;
  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 6
end;

definition
  let C be Category;
  attr C is Categorial means
  :Def6:
  the carrier of C is categorial &
  (for a being ObjectA1:thecarrier of C1 =carrier ofC2
  A=the  ofempty set by java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
  for A,B being Category st A = dom m &  for A,B being Category st A = dom m &  byjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  ex F being Functor of A,B st m =     cat b9 = b by Th16;
  for A,B,C being Category for F being Functor of A,B
  for G being Functor of B,C st m1 = [[A,B],F] & m2 = [[B,C],G]
  holds m2(*)m1 = [[A,C],G*F];
end;

registration
 java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 64

  proof
    let C be Category;
assume
A1: C is Categorial;
    then
A2: the carrier of C is categorial;
    let f be Morphism of C;
     =   as Category by A2;
    ex F being Functor of A,B st f = [[A,B], F] by A1;
    hence thesis;
  end;
end;

:
  for C,D being Category st the CatStr of C = the   ex C being full Categorial strict Category st the carrier
  C is Categorial implies D is Categorial
proof
  let C,D be Category;
  assume
A1: the CatStr of C = the CatStr of D;
  ssume 
A2: the carrier of C is categorial and
A3: for a being Object of C, A being Category st a = A holds
  id a = [[A,A], id A] and
A4: for m being Morphism of C for A,B being Category st A = dom Funct,)in 
  ex F being Functor of A,B st m = [[A,B], F] and
A5: for m1,m2 being Morphism of C for A,B,C being Category
  forA2 java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
  for G being Functor of B,C st m1 = [[A,B],F] & m2 = [[B,C],G]
  holds m2(*)m1 = [[A,C],G*F];
  thus the carrier of D is categorial by A1,A2;
  thus for a being Object of D, A being Category st a = A
      holds id a = [[A,A], id A]
  proof
    let a be Object of D, A be Category;
    reconsider b = a as Object of C by A1;
    assume a = A;
    then [[A,A], id A] = id b by A3;
    hence id a = [[A,A], id A] by A1,Lm1;
  end;
  hereby
    let m be Morphism of D;
    reconsider m9 = m as Morphism of C by A1;
    let A,B be Category;
    assume that
A6: A = dom m and
A7: B = cod m;
A8: A = dom m9 by A1,A6;
    B = cod m9 by A1,A7;
    hence ex F being Functor of A,B st m = [[A,B], F] by A4,A8;
  end;
  let m1,m2 be Morphism of D;
  reconsider f1 = m1, f2 = m2
  let a,b,c   consider  being strict Categorial Category such java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
Fbe  , beFunctor ,c
  assume that
A9: m1 = [[a,b],F] and
A10: m2 = [[b,c],G];
  reconsider a1   isjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
by;
A11: ex F1 being Functor of a1,b1 st (java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 15
  ex F2 being Functor of 
  then
A12: dom f2 = m2`11 by MCART_1:85;
A13: m2`11 = b by A10,MCART_1:85;
A14    let Fbe  of a,bjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  m1`12 = b by A9,MCART_1:85;
  then
:f1 indom CompC by ,A13,A14,AT_1:5java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
  hence m2(*)m1 = (the Comp of D).(m2,m1) by A1,CAT_1:def 1
    .= f2(*)f1 by A1,
    .=[[c,*  A5A9,A10;
end;

theorem Th11:
  for C being Category holds 1Cat(C, [[C,C], id C]) is Categorial
proof
  let A be Category;
  set F = [[A,A], id    full java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  set A1 carrierCc carrier;
t   carrier'ofD
  hereby
    let a be Object of C, D be Category;
    assume a = D;
    then D = A     then D = A byct;
    hence id a = [[D,D], id D] by TARSKI:def 1;
  end;
  hereby
    let m be Morphism of C;
    let C1,C2 be Category;
    assume that
A1: C1 = dom m and
A2: C2 = cod m;
A3: C1 = A by A1,TARSKI:def 1;
A4A2:=[y1,2] F by Def6;
    reconsider G = id A as Functor of C1,C2 by A2,A3,TARSKI:defjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 28
    take G;
        then [[y1,2,F Morphism of Dby A3,ef8java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
  end;
  let m1,m2 be Morphism of C;
  let A1,B,C be Category, F1 be Functor of A1,B, F2 be Functor of B,C;
  assume that
A5: m1 = [[A1,B],F1] and
A6: m2 = [[end;
A7: [[A1,B],F1] = F by A5,TARSKI:
A8: [[B,C],F2] = F by A6,TARSKI:def 1;
A9: [A1,B] = [A,A] by A7,XTUPLE_0:1;
A10:[A,]=[,]by XTUPLE_0:1;
A11: F1 = id A by A7,XTUPLE_0:1;
A12: F2 = id A by A8,XTUPLE_0:1;
A13: A1 =A A9,XTUPLE_0:1;
A14: C = A by A10,XTUPLE_0:1;
  F2*F1 = id A by A11,A12,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 5
  hence thesis by A13,A14,TARSKI:def 1;
beofCD2;

registration
  cluster Categorial for strict Category;
  existence
  proof
    set A = 1Cat(0,{0});
    take 1Cat(A, [[A,A],  letd ofDD
    thus thesisby Th11;
  end;
end;

theorem Th12:
  for C being Categorial Category, a being Object of C holds a is  then reconsider DD = (the carrier of D1) \/ the carrier of D2 as
proof
  let C be Categorial Category;
  the carrier of C is categorial by Def6;
  hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th13:
   CCategorial Category,being Morphism of C java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
  dom f  f`11 & f  `java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
proof
  let C be Categorial Category;
  let f be Morphism of C;
  reconsider A = dom f, B = cod f as Category by then   incl D1*1 RELAT_153
  ex F being Functor of A,B st f = [[A,B], F] by Def6;
  hence thesis by MCART_1:85;


h 
  let C be Categorial Category;
  let m be Morphism of C;
  redefine func m`11 -> Category;
  coherence
  proof dom m = m`11 java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
    hence thesis by Th12;
  end;
  redefine func m`12 -> Category;
  coherence
  proof cod m = m`12 by Th13;
    hence thesis by Th12;
  end;
end;

theorem Th14:
  for C1, C2 being Categorial Category st
  the carrier of C1 = the carrier of C2 &
  the carrier' of C1 = the carrier' of C2
  holds the CatStr of C1 = the CatStr of C2
proof
  let C1,  let C  Category;
  assume that
A1: the carrier of C1 = the carrier of C2 and
A2: the carrier' of C1 = the carrier' of C2;
A3: dom the Source of C1 = the carrier' of C1 by FUNCT_2:def 1;
A4: dom the Source of C2 = the A1: (the Target of C).id o = cod .= o;
A5: dom the Target of C1 = the carrierA2: o in {o}by TARSKI:ef;
A6: dom the Target of C2 = the carrier' of C2 by FUNCT_2:def 1;
  now
    let x be object;
    assume x in the carrier' of C1;
    then reconsider     thesis  ,A2,def7;
    reconsider m2 = m1 as Morphism of C2 by A2;
    thus (  ;
      .= dom m2 by Th13
      .= (the Source of C2).x;
  end;
  then
A7 
A8: now
     x  object;
    java.lang.StringIndexOutOfBoundsException: Range [58, 7) out of bounds for length 58
    then reconsider m1 = x as Morphism of C1;
    reconsider m2 = m1 as Morphism of C2 by A2;
    thus (the Target of C1).x = cod m1 .= m1`12 by Th13
      .= cod m2 by Th13
      .= (the Target of C2forCbeingCategory,a Objectof f of holds
  end;
  then
A9: java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A10: dom the Comp of C1 = dom the Comp of C2
  proof
    hereby
      let x be object;
      assume
A11:  x in dom the Comp of C1;
      then reconsider xx = x as
      Element of [:the java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      reconsider y = xx as
      Element of [:the carrier' of C2, the carrier' of C2:] by A2;
A12:  y = [xx`1,xx`2] by MCART_1:21;
      then dom(xx`1) =  et be java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
      hence x in dom the Comp of C2 by A12,CAT_1:def 6;
    end;
    let x be object;
    assume
A13: x in dom the Comp of C2;
    then A4: f in a Hom by A2;
    Element of [:the       Hom b Th23;
    reconsider y = xx as
    Element thesisA8
A14: xx = [y`1,y`2] by MCART_1:21;
    then dom(y`1) = cod(y`2) by A13,CAT_1:def 6;
hen1  cod(`2) byA8,A7
    hence thesis  fin d f)HominHom (od   Th23java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  end;
  now
    let x,y be object;
    assume
A15: [x,y] in dom the Comp of C1;
    then reconsider g1 = x, h1 = y as Morphism of C1 by ZFMISC_1:87;
    reconsider g2 = g1, h2 = h1 as Morphism of C2 by A2;
    reconsider a1 = dom g1, b1 = cod g1 as Category by Th12;
    consider f1 being Functor of a1,b1 such that
A16: g1 = [[a1,b1],f1] by Def6;
    reconsider c1 = dom h1, d1 = cod h1 as Category by Th12;
    consider i1 theorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A17: h1 = [[c1,d1],i1] by Def6;
A18: a1 = d1 by A15,CAT_1:15;
    thusjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      .= [c1,1,1* A16,A,
      .= g2(*)h2 by A16,A17,A18,Def6
      .= (the Comp of C2).(x,y) by A10,A15,CAT_1:def 1;
  end;
  then the Comp of C1 = the Comp of C2 by A2,A10,BINOP_1:20;
  hence thesis by A1,A2,A7,A9;
end;

registration
  let C be Categorial Category;
  cluster -> Categorial for Subcategory of C;
  coherence
  proof
    let D be Subcategory of C;
A1: the carrier of C is categorial by Def6;
    thus the carrier of D is categorial
    
      let x be Object of D;
      x is Object of C by CAT_2:6;
      A1: for ab being Element A,fgbeing Element of Bst
    end;
    hereby
      let a be Object of D, A be Category;
      reconsider =aas Object of  by CAT_2:6;
      assume a = A;
      then [[A,A], id A] = id b by Def6;
       a [[,A] id A]by :def ;
    end;
    hereby
      let m be Morphism of D;
      reconsider m9 = m as Morphism of C by CAT_2:8;
      let a,b beand
      assume that
A2:   a = dom m and
A3:   b = cod m;
A4:   dom m9 = a by A2,CAT_2:9;
      cod m9 = b by A3,CAT_2:9;
      hence ex F being Functor of a,b st m = [[a,b], F] by A4,Def6;
    end;
    let m1,m2 be Morphism of D;
    let a,b,c be Category;
    reconsider m19 = m1, m29 = m2 as Morphism of C by CAT_2:8;
    let f be Functor of a,b;
    let g be Functor of b,c;
    assume that
A5: m1 = [[a,b],f] and
A6: m2 = [[b,c],g];
A7: dom m2 = dom m29 by CAT_2:9;
A8: cod m1 = cod m19 by CAT_2:9;
A9: dom m29 = m2`11 by Th13;
A10: cod m19 = m1 `12 by Th13;
A11: dom m2 = b by A6,A7,A9,MCART_1:85;
    cod m1 = b by A5,A8,A10,MCART_1:85;
    hence m2(*)m1 = m29(*)m19 by A11,CAT_2:11
      .= [[a,c],g*fA5: b = c(*)g;
  end;
end;

theorem Th15:
  for C,D being Categorial Category st the carrier' of C c= the carrier' of D
  holds C is Subcategory of D
proof
  let C,D be Categorial Category;
  assume
A1: the 'of thecarrier' ofD;
  thus the carrier of C c= the carrier
  proof
    let x be object;
    assume x in the carrier of C;
reconsider    asObjectof ;
    reconsider i = id a as Morphism of D by A1;
A2: dom i = i`11 by Th13;
    dom id a = i`11 by Th13;hereby
    hence thesis by A2;
  end;
  herebya = g byA7,8CAT_1:7java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
    let a,b be Object of C, a9,b9 be java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 28
    assume that

A4: b = b9;
     Hom(ab c=Hom(a9,b9)
    proof
      let x be object;
      assume x in Hom(a,b);
      then consider f     let a,b,c,d be Element ,,hbe  java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
A5:   x = f and
A6:   dom f = a and
A7:   cod f = b;
      reconsider A = a, B = b as Category by Th12;
A8:   ex F being Functor of A,B st ( f = [[A,B],A13:dom = cod and
      reconsiderA14:c  *
A9:  dom f = f`A15: dom g = cod A10,A12,CAT_1:;
A10:  cod f = f`12 by Th13;
A11:  f`11 = A by A8,MCART_1:85;
      f`12 = B by A8,MCART_1:85;
      hence thesis by A3,A4,A5,A9,A10,A11;
    end;
  :Def11 the carrier of  =Hom 
A12: dom the Comp of C c= dom the Comp( a,bbeing Element of  ,fbeingMorphism Cst
  proof
     xbe object;
    assume
A13:   (for  being Morphism it
    then reconsider g = x`1, f =  ex ,bbeing Elementof Hom ,fbeing Morphismof C java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
    reconsider g9 = g, f9 = f as Morphism of D by A1;
A14: x = [g,f] by A13,MCART_1:21;
    then
A15: dom g = cod f by A13,CAT_1:15;
A16: dom g = g`11 by Th13;
A17:   holds () [[a1,] f2*f1];
A18: cod f = f`12 by Th13;
    cod f9 = f`12 by Th13;
    hence thesis by A14,A15,A16,A17,A18,CAT_1:15;
  end;
  now
    let x be object;
    assume
A19: x in dom the Comp of C;
    then reconsider   `  = x` Morphism of by :10;
    reconsider g9 = g, f9 = f as Morphism of     ex , Element  A,fbeing Element  B st
A20: x     =[a,,  [abf)&
A21: dom g = g`11 by Th13;
    cod g = g`12 by Th13;
    then consider G being Functor of g`11, g`12 such that
A22  =[g`,`12,]by Def6;
A23: dom f = f`11 by Th13;
    cod f = dom g by A19,A20,CAT_1:15;
      Element ofst
:  [`11,`11,]by ,A23,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    thus (    m =[a,]f  a,b,f] &
      .= g(*)f by A19,A20,CAT_1:def 1
      .= [[f`11,g`12],G*F]     for m2being Morphism  C1),a1,a3  of ,
      . ()9 ,A24,
      .= (the Comp of D).(g,f) by A12,A19,    holdsm2()=[a1,3,F(2,1]   carrier of =A&
      . t Comp ofD. by MCART_1;
  end;
 the of C c= ofD A12,RFUNC_1:2;
  let a be Object of C, a9 be Object of D;
  assume
A25: a  m=[[,b,]&P[ab,] java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  reconsider A = a as Category by Th12;
  thus     f1,f2 beingElementof st m1 = [[a1,],f1]&m2=[[a2,a3],f2]
    .= id a9 by A25,Def6;
end;

definition
  let a be object such that
A1: a is Category;
  func cat a -> Category equals
  : Def7:
  a;
  correctness by A1;
end;

theorem java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
for   Categorial Category,cbeing Object ofC holds cat c java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
proof
ry be of ;
  the carrier of    that
  then c is Category;
  hence thesis by Def7;
end;

definition
  let C be Categorial Category;
  let m be Morphism java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 15
  redefine func m`2 -> Functor of cat dom m, cat cod m;
  coherence
  proof the carrier of C is categorial by Def6;
    then reconsider A = dom m, B = cod m as Category;
ctor ,Bsuch
A1: m = [[A,B], F] by Def6;
A2: m`2 = F by A1;
    cat A = A by Def7;
    hencethesisA2,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  end;
end;

theorem Th17:
     Ybeingempty set st
  (for A,B,C being Element of X
  for F being Functor of A,B, G being Functor of B,C st
  F in Y & G in Y holds G*F in Y) & (for A being Element of X java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
  ex C being strict Categorial Category st the carrier of C = XA22:domg=cod b
  for A,B being Element of X, F java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 15
 [AB,]isMorphismof  FY
proof
  let X be categorial non empty set, Y be non empty set such that
A1: for A,B,C being Element of X
  for F being Functor of A,B, G being Functor of B,C st
 inY  inYholds G*inand
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  set B = {b where bA27:domcod band
  set a = the Element of X;
  :dom =  and h*)  
  
  then reconsider B as non empty set;
  B is functional
  proof
    let x be object;
    assume x in B;
thenexb beingElement st x  & bisFunction;
    hence thesis;
;
  then reconsider B as non empty functional set;
  reconsider A = X as non empty categorial set;
  defpred P[Element of A, Element of A, set] means $3 is Functor of $1, $2;
  deffunc F(Function,Function) = $1 * $2;
A3: for a,b,c being Element   for m1,m2 being (Morphism of), a1,,a3being ofoHom,
  P[a,b,f] & P[b,c,g] holds F(g,f) in B & P[a,c,F(g,f)]
  proof
    let a,b,c be Element of A, f,g be Element of B;
    assume that
A4: P[a,b,f] and
A5: P[b,c existence
    reconsider f as Functor of a,b by A4;
    reconsider g as Functor of b,c by A5;
A6: f in B;
A7: g in B;
A8: ex b being Element of Y st f = b & b is Function by A6;
    ex b being Element of Y st g = b & b is Function by A7;
    then g*f in Y by A1,A8;
    hence thesis;
  end;
A9: for a being Element of A ex f being Element of B st P[a,a,f] &
  for b being Element of A, g being Element of B holds
  (P[a,bg] implies F(g,f) = g) & (P[b,a,g] implies F(f,g) = g)
  proof
    let a be Element of A;
   reconsider f =id as Element of Y by ;
    f in B;
    then reconsider f as Element of B;
    take f;
    thus P[a,a,f];
    let b be Element of A, g be Element of B;
    thus P[a,b,g] implies g*f = g by FUNCT_2:17;
    assume P[b,a,g];
    then reconsider G = g as Functor of b,a;
    (id a)*G = G by FUNCT_2:17;
    ence hesis;
  end;
A10: for a,b,c,d being Element of A, f,g,h being Element of B st
    holds m2(*)m1 = [a,a3] java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 64
  by RELAT_1:36;
  consider C being strict with_triple-like_morphisms Category such that
A11: the java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 7
  (for a,b being Element of A, f being Element of B st
  P[a,b,f] holds [[a,b],f] is Morphism of C) & (for m being Morphism of C
A,java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 52
  m = [[a,b],f] & P[a,b,f]) &
  for m1,m2 being (Morphism of C), a1,a2,a3 being Element of A,
  f1,f2 being Element     R[,,]holds [,,]isMorphism   &(ormMorphism C1
  holds m2(*)m1 = [[a1,a3], F(f2,f1)] from CatEx(A3,A9,A10);
  C is Categorial
  proof
    thus the carrier of C is categorial by A11;
    hereby
      let a be Object of C, D be Category;
           
A12:  a = D;
      then id D in (*m1 =[a1a3] f2,f1]  the carrier C2 =&
      then id D in B;
       f =DasElement of ;
      reconsider x = a as Element of A by A11;
       MorphismofCby A11,A12;
      consider b,c being Element of A, g being Element of B such that
A13:  id a = [[b,c],g] and
A14:  P[b,c,g] by A11;
A15:  dom id a =      [b,]&R[,] java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A16:  (id a)`11 = b by A13,MCART_1:85;
      cod F = F`12 by Th2
        .= x by MCART_1:85;
      then F = (    holds ()1=[1,java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
        .= [[x,c], g*id the carrier' of D] by A11,A13,A15,A16
        .= [[x,c], g] by A12,A14,A15,A16,FUNCT_2:17;
      hence id a = [[D,D],definition
    end;
    hereby
      let be  of C;
       a, Elementof ,f being of  that
A17:  m = [[a,b],f] and
 [,  ;
A19:  dom m = m`11 by Th2;
A20:  cod m = m`12 by Th2;
A21:  dom m = a by A17,A19,MCART_1:85;
      cod m = b by A17,A20,MCART_1:85;
      hence for A,B being Category st A = dom m & B = cod m
      ex F being Functor of A,B st m = [[A,B], F] by A17,A18,A21;
    end;
    let m1,m2 be Morphism of C;
    consider a1,b1 being Element of A, f1 being Element of B such that
A22: m1 = [[a1,b1],f1] and P[a1,b1,f1] by A11;
    consider a2,b2 being Element of A, f2 being Element of B such that
A23:m2 = [[a2b2,f2]  [a2,b2,2] by A11;
    let A,B,C be Category;
    let F be Functor of A,B;
    let G be Functor of B,C;
    assume that
A24: m1 = [[A,B],F] and
A25:m2 = [B],]java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
A26:[,B] = [a1,] by ,A24XTUPLE_0:1;
A27: [B,C] = [a2,b2] by A23,A25,XTUPLE_0:1;
A28: f1 = F by A22,A24,XTUPLE_0:1;
A29:f2    A25XTUPLE_01java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A30: A = a1 by A26,XTUPLE_0:1;
A31: B= b1 by A26,XTUPLE_0:1;
    C = b2 by A27,XTUPLE_0:1;
    hence thesis by A11,A22,A25,A28,A29,A30,A31;
  end;
  then reconsider C as Categorial strict Category;
  take C;
  thus the carrier of C = X by A11;
  let A9,B9 be Element of X, F be Functor of A9,B9;
  hereby
    assume [[A9,B9],F] is Morphism of C;
    then reconsider m = [[A9,B9],F] as Morphism of C;
    consider , being  of A f being Element of B such that
A32: m = [[a,b],f] and P[a,b,f] by A11;
2;
    then F in B;
    then ex b being Element of Y st F = b & b is Function;
    hence F in Y;
  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  assume F in Y;
  then F in B;
  hence thesis by A11;
end;

theorem Th18:
  for X being categorial non empty set, Y being non empty set
  for C1, C2  m  [`,`]m]  m12   2&`11 = m12*)`&
  (for A,B being Element of Xdomjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 29
  [[A,B],F] java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 5
  (for A,B being ElementCbeCategory,oObject C m be 
  [[A,B],F] is Morphism of C2 iff F in Y) holds C1 = C2
proof
  let X be categorial non empty set, Y be non empty set;
  let C1, C2 be strict Categorial Category such that
A1: the carrier b =fand
A2: for A,B being Element of X, F being Functor of A,B:a= *f  java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
  [[A,B],F] is Morphism of C1 iff F in Y and
A3: the carrier of C2 = X and
A4: for A,B being  java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 34
  [[A,B],F] is java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 4
  the carrier' of C1 = the carrier' of C2
  proof
    hereby
      let x be object;
      assume x in the carrier' of C1;
      then reconsider m = x as Morphism of C1;
      reconsider a = dom m, b = cod m as Category by Th12;
      consider f being Functor of a,b such that
A5:   m
      f in Y by A1,A2,A5;
yA1,A5
      hence x in the carrier' of C2;
    end;
    let x be object;
    assume x in the carrier' of   assume
    then reconsider m = x as Morphism of C2;
    reconsider a = dom m, b = cod m as Category by Th12;
    consider  being Functor ofa such that
A6: m = [[a,b],f] by Def6;
    f in Y by A3,A4,A6;
    then x is Morphism of C1 by A2,A3,A6;
    hence thesis;
  A3 dom c =codgand b = c() by ;
  hence thesis by A1,A3,Th14;
end;

definition
  let IT be Categorial Category=f(*id dombyCAT_1:java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  attr IT is full means
  :Def8:
  for a,b being Category st a is Object of IT & b is Object of IT
  for F being Functor of a, b holds [[a,b],F] is Morphism of IT;
end;

registration
  cluster full for Categorial strict Category;
  existence
  proof
    set A = 1Cat(0,{0});
    reconsider C = 1Cat(A, [[A,A], id A]) as Categorial strict Category
    by Th11;
    take C;
    let a,b be Category;
    assume that
A1: a is Object of C and
A2: b is Object of C;
    let F be Functor of a, b;
A3: a = A by A1,TARSKI:def 1;  thenh =h*id a  :java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
A4: b = A by A2,TARSKI:def 1;
,FUNCT_2:51;
    hence thesis by A3,A4,TARSKI:def 1;
  end;
end;

theorem
  for C1,C2 being full Categorial Category st
  the carrier of C1 = the carrier of C2 holds
  the CatStr of C1 = the CatStr of C2
proof
  let C1, C2 be full Categorial Category;
  assume
A1: the carrier of C1 = the let m be Morphism of o-SliceCat)java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
  reconsider A = the carrier of C1 as categorial non empty set by Def6;
  set B = the set of all m`2 where m is Morphism of C1;
  set m = the Morphismex,beingElementof being  of  st(m
  m`2 in B;
erB as non empty set;
  reconsider D1 = the CatStr of C1, D2 = the CatStr of C2 as strict Category
  by Th1;
A2: D1 is Categorial by Th10;
A3: D2 is Categorial by Th10;
A4: now
      cohercoherence
    reconsider m = [[a,b], F] as Morphism of C1 by Def8;
    m`2 = F;
    [[[[ab,F]isMorphism the CatStr C1  Fin B
  end;
  now=[ab]f)(dom =coda)&)  b)by java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    let a,b be Element of A, F java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 6
    reconsider a9 = a redefinefunc m`- Element oHom
A5: cat a9 = a by Th16;
    cat b9 = b by Th16;
    then reconsider m2 = [[a,b], F] as Morphism of C2 by A5,Def8;
    reconsider m = [[a,b], F] as Morphism of C1 by Def8;
A6 `  F;
    m2 = m2;
    hence [[a,b     [,]f& =coda& ()  )by ef12;
  end;
  hence thesis by A1,A2,A3,A4,Th18;
end end;

theorem Th20:
  for A being categorial non empty set
  ex C being full Categorial end;
proof
  let AA be categorial non empty set;
  set dFF tTh31
Funct(a,b) where a is Element of AA, b is Element of AA;
  set a = the Element of AA,f = the Functor of a,a;
A1:holds  [11,``]&domm`2 = codm`11 &m`*)`  `12java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
  Funct(a,a) in dFF;
  then reconsider FF = java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 5
A2: 
    let A,B,C be Element of AA;
orBC;
    assume that F in FF and G in FF;
A3: G*F in Funct(A,C) by CAT_2:def 2;
    Funct(A,C) in dFF;
    hence G*F in FF by A3,TARSKI:def 4;
  end;
  now
    let A be Element of AA;
A4: id A in Funct(A,A) by CAT_2:def 2;
    Funct(A,A) in dFF;
    hence id A in FF by A4,TARSKI:def 4;
  end;
  then consider C being strict Categorial Category suchend;
A5: the carrier of C = AA and
A6: for A,B being Element of AA, F being Functor of A,B holds [[A,B],F]
  Morphismof    java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
  by A2,Th17;
  C is full
  proof
    let a,b be Category;
    assume that
A7: a is Object of C and
A8: b is Object   let a be Object   Object oC
    reconsider A = a, B = b asjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    let F be Functor of a, b;
A9  in A,by : ;
    Funct(A,B) in dFF;
    then F in FF by A9,TARSKI:def 4;
    then [[A,B], F] is Morphism of C by A6;
    hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    idf java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 25
end;

theorem Th21:
   java.lang.StringIndexOutOfBoundsException: Range [70, 33) out of bounds for length 70
  the ;
proof
let   Category
  let D be full Categorial Category;
  assume
A1: the carrier of C c= the carrier of D;
  the carrier' of C c= the carrier' of D
  proof
    let x be object;
    assume x in the carrier' of C;
    then reconsider x as Morphism of C;
    reconsider y1 = dom x, y2 = cod x as Category by Th12;
    consider being  ofy1,2 that
A2: x = [[y1,y2], F] by Def6    .a A1,:85java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A3: y1 is Object of D by A1;
    y2 is Object of D by A1;
    then [[y1,y2], F] is Morphism of D by A3,Def8;
        .= [[f, g] by 1,3,9C:22
  end;
  thesis ;
end;

theorem
  for C being Category, D1,D2 being Categorial Category
  for F1 being Functor of C,D1 for F2 being Functor of C,D2 st
  F1 = F2 holds Image F1 = Image F2
proof
  let C be Category, D1,D2 be Categorial Category;
  let F1 be Functor of C,D1;
let  beFunctor  C,2;
  assume
A1: F1 = F2;
DD  (carrier of ) carrier of D2 snon emptyset
  DD is categorial
  proof
    let d be Element of DD;
    d is Object of D1 or d is Object of D2 by XBOOLE_0:def 3;
    hence thesis by Th12;
  end;
  then reconsider DD = (the carrier    effunc fMorphism  C1
  non empty categorial set;
  consider D being full Categorial strict Category such that
A2: the carrier of D = DD by Th20;
,XBOOLE_17java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
  reconsider F1 as Functor of C,D1;
  reconsider F2 as Functor of C,D2;
  rng F1 c= the carrier' of D1;
  then F1 = (incl D1)*F1 by RELAT_1:53;
  then reconsider G1 = F1 as Functor of C,D;
 =Image G1 by 
    .= Image F2 by A1,Th9;
  hence thesis;
end;

begin :: Slice category

definition
     Categoryjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
  let o be Object of C;
  func Hom o -> Subset of the carrier' of C equals
  (the Target of C)"{o};
  coherence;
  func o Hom -> Subset of the carrier' of C equals
  (the Source of C)"{o};
  coherence;
end;


  let C be Category;
  let o be Object of C;
  cluster Hom o -> non empty;
  coherence
  proof
:( Target ofjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 43
A2 in{ :1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    dom the Target of C = thejava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
        thenreconsiderF  of  carrier'of , the carrier' 
  end;
  cluster o Hom -> non empty;
  coherence
  proof
A3: (the Source of C).id o = dom id o .= o;
A4: o in {o} by TARSKI:def 1;
m  Source  C the carrier'of Cby :def 1;
    hence thesis by A3,A4,FUNCT_1:def 7;
  end;
end;

theorem Th23:
  for C being Category, a being Object of C, f being Morphism of C holds
  f in Hom a iff cod f = a
proof
  let C be Category, a be Object of C, f be Morphism of C;
  cod f in {a} iff cod f = a by TARSKI:def 1;
 hencethesisby :java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
;

theoremTh24
  for C being Category, a being Object of C, f being Morphism of C holds
  f in a Hom iff dom f = a

  let C be Category, a be Object of C, f be Morphism of C;
  dom f in {a} iff dom f = a by TARSKI:def 1;
  hence thesis     end;
end;

theorem
      let be Morphism of C1
  Hom(a,b) = (a Hom) /\ (Hom b)
proof
  let C be Category, a,b be Object of C;
  hereby
    let x be objectA20:  dom  = codm11by ;
    assume
A21  dom f = codm` by Th23
    then reconsider f = x as Morphism of C;
A2:domf=a  ,CAT_1:1;
A3: cod f = b by A1,CAT_1:1;
A4: f in a Hom by A2,Th24;
    f in Hom b by A3,Th23;
    hence x in (a Hom) /\ (Hom b) by A4,XBOOLE_0:def 4;
  end;
  let x be object;
  assume
A5: x in (a Hom) /\ (Hom b);
  then
A6: x in a Hom by XBOOLE_0A22:id dom (.)=[g1,],iddom g1]by Th30;
A7: x in Hom b by A5,XBOOLE_0:def 4;
  reconsider f = x as Morphism of C by A5;
A8: dom f = a by A6,Th24;
  cod f = b by A7,Th23;
  hence thesis by A8;
end;

theorem
  for C being Category, f being Morphism of C holds
  f in (dom f) Hom & f in Hom (cod f)      then

 Th27:
  for C being Category, f being (Morphism of C), g being Element of Hom dom f
  holds f(*)g in Hom cod f
proof
  let C be Category, f be (Morphism of C), g      id dom )2=id dom 11byjava.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
  cod g = dom f  .=iddom(m by A20,CAT_1:17;
  then cod (f(*)g) = cod f by CAT_1:17;
        F.m = [[g1g2, m`2]by A1java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;

theorem Th28:
  for C being Category, f being (Morphism of C),
  g being Element of (cod f) Hom holds g(*)f in (dom f) Hom
proof
  let C be Category, f be (Morphism of C), g be Element of (cod f) Hom;
  cod = domgby Th24;
  then dom (g(*)f) = dom f by CAT_1:17;
  hence thesis by Th24;
end;

definition
  let C be Category, o be Object of C;
  set A = Hom o;
  set B = the carrier' of C;
  defpred P[Element of A,Element of A,Element of B] means
   2= cod3&$ 2*)$3;
  deffunc F((Morphism of C),Morphism of C) = $1(*)$2;
A1: for a,b,c being Element of A, f,g being Element of B st
  P[a,b,f] & P[b,c,g] holds F(g,f) in B & P[a,c,F(g,f)]
  
    let a,b,c be Element of Hom o, f,g be Morphism of C;
    assume that
A2: dom b = cod f and
A3: a = b(*)f  now
A4: dom c = cod g and
A5: b = c(*)g;
    dom g = cod f by A2,A4,A5,CAT_1:17;
    hence thesis by A3,A4,A5,CAT_1:17,18;
  end;
A6: for a being Element of A ex f being Element of B st P[a,a,f] &
  for b being Element of A, g being Element of B holds
  (P[a,b,g] implies F(g,A30    [a1,b1]g1]and domb1= java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
  proof
    let a be Element of Hom o;
    take f = id dom a;
    thus dom a = cod f & a = a(*)f by CAT_1:22;
    let b be Element of Hom      a2=b2(*g2  Def11;
    hereby
      assume that
= g 
A8:   a = b(*)g;
      dom a = dom g by A7,A8,CAT_1:17;
      hence g(*)f = g by CAT_1A:cod =b1 A30A33,CART_1:85java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    end;
    thus       Elementof  f ;
  end;
A9: for a,b,c,d being Element of A, f,g,h being Element of B st
  P[a,b,f] & P[b,c,g] & P[c,d,h] holds F(h, F(g,f)) = F(F(h,g), f)
  proof
    let a,b,c,d be Element of A39  java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 35
assumethat
A10: dom b = cod f and a = b(*)f and
A11: dom c = cod g and
(*) and
A13: dom d = cod h and
A14: c = d(*)h;
A15: dom g = cod f by A10,A11,A12,CAT_1:17;
    dom h = cod g by A11,A13,A14,CAT_1:17;
    hence thesis by A15,CAT_1:18;
  end;
  func
:Def11: the carrier of it = Hom o &
  (for a,b being Element of Hom o, f being Morphism of C st
 dom b =f &a = b()f holds[ab,f] is Morphism ofit 
  (for m being Morphism of it
  ex a,b being Element of Hom o, f being Morphism of C st
   =[[,b]f &dom  = codf & a =b*f &
  for m1,m2 being (Morphism of it), a1,a2,      f2*f1`  *g1A45
 f2 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 68
  holds m2(*)m1 = [[a1    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  existence
  proof
    thus ex F being with_triple-like_morphisms strict Category st
    the carrier of F = A &
    (for a,b being Element of A, f being Element of B st
    P[a,b,f] holds [[a,b],f] is Morphism of F) & (for m being Morphism of F
    ex   uniqueness
    m = [[a,b],f] java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 7
    for    letF1F2beFunctor of C-SliceCat domf C- cod such that
    f1,f2 being Element of B st m1 = [[a1,a2],f1] & m2 = [[a2,a3],A49 for m being ofC-dom  java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
=[[a1a3] (f2f1) fromCatExA1A,A9;
  end;
  uniqueness
  proof
    thus for C1, C2 being strict with_triple-like_morphisms Category st
    the carrier of C1 = A &
    (for a,b being Element of A, f being Element of B st
    P[a,b,f] holds [[a,b],f] is Morphism of C1) & (for m being Morphism of C1
    ex a,b being Element of A, f being Element of B st
    m = [[a,b],f] & P[a,b,f]) &
    (for
    f1,f2 being Element of B st m1 = [[a1,a2],f1] & m2 = [[a2    hence thesis by FUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    holds m2(*)m1 = [[a1,a3], F(f2,f1)]) &   SliceContraFunctor >
    (for a,b being Element of A, f being Element of B st
    P[a,b:
    ex a,b being Element of A, f being Element of B st
m=[a,],f] [ab])&
    for m1,m2 being (Morphism of C2), a1,a2,a3  .m  [[m`11(),m12*f, `]
    f1,f2 being Element of B st m1 = [[a1,a2],f1] & m2 = [[a2,a3],f2]
    holds m2(*)m1 = [[a1,a3], F(f2,f1)] holds C1 = C2 from CatUniq(A6);
  ;
  set X = o Hom;
RElement ofXElement X,ofB 
  dom $3 = cod $1 & $2 = $3(*)$1;
A16: for a,b,c being Element of X, f,g being Element of B st
  R[a,b,f] & R[b,c,g] holds F(g,A51 for  being Morphismof  holds . =f)from sch ;
  proof
    let a,b,c be Element of o Hom, f,g be Morphism of C;
    assume that
A17: dom f = cod a and
A18: f(*)a = b and
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A20: g(*)b = c;
    dom g = cod f by       then consider m beingconsider m that
    hence thesis by A17,A18,A20,CAT_1:17,18;
  end;
A21: for a being Element of X ex f being Element of B st R[A54:x = Fm by :def3java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  for b being Element of X, g being Element of B holds
  (R[a,b,g] implies F(gA55  x =[m11*)f, `12()] m`2] A51,
  proof
    let a beA56:  dom m`2 = cod m`11by Th31;
    take f = id cod a;
    thus dom f = cod a & f(*)a = a by java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 31
    let b be ElementA59  m`11(*)fin(dom f)Hom by Th28;
    thus dom g = cod a & g(*)a = b implies g(*A:m12(*fin(dom f)Hom by Th28
    assume that
A22: dom g = cod b and
A23: g(*)b = a;
    cod g = cod a by A22,A23,CAT_1:17;
    hence thesis by CAT_1:21;
  end;
A24: for a,b,c,d being Element of X, f,g,h being Element of B st      encethesis
  R[a,b,f] & R[b,c,g] &     end;
  proof
let a,,c,d be of  Hom f,g,h be Morphism of C;
    assume that
A25 domf= cod  and
A26: f(*)a = b and
A27: dom g = cod b and
A28: g(*)b = c      letcbe Object  C1java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
A29: dom h = cod c and h(*)c = d;
A30: dom g = cod f by A25,A26,A27,CAT_1:17;
    dom h = cod g by A27,A28,A29,CAT_1:17;
reconsider=h ObjectC2 java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
  end;
  func o-SliceCat(C) -> strict with_triple-like_morphisms Category means
  :
  Def12: the carrier of it = o Hom &
  (for a,b being Element of o Hom, f being Morphism of C st
  dom f = cod a & f(*)a = b holds [[a,b],f] is Morphism of it) &
  (for m being Morphism of it
  ex a,b being Element of o Hom, f being Morphism of C st
  m = [[a,b],f] & dom f = cod a & f(*)a = b) &
  for m1,m2 being (Morphism of java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 28
  f1,f2 being Morphism of  thusF.(d)=[h, h,( c`]by A51,A65,A66
  holds m2(*)m1 = [[a1,a3], f2(*)f1];
  existence
  proof
    thus ex F being with_triple-like_morphisms strict Category st
    the carrier of F = X &
    (for a,b being Element of X, f being Element of B st
R[,b,]holds [ab],f Morphism of F) & (for m being Morphism of F
    ex a,b being Element of X, f being Element of B st
    m = [[a,b],f] & R[a,b,f]) &
    for m1,m2 being (java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 20
f1f2 beingElement ofBstm1 ,]f1] &m2  [a2a3],2
    holds m2(*)m1 = [[a1,a3], F(f2,f1)] from CatEx(A16,A21,A24);
  end;
  uniqueness
  proof
    thus for C1, C2 being strict with_triple-like_morphisms Category st
    the carrier of C1 = X &
    (for a,b being Element of X, f being Element of B st
    R[a,b,f] holds [[a,b],f] is Morphism of C1) & (for m being Morphism of A72:  iddom (F.m =[[g1,] dcod g1]by ;
    ex ,b java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 54
    m = [[a,b],f] & R[a,b,java.lang.StringIndexOutOfBoundsException: Range [10, 27) out of bounds for length 10
   for m1m2being(Morphism of C1) a1,a2,a3 being Elementof X
    f1,f2 being Element of B st m1 = [[a1,a2],f1] & m2 = [[a2,a3],f2]
    holds m2(*)m1 = [[a1,a3], F(f2,f1)]) & the carrier ofA74  (d domm`  `  85;
    (for a,b being ElementA75:( dom m` =m by ,MCART_1:85java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
ab,] [,],]is MorphismofC2) & (being ofjava.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
    ex a,b being Element of X, f being Element of B st
m=[[,]f] & [abf)&
    for m1,m2 being (Morphism of C2), a1,a2,a3 being Element of X,
    f1,f2 being Element of B st m1 = [[a1,a2],f1] & m2 = [[a2,a3],f2]
    holds (*)m1 =[a1,a3] F(,f1]holds C1 = C2 from CatUniq(A21);
  end;
end;

definition
  let C be Category;
  let o be Object of C;
  let m be Morphism of C-SliceCat(o);
  redefine func m`2 -> Morphism of C;
  coherence
  proof
    ex a,b being Element of Hom o, f being Morphism of C st ( m
    = [[a,b],f])&( dom b = cod f)&( a = bA77     [12m12  `12]  ;
    java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  end;
  redefine func m`11 -> Element of Hom o;
  coherence
  proof
    ex a,b being Element of Hom      (d cod m)2=id od 12A77;
    = [[a,b],f])&( dom b = cod f)&( a = b(*)f) by Def11;
    hencebyMCART_1:85;
  end;
redefine func `>Element  Hom o;
  coherence
  proof
    ex a,b being Element of Hom o, f being Morphism of C st ( m
    = [[a,b],f])&( dom b = cod f)&( a = b(*)f) by Def11;
    hence thesis by MCART_1:85;
  end a1, being  of(cod f)Hom,g1 being Morphism of  such
end;

theorem Th29:
  for C being Category, a being Object of C, m being Morphism of C-SliceCat a
holds m=[m11,m`]m`2]&dom m`12= cod m2& m`  m`12()` &
  dom m = m`11 & cod m = m`12
proof
  let C be Category, o be Object of C, m be Morphism of C-SliceCat o;
  consider a,b being Element of Hom o, f being Morphism of C such that
A1: m t     that
A2: dom b = cod f and
A3: a = b(*)f by Def11;
A4: m`11 = a by A1,MCART_1:85;
  m`12 = b by A1,MCART_1:85;
  hence thesis by A1,A2,A3,A4,Th2;
end;

theorem Th30:
  for  being Category, o being Object  ,f  Elementof Hom java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
  for a being Object of C-SliceCat o st a = f holds id a = [[a,a], id dom f]
proof
  let C be Category, o be Object of C, f be Element of Hom o;
  let a be Object of C-SliceCat o;
  assume
A1: a = f;
  consider b,c being Element of Hom o, g being Morphism of C such that
A2: id a = [[b,c], g] and
 b=c(*g by Def11;
A4: cod id dom f = dom f;
  f = f*)id dom f by CAT_1:22;
  then reconsider h = [[f,f], id dom f] as Morphism of C-SliceCat o by A4,Def11
;
A5: (id a)`11 = b by A2,MCART_1:85;
A6: (id a)`12 = A91:f2 = g2by ;
A7: dom id a = b by A5,Th2;
:codid a = c by A6,Th2;
A9: b = a by A7;
A10: c =a by ;
  dom h = h`11 by Th2
    .= a by A1,MCART_1:85;
  then h = h(*)id a by CAT_1:22
    .= [[f,f], (id dom f)(*)g] by A1,A2,A9,A10,Def11
    .= [[f,f], g] by A1,A3,A10,CAT_1:21;
  hence thesis by A1,A2,A7,A10;
end;

definition
  let C be Category;
  let o be Object of C;
  let m be Morphism of o-SliceCat(C);
  redefine func m`2 -> Morphism of C;
  coherence
  proof
    ex a,b being Element of o Hom, f being Morphism of C st ( m
    = [[a,b],f])&( dom f = cod a)&( f(*)a = b) by Def12;
    hence thesis;
  end;
  redefine func m`11 -> Element of o Hom;
  coherence
  proof
    ex a,b being Element of o Hom, f being Morphism of C st ( m
    = [[a,b],f])&( dom f = cod a)&( f(*)a = b) by Def12;
    hence thesis by MCART_1:85;
  end;
  redefine func m`12 -> Element of o Hom;
  coherence
  proof
    exa,b being Elementof o Hom,f  Morphism of C st ( m
    = [[a,b],f])&( dom f = cod a)&( f(*)a = b) by Def12;
    hence thesis by MCART_1:85;
  end;
end;

theorem Th31:
  for C being Category, a being Object of C, m being Morphism of a-SliceCat C
  holds m = [[m`11,m`12],m`2] & dom m`2 = cod m`11 & m`2(*)m`11 = m`12 &
dom m =m`11 & cod   m`
proof
let  beCategory, obe Object of C,m be  of o-SliceCat C;
  consider a,b being Element of o Hom, f being Morphism of C such that
A1: m = [[a,b],f] and
 and
A3: f(*)a = b by Def12;
A4: m`11 = a by A1,MCART_1:85;
  m`12 = b by A1,MCART_1:85;
  hence thesis by A1,A2,A3,A4,Th2;
end;

theorem Th32:
  for C being Category, o being Object of C, f being Element of o Hom
  for a being Object of o-SliceCat Cend;
proof
  let C be Category, o be Object of C, f be Element of o Hom;
  let a be Object of o-SliceCat C;
  assume
   
  consider b,c being Element of o Hom, g being Morphism of C such that
A2: id a = [[b,c], g] and
A3: dom g = cod b and g(*)b = c by    F1.= [m`11(*), m`*f,m2 
A4: dom id cod f = cod f;
 f =(codjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 33
  then reconsider h = [[f,f], id cod f] as Morphism of o-SliceCat C by A4,Def12
;
A5: (id a)`11 = b by A2,MCART_1:85;
A6: (id a)`12 = c by A2,MCART_1:85;
A7: dom       thusF1.m=[m11*),m`12(*)f] m`]by A99
A8: cod id a         .= F2m  A100;
A9: b = a by A7;
A10: c = a by A8;
  cod h = h`12 by Th2
    .= a by A1,MCART_1:85;
  then h = (id a)(*)h by CAT_1:21
    .= [[f,f], g(*)id cod f] by A1,A2,A9,A10,Def12
    .= [[f,f], g] by A1,A3,A9,CAT_1:22;
  hence thesis by A1,A2,A8,A9;
end;

begin :: Functors Between Slice Categories

definition
  let C be Category, f be Morphism of C;
  func SliceFunctor f ->  let C be Category, f,gbe of C
  :
  Def13: for m being Morphism of C-SliceCat dom f holds
  it.m = [[f(*)m`11, f(*)m`12], m`2];
  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 6
  proof
    set C1 = C-SliceCat dom f, C2 = C-SliceCat cod f;
    deffunc f(Morphism of C1) = [[f(*)$1`11, f(*)$1`12], $1`2];
    consider F being Function of
    the carrier' of C1, the carrier' of [:[:C,C:],C:] such that
A1   beingMorphism ofC1holds F.m= f(m from FUNCT_2:ch 4;
A2: dom F = the carrier' of C1 by FUNCT_2:def 1;
    rng F c= the carrier' of C2
    proof
      let x be object;
      assume x in rng F;
      then consider m being object such that
A3:   m in dom F and
A4:   x = F.m by FUNCT_1:def 3;
      reconsider m as Morphism of C1 java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 38
    =[[f*m11, f*)m12] `2]byjava.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 47
A6:   dom m`12 = cod m`2 by Th29;
A7:   m`11 = m`12(*)m`2 by Th29;
A8:   cod m`12 = dom f by Th23;
:  f(*)m` in Hom codfby Th27;
A10:  f(*)m`12 in Hom cod f by Th27;
A11:  dom (f(*)m`12) = cod m`2 by A6,A8,CAT_1:17;
      f(*)m`11 = f(*)m`12(*)m`2 by A6,A7,A8,CAT_1:18;
thenxis  of C2 by ,A9,A10,A11,Def11;
      hence thesis;
end;
    then reconsider F as Function of the carrier' of C1, the carrier' of C2
    by A2,FUNCT_2:def 1,RELSET_1:4;
A12:now
      let c be Object of C1;
      reconsider g = c as Element of Hom dom f by Def11;
      reconsider h = f(*)g as Element of Hom cod f by Th27;
      reconsider d = h as Object of C2 by Def11;
      take d;
A13:  id c = [[c,c], id dom g] by Th30;
A14:  id d = [[d,d], id dom h] by Th30end;
A15:  (id c)`11 = c by A13,MCART_1:85;
A16:  (id c)`12 = c by A13,MCART_1:85;
A17:  (id c)`2 = id dom g by A13;
A18:  cod g = dom gory, f, being Morphism   st  g    
      thus F.(id c) = [[h, h], (id c)`2] by A1,A15,A16
        .= id d by A14,A17,A18,CAT_1:17;
    end;
A19: now
      let   let be Category, g bejava.lang.StringIndexOutOfBoundsException: Range [40, 36) out of bounds for length 42
      reconsider g1 = f(*)m`11, g2 = f(*)m`12 as Element of Hom cod f by Th27;
A20:  dom f = cod m`11 by Th23;
A21:  dom f = cod m`12 by Th23;
      F.m = [[g1,g2], m`2] by A1;
      then dom (F.m) = [[g1,g2], m`2]`11 by Th29
        .= g1 by MCART_1:85;
      then
A22:  id dom (F.m) = [[g1,g1], id dom g1] by Th30;
      omm=m`11byTh29
      then
A23: id dom m = [m`11m`11], id dom m`11]by ;
      then
A24:  (id dom m)`11 = m`11 by MCART_1:85;
A25:  (id dom m)`12 = m`11 by A23,MCART_1:85;
(id dom )2=id  `byA23;
      hence F.(id dom m) = [[g1,g1], id dom m`11] by A1,A24,A25
        .= id dom (F.m) by A20,A22,CAT_1:17;
      F.m = [[g1,g2], m`2] by A1;
 (F.)  [,]`]12 byTh29
        .= g2 by MCART_1:85;
      then
A26:  id cod (F.m) = [[g2,g2], id dom g2] by Th30;
      cod m = m`12 by Th29;
      then
A27:  id cod m = [[m`12,m`12], id dom m`12] by Th30;
      then
A28:  (id cod m)`11 = m`12 by MCART_1:85;
A29:  (id cod m)`12 = m`12 by A27,MCART_1:85;
      (id cod m)`2 A10: m`12(*)(g(*)f) = m`12(*)g(*)f by A1,A8,CAT_1:18;
      hence F.(id cod m) = [[g2,g2], id dom m`12] by A1,A28,A29
        .= id cod (F.m    thus (*G)  F.Gm by 15
    end;
    now
letf1 java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 34
      consider a1,b1 being Element of Hom dom f, g1 being Morphism of C such
      that
A30:  f1 = [[a1,b1], g1] and dom b1 = cod g1
      and a1 = b1(*)g1 by Def11;
      consider a2,b2 being Element of Hom dom f, g2 being Morphism of C such
      that
A31:  f2 = [[a2,b2], g2] and dom b2 = cod g2
      and a2 = b2(*)g2 by Def11;
A32:  dom f2 = f2`11 by Th2;
A33:  cod f1 = f1`12 by Th2;
A34:  dom f2 = a2 by A31,A32,MCART_1:85;
A35:  cod f1 = b1 by A30,A33,MCART_1:85;
      reconsider ha1 = f(*)a1, ha2 = f(*)a2, hb1 = f(*)b1, hb2 = f(*)b2 as
      Element of Hom cod f by Th27;
A36:  f1`11 = a1 by A30,MCART_1:85;
A37:  f1`12 = b1 by A30,MCART_1:85;
A38:  f1`2 = g1 by A30;
A39:  f2`11 = a2 by A31,MCART_1:85;
A40:  f2`12 = b2 by A31,MCART_1:85;
A41:  f2`2 = g2 by A31;
A42:  F.f1 = [[ha1, hb1], g1] by A1,A36,A37,A38;
A43:  F.f2 = [[ha2, hb2], g2] by A1,A39,A40,A41;
      assume
A44:  dom f2 = cod f1;
      then
A45:  f2(*)f1 = [[a1,b2], g2(*)g1] by A30,A31,A34,A35,Def11;
A46:  (F.f2)(*)(F.f1) = [[ha1,hb2], g2(*)g1] by A34,A35,A42,A43,A44,Def11;
A47:  (f2(*)f1)`11 = a1 by A45,MCART_1:85;
A48:  (f2(*)f1)`12 = b2 by A45,MCART_1:85;
      (f2(*)f1)`2 = g2(*)g1 by A45;
      hence F.(f2(*)f1) = (F.f2)(*)(F.f1) by A1,A46,A47,A48;
    end;
    then reconsider F as Functor of C1, C2 by A12,A19,CAT_1:61;
    take F;
    thus thesis by A1;
  end;
  uniqueness
  proof
    let F1,F2 be Functor of C-SliceCat dom f, C-SliceCat cod f such that
A49: for m being Morphism of C-SliceCat dom f holds
    F1.m = [[f(*)m`11, f(*)m`12], m`2] and
A50: for m being Morphism of C-SliceCat dom f holds
    F2.m = [[f(*)m`11, f(*)m`12], m`2];
    now
      let m be Morphism of C-SliceCat dom f;
      thus F1.m = [[f(*)m`11, f(*)m`12], m`2] by A49
        .= F2.m by A50;
    end;
    hence thesis by FUNCT_2:63;
  end;
  func SliceContraFunctor f ->
  Functor of (cod f)-SliceCat C, (dom f)-SliceCat C means
  :
  Def14: for m being Morphism of (cod f)-SliceCat C holds
  it.m = [[m`11(*)f, m`12(*)f], m`2];
  existence
  proof
    set C1 = (cod f)-SliceCat C, C2 = (dom f)-SliceCat C;
    deffunc f(Morphism of C1) = [[$1`11(*)f, $1`12(*)f], $1`2];
    consider F being Function of
    the carrier' of C1, the carrier' of [:[:C,C:],C:] such that
A51: for m being Morphism of C1 holds F.m = f(m) from FUNCT_2:sch 4;
A52: dom F = the carrier' of C1 by FUNCT_2:def 1;
    rng F c= the carrier' of C2
    proof
      let x be object;
      assume x in rng F;
      then consider m being object such that
A53:  m in dom F and
A54:  x = F.m by FUNCT_1:def 3;
      reconsider m as Morphism of C1 by A53;
A55:  x = [[m`11(*)f, m`12(*)f], m`2] by A51,A54;
A56:  dom m`2 = cod m`11 by Th31;
A57:  m`12 = m`2(*)m`11 by Th31;
A58:  dom m`11 = cod f by Th24;
A59:  m`11(*)f in (dom f)Hom by Th28;
A60:  m`12(*)f in (dom f)Hom by Th28;
A61:  cod (m`11(*)f) = dom m`2 by A56,A58,CAT_1:17;
      m`12(*)f = m`2(*)(m`11(*)f) by A56,A57,A58,CAT_1:18;
      then x is Morphism of C2 by A55,A59,A60,A61,Def12;
      hence thesis;
    end;
    then reconsider F as Function of the carrier' of C1, the carrier' of C2
    by A52,FUNCT_2:def 1,RELSET_1:4;
A62: now
      let c be Object of C1;
      reconsider g = c as Element of (cod f) Hom by Def12;
      reconsider h = g(*)f as Element of (dom f) Hom by Th28;
      reconsider d = h as Object of C2 by Def12;
      take d;
A63:  id c = [[c,c], id cod g] by Th32;
A64:  id d = [[d,d], id cod h] by Th32;
A65:  (id c)`11 = c by A63,MCART_1:85;
A66:  (id c)`12 = c by A63,MCART_1:85;
A67:  (id c)`2 = id cod g by A63;
A68:  dom g = cod f by Th24;
      thus F.(id c) = [[h, h], (id c)`2] by A51,A65,A66
        .= id d by A64,A67,A68,CAT_1:17;
    end;
A69: now
      let m be Morphism of C1;
      reconsider g1 = m`11(*)f, g2 = m`12(*)f as Element of (dom f) Hom
            by Th28;
A70:  cod f = dom m`11 by Th24;
A71:  cod f = dom m`12 by Th24;
      F.m = [[g1,g2], m`2] by A51;
      then dom (F.m) = [[g1,g2], m`2]`11 by Th31
        .= g1 by MCART_1:85;
      then
A72:  id dom (F.m) = [[g1,g1], id cod g1] by Th32;
      dom m = m`11 by Th31;
      then
A73:  id dom m = [[m`11,m`11], id cod m`11] by Th32;
      then
A74:  (id dom m)`11 = m`11 by MCART_1:85;
A75:  (id dom m)`12 = m`11 by A73,MCART_1:85;
      (id dom m)`2 = id cod m`11 by A73;
      hence F.(id dom m) = [[g1,g1], id cod m`11] by A51,A74,A75
        .= id dom (F.m) by A70,A72,CAT_1:17;
      F.m = [[g1,g2], m`2] by A51;
      then cod (F.m) = [[g1,g2], m`2]`12 by Th31
        .= g2 by MCART_1:85;
      then
A76:  id cod (F.m) = [[g2,g2], id cod g2] by Th32;
      cod m = m`12 by Th31;
      then
A77:  id cod m = [[m`12,m`12], id cod m`12] by Th32;
      then
A78:  (id cod m)`11 = m`12 by MCART_1:85;
A79:  (id cod m)`12 = m`12 by A77,MCART_1:85;
      (id cod m)`2 = id cod m`12 by A77;
      hence F.(id cod m) = [[g2,g2], id cod m`12] by A51,A78,A79
        .= id cod (F.m) by A71,A76,CAT_1:17;
    end;
    now
      let f1,f2 be Morphism of C1;
      consider a1,b1 being Element of (cod f) Hom, g1 being Morphism of C such
      that
A80:  f1 = [[a1,b1], g1] and dom g1 = cod a1
      and g1(*)a1 = b1 by Def12;
      consider a2,b2 being Element of (cod f) Hom, g2 being Morphism of C such
      that
A81:  f2 = [[a2,b2], g2] and dom g2 = cod a2
      and g2(*)a2 = b2 by Def12;
A82:  dom f2 = f2`11 by Th2;
A83:  cod f1 = f1`12 by Th2;
A84:  dom f2 = a2 by A81,A82,MCART_1:85;
A85:  cod f1 = b1 by A80,A83,MCART_1:85;
      reconsider ha1 = a1(*)f, ha2 = a2(*)f, hb1 = b1(*)f, hb2 = b2(*)f as
      Element of (dom f) Hom by Th28;
A86:  f1`11 = a1 by A80,MCART_1:85;
A87:  f1`12 = b1 by A80,MCART_1:85;
A88:  f1`2 = g1 by A80;
A89:  f2`11 = a2 by A81,MCART_1:85;
A90:  f2`12 = b2 by A81,MCART_1:85;
A91:  f2`2 = g2 by A81;
A92:  F.f1 = [[ha1, hb1], g1] by A51,A86,A87,A88;
A93:  F.f2 = [[ha2, hb2], g2] by A51,A89,A90,A91;
      assume
A94:  dom f2 = cod f1;
      then
A95:  f2(*)f1 = [[a1,b2], g2(*)g1] by A80,A81,A84,A85,Def12;
A96:  (F.f2)(*)(F.f1) = [[ha1,hb2], g2(*)g1] by A84,A85,A92,A93,A94,Def12;
A97:  (f2(*)f1)`11 = a1 by A95,MCART_1:85;
A98:  (f2(*)f1)`12 = b2 by A95,MCART_1:85;
      (f2(*)f1)`2 = g2(*)g1 by A95;
      hence F.(f2(*)f1) = (F.f2)(*)(F.f1) by A51,A96,A97,A98;
    end;
    then reconsider F as Functor of C1, C2 by A62,A69,CAT_1:61;
    take F;
    thus thesis by A51;
  end;
  uniqueness
  proof
    let F1,F2 be Functor of (cod f)-SliceCat C, (dom f)-SliceCat C such that
A99: for m being Morphism of (cod f)-SliceCat C holds
    F1.m = [[m`11(*)f, m`12(*)f], m`2] and
A100: for m being Morphism of (cod f)-SliceCat C holds
    F2.m = [[m`11(*)f, m`12(*)f], m`2];
    now
      let m be Morphism of (cod f)-SliceCat C;
      thus F1.m = [[m`11(*)f, m`12(*)f], m`2] by A99
        .= F2.m by A100;
    end;
    hence thesis by FUNCT_2:63;
  end;
end;

theorem
  for C being Category, f,g being Morphism of C st dom g = cod f holds
  SliceFunctor (g(*)f) = (SliceFunctor g)*(SliceFunctor f)
proof
  let C be Category, f,g be Morphism of C;
  assume
A1: dom g = cod f;
  then
A2: dom (g(*)f) = dom f by CAT_1:17;
  set A1 = C-SliceCat dom f, A3 = C-SliceCat cod g;
  set F = SliceFunctor f;
  reconsider G = SliceFunctor g as Functor of C-SliceCat cod f,A3 by A1;
  reconsider GF = SliceFunctor (g(*)f) as Functor of A1,A3 by A1,A2,CAT_1:17;
  now
    let m be Morphism of A1;
A3: F.m = [[f(*)m`11, f(*)m`12], m`2] by Def13;
    then
A4: (F.m)`11 = f(*)m`11 by MCART_1:85;
A5: (F.m)`12 = f(*)m`12 by A3,MCART_1:85;
A6: (F.m)`2 = m`2 by A3;
A7: dom f = cod m`11 by Th23;
A8: dom f = cod m`12 by Th23;
A9: g(*)(f(*)m`11) = g(*)f(*)m`11 by A1,A7,CAT_1:18;
A10: g(*)(f(*)m`12) = g(*)f(*)m`12 by A1,A8,CAT_1:18;
    thus (G*F).m = G.(F.m) by FUNCT_2:15
      .= [[g(*)(f(*)m`11), g(*)(f(*)m`12)], m`2] by A1,A4,A5,A6,Def13
      .= GF.m by A2,A9,A10,Def13;
  end;
  hence thesis by FUNCT_2:63;
end;

theorem
  for C being Category, f,g being Morphism of C st dom g = cod f holds
  SliceContraFunctor (g(*)f) = (SliceContraFunctor f)*(SliceContraFunctor g)
proof
  let C be Category, f,g be Morphism of C;
  assume
A1: dom g = cod f;
  then
A2: cod (g(*)f) = cod g by CAT_1:17;
  set A1 = (dom f)-SliceCat C, A2 = (cod f)-SliceCat C;
  set A3 = (cod g)-SliceCat C;
  reconsider F=SliceContraFunctor f as Functor of A2,A1;
  reconsider G = SliceContraFunctor g as Functor of A3,A2 by A1;
  reconsider FG = SliceContraFunctor (g(*)f) as Functor of A3,A1 by A1,A2,
CAT_1:17;
  now
    let m be Morphism of A3;
A3: G.m = [[m`11(*)g, m`12(*)g], m`2] by Def14;
    then
A4: (G.m)`11 = m`11(*)g by MCART_1:85;
A5: (G.m)`12 = m`12(*)g by A3,MCART_1:85;
A6: (G.m)`2 = m`2 by A3;
A7: cod g = dom m`11 by Th24;
A8: cod g = dom m`12 by Th24;
A9: m`11(*)(g(*)f) = m`11(*)g(*)f by A1,A7,CAT_1:18;
A10: m`12(*)(g(*)f) = m`12(*)g(*)f by A1,A8,CAT_1:18;
    thus (F*G).m = F.(G.m) by FUNCT_2:15
      .= [[m`11(*)g(*)f, m`12(*)g(*)f], m`2] by A4,A5,A6,Def14
      .= FG.m by A2,A9,A10,Def14;
  end;
  hence thesis by FUNCT_2:63;
end;

Messung
CHZG
8110010093

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

*© Formatika GbR, Deutschland