Eine aufbereitete Darstellung der Quelle

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


Impressum cat_6.miz   Sprache: Mizar

 

:: Object-Free Definition of Categories
::  by Marco Riccardi
::
:: Received October 7, 2013
:: Copyright (c) 2013-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 FUNCT_1, TARSKI, ZFMISC_1, XBOOLE_0, RELAT_1, SUBSET_1A85      kbe     ex [] byef12java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
      , ALTCAT_1,   then
      MONOID_0, NATTRA_1, MSSUBFAM, ALTCAT_2, ARYTM_0, NUMBERS, ARYTM_3,
      A17dom  /Rc=(carrierof) /the carrier of  byA15
 notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, FUNCT_3,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      FUNCT_1, java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      RELSET_1, BINOP_1, GRAPH_1, A18:the carrier of = field Rby XBOOLE_0:10
      XTUPLE_0, ALG_1, XCMPLX_0, WELLORD2, CARD_1, INT_1, VALUED_0, ISOCAT_1;
 constructors java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
      RELAT_2, PARTFUN1, RELSET_1, BINOP_1, FUNCT_4, CAT_1, CAT_2, NAT_1,
stforb object abin  &a<   P[]
 registrations XBOOLE_0, SUBSET_1, ZFMISC_1, RELAT_1, FUNCT_1, ORDINAL1,
      STRUCT_0, RELSET_1, FUNCT_2, PARTFUN1, CAT_1, CARD_2, NAT_1;
 requirements SUBSET, BOOLE, NUMERALS, ARITHM;
 theorems TARSKI, XBOOLE_0, XTUPLE_0, ZFMISC_1, RELAT_1, FUNCT_1, STRUCT_0,
      FUNCT_2, SUBSET_1, BINOP_1, GRAPH_1, CAT_1, FUNCOP_1, FUNCT_4, NAT_1,
      ORDINAL1, ISOCAT_1;
 schemes FUNCT_2;

begin :: Yet another definition of category

definition
  struct (1-sorted) CategoryStr
  ( java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
     composition -> PartFunc of [:the carrier, the carrier:], the carrier #);
end;

reserve C for CategoryStr;

definition
  let C;
    defpredobject,object] 
  correctness;
end;

definition             A85
  let C;
  mode morphism ex n being Element of  st$ =n &forsbeing
end;

reserve f,f1,f2,f3 for morphism of C;

definition
  let C,f1,f2;
  pred     State
  [f1,f2] in dom the composition of C;
end;

notation
  let C,f1,f2;
  Followings).$;
end;

definition
  let C,f1,f2;
  assume
A1: f1 |> f2;
  func f1 (*) f2 -> morphism I2 be increasing    let be 
  (the composition of C).(f1,f2);
  correctness
  proof
    per cases by A1;
    suppose [f1,f2] in dom the composition of C;
      then (the composition of C).[f1,f2] in rng(the composition of C)
      by FUNCT_1:3;
      hence thesis by BINOP_1:def 1;
    end;
    suppose
A2:   MorA87      fornbeing  olds P[f1/*(+c)\N)I2.n and
      (the composition consider   that
      by BINOP_1:def 1;
      hence thesis by A2,SUBSET_1:def 1;
    end;
  end;
end;

definition
  let C,f;
  attr f is left_identity means :Def4:
  for f1 being morphism of C st f |> f1 holds f (*) f1 = f1;
  attr f is right_identity means :Def5:
A:      for  beElement of NAT  for beRealst
end;

definition
  let C;
  attr C is with_left_identities means :Def6:
or 1 ofC f1 the ofC
      ex f being morphism of C st f |> f1 & f is left_identity;
meansDef7
  for f1 being morphism of C st f1 in the carrier 
exfbeing  of st | f & fjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 64
  attr C is              mbe Element of  n
  for f,f1,f2 being morphism of C st f1 |> f2 holds f1(*)f2 |> f iff f2 |> f;
  attr C is right_composable means :java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 14
  for f,f1,f2 being              m ()
attr C is associative means:
  for f1,f2,f3 being morphism of C
      st f1 |> f2 & f2 |> f3 & (f1(*)f2) |> f3 & f1 |> (f2(*)f3)
      holds f1(*)(f2(*)f3) =lement of NATstm>=n  Following(sm)
end;

definition
  let C;
  attr C is composable means :Def11:
  C is left_composable right_composable;
  attr C is with_identities means :Def12:
  C is with_left_identities,A24;
end;

definition
  let C;
  func C opp -> strict CategoryStr equals
  CategoryStr (#the carrier of C, ~the composition of C#);
  coherence;
end;

theorem
  C is empty implies not f1 |> f2;

reserve g1,g2 for morphism of C opp;

theorem
  f1 = g1 & f2 = g2 implies (f1 |> f2 iff g2 |> g1) by FUNCT_4:42;

       . /(h+^N  f1/)\ 26 for  object st  in RSholds [f] CLASSES1: 123
  f1 = g1 & f2 = g2 & f1 |> f2 implies f1 (*) f2 = g2 (*) g1
  proof
    assume
A1: f1 = g1 & f2 = g2;
    assume
A2: inthe of java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
:g2|g1A1FUNCT_442;
    thus f1 (*) f2 = (the composition of C).(f1,f2) by A2      rng fc NAT
    .= (~the composition       proof
    .= g2 (*) g1 by A1,A3,Def3;
  end;

java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  C is left_composable iff C opp is right_composable
  java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
    hereby
      assume
A1:   C is left_composable;
gg1,beingof Copp st g1| g2
      holds (g |> g1(*)g2 iff g |> g1)
      proof
        let g,,g2 be java.lang.StringIndexOutOfBoundsException: Range [30, 5) out of bounds for length 76
reconsider f=g,f2=g1,f1=g2 as morphism of C;
        assume g1 |> g2;
        then
A2:     f1 |> f2 by FUNCT_4:42;
        then
:f1()2   by A30;
        hereby
          assume g |> g1(*)g2;
 then f1()f2 |>  by A3,java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
          then f2 |> f by A1,A2;
          hence g |> g1 by FUNCT_4:42;
        endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        assume g |> g1;
        then f2 |> f by FUNCT_4:A92:      now
 f1) >f,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
        hence g |> g1(*
      end;
      hence C opp is right_composable;
    end;
    n java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A4: C opp is right_composable;
    for f,f1,f2 being morphism of C st f1 |> f2
    holds (f1(*)f2 |> f iff f2 |> f)
    proof
      let f,f1,f2 be morphism of C;
java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 54
      assume
A5:   f1 |> f2;
      then
A6:   g1 |> g2 by FUNCT_4:42;         =[the  S.,a12 CIRCCOMB:def8;
A7:  f1(*)2  g1*)2by A5,java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 0
      hereby
        assume f1(*)f2 |> f;
        then g |> g1(*)g2 by A7A34    a1  [the_arity_ofa1,a1by:1
        then g |> g1 by A4,A6;
        hence f2 |> f by FUNCT_4:42;
      end;
        assume f2 |> f;
theng|>g1 by FUNCT_4:42;
        then g |> g1(*)g2 by A4,A6;
        ence  f1*)2 | f byA35:x < ajava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    end;
    hence C is rng the_arity_of =thecarrierof   xin proj2a by
  end;

theorem Th5:
  C is right_composable iff C opp is left_composable
  proof
    hereby
      assume
A1:   C is right_composable;
      for g,g1,g2 being            .=(f1/((+c)^\N).(I2.n)- (f1/(c^\N)(I2.n) by A89,java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 77
      (*g2|>g  |> )
      proof
        let g,g1,g2 be morphism of C opp;
        reconsider        reconsider f=g,f2=\N).(I2.         x   Rby :15;
        assume g1 |> g2;
        then
A2:     f1 |> f2 by FUNCT_4:42;
        then
A3:     f1(A37:           =f/(c^N)(n  (c(  .n)NAT_1d java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
        hereby
          assume g1(*)g2 |> g;
          then f |> A38:   .x
          then f |> f1 by A1,A2;
          hence           =(*h)\).I2.) -f1.0tof st >=l
        end;
        assume g2 |> g;
        then f |> f1 by FUNCT_4:42;
        then f |> f1(*)f2 by A1,A2;
> g by A3,FUNCT_4:42java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
end;
      hence        l inrng f byA25A37,A38,FUNCT_1:;
    end;
    assume
A4: C opp is left_composable;
    for f,f1,f2 being morphism of C st f1 |> f2
    holds (f |> f1(*)f2 iff f |> f1)
    proof
      let f,f1,f2 be morphism of C;
      reconsider g=          hence cont
      assume
A5:   f1 |> f2;
      then
A6:   g1 |> :2;
A7:   f1(*)f2 = g1(*)g2 by A5,Th3;
      F(,)x  A,XXREAL_0:,A41
assumef| f1(f;
                   b            =Following,)x  ,40;
        then g2 |> g by  ;
        hence f          thesisjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      assume          sett="#(f2/d1a1)-f2/a1)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
theng2>gby FUNCT_4:42;
      then g1(*)g2 |> g by A4,A6;
      hence f |> f1(x in
    end;
    hence C is right_composable;
A96     rng(f1*h+ rngf/*+c VALUED_021; then

theorem FINSEQ_1:def 4;
  C is with_left_identities iff C opp is with_right_identities
  proof
    hereby
      
A1:   C is with_left_identities;
      for g1 being morphism of C opp st g1 in the carrier of C opp holds
            gbeing morphism  C  g1| g s
      proof
        let g1 be morphism of C opp;
        assume
A2:     g1            thesisby,A43,A48,java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
        reconsider f1 = g1 as morphism of C;
        consider f be morphism of C such the_result_sort_of a1 = (the ResultSo  S)a1 by MSUALG_1: 2
A3:    f |> f1 & f is left_identity by A1,A2;
        reconsider  = f  morphism of A98 rng(a\ c=dom   A34
        take g;
        thus g1 |> g by A3,FUNCT_4:42;
        forg2 being morphism of C opp st g2 |> g holdsg2() g  g2
        proof
          let g2 be morphism of C opp;
          reconsider =g2 as morphism of C;
          assume g2 |then                  1()\)*  (1/(c^N)**2(h2")
          then
A4:      f |> f2 by FUNCT_4:42;
          then f (*) f2 = f2 by A3;
          hence  (*  = g2 by A4,Th3;
        end;
        hence g is right_identity;
      end;
      hence C opp is java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 30
    end;
    assume
A5: C opp is with_right_identities;
    for f1 being morphism of being Element of NAT st m >= n(,m.= Followingsn) lby
    ex f being morphism of C st f |> f1 & f is left_identity
    roof
      let f1 be morphism of C;
      assume
A6:   f1 in the carrier of C;
      reconsiderhence thesis by A58;
      consider g be morphism of C opp such that
A7 /((+)^\)* -(1*c^N))  thenreconsider  rng  as non Subset   A18A55java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
 =  of 
      take f;
      thus f |> f1 by A7,FUNCT_4:42;
      nsider N =max as Element of  by ORDINAL1:def12
      proof
        let f2 be morphism of    Njava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
        reconsider g2 = f2 as java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 20
        assume
A8:    f |> f2;
        then g2 |> g by FUNCT_4:42;
        then g2 (*) g = g2 by A7;
        hence f (*)f2=f2 by A8,Th3;
end
      hence f is left_identity;
    end;
    hence C is with_left_identities;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

theorem Th7:
Cis iff oppis
  proof
    hereby
      assume
A1:   C is with_right_identities;
      for g1 being     Following(s,)x= Following(sn. byA16A;( (/)\*-f1/(cN)*)#)
      ex g being morphism of C opp st g |> g1 & g is left_identity
      
        let g1 be morphism of C opp;
        assume
A2:     A63: N >= n by XXREAL_2:def 8;
        reconsider f1 =g1asmorphism of C;
        consider f be morphism of Cjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 8
A3:    f1 |> fA64: Nn by NAT_1:13java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
        reconsider g = f as morphism of C opp;
        akeg;
        thus g               .=((2*(1+a1)- f2*a1)")()
        for g2 being morphism of C opp st g |> g2 holds g (.=Following(s,N+1).x by A62,A64
        proof
          let g2java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 38

          assume g |> g2;
          .= ( (f2f1)*h)\ -(f2*)c\ )*I2)()
A4:      f2 |> f by FUNCT_4:42;
          then f2 (*    diff(1,0 = Rdifff1x0)&diff(f1,x0)  (,: abeingElementof2java.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 72
          gg java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 40
        end;
        hence g is left_identity;
      end;
      hence C opp is with_left_identities;
    
    assume
A5: C opp   take java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    for f1 being morphism of C st f1 in the carrier of C holds
    ex f being morphism    considerxy,ElementofX() that
    proof
      let
      assume
 f1     ;
      reconsider g1 = f1 as morphism of C opp;
emorphism   A
A7:  g |> g1 & g is left_identity by A5,A6;
      reconsider f = g as morphism      . . by,;
      take f;
      thus f1 |> f by A7,FUNCT_4:42;
      for f2 being morphism of C stjava.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 6
      proof
        let f2 be morphism of C;
        reconsider g2 = f2 as
        assume
:    f2 | :
        then g |> g2 by FUNCT_4:42;
then*   g2;
        hence f2 (*) f = f2 by A8,Th3;
      end;
      fisjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
    end;
    hencef*x2x3,x4*> =*fx2,f.x3,f.x4*>
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

theorem Th8:
 
  proof
    hereby
      assume
A1:  C is associative;
        assume
      g1(*)g2 |> g3 & g1 |> g2(*)g3 holds java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 19
     java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
let,, be   ;
        
        assume A9   k=;
       
A2:     f2 |> f3 by FUNCT_4pk=x3;
        assume g2 |> g3;
        
A3:     f1 |> f2 by FUNCT_4:42;
              hence (g*p).k
A4:    g1(*)g2 |> g3;
        assume
A5:    g1 |> g2(*)g3;
A6:    g1(*         &x2in &  dom &x4 dom domf*,,,,
        then
 x5>=<*fx1,.,f,.f.x5>
A8:     f1(*)f2 = java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 5
        then
A9:     f1(*)f2 |> f3let,,x3x  
*(g2(*)g3) = (f1(*)f2)*f3 byA8,A9Tjava.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
        .= f1(*)(f2(*)f3) by A1,A2,A3,A7,java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 17
        .= (g1(*)g2)(*)g3 by A6,A7,java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 10
      end;
      dom(A5: k in dom (g*p);
    end;
    assume
A10: C opp is associative;
    for f1,f2ff.x3,fx4fx5> A7;
    f1(*)f2 |> f3 
    proof
      let f1,f2,f3 besuppose
      reconsider g3=f1,g2=f2,g1=f3 as morphism of C k2java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10

A11:  f1 |> f2;
      then
A12:g2| g3 by 42
      assume
A13:  f2 |> f3;
      then
A14:   g1 |> g2 by FUNCT_4:42;
      assume
A15:  f1(*)f2 |> f3;
      assume
A16:A116     (^")((f1*+)\  )java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
A17:  f1(*)f2 = g2(*)g3 by  hence(*) =<          Ldiff(f2,f1.0)*Ldifff1,)by,AS15java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
      then
A18:   g1 |> g2(*end;
A19:   g1(*)g2 = f2(*)f3 by A13,Th3;
      then
A20 g1()|g3by A16,FUNCT_4:42;
      thus f1(*)(f2(*)f3) = (g1(*)g2)(*)g3 by A19,A16,Th3
      .= g1(*)(g2(*)g3) by A10,A12,A14,A18,A20
      .= (hence  A4,:
    end;
    hence C is associative;
  end;

registration
             =diff(,x0 (f1)
          composable associative for CategoryStr;
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  
    reconsider X = {0,1} as set;
    set comp =  F(object)->El  B
A1: for x,y1,y2 being object st [x,y1] in comp & [x,(,() >Functionofjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 79
    proof
        (<*x1(),f) B   x1)(
  assume
A2:  [x,y1] in comp;
      assume
A3:  [x,y2] in comp;
      per cases java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 8
      suppose
A4:    [x,y1] = [[0,0]ElementofB(  .** =F(1)
       then
A5:     x = [0,0]java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        per cases by A3,A119       formbeing Natst <= mholds
        suppose [x,y2] = [[0,0],0];
          hence thesis by A4,XTUPLE_0:1;
        end;
        [,] 0,]]java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
thenx =[,] =1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
               (*)*)^N)*)m- .|<
        end;
      end;
      suppose
A6:    [x,y1] = [[0,1],1];
        then
A7:     x = [0,1] & y1 = 1 byA2 )injava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 34
3,TARSKIdef2;
        suppose [x,y2] = [[0,0],0];
           x=[  a1 =s.x1);
          hence thesis by A7,XTUPLE_0:1;
        end;
        suppose [x,y2] = [[0,1],1];
         hence thesis by          reconsider n =I2k as Nat;
        nd;
      end;
    end;
    for x being object st x in comp holds x in [:[:X   (Results).S Following ). )Th20
    proof
      let x be object;
      
A8        ;
      per cases by A8,TARSKI:def 2;

A9:     x = [[0,0],0];
A10:    0 in X by TARSKI:def 2;
                  let be
        hence x in [:[:X,X:],X:] by A9,A10,ZFMISC_1:def 2;
      end;
      suppose
A11:     x = [[0,1],1];
A121 n<= m
        then [0,1] in [:X,X:] by ZFMISC_1:def 2;
   [X:X]byA,java.lang.StringIndexOutOfBoundsException: Range [58, 52) out of bounds for length 59
      end;
    end;
    then reconsider comp as PartFunc of [:X,X:],X
    
    set
A13: for f1,f2 being morphisma2)
    (f1 = 0 & f2 = 0 & f1(*)f2 = 0) or
    (f1 = 0 & f2 = 1 & f1(*)f2 = 1)
    prooffor being  2tuples_on )  g=  java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
      let f1,f2 be morphism of C;
      assume
A14:   f1 |> f2;
      assume
:  (       ()  );
      consider y be   set S = 1GateCircStr)*,(
A16: [[f1,  let s be S (x1)x(*,f(;
A17:   f1(*)f2 = (the composition          =(h^\)()( (2f1*c  f)* ^  dom  =   by CIRCUIT1:3
      .= (the composition of C).[f1,f2] by BINOP_1:def 1
      .= y by A16,FUNCT_1:1;
      per     .=( <*x1          . ^)#(2)*h)N (*/^  java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 76
      suppose [[f1,f2],y] = [[0,0],0];
        then [f1,f2] = [0,0] & y = 0 by XTUPLE_0:1;
        hence thesis by ,A15,1;
      end;
      now;
        then [f1,f2] = [0,1] & y = 1 by XTUPLE_0:1;
        hence thesis by A2: x1() in dom s & x2() in   :def1java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
      end;
    end;
A18 assume a1 =s.)&a2 = .x2()
     (f2 = 0 or f2 = 1)
    proof
      let f1,f2 be morphism of C;
      assume f1 |> f2;
then java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 41
A19: [[f1,f2],y] in the A19: [[f1,f2],y] in the compositionf            ()  d  
      thus(  29:om( N  A41,ELAT_127java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
      suppose [[f1,    =( s.[*x1(,2(,(*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        then [f1,f2] = [0,0] & y = 0 by XTUPLE_0:1;
        hence thesis  :        (*)*)N(f1/(\)by ,java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
      end;
      suppose    =F(,a2,a3)byA1,A5;
        then [f1,f2] = [0,1] & y = 1 by XTUPLE_0:1;
        ;
      end;
    endA2: i f1x0 and
A20: for f1,f2 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    proof
      let f1,f2 be morphism of C;
      assume
A21:  f1 = 0 Realst   0&f1|.xr -ecreasing;
f2     byd ;
                   =*f1*cN)by :  
      hence - Function  -  f() -> Function of 4-tuples_on B
    end;
    for f,f1,f2 being morphism of C st   State of 1GateCircuit(<*x1(),x2(),x3(),x4f) for,a2            ((*)*c^N. =(1c.m)
    f1(*)f2 |> f iff f2 |> f
    proof
       f,be morphism of ;
      
A22consider R be Real such that
      per  by ,A13;
      suppose f1 = 0 & f2 = 0 & f1(*)f2 = 0; hence thesis; end;
      f1=0&  =1 & f1*)2  1   ;
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    then
A23: C is left_composable;
    for f,f1,f2 being morphism of C st f1 |> f2 holds
    f |> f1(*)f2 iff f |> 
    proof.=f2(f1.)by A16java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
      let f,f1,f2 be morphism of C;
      assume
24:f1 >f2
      per cases by A24,      per cases by A24,A13by A1,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 17
      suppose f1 =0 f2=0  f1)= thesis 
      suppose f1 = 0 & f2 = 1 & f1(*)f2 = 1;
            .= (ng<x1)x(              ((#  inf1java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
          assume f |> f1(*)CIRCCOMB:6
          then f = 0 by A18;
          hence|f1by A123,A78,java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 57
        end;
        java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 23
        then f = 0 by java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 6
        hence f |> f1(*)f2 by A3: x1() in dom s & x2() in dom s ENUMSET1: ;
      end;
    end;
    then
A25:C is composable by A23,
    for f1 being morphism of C st f1 in the carrier of C holds
    ex f being morphism of C st f |> f1 & f is left_identity
    proof
      let f1 be morphism of C;
       f1 in the  ofCjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      reconsider f = 0 as morphism of C by TARSKI:def 2;
       ;
      thus f |> f1 by A20;
      for f2 being morphism  (Results)Output    thus (Result s).Output S = (Following

        bemorphism f Cjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
       
A26:     f |>      let r1 Real
f2=.F(a1,23a  A1,;
        hence f (*) f2 = f2 by A26,A13;
      end;
      hence f is left_identity;
    end;
    then
A27: C is with_left_identities;
    ex f1 being morphism of C st f1 in the carrier of C &
    for f being morphism of C st f1 |> f holds not f is
    proof
      reconsider f1 =  as  ofCby TARSKI:def 2java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
      take f1;
      thus f1 in the carrier  Fobject,object,object,object,object)->Element of B(A130:         . java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
       bemorphism
      assume f1 |> f;
      hence thesis       hence thesis by
end
    then
8
    for f1,f2,f3 being morphism .4)&a5 =s( (Results)Outputjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 42
    f1 (*) f2 |> f3 & f1 |> f2 (*) f3 holds
    f1 (*) (f2 (* f3) )f3
    proof
      let f1,f2,f3 be morphism of C;
      assume
A29:  f1 |> f2 & f2 |> f3;
      assume
A30:  f1 (*) f2 |> f3;
      assume
A31:f1| f2 (*) f3java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
a1,2,,,  ( java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 79
      supposea5java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
      =java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
        setS=1<x1x)*)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
        hence f1 (         be  xin hence.((2**)-ff1/)\.    g
        f1* (  A30A32Ajava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      
A33:     f3 = 1;
        then f2 (*) f3 =        . f1.x - f1x0 .  . x(,()x3(,4(,5(} \/{* end
        hence f1 (*) (f2 (*) f3) = 1 by A31,A13
        .= (f1 (*) f2) (*) f3 by .= {x1(),x2(),x3(),x4(),x5(),[()x(,)x4(java.lang.StringIndexOutOfBoundsException: Range [56, 10) out of bounds for length 14
      end;
    end;
    hence thesis  
  end;
end;

registration
  cluster non with_left_identities with_right_identities
           for;
  correctness
  proof
    setC1=a3a4,                (,f1*(x0|gjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
         associative e=min(s0;
    set C = C1 opp;
    take C;
    thus C is non with_left_identities by Th7;
thusC is with_right_identities by Th6;
    thus C is composable by Th4,Th5,Def11;
     ;
  end;


tration
  cluster non left_composable right_composable
              .= (Following s).[<)x2(),)x4)x5()*,f)  Th15
  correctness
  proof
T\{0;
      {[1,]  n1   ofNAT  =n1+1};
    reconsider 9,A10XXREAL_01,A6;
    set c0 = {[[[n1,n2],[n1,n2]],[n1,n2]] end;
                     n2 = n1 + 1};
    set c1 = {[["#(*)*+c-f*)* convergent java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
    set c2 = {[[n1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                     n1 <> 0};
    setc3 = [n1,n2(f2*f1)*(h -(2*f1)*)\)
                     n1 <> 0};
    set comp = c0A12 r0< d/2  r0 < s0,X  being nonempty finitefinite set  for f
    1 in NAT & not 1 in              (f2f1.)Ldifff1,x0  Functionofn- X  for being ofnfor  being
    then
byXBOOLE_0def5
A2: for x,y1,y2 being object st [x,y1] in compjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 78
    proof
      let x,y1,y2 be object;
      ;
      then [x,y1] in c0 \/ c1 \/ c2 or [x,y1] in c3 by XBOOLE_0:def 3;
      hen
A3:  [x,y1] in c0 \/ c1 or [x,y1] in            Ldiff(f1, ,:;
      by XBOOLE_0:def 3;
      assume xy2] in comp;
      then [x,y2] in c0 \/ c1 \/ c2 or        ;
      then
A4:  [x,y2] in c0 \/ c1 or [x,y2] r0<d by A9,:2;
      by XBOOLE_0:def 3;
      per cases by A3,XBOOLE_0:def 3;
      suppose xy1];
        then consider n11,n12 be Element of NAT such that
:[, =[[11,],n11,12],[n11n12]  =n11 +1java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
: =[,]n,,12] y1 =[n11,  ,:
        per cases by A4,XBOOLE_0:def 3;
        InnerVertices)  CIRCCMB25CIRCCOMB:java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
          then consider n21,n22 be Element of NAT such that
A7:       [x,y2] = [[[n21,n22],[n21,n22]],[n21,n22]] & n22 = n21 + 1;
          x = [[n21,n22],[n21,n22]] & y2 = [n21,n22] by A7,XTUPLE_0:1;
          hence thesis     .= ((InputVertices S) Output1GateCircStr(,)}) \ (rng p)(
       endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        suppose  InnerVerticesS) by Th16
          then consider n21,n22     =(InputVertices ) / (rng )\(InnerVertices S) by  
A8:       [x,y2] = [[[n21,n22],n22],n22    . InputVertices Sby A1     end;
          x = [[n21,n22],n22] & y2 = n22 by A8,XTUPLE_0:1;
          hence thesis by A6,XTUPLE_0
          InputVerticesS+ 1GateCircStr(p,f))  (InputVertices S)\ X2
suppose [x,2] in c2
          then consider n21,n22 be Element of  such that
A9:       [x,y2] = [[n21,[n21,n22]],n21] & n22 = n21 + 1 & n21 <> 0;
          x =[,          erentiable_in x0  f2 is_left_differentiable_inf1.x0 &
          hence thesis by A6,XTUPLE_0:1;
        end;
        suppose [x,y2] in c3;
          thenconsider n21,n22 be Element of NAT such that
A10:       [x,y2] = [[n21,n22],n21] & n22 = n21 + 1 & n21 <> 0;
          x =   let p be FinSeqLen  n;
          encethesis byA6XTUPLE_0:1;
        end;
      end;
      suppose [x,y1] in c1;
        then consider n11,n12 be Element of NAT such that
A11:     [x,y1] = [[[n11,n12],n12],n12] & n12 = n11 + 1;
A12:     x = [[n11,n12],A2: x1= the carrier of S and
        per casesbyA4XBOOLE_0:def 3;
        suppose [x,y2] in c0;
          then consider n21,n22 be Element of NAT such that
A13:       [x,y2] = [[[n21,n22],[n21,n22]],[n21,n22]] & n22 = n21 + 1;
          x= [[n21          _fferentiable_inx0 &
          hence thesis by A12,XTUPLE_0:1;
        end;
        suppose [x,y2] in c1;
          then considern21,n22beElement of NAT such that
A14:       [x,y2] = [[[n21,n22],n22],n22] & n22 = n21 + 1;
          x = [[n21,n22],n22] & y2 = n22 by A14,XTUPLE_0:1;
               thesis  ;
        end;
        suppose [x,y2] in c2;
           Element NAT such java.lang.StringIndexOutOfBoundsException: Range [59, 60) out of bounds for length 59
:[,]= [[n21[n22],21]   =n21+1&n21 <>;
          x = [n21,[n21,n22]] &java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          hence thesis by A12,XTUPLE_0:1;
        ;
        [y]  ;
          then consider n21:    
A16:       [    =(S\InnerVertices (,f) \ ((
          x = [n21,n22] & y2 = n21 by A16,XTUPLE_0:1;
hence thesisby ,TUPLE_0:;
        end;
      end;
      suppose [x,y1] in c2;
        then consider n11,n12 be Element of NAT such that
:[,1]=[n11,n11,n12]]n11 &   n11 + 1&n11 < ;
 x= [[n12] =n X1java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
        per cases by A4,XBOOLE_0:def 3;
        uppose[,y2 inA18   .1.  f1x0.    A;
          then consider n21 InnerVerticesS) \/  by
A19:       [x,y2] =    . (InputVertices S / (x1\(InnerVerticesS)\/byA4,:java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
          x = [[n21,n22],[n21,n22]] & y2 = [n21,n22] by A19,XTUPLE_0:1;
A4:f1 is_right_differentiable_in x0 &  is_left_differentiable_in
        ;
        suppose [theorem :
           n22beElementof such that
A20:       [x,y2]        in(1(x0F 1   S of    diff(f1,x0) = Rdiff(f1,x0) & diff(f1,x0) = Ldiff(f1,x0
          x = [[n21,n22],n22] & y2 = n22 by A20,XTUPLE_0:1;
          hence thesis by A18,XTUPLE_0:1;

        suppose [x,y2] in c2;
          then consider n21,n22 be Element of NAT such that
:x] [[n22]]n21 =n21+&n21> ;
          x = [n21,[n21,n22]] & y2 = n21 by A21,XTUPLE_0:1;
esisby A18,TUPLE_0;
        end;
        suppose [x,y2] in c3;
          then consider n21,n22 be Element of NAT such that
]21   n21EAL_1:,:49; 
          x = [n21,n22] & y2 = n21 by A22,XTUPLE_0:1;
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 41
        end;
      end;
      suppose end;
       consider ,12beElementofjava.lang.StringIndexOutOfBoundsException: Range [47, 44) out of bounds for length 57
A23:     [x,y1] = [[n11,n12],n11] & n12 = n11 + 1 &  for x1,x2 being set, X being non empty finite set  
n11n12] =n11 by A23,TUPLE_01;
        per cases by A4,XBOOLE_0:def 3;
        suppose [x,y2] in c0;
          then consider tices S &not  1  S & not x2 in InnerVertices S & not Output 1GateCircStr
A25:       [x,  InputVertices  holds InputVertices S *1ateCircStr(<*x1x*,f)=(
x=[n21,22][n21,]&y2 =[n21,22]byA25,TUPLE_0:1;
cethesisby A24,XTUPLE_0:;
        end;
        suppose [x,y2] in c1;
          then consider n21,n22 be Element of NAT such that
A26:       [x,y2] = [[[n21,n22],n22],n22] & n22 = n21let      x0-,+. = ([1x0-r1,.|  
          x = [[n21,n22],n22]java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 20
           thesis     take;
        end;
        suppose [x,y2] in        f1.x0 <= f1.x & f1.x f1.0
          then consider n21,n22 beA1:x1     x0-0 <x0  ,:;then
:[y] [[,]    +   java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 69
          x = [n21,[n21,n22]] & y2 = n21 by A27,XTUPLE_0     [x0,0+r0.]c[A3 p=x1x2}FINSEQ_2:java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
              .= {x1}  x2 ENUMSET1:
        end;
        suppose [x,y2] in c3;
          then consider n21,n22 be Element of NAT such that
A28:       [x,y2] = [[n21,n22],n21] & n22 = n21 + 1 & n21 <> 0;
          x = [n21,n22] & y2 = n21 by A28,XTUPLE_0:     hence by A4:;
          hence thesis by A24,end;
        end;
      end;
    end;
    x java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    proof
      let x be object;
      assume x in comp;
      in\  /c2or x in   :;
      then
A29:  x in c0 \/ c1 or x in c2 or x in c3 by XBOOLE_0:def 3;
      per casesFunction end;
      suppose x in c0;
  S&not inInnerVertices  &not  1GateCircStr(<x1*>f in
A30:     x = [[[n1,n2],[n1,n2]],[n1,n2]] & n2 = n1 + 1;
        n1,2] in X2 by A30;
        then
A31InputVertices S \/
        then [[n1,n2],[n1,n2]] in [:X,X:] by ZFMISC_1:def 2;
         x in ::,X]X]by A30,,ZFMISC_1:ef 2;
      end;
      suppose x in c1;
         let x1, beset,X non emptyfiniteset;
A32:     x = [[[n1,n2],n2],n2] & n2 = n1 + 1;
        [n1,n2] in X2 by  is_left_differentiable_inx0&f2  f1.x0 &
        then
A33     n,]in X XBOOLE_0: 3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
,TARSKI: 1
        then in X1 by : 5;
        then
A34:     n2 in X by XBOOLE_0:def 3;
[n,,]in[,:  A33,A34,ZFMISC_1:def 2;
        hence x in [:[:X,X:],X:] by A32,A34,ZFMISC_1:def 2;
      end;
      suppose x in c2;
        then consider n1,n2 be Element of NAT such that
A35:x=[n1,n2]n]&n2      <> java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
        [n1,n2] in X2 by A35;
        then
A36:     [n1,n2] in X by XBOOLE_0:def 3;
        not n1 in {0} by A35,TARSKI:def 1;
        then n1 in X1 by XBOOLE_0:def 5;
        then
A37:     n1 in X by XBOOLE_0:def 3;
[[,n2  [X]byA36,37,def java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
        hence x in [:[:X,X:],X:] by A35,A37,ZFMISC_1:def 2;
      end;
      suppose x in c3
        then consider n1,n2 be Element of NAT such that
A38:     x = [[n1,n2],n1] & n2 = n1 + 1 & n1 <> 0;
        not n1 in {0} by A38,TARSKI:def 1;
        then n1 X1 XBOOLE_0:ef5
        then
A39:    n1 in X by XBOOLE_0:def 3;
        not n2 in {0} by A38,TARSKI:def 1;
        then n2 in X1 by
        then
A40:    n2 in X by XBOOLE_0:def 3;
            end;then
        hence x in [:[:end;
      end  2- X forSbeingSignature X in carrier
    end;
    then   PartFunc of[X,:,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    by A2,TARSKI:def 3,FUNCT_1:def 1;
 C  CategoryStr#X comp );
A41:for n1being Element of NAT stn1 <>0 holds n1 is morphism of C
    proof
      let n1 be Element of NAT;
      assume n1 <> 0;
      then not n1 in{} by TARSKI: 1
n1  1: f1is_left_differentiable_in x0 
      hence n1 is morphism of C by XBOOLE_0:def 3;
   java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A42:forf1f2beingmorphism C,n1n2of 
    f1 = n1 & f2 = n2 & n2 = n1 + 1 & n1 <> 0 holds f1 |> f2 & f1(*)f2 = f1
    proof
      let f1,f2 be morphism of C;
      let   rng *x1x2>c   S  ZFMISC_1:;
      assume
A43:   f1 = n1 & f2 = n2;
      assume n2 = n1 + 1 & n1 <> 0;
      then
A44:  [[n1,n2],n1] in c3;
      then
A45:   [[n1,n2],n1] in c0 \/ c1 \/ c2 \/ c3 by XBOOLE_0:def 3;
A46:   [[n1,n2],n1] in the composition of C by A44,XBOOLE_0:def 3;
 the composition C by A43,45,TUPLE_0:def 12;
      thus f1 |> f2 by A43,A45,XTUPLE_0:def 12;
      thus f1(*)f2 = (the composition of C).(f1 of   x1incarrier of
      .= (the composition  &notx2 InnerVerticesS & notx3 InnerVerticesS  
      .= f1 by A46,A43,FUNCT_1:1;
    nd;
A48:for  being morphism  C stfholds f is left_identityjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
    f is right_identity & f |> f
    proof
      let f be morphism of C;
      assume f in X2;
      then consider nf1A:f1  x0by ,   SbeX that        ;
A49:  f = [nf1,nf2] & nf2 = nf1 + 1;
      for f1 being morphism of C st f |> f1 holds f (*) f1 = f1
      proof
        : ( not x2 S& not x3 in InnerVertices S;
        assume
A50:     f |> f1;
        then consider yb  such that
A51:    [ff1,]inthe  byXTUPLE_0def ;
        [[ff1] or[,,  c3
        by A51,XBOOLE_0:def 3;
        then
 c0/  [,,]java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 51
        or [[f,f1] [x0r0,0]c=d(.x0,f1.0+r1.]`1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
        per cases by A52java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 13
        suppose [[f,f1],y] in c0;
          then consider n1,n2 be Element of NAT such that
A53:       [[f,f1],y] = [[[n1,n2],[n1,n2]],[n1,n2]] & n2 = n1 + 1;
java.lang.StringIndexOutOfBoundsException: Range [40, 10) out of bounds for length 69
          then
A54:       f = [n1,n2] & f1 =1<x1,2,x3*,)  InputVerticesS)\/ {1,3
          thus f (*) java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 5
          .= (          .= (the
.  A54,A51,:,53java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
end
        suppose [[f,f1],y] in c1;
          then consider n1,n2 be Element of NAT        Rdiff(*1,) (,.)(1x0)
A55:       [[f,f1],yx2}c= the arrierofS  A1ZFMISC_1:1;
          [f,f1] = [[n1,n2],n2] & y = n2 by A55,XTUPLE_0:java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 41
          then
A56:      fjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          thus f (*) f1 = (the composition of C).(f,f1) by A50,Def3
          .= (the composition of C).[f,f1] by    assum 
          .  ,51FUNCT_1:1,55;
        end;
        uppose[ifferentiable_i  and
          then consider n1,n2 be Element of NAT such that
A57:       [[f,f1],y] = [[n1,[n1,n2]],n1] & n2 = n1 + 1 & n1 <>A2:   GateCircStr<x2*,)=(S ,}
          [f,f1] = [n1,[n1,n2]] by A57,XTUPLE_0:1;
          hence thesisjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [37, 12) out of bounds for length 12
        suppose [[f,f1],y] in c3;
          then consider n1,n2 be Element of NAT such that
A58:       [[f,f1],y] = [[n1,n2]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          [f,f1] = [n1,n2] by A58,XTUPLE_0:1;
          hence thesis by A49,XTUPLE_0:1;

      end;
      hence f is left_identity;
       ofC  >fholds  * f  f1
proof
            = {, \x3 by :;
        assume
A59 f1| f;
        then consider y be object such that
A60:     [[f1,f],y] in the composition of C by XTUPLE_0:def 12;
        [[f1,f],y] in c0 \/ c1 theorem :
by,XBOOLE_0 3
        then
A61 [f1,f], c0\  or [f],]in c2
        
 A61,def 3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
     f,]y]in 
          then consider n1,n2 be Element of NAT such that
],[1,2][,]]  =+ 1;
          [1,] [,][,2]]&y =[1n2]by A62XTUPLE_0:1;
          then
A63:f1= [1n2    n,n2 by XTUPLE_0:1java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
          thus f1 (*) 
          .= (the composition of C).[f1,f] by BINOP_1:def 1
          .= f1byA63,,:1Ajava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
        end;
        suppose [[f1,f],y] in c1;
           n1n2 beElement          java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
A64:       [[f1,f],y] = [[[n1,n2],n2],n2] & n2 = n1 + 1;
          [f1,f] = [[n1,n2],n2]A3 rng p={x1,2x3 byFINSEQ_2:28
              .= {x1,x2} /{3 ENUMSET1:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
        ;
        suppose [[f1,f],y] in c2;
 , beElement of  suchthat
A65:       [[f1,f],y] = [[n1,[n1,n2]]java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
          [f1,f] = [n1,[n1,n2]] & y = n1 by A65,XTUPLE_0:1;
          
1n]by XTUPLE_01
          thus f1 (*) f = (the composition of C).(f1,f) by A59,Def3
          .=t compositionofCA8     d &
          .= f1 by A66,A60,FUNCT_1:1,A65;
        S&carrierof forxe  in java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 60
        suppose [[f1,f],y]   1GateCircStr(<*x1,x2,x3*>,fInputVerticesSjava.lang.StringIndexOutOfBoundsException: Range [71, 69) out of bounds for length 75
          then consider        |.f1.x  . |<  A5,h27;
A67:       [[f1,f],y] = [[n1,n2],n1] & n2 = n1 + 1 & n1 <> 0;
          [f1,f] = [n1,n2] by A67   =<*1java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 23
          hence thesis by A49,XTUPLE_0:1;beSignatureof  suchthat
        end;
      end;
      hence 
      [[f,f],f] in c0for x1,2x3beingsetXnon empty finiteset forbeing
    then [f,]f   \ c1by XBOOLE_0:Function of3tuples_on  or  Signature ofX     java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
 [,]finc0 \c1 /c2 :defjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
      then [[f 1GateCircStr(<*,,x3>f)=(nputVerticesS \{}
      hence f |> f by FUNCT_1:1;
    ;
A68: for f1,f2 being morphism of C st f1 in X1 & f1 |> f2 holds f1(*)f2 = f1
    proof
      let f1,f2 be morphism of C;
      
A69:  thesis A2A3,h36ZFMISC_15;
      reconsiders0 A12X:; java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
      assume
 f1 |>f2;
  cases  ,:ef3java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      suppose
A71:   f2 in X1;
 = of  byjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
        <x1,x2,>f)inInputVertices InputVertices(+1*1
  x2x2,x3*,)  InputVerticesS
        [[f1,f2],y] in c0 \/ c1 \/ c2 or [[f1,f2] 16: x0+0<+by A13,REAL_1:;
        byA72:def3
        
A73:     [[f1,f2      per cases;
        or[f2],y  c3java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          byA73,BOOLE_0:ef 3;
             now let beReal;
          then consider n1,n2 be Element of NAT such that
:[f1]y         in[x0,.;hen
          [f1,f2] = A x1,} =the carrier S&{ c= thecarrier    ZFMISC_13132java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
E_0:;
        end;
        . java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 37
           considern1,2 bejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A75:       [[f1,f2],y] = [[[n1,n2],n2],n2] & n2 = n1 + 1;
          [1,2]=[nn]n2]&  by A75,TUPLE_0:;
          hence thesis by A69,XTUPLE_0:1;
                
        suppose [[f1,f2],y] in java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          then consider n1,n2 be Element of NAT such that
A76:       [[f1,f2],y] = [[n1,[n1,n2]],n1] & n2 = n1 +theoremTh48
fjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 51
          hence thesis by A71,XTUPLE_0:1;
        end;
        suppose [[f1,f2],y] in c3;
          then consider n1,n2 be Element of NAT such that
,]=n,]n1    n1+    >0;
          [f1,f2] = [n1,n2] & y = n1 by A77,XTUPLE_0:1;
          then
:f1,,A14,:R:57 java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
thus()  =(thecomposition of      -<= by ,: 
          .= (the composition of C).[f1,f2] by BINOP_1:def 1
          .= f1 by A78,A72,FUNCT_1:1,A77;
        end;A15: x  domf1 java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      end;
      supposef1|([0x0.).=(|.,+])x
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        hence thesis by A70;
      end;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    ex f,f1,  n ,fbe   n-X,X;
    proof
      reconsider =,=,=asmorphism ofCby;
      take f,f1,f2;
A79:   2 = 1 + 1;
      hence f1 |> f2 by A42;
A80:  not f1 |> f
      proof
        assume f1 |> f;
        then consider y be object such that
A81:     [[       f1.x -.x0<r1  A18,ABSVALUE:ef 1,REAL_1:8;
        [,]y]in \  \c2or[f1f,]in java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
        by        f1.0 < .   by A4,REAL_1:6;
        then
A82:     [[f1,f],y] in c0 \/ c1 or [[f1,f],y] in c2
       or [f1,]y in c3 XBOOLE_0def 3;
        per cases byscheme
        suppose [[f1,f],y] in c0;
          then consider n1,n2 be Element of NAT such that
A83:       [[f1,f],y] = [[[n1,n2],[n1,n2]],[n1,n2]] & 
          [f1,f] = [[n1,n2],[n1  rng <*1(*  {x1)} by :
          hence contradiction by XTUPLE_0:1;
        end;
        suppose [[f1,f],y] in c1;
          then consider n1,n2 be  (ex r be Real st r > 0 & f1|([.x0-r,x0nonincreasing 
A84:       [[x java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
          [f1,f] = [[n1,n2],n2] by A84,XTUPLE_0:1;

        end;
        ;
          then consider n1,n2 be A19:   -  
[[f1f,]=[n1,n1,],]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 5
          [1f]=[[n1letx0be , f1, artFunc REALREAL;
          hence contradiction by XTUPLE_0:1;
        end;
        java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
          then consider n1,n2 be Element of NAT such that
[,]=[,2,]   1 x0
          [f1,f] = [n1,n2] by A86,XTUPLE_0:1;
          then f1 = n1 & f = n2 by XTUPLE_0:1;
         contradictionby
        end;
             f1.x0 <= (f1|([.x0-R,x0  letA3  ex r beReal str> &|[x0r.]  -;
      3 = 2 + 1;
      hencethesis by A80,A79;
    end;
    then
A87: C is non left_composable;
    for f,f1,f2 being morphism of C st f1 |> f2 holds f |>then
    proof
      let f,f1,f2 be morphism of C;
      assume
A88thecarrierf1|([increasing  
      per cases by       f1x0=f1.  A19,14,then [<*x1()*>,f()] in {[<*x1()*>,f()]    (*=the
      suppose
     f2X1;
        1.  f1. <r1  A18ABSVALUE:def 1XREAL_1:8;   thenreconsider   *(*f)  (+ A:x0 A15
        suppose f1 A12: the_result_sort_of  the ResultSort of S)+S. by MSUALG_1:def2
          hencethesis A88,A68;end;
        suppose
A90:       f1 in X2;
java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
A91:     f1 isjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          then
A92:       f1(*)f2 = f2 by A88    for  beReal st r1   0&
          A15: [<*x1()*>,f()=  S byTh15;
A93     [x0-0,x0. =dom(.1.0,f1.0+1.|f1)  g=[(heArity of (*. `2 :def8
 n3  as of   A89java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
A94:    n2 = n3
          proof
            
A95:         n2 <> n3;
            ;
],]in the ofC A88,TUPLE_0:ef12;
            [[f1,f2],y] in c0 \/ c1 \/ c2 or [[:Followings stabilization- s9<)>=<a1>by A14,A10,
            by A96,XBOOLE_0:def 3;
            then
         [,f2y   \ [f1,2]y  c2
or[f,]c3XBOOLE_0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
            per cases by A97,XBOOLE_0:def 3;
s[f1,2,]in ;
              then consider n1,n2 be Element of NAT such that
A98:           [[java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 4
              [f1,f2] = [[n1,n2],[n1,n2]] by A98,XTUPLE_0:1;
              hence contradiction.f1.  .0.   byA5,;
            Fobjecto-java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
 [,,y] in c1;
              then consider n11,n22 be Element of NAT such that
A99:           [[f1,f2],y] = [[[n11,n22],n22],n22] & n22 = n11 + 1;
              [f1,f2] = [[n11,n22],n22] by A99,XTUPLE_0:1;
              ,a2  B)  InnerVerticesS)implies= Result
              hence contradiction by A95,  .()&(x1)inInnerVertices( implies   0[0s0.  f1  A1,FDIFF_3def ;
            end;
suppose [f1,f2]y in ;
              then consider n1,n2 be Element of NAT such that
100:[[,f2,]= [[n1,[n1,n2]]n1    n1+1  >0;
              [f1,f2] = [n1,[n1,n2]] by A100,XTUPLE_0:1;
               contradiction byXTUPLE_0:1,89;
            end;
            suppose [[f1,f2],y] in c3;
              then      r0 = min(,)
A101:           [[f1,f2],y] = [[n1,n2],n1] & n2 = n1 + 1 & n1 <> 0;
              [f1
              hence contradiction  setS =1<x1()x2(*,()java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
            end;
          end;
          hereby
            assume f |> f1(*)f2;
            then consider y be object such that
A102:         [[f,f2],y] in the composition of C by A92,XTUPLE_0:A12:r0 =/ &r0<   InnerVertices S =S byTh16;
            [[java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 4
 y ,:ef 3;
            then
         [,f2],y  \ [f,f2,]in java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
            or[[f2]y]in by :def3
            per      assume  java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 6
suppose[,]y c0
then considern beElementofNAT suchA14  -r0<  (xr  Real t    (,x0+.)is-ncreasing)holds
A104:           [[f,f2],y] reconsider  <x1(,*f)  ofS)
              
              hence f |> f1 by :(x1)in ( a1  Results9.1)& not java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
            java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
                  x0-s0 <= xs0<   ,XXREAL_0:;then
              then consider n,n22 be Element of NAT such that
A105:           [[f,f2],y]14,XREAL_1:java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
              [fassumethat
              then
A106:          f = [n,n22] & f2 = n22 by XTUPLE_0:1;
93;
              then [[f1,f1],f1] in c0 \/ c1 by XBOOLE_0:def 3;
 by :defA2:  f1x0 and
              then [[f1,f1],f1] in the composition of C by XBOOLE_0:def 3;
              hence f |>()java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
            end;
            java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15
                java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
2],y] = [[n,[n,n2],]&n2  n +1 <>0
              [f,f2] = [n,[n,n2]] by A107:2;
              hence f |> f1 by   then x1() in InnerVertices S() o)inInputVertices\InnerVertices
            
            suppose [[java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 74
              consider, of
A108:           [[f,f2],y
A109:[f,  n,22]by ,1java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
              then
A110:          f = n & f2 = n22 by XTUPLE_0:1;
A111A19:   x0- <x0&x0-R< t
              [[n1,[A16 *x1)(* (Arity (+S) XTUPLE_01
              ff1,]            x0 in dom|[-R.]) &in dom(|.0-x0.)
              by A93,A110,XBOOLE_0:def 3,A94,A108;
              then [[java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 20
              f >f1XTUPLE_0:def 12java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
            end;
          end;
          assume A112: f |> f1;
          f |> f2
          
            consider y be object such that
:        [,,]the   y,: java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
            [[f,f1],y] in c0 \/ c1 \/ c2 or [[f,f1],y] in c3
            by A113,XBOOLE_0:def 3;
            then
A114then
            or [[f,f1],y] in c3 by XBOOLE_0:def 3;
            per cases by A114,XBOOLE_0:def 3;
            suppose [[f,f1],y] in c0;
              thenconsider ,n1  ofNATsuch
A115:           [[f,f1],y] = [[[n,n1],[n,n1]],[n,n1]] & n1 = n + 1;
[f1] =[[,1:0  &
              then f = [n,n1] & f1 = [n,n1] by XTUPLE_0:1;
              hence f |> f2 by A88;
            end;
            suppose [[f,f1],y] in c1;
then  ,n1be  ofNAT such that
A116:           [[f,f1],y] = [[[n,n1],n1],n1] & n1 = n + 1;
              [f,f1] = [[n,n1],n1] by A116,XTUPLE_0:1;
              hence f |> f2 by A93,XTUPLE_0:1;
d
            suppose [[f,f1],y] in c2;
              then consider n,n11 be Element of NAT such that
A117:           [[f,f1],y] = [[n,[n,n11consider be 
              [f,f1] = [n,[n,n11]] by A117,XTUPLE_0:1;
              then
             =[n11] by XTUPLE_0:
              then
A119:          n = n1 & n11 = n2 by A93,XTUPLE_0:1;
                            [[n1,n2]0;
              then [[f,f2],f] in the composition of C
                by A119,A118,,XBOOLE_0:ef 3;     take =(R;
              hence f |> f2 by XTUPLE_0:def 12;
            end;
            suppose [[f
        then n,1be   NAT such that
A120:           [[f,f1],y] = [[nA11:  >0 by A9,carrier  S)a1 , EB(  x1)  java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
              [f,f1] = [n,n1] by A120,XTUPLE_0:1;
              hence f |> f2 by A93,XTUPLE_0:1;
            end;
          end;
          hence f |> f1(*)f2 by A91,A88;
        end;
      end;
      suppose f2 in X2;
        thenf2is   A48;
        hence thesis by A88;
      end;
    end;
      gbeingof - ) ( holds g  )iff for
A121: C is right_composable;
    for f1 being morphism of C st f1 in the carrier of C holds
    ex  morphism C f >f1  is left_identity
    proof
      let f1 be morphism of C;
     assume :in  carrierofjava.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
      perbyA122,BOOLE_0:def3
      suppose
A123:    f1 in X1;
       java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A124:      Stateof(  hat
        reconsider n2 = f1 as ElementA3:s9  s| carrierof (;
        reconsider n22 = n2 as Nat;
        n22 <> 0 by A124,TARSKI:def 1;
        then consider n11 be Nat such that
AT_1:;
        reconsider n1 = n11 as Element of NAT by ORDINAL1:def 12;
A126:     [n1,n2] in X2 by A125;
        A5 InputVertices ()missesInnerVertices Sby A2,:50;
        take f;
        [[[n1,n2],n2],n2] in c1 by A125;
        then [[f,f1],f1] in c0 \/ c1 by XBOOLE_0:def 3;
        then [[f,f1],f1] in c0 \/ c1 \/ c2 by XBOOLE_0:def 3;
        [f,]f1]inthe ofCby XBOOLE_0: 3java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
         f| f1 XTUPLE_0:ef;
         is left_identityby A126,A48;
      end;
      suppose
A127:     f1 in X2;
        set f cI SS=InputVertices) /InputVerticesjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
        take f;
        thus thesis by A127,A48;
      end;
    ;
    then
A128: C is then [<*x1(),x2(),x3()*>,f(in{<x1(,2)x3)>f(]  carrier'
    for f1 being morphism of C st f1 in the carrier of C holds
    ex f being morphism of C st f1 |> f & f is right_identity
    proof
      let f1 be morphism of C;
ume in  carrier 
      per cases by A129,XBOOLE_0:def 3;
      suppose
A130:    f1 in X1;
        then
A131:f1inNAT  notf1in{}by :def5;
        reconsider n1 = f1 as Element of NAT by A130;
n1<0A131TARSKI:ef1;
        reconsider n2 = n1 + 1 as Element of NAT;
A133:     [n1,n2] in X2;
er [,n2asmorphism of C        1(x0-,x0)x0<(|.-x0].java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
        take f;
        [[n1,[n1,n2]],n1] in c2 by A132;
        then [[)in  ( impliesa3 =s.3()
        hen [f1,]f1 in the composition  by : 3;
        hence f1 |> f by XTUPLE_0:def 12;
        thus f is  g = [(the Arity  S)*)g g`]by:ef 8java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
      end;
      suppose
A134 f1inX2
        set f = f1;
        take fjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
        thus thesis by A134,A48;
      end;
     end;
     then
A135: C is with_identities by A128,Def7;
    for f1,f2,f3 being morphism of C st f1 |> f2 & f2 |> f3 &
    f1(f >f3   |>f2() holds  *(2*f3) (f1()f2)()
    proof
  then
      assume A136: f1 |> f2;
      assume  |>f3java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      assume A137:*f2|>f3java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
            
A139:  C is non empty by A136;
      per A16:  x0+r0 <0d  ,8java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      suppose
A140:   f1 in X1;
        then
A141:   f1(*)(f2(*)f3) = f1 & f1(*)f2 = f1 by A136,A138,A68;
        thus f1(*)(f2(*)f3) = (f1(*)f2)(*)f3 by A140,A68,A141,A137;
      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      suppose f1 :def3;
        then f1 is left_identity by A48;
        then f1(*)(f2(*)f3) = f2(*)f3 & f1(*)f2 = f2 by A136,A138;
hence(*(*f3)=((f)*f3;
      end;
    end;
hence thesis A87,A121,Def10
  end;
end;

registration
  cluster left_composable non right_composable
          with_identities associative for CategoryStr;
  
  proof
    set C1 = the non left_composable right_composable with_identities
          associativeCategoryStr;
    set C = C1 opp;
    takeXBOOLE_0d 3java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    
    thus C is non right_composable by Th4;
     with_identities byTh6,h7,;
    thus thesis by Th8;
  end;
end;

registration
c noncomposable with_identities      suppose <x0 
  correctness
  proof
    set X = NAT;
      NAT :
    (n1 <> n2 implies n3 = n1+n2) & (n1 = n2 implies n3 = 0)};
A1stabilization- < +stabilization-A18   ..-. |  by,A15;

      let x,y1,y2 be object;

then  n11, beElement of NAT  that
A2:   [x,y1] = [[n11,n12],n13] & (n11 <> n12 implies n13 = n11+n12().(Following(s,stabilizationtime s9**(,x2),3)>  ,A12
      (n11 = n12 implies n13 
      assume [x,y2] in comp;
      then consider n22,n23 be  ofNAT  
A3:   [x,y2] = [[n21,n22],n23] & (n21 <> n22 implies n23 = n21+n22) &
      (n21 = n22 implies n23 = 0);
A4:   x = [n11,n12] & y1 = n13 by A2,XTUPLE_0:1;
      x [,n22]  n23A3,XTUPLE_0:;
      then
A5:   n11 = n21 & n12 = n22 by A4,XTUPLE_0:1;
      per cases;
      suppose n11 <> n12;
thus  y2byA2A,A51;
      end;
      suppose   java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        thus y1 = y2 by A2,A3,A5,XTUPLE_0:1;
           hence thesis by A11,4,XREAL_0:java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    end;
    for x being object st x in comp holds x in [:[:X,X:    end;
    proof
      let x2()&(ot x2(  InnerVerticeshencethesisbyA1,,java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
      assume x in comp;
end;
A6:   x = )implies a3= by,A15A14,REAL_1:,:; java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
      n  implies = 0);
      [n11,n12]  Output(1GateCircStr(<*x1(,x2(x3(),x4)>f)))=F(,a2,a3a)
      hence thesis by A6,ZFMISC_1:def 2;
    end;
    theng being  of 4- (f1(.,0R])x0 =(10R.))x
    by A1,TARSKI:a1,,a4 being Elemento ( holds .<a1,2,3a4> = (a1,2a3,4) and
    set C = CategoryStr(# X, comp #)A notOutput 1(<*1(,2)x)x4)>f))  InputVertices S()
:f1f morphism of  holds | f2
    proof
       ,f2be morphism of Cjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
     A20:f1x0  .xx  A19A14X:19 java.lang.StringIndexOutOfBoundsException: Range [59, 60) out of bounds for length 59
      per cases;
      suppose
A8:     n1 <> n2;
        reconsider n3 = n1 + n2 as Element of NAT;
        [[n1,n2,] C A8;
        hence thesis by FUNCT_1:1;
      end;
      suppose
:n1=n2;
        set n3 = 0;
        [[n1,n2],n3] in the composition of C by A9;
        hence thesis by FUNCT_1:1;
;
    end;
 for ,f2being  ofCst f1=0 oldsf1* encexin (.x0-,x0|)A20,XXREAL_11FUNCT_1:;
    proof
      let f1,f2 be morphism of C;
      
A11:   f1 = 0;
 n2f2 Element of NAT;
      [f1,f2] in dom the composition of C by A7,Def2;
      suppose =x0; then
A12forx0be Real,f1f2  PartFunc of REAL,REAL st
e         consider n1,n2,n3 be Element of NAT such tjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
A13:   [[f1,f2],y] = [[n1,n2],n3] & (n1 <> n2 hencein (..x0f1..|  F54;
      (n1 = n2 implies n3 = 0) by A12;
[1f2]=[n2]&y  java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 10
      then
   f1=n1  = by XTUPLE_0:1;
      thus f1(*)f2 = (the composition of C).(f1,f2) by Def3,A7
      .= (the composition of C).[f1,f2] by BINOP_1:def 1
      .= f2 by FUNCT_1:1,A12,A13,A14,A11;
      f2f1]in thecomposition ofC A7Def2
      then consider y be object such that
A15:  [,f1,]in thecomposition  C  XTUPLE_0: 12;
      consider n2,n1,n3 be Element of NAT such that
A16:   [[f2,f1],y] = [[n2,n1],n3] & (n2 <> n1 implies n3 = n2+n1) &
      (n2       _ x0 &f2is_left_differentiable_inx0 &
      [f2,f1] = [n2,n1] & y = n3 by A16,XTUPLE_0:1;
      then
17    = n2 & f1 = n1 by XTUPLE_0:1;
       f2()=( composition of ).f2,f1)byDef3
      .= (the composition of C).[f2,f1] by BINOP_1:def 1
      .= f2 by FUNCT_1:1,A15,A16,A17,A11;
    end;
A18: C is left_composable by A7;
    for f,f1,f2 being morphism of C st f1|   in InnerVertices () implies =s.1) and
    by A7A12:(x2(   )implies a2 =R))()(notx2
    
A19: C is composable by: (S() impliesa3  R s9.3()(not java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
    for f1 being morphism of C st f1 in the carrier of C holds
    ex f being morphism of C st f|>f1 & f is left_identity
    proof
      let f1 be morphism of C;
      assume inthe   C;
      reconsider f = 0 as morphism of C;
      f
      thus f |> f1 by A7;
      thus f is left_identity by A10;
    end;
    then
A20: C is with_left_identities;
      beingjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 62
    ex f being morphism : 4( in <x1)x2)x3),x4()>by A16ENUMSET1def 2;
    proof
      let f1 be morphism of C;
      assume f1 in the carrier of C;
      reconsider f = 0 as morphism of C;
      take f;
thus |  byA7;
      thus f is   Rdiff(2f1,0)=Ldifff,f1.x0)then
    end;
    then
A21: C is with_identities by A20,Def7;
A22:forf1,2being morphismof,n1,n2   ofNAT
    f1 = n1 & f2 = n2 & n1 = n2 holds f1 (*) f2 = 0
    proof
      let f1,f2 be morphism of C;
      let n1,n2 be Element of NAT;
me
A23:   f1 = n1   ) by ,,XBOOLE_0:def5java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
      assume
A24:   n1 = n2;
      [f1,f2] in dom the composition of C by A7
      then A23:a3 =(,stabilization-time s9).x3()  A13,,Th1,FUNCT_1:9;
A25:   [[f1,f2],y] in the composition of C by XTUPLE_0:def 12;
hthat
A26:   [[f1,f2],y] = [[n11,n22],n33] & (n11 <> n22 implies n33 = n11+n22) &
      (n11 = n22 implies n33 = 0) by A25;
:;
      then
A27:  f1 = n11 & f2 = n22 by XTUPLE_0:1;
thus()2=(hecompositionof C)(1,2)by Def3,7
      .= (the composition of C).[f1,f2] by BINOP_1:def 1
      .= 0 by A27,FUNCT_1:1,A25,A26,A24,A23;
    end;
A28: for f1,f2 being morphism of C, n1,n2 being Element of  (by ,Xdef 5
    f1 = n1 & f2 = n2 & n1 <> n2   thenx1)in  S( orx1( InputVertices) by A7,
    proof
      let f1,f2 be morphism of C;
     , bebe   NATjava.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
      assume
A29:   f1 = n1 & f2 = n2;
      assume
A30:x2( n <x1)x2(,(x(*>byE:2
      [f1,f2] in dom the compositionthen
      hen y such that
A31:   [[f1,f2],y] in the composition   (   (  )inInputVerticesS\InnerVerticesS
      consider ,22,33 be Element of NAT such 
:[,f2],n22 ( >java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 75
      java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      [f1,f2] = [n11,n22] & y = n33 by A32,XTUPLE_0:1;
      then
A33  x2(   S)or x2)in InputVerticesS   S
      thus f1(*)f2 = (the composition of C).(f1,f2) by Def3,A7
      .= (thenofC)f,] BINOP_1def 1
      .= n1+n2 by A33,FUNCT_1:1,A31,A32,A30,A29;
    end;
    ex f1,f2,f3 being morphism of C st f1 |> f2   then x2) in InnerVertices S() or x2() in InputVertices (S()+*S) by A7,
    & f1 |>XBOOLE_0:def3;
    proof
      reconsider f1=1,f2=2,f3=3 as morphism of C;
      take f1,2,3java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
      thus f1 |> f2 & f2 |> f3 & f1 (*) f2 |> f3 & f1 |> f2 (*) f3 by A7;
A34:   f1 (*) f2 = 1+2 & f2 (*) f3 = 2+3 by A28;
      reconsider f12 = 3, f23 = 5 as morphism of C;
      f1 (*) f23 = 1+5 & f12 (*) f3 = 0 by A22,A28;
      hence thesis by A34;
    end;
    hence thesis by A19,A21,Def10;
  end;
end;

java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
empty  
  correctness
    by A9 ,Th5
    reconsider X = the empty set as set;
the of : ,empty 
    the empty set as PartFunc of [:X,X:],X;

    take C;
    thus thesis;
  end;
end;

registration
  cluster empty -> left_composable right_composable with_left_identities;
   forCategoryStr
  correctness
  proof
    let C be CategoryStr;
    assume
java.lang.StringIndexOutOfBoundsException: Range [14, 2) out of bounds for length 15
    for f,f1
    f1 |> f2 implies (f1(*)f2 |>  B,S) ( > 5-B) ()}:  s
    hence C is left_composable;
   forff1,2  morphismofCholds
    f1 |>   Ldiff(*f1,0 =Ldiff(2f1.0)Ldiff(f1,x0  (s   carrierS for  ,3a4,a5 Element
    hence C is right_composable;
    Cis with_left_identities by ;
    thus C is with_right_identities by A1;
    for f1f2f3  morphism of Cholds
    f1 |> f2 & f2 |> f3 & (f1(*)f2) |> f3 & f1 |> (f2(*)f3) implies
       ((() =(f1(*f2)  A1
    hence thesis;
  end;
end;

registration
  cluster strict with_left_identities with_right_identities
          InnerVertices S() implies a3 = s.x3()) & (x4() in InnerVertices S() implies a4
  correctness
  proof
 C =(the empty  java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
    take C;
    thus S( a5 =s.x5())holds (esult s.Output1(
end;
end;


  cluster strict with_identities composable associative java.lang.StringIndexOutOfBoundsException: Range [0, 59) out of bounds for length 0
  correctness
  proof
    set C = the strict A2   ,(x3(),x4()x5(*>,f()in
          left_composable right_composable associative CategoryStr;
    take C;
    thus thesis;
  nd
end;

definition
  mode category is with_identities composable associative CategoryStr;
;

definition
  let C,f;
  attr f is identity means
  f is left_identity A4: s9 is stabilizing by Def2;
end;

theorem Th9:
  C is with_identities implies (f is left_identity iff f is right_identity)
  proof
    assume
A1: C is with_identities;
    hereby
     assume
A2:   f is left_identity;
      for f1 being morphism of C st f1 |> f holds f1 (*) f = f1
      proof
        let f1 be morphism of C;
        assume
A3     x0 be , f1, be PartFuncof REALREAL
        then C is non empty;
        then consider g be morphism of C such that
A4:     f |> g & g is right_identity by A1,Def7;
        =f()gby .= g byA2;
        hence f1 (*) f = f1 by A4,A3;
      end;
      hence f is right_identity;
    ;
    assume
A5: f is right_identity;
    for f1 being morphism<*)x2(,(,)x5)>f) in [<x1(),2)()(,5)> f

      let f1 be morphism of C;
      assume
A6:   f |> f1;
      then C is non empty;
      A7:  r1>0 
A7A3:def;
      f = g(*)f   a1 2 ,  be of     be 
      hence f (*) f1 = f1 by A7,A6;
    end;
    hence f is left_identity;
end

theorem Th10:
yimpliesfis 
  proof
    assume C is empty;
java.lang.StringIndexOutOfBoundsException: Range [36, 4) out of bounds for length 70
    (for f1 being morphism of C st f1 |> f holds f1 (*) f = f1);
thenfis left_identity & f  ;
    hence f is identity;
  end;

theorem Th11:
   for g1,g2 being morphism of the CategoryStr of C
   st f1 = g1 & f2 = g2 & f1 |> f2 holds f1 (*) f2 = g1 A: x1)in rng <x1(,2(,(,),x5(*      [.r0,0]= (x0-f1x0.|f)
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
     let g1,g2 be morphism of the CategoryStr of C;
     assume
A1:  f1 = g1 & f2 = g2;
     assume
A2:  f1 |> f2;
     
A3:  g1 |> g2 by A1;
  thus f1 ()f2=( composition of ).f1,f2) by A2,ef3
     .= g1 (*) g2 by A1,A3,Def3;
   end;

 Th12
  C is left_composable iff  (  rng <*x1(,(,A12: r0<d2  = &  Rby :2then
  proof
    hereby
      assume
A1:  C is java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 6
forg,1,g2 beingmorphism oftheCategoryStr of C  g1 |>g2 holds
      g1 (*) g2 |> g iff g2 |> g
      proof
      assumex hen
        reconsider f=g,f1=g1,f2=g2 as morphism of C;
        assume g1 |> g2;
        then
A2:     f1 |> f2;
        hereby
          assume g1 (*) g2 |> g;
          then f1 (*) f2 |> f by A2,Th11;
          then f2 |> f by A2,A1;
          hence g2 |> g;
        endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        > ;
        A7   r1 > 0;then
        then f1 (*) f2 |> f by A2,A1;
       hence e java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 33
      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      theCategoryStr Cis ;

    java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 0
A3: the CategoryStr of C is left_composable;
    for f,f1,f2 being morphism of C st f1 |> f2 holds
    f1 (*) f2 |> f iff f2 |> f

      let f,f1,f2 be morphism of C;
      reconsider g=f,g1=f1,g2=f2 as morphism of the CategoryStr of C;
      assume
A4:   f1 |> f2;
      then
:g1 >g2;
      hereby
        f1 *f2>f;
        then g1 (*) g2 |> g by A4,Th11;
        then g2 |> g by A3,A5;
        java.lang.StringIndexOutOfBoundsException: Range [52, 9) out of bounds for length 72
      end;
      assume f2| ;
      then g2 |> g;
      then g1 (*) g2 |> g by A3,A5;
     hence f1 ()f2 |  by A4,Th11;
    end;
    hence C is left_composable;
  end;

theorem Th13:
  C is right_composable iff  Ldiff(2*f1,x0  (2x0)
  proof
    hereby
      assume
A1:  C is right_composable;
      for g,g1,g2 being morphism of the CategoryStr of C st g1 |> g2 holds
      g |> g1 (*) g2 iff g |> g1
      proof
        let g,g1,g2 be morphism of the CategoryStr of C;
        reconsider f=g,f1=g1,f2=g2 as morphism of C;
          >;
        then
A2:     f1 |> f2;
        hereby
          assume g |> g1 (*) g2;
          then f |> f1 (*) f2 by A2,Th11;
          then f |> f1 by A2,A1;
          hence g |> g1;
        end;
        assume g |> g1;
        then f |A16  x0d<r0 by ,15;
        then f |> f1 (*) f2 by A2,A1;
        hence g |> g1 (*) g2 by A2,Th11;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      hence the CategoryStr of C is right_composable;
    end;
    assume
A3:theA17   -< x&  by12 
    for f,f1,f2 being morphism of C st f1 |> f2 holds
    f |> f1 (*) f2 iff f |> f1
    proof
      let f,f1,f2 be morphism of C;
      reconsider g=f,g1=f1,g2=f2 as morphism of the CategoryStr
      assume
A4:   f1 |
      then
:   | ;
      hereby
        assume f |> f1 (*) f2;
        then g |> g1 (*) g2 by A4,Th11;
        then g |> g1 by A3,A5;
        hence f |> f1;
      end;
      assume f |> f1;
      then g |> g1;
      then g |> g1 (*) g2 by A3,A5;
      hence f |> f1 (*) f2 by A4,Th11;
    end;
    hence C is right_composable;
  end;

theorem
  Cis  ifftheCategoryStrofC composableby Th12,h13;

theorem
  C is associative iff the CategoryStr 
  proof
    hereby
      assume A1: C is associative;
      for g1,g2,g3 being morphism of the CategoryStr of C
      st g1 |> g2 & g2 |> g3 & g1 (*) g2 |> g3 & g1 |> g2 (*) g3
      holds g1(*)(g2(*)g3) = (g1(*)g2)(*)g3
      proof
        let g1,g2,g3 be morphism of the java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 0
        reconsider f1=g1,f2=g2,f3=g3 as morphism of C;
        assume g1 >g2   |g;
        then
A2:     f1 |> f2 & f2 |> f3;
A3:     f1 (*) f2 = g1 (*)  InputVertices Sis without_pairs;
        assume g1 (*) g2 |> g3 & g1 |> g2 (*)end;
        then
A4:     f1 (*) f2 |> f3 & f1 |> f2 (*) f3 by A2,Th11;
        then f1(*)(f2(*)f3) = (f1(*)f2)(*)f3 by  java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        hence g1(*)(g2(*)g3) = (f1(*)f2)(*)f3 by A4,A3,Th11considerdbejava.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 11
        .= (g1(*)g2)(*)g3end;
      java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
      hence theregistration
    end;
    assume
: CategoryStr of C is associative;
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    f1 (| f1. - x0. r1by,Th27java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    proof
      let f1,f2,f3 be morphism of C;
      reconsider g1=f1,g2=f2,g3=f3 as morphism of the CategoryStr of C;
      assume
:  | f2  f2 >;
      then
A7:   g1         by A4A17RFUNCT_2d 3 
A8java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25

A9:   f1()f2  f3 &nd;
      then g1 (*) g2 |> g3 & g1 |> g2 (*) g3 by A6,Th11;
      then g1(*)(g2(*)g3) = (g1(*)g2)(*)g3 by A7,A5;
      hence
      .= (f1(*)f2)(*)f3 by A9,A8,Th11;
    end;
           f1x0<f1.  r1 by XREAL_1:19; then
  end;

java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
  for g being morphism of the CategoryStr of C st f = g
  fis left_identityiff isleft_identity
  proof
    let g be morphism of the CategoryStr of C;
    assume
A1:f= g;
    hereby
      assume
A2:  f is left_identity;
      for g1 being morphism ofend;
      holds g (*) g1 = g1
      proof
        let g1 be morphism of the CategoryStr of C;
              assume x in x0r0,0. 
        assume g |> g1;
        then
:    f | f1 by A1;
        then f (*) f1 = f1 by A2;
        hence g (*) g1 = g1 by A1,A3,     n;
      end;
      hence g is left_identity;
      p=n& p  FinSequencebyFINSEQ_1:def 2;
    assume
A4: g is left_identity;
       java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 73
    proof
      let     reconsider ofnCARD_1 ;
      reconsider g2 = f2 as morphism of the CategoryStr 
           hencethesis  ,4,:;
A5:   f |> A16:x0- < 0-0 by A13XREAL_1:;
      then g |> g2 by A1;
      then g (*) g2 = g2 by A4;

    end;
    hence f is left_identity;
  ;

theorem
  C A17:   x0-  x     by A14,16,XREAL_0:,;
  proof
    hereby
      assume
A1:   C is java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 7
      for g1 being morphism of the CategoryStr of C st
      g1 in the carrier ofhence  GateCircStrp)is java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 59
      ex g being morphism of the CategoryStr of C      
      g |> g1 & g is left_identity
of
        let g1 be morphism of the CategoryStr of C;
        reconsider f1 = g1 as A19:    x0-R < x0 & x0-R <= x by A4XREAL_1:44,XREAL_0:;then
        assume g1 in the carrier of the CategoryStr of C;
        then consider f be morphism of C such        x0 in dom(1|[x0R,x0.)&x in dom(1|[x0-,0.)
A2:     f |> f1 & f is left_identity by     set f = the Function of n-tuples_on Xjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
        reconsider g = f as morphism of the CategoryStr of C;
        ;
        thus g    let I nonemptyInterval;
        thus g is left_identity by A2,Th16;
      end;
      the   C ;
    end;
assume
A3: the CategoryStr of C is with_left_identities;
     f1  morphism of  st  in    
    ex f being morphism of C st f |> f1 & f is left_identity
    proof
      let f1 be morphism of C;
reconsiderg1=f1a ofthe of ;
      assume f1 in the carrier of C;
      then java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
A4:   g |> g1 &       .x0 .  r1 
      reconsider f = g as morphism of C;
      take       f1.0 < f1. + r1byXREAL_11; then
      thus f |> f1 by A4;
             f1x0 r1 <f1xby XREAL_1:;
    end;
    hence C is with_left_identities;
  end;

theorem Th18:
  for g being morphism of the CategoryStr of C st f = g
  holds f is right_identity iff g is right_identity
  proof
    let g be morphism of the CategoryStr of C;
    assume
:  java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
hereby
      assume
A2:  f is right_identity;
      hence  dom(.1.0-1,1.0]`1  A15:,XREAL_11
 g g1
      proof
        let g1 be morphism of the CategoryStr
        reconsider f1 = g1 as morphism ofjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
        assume g1 |> g;
        then
A3:     f1 |> f by A1;
        then f1 (*) f = f1 by A2;
hence *g=  A1,3T;
      end;
      hence g is right_identity;
    end;
    
A4: g is right_identity;
    forf1beingmorphism C  f1| f1*   java.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
    
      let f1 be morphism of C;
      reconsider g1 = f1 as morphism being   sthat
          hence th;
A5:   f1 |> f;
      then g1 |> g by A1;
      then g1 (*) g   ]. ,up I.[
      hence f1 (*) f = f1 by A1,A5,Th11;
:: Formalization of Wallis Infinite Product Formula for $\pi$ and the Wallis 
    hence :: http://creativecommons.org/licenses/by-sa/4.0/.
;

theorem not ex a,b objectst =[,]
         :def 1

    hereby

A1:   C is with_right_identities;
      for g1 being java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 9
      g1 in the carrier of the CategoryStr of C holds
      ex g being morphism of the CategoryStr of C 
      g1 |> g & g is right_identity
p
       ;
        reconsider f1 = g1 as morphism of C;
        assume g1 in the carrier of the CategoryStr of C;
         fbemorphism   suchthat
A2:     f1 nputVertices( *1Lm24:
        reconsider g = f as morphism of the CategoryStr of C;
        take g;
        thus g1 |> g by A2;
        thus g is right_identity by A2,
      end;
      hence the CategoryStr of C is with_right_identities;

   assume
A3: the CategoryStr of C is with_right_identities;
    for  let  be Functionof tuples_on X ;
xf   Cst | f  f is
    proof
      let f1 be morphism of C;
      reconsider g1 = f1 as morphism of the CategoryStr of C;
      assume f1 in the carrier of C;
      then consider gassumesup in;then
 g1| &g  right_identity byA3;
      reconsider f = g as morphism of C;
           I=.f s [  [ I .)by:,;
      f1 |  A4;
      thus f is right_identity by A4,Th18;
    end;
    hence C is with_right_identities;
  end;

theorem
  C is with_identities iff the CategoryStr of C is with_identities
  by Th17,Th19;


definition
  letLm25:
  attr C is discrete means :Def15:
 Cfjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
end;

Lm1:
  (the empty CategoryStr) opp  let  bewith_nonpair_inputs  ofXsuch that
proof
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  for f being morphismA2:notjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 79
  proof
    let f be morphism of C;
 java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 62
   
   19 java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    
hence fis
  end;
  hence thesis;
end;

registration
  cluster      2*n < 2*n 1 by :;
  forCategoryStr
  ess
  
set C 1  of ornon x  carrier Sjava.lang.StringIndexOutOfBoundsException: Range [79, 76) out of bounds for length 79
   ;
   is <,,*,i
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 53
    hence thesis < i0andi0 <  byA3java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    ;
end  i stiholds=*i 

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
 discrete ,  C
stf1| holdsf1=f2  ()f2=f2
proof
    let C be discrete     dom h = (dom even-seq m)(even )---)
let f1,2bemorphism of C
    assume
: >java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
     letnbezerojava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    then
;
    l  Nat
     thesisby ,1Def4
.inJbyA3 


  cluster discrete -> A10:  (f1|I).x0 in J by A5,FUNCT_1:49  proof
  
  proof
    let C be CategoryStr;
    assume
A1: C is discrete;
for , eingmorphism   holds
    (h(*)g |> f & h |> g implies g |> f) &
    (h |> g(*)f & g |> f     sup I in ].inf I,sup I.] & sup  in]infIsupI.&sup mf1)by A4A6F    beof,benon java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    (g |> f & h |> g implies h(*)g |> f & h |> g(*)f)
    proof
letg morphism;
thush*g| f &h | impliesg >f 
      thus h |>   let X  non emptyfinitesetjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
      proof
        assume
A3:     h |> g(*)f & g |> f;
heng(f=f& =g byA1,Th21
        hence  | java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 67
      end;
 g| java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
 |;
*  by,5A1,;
      g |> g(*)f&h =  by A4,A5,A1,Th21suppose
      hence h |> g(*)f;
    end;
A6: f,h being morphism fC st h |>g&g|> f
    holds h(*)(g(*)f) = (h(*    orkst1< k &  letXnon  ;
    proof
      let f,g,h be morphismsuppose
      assume A7: h |> g;
     assumeg |> f;

A8 java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
even(+java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
     consider  beRealsuchthat
 is left_composablebyA2
    for f,  seq1    Def1java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 |>f1*f2ifff| )byA2
    hence thesis by A6,A9,Def9A3 evenseq11)=( )< *11 >;
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
end;

definition
  let X be set;
 discrete categorymeans Def16:
thecarrier ofit =X;

  
cases;

:Xisempty;
      set C = the strict empty discrete java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 8
       n odd-seq(+  
      take C;.odd-seq(1)
thus thesisby A1;

supposeXisnotempty;
     F={xforx beReal  xindomF1&.-x0| holds
A2:   for x,y1,y2 being      by FINSEQ_1:4,A4,VALUED_1
      holds y1 = y2
      proof
        let x,y1,y2 be object;
        assume [x,y1] in F;
        then consider x1 be Element of X such that
:[,y1 =[[1,1]x1]&x1 in ;
        assume [x,y2] in F;
        then consider x2 be Element of X such that
A4:     [x,y2] = [[x2,x2],x2] & x2 in X;
A5:     x = [x1,x1] & y1 = x1 by A3,XTUPLE_0:1
        x = [x2,x2] & y2 = x2 by A4,XTUPLE_0:1;
        hence y1 = y2 by A5,XTUPLE_0:1;
      end;
      for x being object st x in F holds x in [:[:X,X:],X:]
      proof
        let x be object;
        assume x in F;
then consider x1 beElementof X such 
A6:     x = [[x1,x1],x1] & x1 in X;
        [x1,x1] in [:X,X:] by A6,ZFMISC_1:87;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      end;
      then reconsider F as PartFunc of [:X,X:],X
by A2,ARSKI:def 3,FUNCT_1:ef 1;
      set C = CategoryStr(# X, F #);
      for u being morphism of C holds u is identity
      proof
        let u be morphism of C;
A7:     for f being morphism of C st u |> f  holds u (*) f = f
        proof
          let f be morphism of C;

A8:     u >f ;
          uhence thesis;
          .= F.[u,f] by BINOP_1:def 1;
          then [[u,f], u (*) f] in F by A8,FUNCT_1:def 2;
consider  java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 68
A9:       [[u,f], u (*) f] = [[x,x],x] & x in X;
           = x A9,XTUPLE_0:;
 *  f XTUPLE_0:;
        end;
                 = *1)(* )(*!)
        proof
   ;
                 (2*n+1)*-seq()
  > java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
          g (*) u = F.(g       non A32,;
          .= F.[g,u] by BINOP_1:::::::::::::::::::::::::::::::::::::(|) A5java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then [[g,u],g (* u]in F by A10,FUNCT_1:ef 2;
          then consider x be Element of X such that
:       [[g,,g* ]=[xx,]      Real         ,33A,57 
[u = xx]&()u=,1
          hence g (*) u = g by XTUPLE_0:1;
       java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
@-E   java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
identity
        bejava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 30
 C   java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
     empty java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
      let f be morphism of C;
         .= @f + (    thesis
A13: f in the carrier   for M be unital associnon empty multMagma
 bejava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 52
A14:   f is identity;
      reconsider x = f as Element ofproof
     [,,  [,, x    :xin X}y ;
f    ofCbyd12;
     java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
      (ex c java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 7
(  java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 64
      Def2;
    end;
    C is with_left_identities &
     java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 65
     
 
      thus thesis;

end
  uniqueness
 
    let C1,C2 be strict discrete category;
    assume
A15: the carrier of C1 = X       A15   | (|. ,,; 
A16: for         (x     =(`)(.)(1`)x0)yA8A,A3A,,
   C isnon empty holds
xtheofCf  morphismof st x =[f,]f]
    proof
      let A5    ((x)a|0  @@).)   java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
      let x be object;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A17:    beofREAL    ;
      
        assume
A18:,3java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
er,beobjectsthat
A19:     y in [:the carrier of C,the carrier of C:] & f in the carrier of C &
x f byZFMISC_1:ef;

        take f;
        consider
A20:     f1 in the carrier of C & f2 in the carrier ofA38:    ((x)nis_differentiable_on
        y = [f1,      be  R;
        reconsider f1     proof
A21::    P[n]java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A22:     f1 |> f2 by A20,A19,A18,XTUPLE_0:def 12;
        then
        f1 = f2 & f1 (*) : P[1]byA1,INOM:8java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        then (, Ibe  c SubsetofREAL holds
        then (the composition of C).y = f2 by A20,BINOP_1:def 1;
        then f = f2 by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
        hence x = [[f,f],f] by A22,A20,A19,Th21;
      end;
      given f be morphism of C such that
I c REAL;then
      consider of C such that
A24:   f1 |> f & f1 is java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 7
A25:   f is identity by Def15;
 f1=(*)  byA25,A24,.= fby;
      f   proof
       of)ff) =fby3,h35java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
then( java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 61
      hence x in the composition isA   r1beReal  >  r0 java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    end;
    ;
    suppose the carrier ofhenceex N  Neighbourhoodof  Ncjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       uppose
      the carrier of C1 is non java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 13
      then
A27:  C1 islet n b non zero Nat;
        s (2java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
       C1 xinthe  ofC2
      proof
        let x be object;
        hereby
               ;
          then considerf be of C1  
A28proof
          reconsider f1 = f as:P[]java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
          x = [[f1,f1],f1] by A28;
          hence x in the composition of C2 by A27,A16;
        
        assume x in the composition of C2;
        then consider f be reconsider o1 = 1 as Element of REAL by FINANCE2:1;
A29:     x = [[f,f],f] by A27,A16;
        reconsider f1 = f as morphism of C1 by A15;
        x = [[f1,f1],       n1()(@)^n)(# (         
        hence x in the composition of C1 by A27,A16;
      nd;
      hence thesis by A15,TARSKI:2;
    end;
  end;
end;

registration
  
  correctness
  proof
    set C = DiscreteCat(the empty set);
    take C;
    thus thesis;
  nd;
  cluster strict empty for category;
  correctness
  proof
    set C = DiscreteCat(the empty set);
    ake C;
    thus thesis by Def16;
  end;
  cluster strict non empty for category;
  correctness
  proof
    set C = DiscreteCat(the non empty set);
    x  f1: byFUNCT_1def ;
    thus thesis by Def16;
  end;
end;

definition
  let C;
  func Ob(C) -> Subset of Mor(C) equals
  {f where f is morphism of C: f is identity & f in Mor(C)};
  correctness
  proof
    set O = {f where f is morphism of C: f is identity & f in Mor(C)};
    for x being object st x in O holds x in Mor(C)
    proof
      let x be object;
      assume x in O;
      then consider f be morphism of C such that
A1:   x = f & f is identity & f in Mor(C);
      thus thesis by A1;
    end;
    hence thesis by TARSKI:def 3;
  end;
end;

definition
  let C;
  mode Object of C is Element of Ob(C);
end;

registration
  let          [.x ..<A3327:57java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
  cluster Ob(C) -> non empty;
  correctness
  proof
    consider f be object such that
A1: f in Mor(A1: f in Mor(C       hence [.x0,x0+r0. -java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
    reconsider f as morphism of C by A1;
    consider c be morphism of C such that
:c|> f   isleft_identity  Def12,Def6;
    c is identity by A2,Th9;
    then
cin u  is morphism  C u .Ldiff(f1.)*f1`\)  A1ef2
    hence thesis;
  end;
end;

theorem Th22java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  for C being non empty with_identities CategoryStr, f being morphism of C
  holds f is identity iff f is Object of C
  proof
    let C be non empty with_identities CategoryStr;
    let f be morphism of C;
    hereby
 isidentity
      then f in {u where u is morphism of C: u is identity & u in Mor(C)};
      hence f is Object of C;
    end
    assume f is Object of C;
    then f in {u where u is morphism of C: u is identity & u in Mor(C)};
    then consider u be morphism of C such that
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    thus f is identityA61:   (|Ie
  end;

theorem Th23:
  for      suppose
  o being Object of C st f = o holds
   (f |> f1 implies f (*) f1 = f1) &
   (f1 |> f implies f1 (*) f = f1) & f |> f
  proof
    let C be non empty with_identities CategoryStr;
    let ,f1 be
    let o be Object of C;
    assume  f= o
A2: f is identity by A1,Th22;
      be morphism C  that
A3: c |> f & c is left_identity by Def12,Def6;
A4: c = c (*) f by A2,A3,Def5 .= f by A3;
    thus f |> f1 implies f (*) f1 = f1 by A2,Def4;
    thus f1 |> f
    thus f |> f by A3,A4;
  end;

theorem Th24:
  for C being non empty java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 5
st f beRealf1,f2be java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 76
  proof
    let C be non f1 is_differentiable_on_interval   &
    let f be morphism of C;
    assume f is identity;
    then f is Object of C by Th22;
    hence  byTh23;
  end;

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
forC1C being  
  st the CategoryStr of C1 = the java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
  holds for f1 being morphism of C1, f2 being morphismlet   nonzero Nat;
  is    identity
  proof
    let C1,C2 be  CategoryStr;
    assume
java.lang.StringIndexOutOfBoundsException: Range [43, 2) out of bounds for length 50
          by,:: 
    let f2 be morphism of C2;
    assume
f1 f
    hereby
      assume
A3:  @((sin)|^(n-'1)) is_integral_of
A4:   for f being java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
      proof
        let f be morphism of C2;
        assume
A5:    f2 |> f;
        reconsider f3=f as morphism of C1 by A1;
        thus f2 (*) f = (the composition of C2).(f2,f) by A5,
        .= f1 (*) f3 by A5,A2,A1,Def3,Def2
        .= f by,A3,,Def2,,A2;
      end;
      for f being morphism of C2 st f,f2A47:.x0+r0. =[x0,+]java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 34
      proof
        let
        assume
A6:    f |> f2;
        reconsider f3=f as morphism of C1 by A1;
        thus f (*) f2 = (the composition of C2).(f,f2) by A6,Def3
        .= f3 (*) f1 by A6,A2,A1,Def3,Def2
        .= f by A6,A3,Def5,Def2,A1,A2;
      end;
then f2  java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
           x0  ;then
    end;
    assume
A7: f2 is identity;
A8: for f being morphism of C1 st f1 |> f holds f1 (*) f = f
    proof
       f morphism C1;
     
A9:  f1 |A9:  f1 |> f;
      
      thusreconsidern2=n-  java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      .= f2 (*) f3 by A9A12asFunctionjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      .= f by A9,A7,Def4,Def2,A1,A2;
    end;
    for f being morphism of C1 st f |> f1 A5:      @(s)(-1)  by ,:;
    proof
      let.= cos by A6; 
      assume
A10:  f |> f1;
 morphism
      A14:   (f1).0=inf J;then   yA2java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
      .= f3() by A10,,A1 f2  f1.h11
      .= f by A10,A7,Def5,Def2,A1,A2;
    end;
    thenf1is;    :|x-. b ,;
    hence by A13,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  end;

:
for C being CategoryStr holds C is with_identities iff
  for f being morphism of C st f in Mor(C) holds
  ex c being morphism  C c|>   is )&
edbeing  stf |d &d )
  proof
l Cbe;
    hereby
      assume
A1:  C is with_identitiesjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
letbejava.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 22
       A2:   Mor();
      @)^ (cos|2=1REAL java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
      
        consider:  @in)|2 = (@sin|(+1)
A3:     c |> f=(s  @ java.lang.StringIndexOutOfBoundsException: Range [27, 32) out of bounds for length 0
        take c;
        thus c |> f by A3;
        thus c is identity by A3,Th9,A1;
      end;
      consider d be morphism of C such that
A4:   f |> d & d is right_identity by A2,A1,Def7;
      take d;
thus f|dby ;
      thus d is identity by A4,A1,Th9;
    end;
    assume
A5: for f being
    (ex cbeing morphism ofCst c |>  & isidentity) &
    (ex d being       A59:(
    for f1 being morphism of C eseq beingReal_Sequencest for  being Nat
     fbeing morphism of C st f >f1&f is 
    proof
      let f1 be morphism of C;
      assume f1 in the carrier of C;
      then consider f be morphism java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 6
A6:   f |> f1 & f is identity by A5;
      take f;
      thus f |> hence( java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 74
      thus      let  be Nat;
    end;
    then
reconsidern0 =nas ElementofNATbyORDINAL1d12java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
     f1beingmorphismofR1by 4
ht_identity
    proof
      let f1      let f1 sin)^n'1)) (#) @(@sin) by Th13;
      assume f1 in the carrier        java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
      thenconsider fbemorphism ofC such that
A8:   f1 |> f & f is identity by A5;
      take f;
      thus  |  A8;
s right_identitybyA8
    end        x 
    hence C is with_identities :  G is_integral_of g,REAL by A1
A13  F(I 

Lm3:
for C being CategoryStr holds C is composable iff
  A16: @)^  .A16:  (@sin)|^2 = 1.RAlgebra
  (h(*)g |> f & h |> g implies g |> f) &
  (h|>*f&g |>implies h|> g &
  (g |> f &for be Real, f1 .@(-*(2 16
   h(*)g |> f A30e1  ;
   e#s1  n'()(@|(-') by:13; then
     let C be       =(-'1)(#@(A32:=XXREAL_1; java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
     
       assume C is composable;
         (-1)(#)|'| -x0.<- 1924;then
A1:    C is left_composable(n-1()I1)is_integrable_on [0,/] java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
        f, be[0,PI2i java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
       .x0 .< A24,2java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 53
 :|fjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
             I1|[0,PI2' is bounded by Th25;
       thusjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 35
       thus h |>g()f byA2A3,1java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
;
     assume A4: for f,g,h A30:  dom(I1) = REAL & dom(I2) REAL by :def1;
     (*g|   h| implies  | )
     & (h |> g(*)f & g |> f
     implies h |=(n-'1)#I1,0PI/)-integral(-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     implies h(*)g |> f & h |> A32:  integral((n-'1)(#)I2,0,PI/2) = (n-'1)*integral(I2,0,PI/2)
     then
A5:  C is left_composable;
     for f, f1, f2 being morphism
     f| *f2  f>byA4
     hence C is       = -(n'1)*(I10,PI/) +(n-'1)*integral      = ((n-1) )integral(I1,PI/
   end;


definition
 :
let fbe morphism ofC
  funcdom f - ObjectofCmeans ::
   ofC:0  |.x0 ,49;
  if C is non empty otherwise         .F1-seq/dseq$+))java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 50
  existence
  proof
   notC isempty  ,
    f1 being morphism of C st o = f1 & f |> f1 & f1 is identity
    proof
      assume
           A13,FUNCT_1:,XXREAL_11java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
      then consider f1 be morphism of C such that
A2:   f |> f1 & f1 is identity by Lm2;
      :P;
      take o,f1;
      thus thesis by A2;
    end;
    assume C is empty;
    take the Object of C;
    thus thesis;
  
        3 -'1= 3 -1byXREAL_1:233 = 2; then
  proof
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      let o1,o2 beObject of ;
me notCis empty;
      assume
  java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 40

:= &f|&is
      assume
      ex f1 being morphism of C st o2=f1 & f |> f1 & f1 is identity;
      then consider f12 be morphism of C such that
A4   = &f >f12 &f12 s
      f1 java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 9
      then
A5:   f11 |> f12 by A3end;
      f11 = f11 (*) f12 by A5,A4,Def5:::::::::::::::::::::::::
      hence o1 = o2 by A3,A4;

    hence thesis;
  end;
  correctness;
  func cod f -> Object of C means :Def19:
  ex f1 being morphism of   proof
  if C is non empty otherwise it = the java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 0
  
  proof
    thus notCis empty implies   being  of C,
       x0,]om[.f1.+r1]1java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    o = f1 & f1 |> f & f1 java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 6
    proof 
      assume
A6:         proof
      then consider f1 be morphism of C such that
:   f1 >&1  Lm2java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
       ObjectofCbyA7,6,Th22;
      o,f1;
      thusthesisby ;:  for =/2)
    end;
    assume C is empty;
    take the   in .0PI/2.] byINTEGRA5:def , COMPTRIG:5;
    thus thesis;
  end;
  uniqueness
  proof
    now
      let o1,o2 be Object of C;
      assume not C is empty;
      assume
      java.lang.StringIndexOutOfBoundsException: Range [9, 1) out of bounds for length 23
      then consider f11 be morphism of C such that
A8:            java.lang.StringIndexOutOfBoundsException: Range [17, 17) out of bounds for length 0
      assume
      ex f1 being morphism of C st o2=f1 & f1 |> f & f1 is identity;
      then consider f12 be morphism of for Realx dom| x0.   holds
A9:   o2=f12 & f12 |> f & f12 is identity;
f11(*f  f &f12(*) =  by A8,A9,Def4;
      then
A10:  f11 |> f12 by A8,A9,Lm3;
      f11 = f11 (*) f12 by A10,A9,Def5 .= f12 by A10,A8,Def4;
      hence o1 = o2 by A8,A9java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    end;
     java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  
  correctness;
end;

theorem Th26:
  for C being composable with_identities CategoryStr, f         A5,4,COMPTRIG:,,A7:48;
  st f |> f1 & f1 is identity holds dom f  
  proof
    let C be composable with_identities CategoryStr;       thus  >0 byA8A24,XREAL_021;
    let f,f1 be morphism of C;
    assume
A1: f  now;

A2: C  for be non zero  holds
    A49:   [x0-,] c=A'2)I'(*java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 24
          n non ero Nat;
    hence    by seqn;
  end;

theorem Th27:
  for C being composable with_identities CategoryStr, f,f1 being morphism of C
  st f1 |> f & f1 is identity holds cod f = f1
  proof
    let C be composable with_identities CategoryStr;
    let f,f1 be 
    assume
A1: f1 |> f & f1 is identity;
    then
A2: C is non empty;
    thenreconsider o =f1 as   C  A1Th22;:[ x 143;
    ex f11 being morphism of C st o = f11 & f11 |> f & f11 is identity by A1;
ef19;
  end;


definition
  let C be with_identities CategoryStr;
        | .  (end;
  func :
  o;
  correctness
  proof
    per cases;
    suppose C is empty; hence thesis; end;
    suppose not C is empty;
      ;
      then o in Ob(C);
hence thesis;
     =sby 
  end;
end;

nition
  let C  or n  non zero Natholds0 <''(2*-1java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  mode Functor of C,D is Function of C,D;
end;

eserveC,,
     oddn  -seqn
reserveGforof D,;
reserve f for morphism of C;:  '

definition
  let    *n+1>2byNAT_1:13;then
   . 2n1A2XREAL_0,java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 46
. 2n/(2n+1)*''(2*x0bydef 
  correctness
  proof
    thus not C is empty implies F.f is        . F1.        F1.-F1|  A5657tjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    proof
      assume
A1A1:   C is non empty;.(*n1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      per cases;
      suppose Mor(D) <> {};
        hencethesis A1FUNCT_2:5;
      end;
      suppose Mor(D) = {};
        hence thesis by . 1/2*n +1  XCMPLX_1113java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    end;
    the Object of D is morphism of D
    proof
      per cases;
supposeD >{}
java.lang.StringIndexOutOfBoundsException: Range [13, 8) out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 37
      endF1x0-1 <. byXREAL_1:9
      suppose Mor(D) = {};
        hence thesis;
      end;
      ;
    hence java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 10
  end;
end;

definition
  let C,D,F;
  attr F is identity-( Natn  ( 
 morphism fC  s Fis
  attr F is multiplicative means :Def23:
  for f1,java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
  Fproof
  attr F is antimultiplicative means
        hence (*f1) A1:   for n being Nat holds s0.n = E(n.n= E(n) romSEQ_1:ch 1;
s1  
end;

registrationjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 44
  ,;
  cluster identity-preserving for Functor of C,such that
  correctness
proof
    per cases;
    suppose
      Mor(D) is non empty;
t  java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
A1:   Ob(D1) is non empty;
      . ()f1*(\x0by,,;
      the Object of D in Ob(D) by A1;
thenjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 58
           :8
      for f being morphism of C st f is identity holds F.f isjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 10
      proof
        let f be morphism of C;
  java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 35
        per cases;
        suppose
      Cis A61:   f2 is_diff (f1|)x0by A11,2,;
          .   0byA6
          then F.f is       hence (f2*f1) is_left_differentiable_in x0 by A6proof
          hence F.f is identity by Th22;
        
        suppose C is empty;
          then F.f is       LdiffP#2   NATby  
          hence thesis by Th22;
        end;
      end;
      hence thesis;
    end;
    suppose
A3:   Mor(D) is empty;
      set F = the Function of C,D;
take;
  being morphism of C  fis identity holds .fisidentity
      proof
        let f be morphism of C1\I).0)by A5,      hence thesis
        assume f is identity;
        byjava.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
         F.isidentity by Th10;
      end;
      hence thesis;
end;
  end;
end;

registration
  let C be empty with_identities CategoryStr;
  let D be with_identities CategoryStr;
  cluster     let x0 be Real  beReal,,f2bePartFunc of ,REAL,IJ nonempty Interval
  for Functor of C       -1 < x0r0by XXREAL_0:7XREAL_1:;then
  correctness
  proof
    per ;
    suppose
      Mor(D) is non empty;
      then reconsider D1 = D asjava.lang.StringIndexOutOfBoundsException: Range [0, 2) out of bounds for length 0
      set        take;
      reconsider F as Function of C,D;
      take F;
A1:   for f being morphism of C st f is identity holds F.f is identity
      proof
        let f be morphism of C;
        assume f is identity;
        F.f is Object of D1 by Def21;
        hence thesis by Th22;
      end;
        
      holds F.f1 |> F.f2 & F.(f1(*)f2) = (F.f1) (*) (F.f2)) &
      (for f1,f2A6: inf I <x0 &A50      [0r0,.] 
      holds F.f2 |> F.f1 & F.(f1(*)f2) = (F.f2) (*) (F.f1));
      A51:xindom(f1|) by A8; then
    end;
    suppose
A2:   Mor(D) is empty;
      set F = the Function of C,D;
      take F;
A3:   for f being morphism of C st f is identity holds F.f is identity
      proof
          be  of;
        assume f is identity;
        D is empty by A2;
        hence F.f is identity by Th10;
      end;
forf2 morphismof  f1|> 
.f2 & F.f()2  (F.f1)() java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
      (for f1,f2 being morphism of C A2:form be   n1 <=  holds .w_seq.  1/ |  
      holds F.f2 |> F.f1 & F.java.lang.StringIndexOutOfBoundsException: Range [29, 23) out of bounds for length 23
      hence thesis by A3;
    end;
  end;
end;

registration
  let C be with_identities CategoryStr;
  let D be non empty with_identitiesA8:f1.  f1.IA1,A5,UNCT_1:      m
  cluster               
  forFunctor of C,D;
  correctness
  proof
    per ;

:Cis empty;
      set F = Mor(C) --> the Object of D;
      the Object of D in| Wallis_Seq.m- PI . <= | m  / .
      then reconsider F as A4,2
      take F;
A2:   for f1,f2 being morphism of C st f1 |> f2
      holds F.f1 |> F.f2 & F.(f1(*)f2) = (F.f1) (*) (F.f2)A12:forrbe  r    Nat st    Natst =n 
      proof
        let f1,f2hencethesis A,d 7
        assume f1 |> f2;
        x1  ,  =    f1*f2 ;
,Def21 . the Object of  A17;
 hence thesis  PARTFUN3:ef 1;
A5:     F.( end;
        thus
:     F.f1 | .f2 by  Wallis_Seq -> positive-yielding;
         F.(f1(*)f2 =(F.)(*(F.f2 A4A5A6java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65

:  java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
      holds F.f2 |> F.f1 & F.(f1(*   proof
      proof
        let f1,f2 be morphism of C;
        assume f1 |> f2;
= f1,  ,x3  *)  ;
kNatseq=java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
A9:     FA5:forkbe  holdssqrt(seq.k) = (sqrt)k
      cases;
        thus
A11:    F.f2 |> F.f1 by A8,A9,Th23;
        thus F.(f1(*)f2) = (F.f2) (*) (F.f1) by A9,A10     suppose
      end;
      forf beingmorphism of C st f is identity holds F.f is identity
      proof
        let f be morphism of C;
        assume f is identity;
         x =f asobject;

        hence F.f is identity by Th22;
      end;
      hence              n0 Nat such
    end;

A12:   C is empty;
      set F = the Function of C,D;
      take F;
A13:   for f being morphism of C st f is identity holds F.f is identity
      proof
         f of
        assume f is identity;seq.  2byA9A10;then
        f =the Object       .-,0r0.c (.f1x0,f1.0+.|f)
        hence F.f is identity by Th22;
      end;
      (for f1,f2 being java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 11
      holds F.f1 |> F.f2 & F.(f1(*)f2) = (F.f1) (*) (F.f2)) &
      (java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 0
      holds F.f2 |> F.f1 & F.(f1(* J= [infJsup.]or J = ].inf ,sup ]by A11A37,; 
      hence thesis by A13;
    end;
end;
end;

theorem
 ,D being category, F  Functor  , st
  Fis multiplicative & is non -
  proof
    set C = the non empty
    reconsider X = {0,1} as set;
    set comp = {[[0,0],0],[[1,1],1]} \/ {[[0,1],1],[[1,0],1]};
A1: for x being object holds x in comp iff
 ( = [[,]0  x= [1,],1 orx= [0,]1] or x =[1,        java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    proof
       be ;
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 28
      ( =[[,]0 or x  [[11]1]  = [,]1 x= [1,0,java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 69
      proof
        assumex compjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
        then x in {[[0,0],0],[[1,1],1]} or
        x in {[[0,1],1],[[1,0],1]} by XBOOLE_0:def 3;
        hence thesis by TARSKI:def 2;
      end;
      assume x  [,0,]or=[11,]or x=[01,]or  =[1,0,]java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
      then x in {[[0,0],0],[[1,1],1]} or
xin [F1.> x by A12,49;then
      hence x in comp by XBOOLE_0:def 3;
    end;
A2: for x,y1,y2 being object st [x,y1] in comp & [x,y2] in comp holds y1 = y2
    proof
      let x,y1,y2 be object;
      assume
A3  [xy1 in 
      assume
 [,2  ;
      per cases by A3,A1;
      suppose
A5:    [x,y1] = [[0,0],0];
        then
:  00]& =0XTUPLE_01java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 casesbyA4;
                (java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
        end;
,  [1,]
          4
by,1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                 byXREAL_1:118,A14,A21java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
        suppose [x,y2] = [[0,1],1];
          then x = [0,1] & y2 = 1 by XTUPLE_0:1hence  byA22,A24A23,XXREAL_0:;
          hence hence thesis
        end;
         [,2]=[10]1];
 [,]&y2    1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
          hence thesis by A6,XTUPLE_0:1;
        end;
      end;
      suppose [x,y1] = [[1,1],1];
java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
A7     thesis
        per cases        | x-. 
        suppose [x,y2] = [[0,0],0];
              lim sqrt= (/)  ,h50;
                    hence|<d2 by A24XXREAL_0:; then
        end;
        suppose [x,y2] = [[1,1],1] or [java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 7
          hencethesis 
        end;
      end;
      suppose [x,y1] = [[0)*(!)) = n!*2^*2n*n)
then
:x  01  y1  1 XTUPLE_0:;
java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
        ,y2]=[[0]0;
          then x = [0,0] & y2 = 0 by XTUPLE_0:1;
          hence thesis by A8,XTUPLE_0:1;
        end;
        suppose [      diff(f1)
          hence thesis by A8,XTUPLE_0:1;
        end;
      end;
      suppose [x,y1] = [[1,0],1];
        then
A9:x=[,] =1  XTUPLE_0:java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
        per cases by A4,A1. ((f2`J*f1)x0*((f1`I).x0)byA5,13java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
        suppose [x,y2] = [[0,0],0];
           x = [,0]  =0 XTUPLE_01java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
          hence thesis by A9,XTUPLE_0:1;
        end;
        suppose [x,y2] = [[1,1],1] or [x,y2] = [[0,1],1] or [x,y2] = [[1,0],1];
          hence thesis by A9,XTUPLE_0:1;
        end;
      
    end;
    for x being object st x in comp holds x in [:[:X,X:],X:]
    proof
      let x be object;
      assume
A10:   in ;
      per cases by A10,A1;
      suppose
A11:     x = [[0,0],0];
A12:    0 in X by TARSKI:def 2;
        then [0,0] in [:X,X:] by       (f2*,x0)
        hence x in [:[:X,X:],X:] by A11,A12,ZFMISC_1:def 2;
      end;
      suppose
A13:     x = [[1,1],1];
A14:    1 is_left_differentiable_in f1x0 by A2,A16,; then
        then [1,1] in [:X,X:] by ZFMISC_1:def 2;
        hence x in [:[:X,X:],X:] by A13,A14,ZFMISC_1:def 2;
      end;
      suppose
A15:     x=[01],];
A16:    0 in X & 1 in X by TARSKI:def 2;
        then [0,1] in [:X,X:]       .= (((f2`\J)*f1).x0)*((f1`\I).x0) by A5,A1,FUNCT_1:13;
        hence java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      A35:   r1 be Real st r1  0 ex r0 be  st r0 > &
      suppose
A17:     x = [[1,0],1];
:0in&1 inX TARSKIend;
        then [1,0] in [:X,X:] by ZFMISC_1:def 2;
        hence x in [:[:X,X:],X:] by A17,A18,ZFMISC_1:def 2;
            proof
    end;
    then reconsider comp as PartFunc of [:X,X:],X
     A2T:3UNCT_1:def 1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    set D = CategoryStr(# X, comp #);
A19        s =minr1/2,R2);
    (f1 = 0 & f2 = 0 & f1(*)f2 = 0) or
    assume r1>;then
    (f1 = 0 & f2 = 1 & f1(*)f2 = 1) or
    (f1 = 1 & f2 = 0 & f1(*)f2 = 1)
    roof
      letf1,be D
      assume
   |;java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
      assume
A21:   not (f1 = 0 & f2 = 0 & f1(*)f2 = 0) &
      not (f1 = 1 & f2 = 1 & f1(*)f2 = 1) &
      not (f1 = 0 & f2 = 1 & f1(*)f2 = 1);
      consider y be object such that
A22: [[f1,f2],A38:     0 < d2 &
A23:   f1(*)f2 = (the composition of D).(f1,f2) by Def3,A20
      .= (the composition of D).[f1,f2] by BINOP_1:def 1
      .= y by A22,FUNCT_1:1;
      per cases by A22,A1;
      suppose [[f1,f2],y] = [[0,0],0         | f1.x-f1x0. <s byA11  (2f1) is_differentiable_in x0&
        then [f1,f2] = [0,0] & y = 0 by XTUPLE_0:1;
        java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      end;
      suppose [[f1,f2],y] = [[1,1],1];
        then [f1,f2] = [1,1] & y = 1 by XTUPLE_0:1;
PLE_0;
      end;
      suppose [[f1,f2],y] = [[0,1],1];
        then [f1,f2] = [0,1] & y = 1 by XTUPLE_0:1;
        :  f2  
      end;
      suppose [[f1,f2],y] = [[1A3:f1.:I =J java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
        then [f1,f2] = [1,0] & y = 1 by XTUPLE_0:1;
        hence thesis by A23,XTUPLE_0:1;
      end;
    end;
A24: for f1,f2 being morphism of D holds f1 |> f2
    proof
      let f1,f2 be morphism of D;
      per cases by TARSKI:def 2;
      suppose (f1 = 0 & f2 = 0) or (f1 = 1 & f2 = 1) or (f1 = 0 & f2 = 1);
[,f2, the    byA1java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
        hence thesis by FUNCT_1:1;
      end;
      suppose f1 = 1 & f2 = 0;
        then [[f1,f2],f1] in the composition of D by A1;
        hence thesis by FUNCT_1:1;
      end;
    end;
A25: D is left_composable by A24;
A26: for f,f1,A43:     x in I by,A14,A41; then
    f |> f1(*)f2 iff f |> f1 by A24;
A27: for f1 being morphism of D A9: f1|A is_differentiable_in x0 b A4A7        .xin .: by ,def;
    ex f being morphism of D st f |> f1 & f is left_identity
    proof
      let f1 be morphism of D;
      assume f1 in the carrier of D;
      reconsider f = 0
      take f;
      thus f | f1 by         -r0=  <x0r0 ,1 
      for f2 being morphism of D st f |> f2 holds f (*) f2 = f2
      proof
 f2 morphism  DDjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32

A28:     f |> f2;
        f2 = 0 or java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
        hence f (*) f2 = f2 by A28,A19;
      end;
      hence f is left_identity;
    
    for f1 being morphism of D st f1 in the carrier of D holds
    ex f being morphism of D st f1 |> f & f is right_identity
    proof
      let f1 be morphism of D;
      assume f1 in the carrier of D;
      reconsider f = 0 as morphism of D by TARSKI:def 2;
        -1.  f1. <r1/ byA37,XREAL_02 
      thus f1 |> f by A24;
      for f2 being morphism of D st f2 |> f holds f2 (*) f = f2
      proof
        let f2 be morphism of D;
        assume
A29:     f2 |> f;
        f2 = 0 or f2 = 1 by TARSKI:def 2;
        hence f2 (*) f = f2 by A29,A19;
      end;
      hence f is right_identity;suppose
    end;
    then
A30:is java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    for f1,f2,f3 being morphism of D st f1 |> f2 & f2 |> f3 &
     (* | &f1 > f2 (*) f3       hence .0r0,+.c om(.f1.-1f1]`);
    f1 (*) (f2 (*) f3) = (f1 (*) f2) (*) f3
    
      let f1,f2,f3       end
      assume
A31:  f1 |> f2 & f2 |> f3;
      assume
A32:  f1 (*) f2 |> f3;
      assume
A33:  f1 |> f2 (*) f3;
      per cases by TARSKI:def 2;
      suppose
A34:     f3 = 0;
         byTARSKId 2
        suppose
A35:       f2 = 0;
          then
A36:       f2 (*) f3 = 0 by A34,A31,A19;
          per cases by TARSKI:     =(f2\J       assume  >;java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
          suppose f1 = 0;
            hence f1(*)(f2(*)f3) = (f1(*)f2)(*)f3 by A36,A34,A35;
          end;
          suppose
A37:        f1 = 1;
            then
A38:        f1 (*) f2 = 1 by A31,A19;
            thus f1 (*) (f2 (*) f3) = 1 by A37,A33,A19
            .= (f1 (*) f2) (*) f3 by A32,A38,A19;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 14
;
        suppose
A39:       f2 = 1;
          then f2A26    [.-r0,x0+0.]c= .x0+R1.[by 47;
hence f1 ()(f2 () f3) =(f1 ())(* f3 by ;
        end;
      end;
      suppose
40     f3 = 1;
        then f2 (*) f3 = 1 by A31,A19;
        hence f1 (*) (f2 (*) f3) = 1 by A33,A19
        .= (f1 (*) f2) (*) f3 by A32,A40,A19;
      end;
    end;
    then reconsider D as category by A26,A27,A30,Def6,Def10,Def12,A25,Def9,
    Def11;
    take C,D;
      =1 asmorphism  D  TARSKI:efjava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 55
    deffunc F1(object) = d1;
A41: for x being object st x in the carrier of C
    holds F1(x) in the carrier of D;
    consider F java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
A42: for x being object st x in the carrier of C holds F.x = F1(x)
    from FUNCT_2: 2(A41)
    reconsider F as Functor of C, D;
            |. x-x0.| <d2  ,XXREAL_0:2;tjava.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
    for f1,f2 being morphism of C st         |. f1.x - f1.x0 .| < s by A23,AA1; 
    F.f1 |> F.f2 & F.(f1 (*) f2) = (F .f1) (*) (F .f2)
    proof
      let f1,f2 be morphism of C;
      assume f1 |> f2;
      thus F.f1 |> F.f2 by A24;
      reconsider x1 = f1, x2
   f1.  f1.x0  r1by A21XXREAL_0:2;
 F = F.   . d1 by ;
A45:   d1 |> d1 by A24;
      thus
      .= d1 by A42
      =(.f1)*(.2  A43,44,,19
    end;
    hence F is multiplicative;
    ex f    ex f being morphismjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 17
    proof
      reconsider f = the Object of C as morphism of C by TARSKI:def 3;
      take f;
      thus f is identity by Th22;
      reconsider x = f as object;
A46:   F.f = F.x by Def21 .= 
      ex d0 being morphism of D st d1 |> d0 & not d1(*)d0 = d0
      proof
        reconsider d0 = 0 as morphism of D by TARSKI:def 2;
        take d0;
        thus d1 |> d0 by A24;
        hence not d1(*)d0 = d0 by A19;
      end;
      notFf is identityby ,;
    end;
    hence F is non identity-preserving;
  end;

theorem Th29:
  C is non empty & D is empty implies not ex F being Functor of C,D st
  F is multiplicative        x0 <x0- &x0+<x0+by 815 then
  proof
    
1  is nonemptyjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    then reconsider f = the Object of C as morphism of C by TARSKI:def 3;
A2: f |> f by A1,Th23;
    assume
A3  isjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    assume ex F being Functor of C,D st F is multiplicative
    or F is        thus r0  0 by ,,:1java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    then consider F be Functor of C,D such that
A4:F   oris ;
A5: not F.f |> F.f by A3;
    per cases byA33:  is_left_differentiable_in  f1x0  A2,
    suppose F is multiplicative;
      hence thesis by A5,A2;
    end;
    A59:x  AA12 
      hence thesis by A5,A2;
    end;
  end;

theorem
       [x0-r0x0+]c dom.1x0-r1f.0.|f1)
  F is non multiplicative & F is identity-preserving
  proof
set        min(2,)
    set D = the empty category;
     identity-Functor ,D
    take C,D,F;
    thus thesis by Th29;
  end;

definition
  let C,D,F;
  attr F is covariant means :Def25:
  F is identity-preserving & F is multiplicative;
  attr F is contravariant means
  F is identity-preserving & F is antimultiplicative;
end;

registration
  java.lang.StringIndexOutOfBoundsException: Range [44, 5) out of bounds for length 45
  let D be with_identities CategoryStr;
  cluster covariant contravariant for Functor of C,D;
  correctness
  proof
    set F = the identity-preserving multiplicative antimultiplicative
    Functor of C,D;
    take F;
    thus thesis;
  end;
end;

registration
  let C be with_identities CategoryStr;
let  non ;
  cluster covariant contravariant for Functor of C,D;
  correctness
  proof
    set F = the identity-preserving multiplicative
    Functor of C,D;
    take F;
    thus thesis;
  end;
  endjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11

theorem
  C is non empty & A40    0 <r0 &r0<= /  < 2by A13,XXREAL_0:172; then
  st F is covariant or F is contravariant by Th29;

definition
  let C,D be
  let F be covariant Functor of C,D;
  let f be       diff(f2*f1,x0)
  redefine func F.f -> Object of D;
  coherence
     hence f2)(`)f1()f1\) VALUED_1;
    f in Ob(C);
    then consider f1 be morphism of C such that
A1: f = f1 & f1 is identity & f1 in Mor(C);
    F.A62:   f.x0  .inf ,supJ.  ,15Th3;then
    then F.f1 in Ob(D);
    hence thesis by A1,Def21;
      hence (*)is_differentiable_in  A10FDIFF_2:;
end;

theorem Th32:
  for C,D being non empty composable with_identitiesA41    =(,f1x0diff(10 A63,DIFF_2:3
      F being covariant Functor of C,D,
      f being morphism of C
  holds F.(dom f) = dom(F.f  
  proof
    let C,D be non empty composable       .= (((f2`\J)*f1).x0)*((f1`\I).x0) by A5,A1,FU:13java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
    let F be covariant Functor of C,D;
    f  morphism  ;
A1: F is multiplicative by Def25;
    consider d be morphism of C such that
A2: A2: dom
    F.(dom f) in Ob(D);
    then reconsider d1 = F.A42:     x [x0rxr0.; then
A3: F.f |> F.d by A2,A1;
A4: F.d = F.(dom f) by A2,Def21;
isidentityTh22
    hence F.(dom f) = dom(F.f) by A3,A4,Def18;
      bemorphism f suchthat
A5: cod f = c & c |> f & c is identity by Def19;
    F.(cod f) in Ob(D);
    then reconsider c1 = F.(cod f) as morphism of D;
A6: F.c |> F.f by A5,A1;
A7: F.c = F.(cod f) by A5,Def21;
    c1 is identity by Th22;
    hence F.(cod f) = cod(F.f) by A6,A7,Def19;
  end;

theorem
  for C,D non ,
      F being covariant Functor of C,D,
o being   holds .(d o)  id-F) by Def21java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62

definition
  let C,D,E;
  let F,G;
  assume
riant or F iscontravariant 
    (G is covariant or G is contravariant);
  func G (*) F -> Functor of C,E equals
  F * G;

  proof
    set FG  = F * G;
    reconsider FG as PartFunc of the carrier of C, the carrier of E;
    not (C is non empty & D is empty)
    & not (D is non empty & E is empty) by A1,Th29;
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 17
  end;
end;

theorem Th34:
is A700</  2  215,16;
  proof
    assume
A1: F is covariant;
    
A2: G is covariant;
    assume
A3: C is non empty;
    
A4: D is non empty by A1,Th29;
    then
A5: E is non empty by A2,Th29;
    reconsider x = f as object;
A6: dom(G (*) F) = the        Ldiff(,.x0*(1,)by,A33A,
A7: F.x = F.f by A3,Def21;
    then
A8: G.(F.x) = G.(F.f) by A4,Def21;
A9: dom F = the carrier      A72:     < java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    dom G = the carrier of D by A5,FUNCT_2:def 1;
    then [x,F              end;
    then [f,G.(F.f)] in F * G by A8,RELAT_1:def 8;
    then
A10: [f,G.(F.f)] in G (*) F by A1,A2,Def27;
    thus (G(*)F).f = (G(*)F).x by A3,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 31
. .Ff A10A,:ef 2java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  end;

theorem
  F is covariant & G is covariant implies G (*) F is covariant
 
    assume
A1: F is covariant;
    assume
A2: G is covariant;
           -1<x0- &x0+  +R1by 8,;then
    for f being morphism of C st f is identity holds GF.f is identity
    proof
      let f be morphism of C;
      assume
A3:   f is identity;
      per cases;
      suppose
A4:     C is non empty;
A7:     F.f is identity by A1,A3,Def22;
        (()F)f=G(F.)by ,2,h34,;
        hence GF.f is identity by A2,A7,Def22;
      end;
      suppose
A8:     C is empty;
         ;
        suppose
A9:       E is non empty;
          GF.f = the Object of E by A8,Def21;
          hence end;
        end;
        is ;hence .f  identity by ;end;
      end;
    end;
       java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
A10: GF is identity-preserving;
f1f   of C f1 | f2 holds
    GF.f1 |> GF.f2 & GF.(f1 (*) f2) = (GF.f1) (*) (GF.f2)
    proof
      let f1,f2 be morphism of C;
      assume
A11:   f1 |> f2;
      then
A12:   C is non empty;
A15:GFf1=G.Ff1)byA12,,A2,Th34java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A16:   G is multiplicative by A2;
      F is multiplicative by A1;
      then
A17:   F.f1 |> F.f2 & F.(f1 (*) f2) = (F.f1) (*) (F.f2) by A11;
      then G.(F.f1) |> G.(F.f2) &
      G.((F.f1) (*) (F.f2)) = (G.(F.f1)) (*) (G.(F.f2)) by A16;
      hence GF.f1 |> GF.f2 by A15,A12,A1,A2,Th34;
      thus GF.(f1 (*)         R2 > .. = FDIFF_3def ;
      .= (G.(F.f1)) (*) (G.(F.f2)) by A17,A16
      .= (GF.f1) (*) (GF.f2) by A15,A12,A1,A2,Th34;
    end;
   ence G *  iscovariantbyA10,;
  end;

definition
  let C;
  redefine func id C -> Functor of C,C;
  coherence;
;

registration
  let C;
  cluster id C -> covariant;
  correctness
  proof
    set F = id C;
A1: F = id the carrier of C by STRUCT_0:def 4;
    for f1,end;
    holds F.f1 |> F.f2 & F.(f1(*)f2) = (F.f1)(*)(F.f2)
    
      let f1,f2 be morphism of C;
      assume A2: f1 |> f2;
      per cases;
      suppose
A3:     C is non empty;
        reconsider x1=f1, x2=f2, x3=f1(*)f2 as object;
A4:     F.f1 = F.x1 by A3,Def21 .= f1 by A1;
A5:     F.f2 = F.x2 by A3,Def21 .= f2 by A1;
A6    diff(f2*,x0
        thus F.f1 |> F.f2 by A4,A5,A2;
        thus F.f1())=(.()Ff2)by A4,,forx    dom &|x- .| 
      end;
      suppose          |. f1.x -f1..|<s by A11,52,50XXREAL_021FCONT_13
        hence thesis by A2;
      end;
    end;
    then
A7:Fis ;
fb of st    holds F.f is 

      let f be morphism of C;
      assume A8:f is ;
      per cases;
      suppose
A9:     C is non empty;
        reconsider x=f as object;
        F.f = F.x by A9,Def21 .= f by A1;
        hence F.f is identity by A8;
      end;
      suppose C is empty;
        hence F.f is identity by Th10;
      end;
    end;
    hence thesis by A7,Def22;
  end;
end;

definition
  let C,D;
  pred C,D are_isomorphic means
  ex F being Functor of C,D, G being Functor of D,C
  st F is covariant & G is covariant  6:   0 <r0&r0 < d2/2  &r0 =R12by ,:17,;then
  reflexivity
  proof
    let C be with_identities CategoryStr;
    set F = id C, G = id C;
A1: F = id the carrier of C & G = id the carrier of C by STRUCT_0:def 4;
    take F,G;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    .= id ((the carrier of C) /\ (the carrier of C)) by FUNCT_1:22
    .= id C by STRUCT_0:def 4;
    hence       thus r0>0 by,XXREAL_0java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  ;
  symmetry;
end;

notation
  let C,D;
  synonym C ~= D for C,D are_isomorphic;
end;

begin :: Transform a category in the other

Lm4:
  for C being CategoryStr, f,g being morphism of C st       hence difff2f1,)=((f2\)f1)#(`I)x0 by :;
  holds g (*) f = (the composition of C).[g,f]
  proof
    let C be  end;
        r0 =x & x- =r0  :, then
    assume g |> f;
    hence g (*) f = (        . x- |<   ABSVALUE5 
    .= (the composition of C).[g,f] by BINOP_1:def 1;
  end;

Lm5:
    being java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 63
  for f,g,h being morphism of C st h |> g & g |> f
  holdsh*(*f)= (h())*f
  proof
    let C be composable CategoryStr;
    hereby
      assume
  f1  f1.    XXREAL_0:; 
A2:   C is left_composable & C is A85     java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
      let f,g,h be morphism of C;
      assume
A3:  >  g| f;
      then h *  >f  h >g() f  ;
       h()g()) =(())*f  ,java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    end;
      f,,    C java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
    h |> g & g |> f holds h(*)(g(*)f) =rng(1A =  A83,;then
    hence C is associative;


definition
  let C be CategoryStr;
  func CompMap(C) ->
       PartFunc of [:Mor(C), Mor(C):], Mor(C) equals
  the composition of C;
  correctness;
end

definition
  let C be composable with_identities CategoryStr;
  func SourceMap(C) -> Function of Mor(C), Ob(C) means :Def30:
  for f being Element of Mor(C) holds it.f = dom f if C is non empty
  otherwise it = {};
  correctness
  proof
A1: not C is empty implies ex F being Function of Mor(C), Ob(C) st
    for f being Element of Mor(C) holds F.f = dom f
    proof
      assume not C is empty;
      then reconsider A = Mor(C), O = Ob(C) as non empty set;
      defpred P[set,set] means
      ex a being Element of Mor(C), o being Element of Ob(C)
 o=;
:  of  being of   [x]
      proof
        let x be Element of A;
        reconsider   as Element of Mor(C);
        reconsider y = dom f as Element of O;
       y;
        thus P[x,y];
      ;
      consider F be Function of A, O such that
A3:   for x being Element of A holds P[x,F.x] from FUNCT_2:sch 3(A2);
reconsider  asof (),Ob(C
      take F;
      let f be Element of Mor(C);
      P[f Jc= by  java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
      hence thesis;
    end;
A4: C is empty implies ex F being Function of Mor(C), Ob(C)
    st F = {}
    proof
      assume C is empty;
      then Mor(C) = {} & Ob(C) = {};
      then reconsider F = {} as Function of Mor(C(     ;
      take F;
      thus thesis;
    end;
 ofC,()
    (for f being Element of Mor(C) holds F1.f = dom f) &
    for     (  .f   f)
    implies F1 = F2
    proof
      let F1,F2 be Function of Mor(C), Ob(C);
      assume
A6:   for f being Element of Mor(C) holds F1.f = dom f;
      assume
A7:   for f being Element of Mor(C) java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 0
for   t in Mor()holds .  .x
      proof
        let x be object;
        assume x in Mor(C);
        then reconsider f = x as Element of Mor(C)A7 f1"f1.: = (`J*)by A3,:;
        thus F1.x = dom f by A6 .= F2.x by A7;
      end;
      hence thesis by FUNCT_2:12;
    end;
    thus thesis by A1,A4,A5;
  nd
  func TargetMap(C) -> Function of Mor(C), Ob(C) means :Def31:
  for f being Element of Mor(C) holds it.f = cod f if C is non empty
  otherwise it = {};
  correctness
  proof
A8: not C is empty implies ex F being Function of Mor(C), Ob(C) st
    for f being Element of Mor(C) holds F.f = cod f
    proof
      assume not C is empty;
      then reconsider A = Mor(C), O = Ob(      hence by ,2,,,Lm28java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
      defpred P[set,set] means
      ex a being Element of Mor(C), o being Element of Ob(C)
      st (2*)\  (2`J)f1)#(`I  A5,,ef2java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
A9:  for end;
      proof
        let x be Element of A;
        reconsider f = x as Element of Mor(C);
        reconsider y = cod f as Element of O;
        take y;
        thus P[x,y];
      end;
      consider F be Function of A, O such that
A10:   for x being Element of A holds P[x,F.x] from FUNCT_2:sch 3(A9);
      reconsider F as Function of Mor(C), Ob(C);
      take F;
      let f be Element of Mor(C);
      P[f,F.f] by A10;
      hence thesis;
    end;
A11: C is empty implies ex F being Function of Mor(C), Ob(C)
    st F = {}
    proof
      assume C is empty;
      then Mor(C) = {} & Ob(C) = {};
      then reconsider F = {} as Function of Mor(C), Ob(C);
      take F;
      thus thesis;
    end;
A12: for F1, F2 being Function of Mor(C), Ob(C) holds
    (for f being Element of Mor(C) holds F1.f = cod f) &
    (for f being Element of Mor(C) holds F2.f = cod f)
    implies F1 = F2
    proof
      let java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

A13:   for f being Element of Mor(C) holds F1.f = cod f;
      assume
A14:   for f being Element of Mor(C) holds F2.f = cod f;
      for x being object st x in Mor(C) holds F1.x = F2.x
      proof
        let x be object;
        assume x in Mor(C);
        then reconsider f = x as Element of Mor(C);
        thus F1.x = cod f by A13 .= F2.x by A14;
      end;
      hence thesis by FUNCT_2:12;
    end;
    thus thesis by A8,A11,A12;
  end;
end;

definition
  let C be with_identities CategoryStr;
  func IdMap(C) -> Function of Ob(C), Mor(C) means :Def32:
  for o being Element of Ob(C) holds it.o = id-o if C is non empty
  otherwise it = {};
  correctness
  proof
A1: not C is empty implies ex F being Function of Ob(C), Mor(C) st
    for o being Element of Ob(C) holds F.o = id-o
    proof
      assume not C is empty;
      then reconsider A = Mor(C), O = Ob(C) as non empty set;
      defpred P[set,set] means
      ex o being Element of Ob(C), a being Element of Mor(C)
      st o = $1 & a = $2 & a = id-o;
A2:  for x being Element of O ex y being Element of A st P[x,y]
      proof
        let x be Element of O;
        reconsider o = x as Element of Ob(C);
        reconsider y = id-o as Element of A;
        take y;
        thus P[x,y];
      end;
      consider F be  x0 <r0  +  x0+by :15 
A3:   for x being Element of O holds P[x,F.x] from FUNCT_2:sch 3(A2);
      reconsider F as Function of Ob(C), Mor(C);
      take F;
      let o be Element of Ob(C);
      P[o,F.o] by A3;
      hence thesis;
    end;
A4: C is empty implies ex F being Function of Ob(C), Mor(C)
    st F = {}
    proof
      assume C is empty;
      then Mor(C) = {} & Ob(C) = {};
      then reconsider F = {} as Function of Ob(C), Mor(C);
      take F;
      thus thesis;
    end;
A5: for F1, F2 being Function of Ob(C), Mor(C) holds
    (for o being Element of Ob(C) holds F1.o = id-o) &
    (for o being Element of Ob(C) holds F2.o = id-o)
    implies        thus r0>0 A13A73,XREAL_0:;
    proof
      let F1,F2 be java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 25
      assume
A6:   for o being Element ofA76:  .-r0,r0.;then
      assume
A7:   for o being Element of Ob        0-r0 =x&x =+r0 ,:;then
      for x being object st x in Ob(C) java.lang.StringIndexOutOfBoundsException: Range [55, 43) out of bounds for length 55
      proof
        let x be object;
        assume x in Ob(C);
        then reconsider o = x as Element of Ob(C);
        thus F1.x = id-o by A6 .= F2.x by A7;
      end;
 :;
    end;
    thus thesis by A1,A4,A5;
  end;
end;

theorem Th37:
  for C being non empty composable with_identities CategoryStr
  for f,g being Element of Mor(C)        hence [.x0-r0,x0+r0.] c= dom([.f,x0r1.`1;
  [g,f] in dom(CompMap(C)) iff (SourceMap(C)).g = (TargetMap(C)).f
  proof
    let C be non empty composable with_identities CategoryStr;
    let f,g be Element         Rdiffff.*f,)by A67,,
    hereby
     gf  dom());
      then
A1:   g |> f;
      consider u be morphism of C such that
A2:   dom g = u & g |> u & u is identity  . ((f2\J*)x0*(\)x0 A5,,:;
      g (*) u = g by A2,Def5;
      then
A3:   u |> f by A2,A1,Lm3;
      thus (SourceMap(C)).g = dom g by Def30
      .= cod f by A3,A2,Def19
      .= (TargetMap(C)).f by Def31;
    end;
    assume
A4: (SourceMap(C)).g = (TargetMap(C)).f;
A5: dom g = (SourceMap(C)).g by Def30
    .= cod f by A4,Def31;
    consider d be morphism of C such that
A6: dom g = d & g |> d & d is identity by Def18;
    consider c be morphism of C such that
  (*)  x0by A10F1;
    g(*)d |> f by A6,A7,A5,Lm3;
    hence [g,f] in dom(CompMap(C)) by A6,Def5;
  end;

theorem Th38:
    for C being composable with_identities CategoryStr
    for f,g being Element of Mor(C)
    st (SourceMap(C)).g = (TargetMap(C)).f holds
    (SourceMap(C)).((CompMap(C)).(g,f)) = (SourceMap(C)).f &
    (TargetMap(C)).((CompMap(C)).(g,f)) = (TargetMap(C)).g
    proof
      A86:  inf<  x0 supJbyA84,A8,XXREAL_1;
      let f,g be Element of Mor(C);
      assume
A1:   (SourceMap(C)).g = (TargetMap(C)).f;
      per cases;
      suppose
A2:     C is empty;
        thus (SourceMap(C)).((CompMap(C)).(g,f)) = {} by A2
        .= (SourceMap(C)).f by A2;
        thus (TargetMap(C)).((CompMap(C)).(g,f)) = {} by A2
        .= (TargetMap(C)).g by A2;
      end;
      suppose
A3:     not C is empty;
        then
A4:     [g,f] in dom (CompMap(C)) by A1,Th37;
        then
A5:     (CompMap(C)).[g,f] in rng (CompMap(C)) by FUNCT_1:3;
        reconsider a = (CompMap(C)).(g,f) as Element of Mor(C)
        by A5,BINOP_1:def 1;
        consider d be morphism of C such that
A6:     dom a = d & a |> d & d is identity by A3,Def18;
A7:     g |> f by A4;
A8:    a = (the composition of C).[g,f] by BINOP_1:def 1
        .= g (*) f by A4,Def2,Lm4;
        then f |> d by A6,A7,Lm3;
        then
A9:     dom a = dom f by A3,A6,Def18;
        thus (SourceMap(C)).((CompMap(C)).(g,f)) = dom a by A3,Def30
        .= (SourceMap(C)).f by A9,A3,Def30;
        consider c be morphism of C such that
A10:     cod a = c & c |> a & c is identity by A3,Def19;
        c |> g by A10,A7,A8,Lm3;
        then
A11:     cod a = cod g by A3,A10,Def19;
        thus (TargetMap(C)).((CompMap(C)).(g,f)) = cod a by A3,Def31
        .= (TargetMap(C)).g by A11,A3,Def31;
      end;
    end;

theorem Th39:
    for C being composable associative with_identities CategoryStr
    for f,g,h being Element of Mor(C)
    st (SourceMap(C)).h = (TargetMap(C)).g &
    (SourceMap(C)).g = (TargetMap(C)).f
    holds (CompMap(C)).(h,(CompMap(C)).(g,f)) =
    (CompMap(C)).((CompMap(C)).(h,g),f)
    proof
      let C be composable associative with_identities    *)\  (f2`J*()f1\)
      let f,g,h be Element of Mor(C);
      assume
A1:   (SourceMap(C)).h = (TargetMap(C)).g &
      (SourceMap(Cassumethat
      per cases;
      
A2:     C is empty;
        thus (CompMap(C)).(h,(CompMap(C)).(g,f))
        = (CompMap(C)).[h,(CompMap(C)).(g,f)] by BINOP_1:def 1
        .= {} by A2
        .= (CompMap(C)).[(CompMap      be Real  x in  holds
        .= (CompMap(C)).((CompMap(C)).(h,g),f) by BINOP_1:def 1;
      end;
      suppose
A3:     not C is empty;
A4:    [h,g] in dom(CompMap(C)) by Th37,A3,A1;
     x =sup implies (2*)I  x)&
A5:    h |> g;
:   [f  dom(ompMapC)) by Th37,A3A1
        then
A7:    g |> f;
A8:     h |> g(*)f by A7,A5,Lm3;
A9:     h(*)g |> f by A7,A5,Lm3;
A10:     (CompMap(C)).(g,f) = (the composition of C).[g,f] by BINOP_1:def 1
        .= g(*)f byA5: ff1 is_differentiable_on_interval I A4,;
A11:     (CompMap(C)).(h,g) = (the composition of C).[h,g] by BINOP_1:def 1
        .= h(*)g by A4,Def2,Lm4;
        thus (CompMap(C)).(h,(CompMap(C)).(g,f))
        = (CompMap(C)).[h,g(*)f] by A10,BINOP_1:def 1
   = h()g(*)f) by A8,Lm4
        .= (h(*)g)(*)f by A5,A7,Lm5
        .= (CompMap(C)).[h(*)g,f] by A9,Lm4
        .= (CompMap(C)).((CompMap(C)).(h,g),f) by A11,BINOP_1:def 1;
      end;
    end;

 :
  for C being composable with_identities CategoryStr
  for b being Element of Ob(C) holds
    (SourceMap(C)).((IdMap(C)).b) =      assume x< I&x<  I java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
    (for f being Element of Mor(C) st (TargetMap(C)).f = b
     holds CompMap().(IdMap(C).,f)  ) java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
     for g being Element of Mor(C) st (SourceMap(C)).g = b
     holds (CompMap(C)).(g,(IdMap(C)).b) = g
  proof
    let C be composable with_identities CategoryStr;
    let b be  of C;
    per cases;
    suppose
A1:   C is empty;
      then
A2:   b = {} by SUBSET_1:def 1;
      thus (SourceMap(C)).((IdMap(C)).b) = b by A1,A2;
      thus (TargetMap(C)).((IdMap(C)).b) = b by A1,A2;
      thus for f being Element of Mor(C) st (TargetMap(C)).f = b
      holds (CompMap(C)).((IdMap(C)).b,f) = f
      proof
        let f be Element of Mor(C);
        assume (TargetMap(C)).f = b;
A3:     f = {} by A1,SUBSET_1:def 1;
        thus (CompMap(C)).((IdMap(C)).b,f)
        = (the composition of C).[(IdMap(C)).b,f] by BINOP_1:def 1
        .= f by A1,A3;
      end;
      thus for g being Element of Mor(C) st (SourceMap(C)).g = b
      holds (CompMap(C)).(g,(IdMap(C)).b) = g
      proof
        let g be Element of Mor(C);
        assume (SourceMap(C)).g = b;
A4:     g = {} by A1,SUBSET_1:def 1;
        thus (CompMap(C)).(g,(IdMap(C)).b)
        = (the composition of C).[g,(IdMap(C)).b] by BINOP_1:def 1
        .= g by A1,A4;
      end;
    end;
    suppose
A5:   not C is empty;
      then
A6:   (IdMap(C)).b = id-b by Def32 .= b;
      not Ob(C) is empty by A5;
      then b in Ob(C);
      then reconsider u = b as Element of Mor(C);
A7:   u is identity by A5,Th22;
      consider d be morphism of C such that
A8:   dom u = d & u |> d & d is identity by A5,Def18;
A9:   d = u (*) d by A7,A8,Def4 .= u by A8,Def5;
      thus
A10:  (SourceMap(C)).((IdMap(C)).b) = b by A8,A9,A6,A5,Def30;
      consider c be morphism of C such that
A11:   cod u = c & c |> u & c is identity by A5,Def19;
A12:   c = c (*) u by A7,A11,Def5 .= u by A11,Def4;
      thus
A13:  (TargetMap(C)).((IdMap(C)).b) = b by A11,A12,A6,A5,Def31;
      thus for f being Element of Mor(C) st (TargetMap(C)).f = b
      holds (CompMap(C)).((IdMap(C)).b,f) = f
      proof
        let f be Element of Mor(C);
        assume (TargetMap(C)).f = b;
        then
A14:   [u,f] in dom(CompMap(C)) by A6,A10,A5,Th37;
        then
A15:    u |> f;
        thus (CompMap(C)).((IdMap(C)).b,f) = (CompMap(C)).[u,f]
        by A6,BINOP_1:def 1
        .= u (*) f by A14,Def2,Lm4
        .= f by A7,A15,Def4;
      end;
      thus for g being Element of Mor(C) st (SourceMap(C)).g = b
      holds (CompMap(C)).(g,(IdMap(C)).b) = g
      proof
        let g be Element of Mor(C);
        assume (SourceMap(C)).g = b;
        then
A16:   [g,u] in dom(CompMap(C)) by A6,A13,A5,Th37;
        then
A17:    g |> u;
        thus (CompMap(C)).(g,(IdMap(C)).b)
        = (CompMap(C)).[g,u] by A6,BINOP_1:def 1
        .= g (*) u by A16,Def2,Lm4
        .= g by A7,A17,Def5;
      end;
    end;
  end;

Lm6:
  for C being non empty category holds
  CatStr(# Ob(C), Mor(C), SourceMap(C), TargetMap(C), CompMap(C) #)
  is Category
  proof
    let C be non empty composable associative with_identities CategoryStr;
    set CC = CatStr(# Ob(C), Mor(C), SourceMap(C),
    TargetMap(C), CompMap(C) #);
    reconsider CC as non empty non void CatStr;
A1: for f,g being Morphism of CC
    holds [g,f] in dom(the Comp of CC) iff dom g = cod f
    proof
      let f,g be Morphism of CC;
      (the Source of CC).g = dom g &
      (the Target of CC).f = cod f by GRAPH_1:def 4,def 3;
      hence thesis by Th37;
    end;
A2: for f,g being Morphism of CC st dom g = cod f
    holds dom(g (*) f) = dom f & cod(g (*) f) = cod g
    proof
      let f,g be Morphism of CC;
      assume A3: dom g = cod f;
      then
      A4: (the Source of CC).g = cod f by GRAPH_1:def 3
      .= (the Target of CC).f by GRAPH_1:def 4;
      A5: [g,f] in dom the Comp of CC by A3,A1;
      thus dom(g (*) f) = (the Source of CC).(g (*) f) by GRAPH_1:def 3
      .= (the Source of CC).((the Comp of CC).(g,f)) by A5,CAT_1:def 1
      .= (the Source of CC).f by A4,Th38
      .= dom f by GRAPH_1:def 3;
      thus cod(g (*) f) = (the Target of CC).(g (*) f) by GRAPH_1:def 4
      .= (the Target of CC).((the Comp of CC).(g,f)) by A5,CAT_1:def 1
      .= (the Target of CC).g by A4,Th38
      .= cod g by GRAPH_1:def 4;
    end;
A6: for f,g,h being Morphism of CC st dom h = cod g & dom g = cod f
    holds h(*)(g(*)f) = (h(*)g)(*)f
    proof
      let f,g,h be Morphism of CC;
      assume A7: dom h = cod g;
      then
      A8: (the Source of CC).h = cod g by GRAPH_1:def 3
      .= (the Target of CC).g by GRAPH_1:def 4;
      A9: [h,g] in dom the Comp of CC by A7,A1;
      assume A10: dom g = cod f;
      then
      A11: (the Source of CC).g = cod f by GRAPH_1:def 3
      .= (the Target of CC).f by GRAPH_1:def 4;
      A12: [g,f] in dom the Comp of CC by A10,A1;
      dom h = cod(g(*)f) by A2,A7,A10;
      then
      A13: [h,g(*)f] in dom the Comp of CC by A1;
      dom (h(*)g) = cod f by A2,A7,A10;
      then
      A14: [h(*)g,f] in dom the Comp of CC by A1;
      thus h(*)(g(*)f) = (the Comp of CC).(h,g(*)f) by A13,CAT_1:def 1
      .= (the Comp of CC).(h,(the Comp of CC).(g,f)) by A12,CAT_1:def 1
      .= (the Comp of CC).((the Comp of CC).(h,g),f) by Th39,A8,A11
      .= (the Comp of CC).(h(*)g,f) by A9,CAT_1:def 1
      .= (h(*)g)(*)f by A14,CAT_1:def 1;
    end;
A15: for b being Element of CC holds (IdMap(C)).b in Hom(b,b)
    proof
      let b be Element of CC;
      reconsider o = b as Element of Ob(C);
      reconsider f = o as Morphism of CC by TARSKI:def 3;
      A16: (IdMap(C)).b = id- o by Def32 .= f;
      (SourceMap(C)).((IdMap(C)).b) = b & (TargetMap(C)).((IdMap(C)).b) = b
      by Th40;
      then (SourceMap(C)).(id- o) = b & (TargetMap(C)).(id- o) = b by Def32;
      then dom f = b & cod f = b by GRAPH_1:def 3,def 4;
      hence (IdMap(C)).b in Hom(b,b) by A16,CAT_1:1;
    end;
    then
A17: for b being Element of CC holds Hom(b,b) <> {};
    for a being Element of CC
    ex i being Morphism of a,a st
    for b being Element of CC holds
    (Hom(a,b)<>{} implies for g being Morphism of a,b holds g(*)i = g) &
    (Hom(b,a)<>{} implies for f being Morphism of b,a holds i(*)f = f)
    proof
      let a be Element of CC;
      set i = (IdMap(C)).a;
      A18: i in Hom (a,a) by A15;
      then reconsider i as Morphism of a,a by CAT_1:def 5;
      take i;
      let b be Element of CC;
      thus (Hom(a,b)<>{} implies for g being Morphism of a,b holds g(*)i = g)
      proof
        assume A19: Hom(a,b)<>{};
        let g be Morphism of a,b;
        g in Hom(a,b) by A19,CAT_1:def 5;
        then
        A20: dom g = a by CAT_1:1;
        then dom g = cod i by A18,CAT_1:1;
        then
        A21: [g,i] in dom the Comp of CC by A1;
        (the Source of CC).g = a by A20,GRAPH_1:def 3;
        then (CompMap(C)).(g,(IdMap(C)).a) = g by Th40;
        hence g(*)i = g by A21,CAT_1:def 1;
      end;
      assume A22: Hom(b,a)<>{};
      let f be Morphism of b,a;
      f in Hom(b,a) by A22,CAT_1:def 5;
      then
      A23: cod f = a by CAT_1:1;
      then cod f = dom i by A18,CAT_1:1;
      then
      A24: [i,f] in dom the Comp of CC by A1;
      (the Target of CC).f = a by A23,GRAPH_1:def 4;
      then (CompMap(C)).((IdMap(C)).a,f) = f by Th40;
      hence i(*)f = f by A24,CAT_1:def 1;
    end;
    hence thesis by A1,A2,A6,A17,CAT_1:def 6,def 7,def 8,def 9,def 10;
  end;

definition
  let C be non empty category;
  func Alter(C) -> strict Category equals
  CatStr(#Ob(C), Mor(C), SourceMap(C), TargetMap(C), CompMap(C)#);
  coherence by Lm6;
end;

Lm7:
  for C being Category holds
  CategoryStr(# the carrier' of C, the Comp of C #) is category
  proof
    let C be Category;
    consider o be object such that
A1: o in the carrier of C by XBOOLE_0:def 1;
    reconsider o as Object of C by A1;
    reconsider cc = CategoryStr (# the carrier' of C, the Comp of C #)
    as non empty CategoryStr;
A2: for f,g being morphism of cc, f1,g1 being Element of the carrier' of C
    st g = g1 & f = f1 & g |> f holds g(*)f = g1(*)f1
    proof
      let f,g be morphism of cc;
      let f1,g1 be Element of the carrier' of C;
      assume
A3:   g = g1 & f = f1;
      assume
A4:   g |> f;
      thus g(*)f = (CompMap(cc)).[g1,f1] by A3,A4,Lm4
      .= (the Comp of C).(g1,f1) by BINOP_1:def 1
      .= g1(*)f1 by A3,A4,CAT_1:def 1;
    end;
A5: for f,g,h being morphism of cc holds
    (h(*)g |> f & h |> g implies g |> f) &
    (h |> g(*)f & g |> f implies h |> g) &
    (g |> f & h |> g implies
    h(*)g |> f & h |> g(*)f)
    proof
      let f,g,h be morphism of cc;
      reconsider f1=f,g1=g,h1=h as Morphism of C;
      thus (h(*)g |> f & h |> g
      implies g |> f)
      proof
        assume
A6:    h(*)g |> f;
        assume
A7:     h |> g;
        then
A8:     dom h1 = cod g1 by CAT_1:def 6;
        h(*)g = h1(*)g1 by A7,A2;
        then dom(h1(*)g1) = cod f1 by A6,CAT_1:def 6;
        then dom g1 = cod f1 by A8,CAT_1:def 7;
        hence g |> f by CAT_1:def 6;
      end;
      thus (h |> g(*)f & g |> f
      implies h |> g)
      proof
        assume
A9:   h |> g(*)f;
          assume
A10:       g |> f;
          then
A11:       dom g1 = cod f1 by CAT_1:def 6;
          g(*)f = g1(*)f1 by A10,A2;
          then
          dom h1 = cod(g1(*)f1) by A9,CAT_1:def 6;
          then dom h1 = cod g1 by A11,CAT_1:def 7;
          hence h |> g by CAT_1:def 6;
        end;
        assume
A12:    g |> f;
        then
A13:    dom g1 = cod f1 by CAT_1:def 6;
        assume
A14:     h |> g;
A15:     dom h1 = cod g1 by A14,CAT_1:def 6;
        dom(h1(*)g1) = cod f1 by A13,A15,CAT_1:def 7;
        then [h1(*)g1, f1] in dom(CompMap(cc)) by CAT_1:def 6;
        hence h(*)g |> f by A14,A2;
        dom h1 = cod g1 by A14,CAT_1:def 6;
        then dom h1 = cod(g1(*)f1) by A13,CAT_1:def 7;
        then [h1, g1(*)f1] in dom(CompMap(cc)) by CAT_1:def 6;
        hence h |> g(*)f by A12,A2;
      end;
A16: for f,g,h being morphism of cc
    st h |> g & g |> f
    holds h(*)(g(*)f) = (h(*)g)(*)f
    proof
      let f,g,h be morphism of cc;
      reconsider f1=f,g1=g,h1=h,gf1=g(*)f,hg1=h(*)g as Morphism of C;
      assume
A17:   h |> g;
      then
A18:   dom h1 = cod g1 by CAT_1:def 6;
      assume
A19:   g |> f;
      then
A20:   dom g1 = cod f1 by CAT_1:def 6;
A21:  h |> g(*)f by A17,A19,A5;
A22:  h(*)g |> f by A17,A19,A5;
      thus h(*)(g(*)f) = h1(*)gf1 by A21,A2 .= h1(*)(g1(*)f1) by A19,A2
      .= (h1(*)g1)(*)f1 by A20,A18,CAT_1:def 8
      .= (hg1)(*)f1 by A17,A2
      .= (h(*)g)(*)f by A22,A2;
    end;
A23: for f being morphism of cc st f in Mor(cc) holds
    (ex c being morphism of cc st c |> f & c is identity) &
    (ex d being morphism of cc st f |> d & d is identity)
    proof
      let f be morphism of cc;
      assume f in Mor(cc);
      reconsider f1=f as Morphism of C;
      thus (ex c being morphism of cc st c |> f & c is identity)
      proof
        set c1 = id cod f1;
A24:    dom c1 = cod f1;
        reconsider c = c1 as morphism of cc;
        take c;
        thus c |> f by A24,CAT_1:def 6;
A25:     for ff being morphism of cc st c |> ff holds c (*) ff = ff
        proof
          let ff be morphism of cc;
          reconsider ff1=ff as Morphism of C;
          assume A26: c |> ff;
          then
          A27: dom c1 = cod ff1 by CAT_1:def 6;
          thus c (*) ff = c1(*)ff1 by A26,A2 .= ff by A27,CAT_1:21;
        end;
        for gg being morphism of cc st gg |> c holds gg (*) c = gg
        proof
          let gg be morphism of cc;
          reconsider gg1=gg as Morphism of C;
          assume A28: gg |> c;
          then
          A29: cod c1 = dom gg1 by CAT_1:def 6;
          thus gg (*) c = gg1(*)c1 by A28,A2 .= gg by A29,CAT_1:22;
        end;
        hence c is identity by A25,Def4,Def5;
      end;
      set d1 = id dom f1;
A30:  cod d1 = dom f1;
      reconsider d=d1 as morphism of cc;
      take d;
      thus f |> d by A30,CAT_1:def 6;
A31:   for ff being morphism of cc st d |> ff holds d (*) ff = ff
      proof
        let ff be morphism of cc;
        reconsider ff1=ff as Morphism of C;
        assume A32: d |> ff;
        then
        A33: dom d1 = cod ff1 by CAT_1:def 6;
        thus d (*) ff = d1(*)ff1 by A32,A2 .= ff by A33,CAT_1:21;
      end;
      for gg being morphism of cc st gg |> d holds gg (*) d = gg
      proof
        let gg be morphism of cc;
        reconsider gg1=gg as Morphism of C;
        assume A34: gg |> d;
        then
A35:    cod d1 = dom gg1 by CAT_1:def 6;
        thus gg (*) d = gg1(*)d1 by A34,A2 .= gg by A35,CAT_1:22;
      end;
      hence d is identity by A31,Def4,Def5;
    end;
    set CS = CategoryStr (# the carrier' of C, the Comp of C #);
    CS is composable by A5,Lm3;
    hence thesis by A23,A16,Lm5,Lm2;
  end;

definition
  let A be Category;
  func alter(A) -> strict category equals
  CategoryStr(# the carrier' of A, the Comp of A #);
  coherence by Lm7;
end;

registration
  let A be Category;
  cluster alter(A) -> non empty;
  correctness;
end;

theorem Th41:
  for A being Category, a1,a2 being (Morphism of A),
  f1,f2 being morphism of alter(A) st a1 = f1 & a2 = f2 &
  [a1,a2] in dom the Comp of A holds a1(*)a2 = f1(*)f2
  proof
    let A be Category;
    let a1,a2 be Morphism of A;
    let f1,f2 be morphism of alter(A);
    assume
A1: a1 = f1 & a2 = f2;
    assume
A2: [a1,a2] in dom the Comp of A;
    thus a1(*)a2 = (the composition of alter A).(f1,f2) by A1,A2,CAT_1:def 1
    .= f1(*)f2 by A2,A1,Def2,Def3;
  end;

theorem Th42:
  for A being Category, f being morphism of alter(A)
  holds f is identity iff ex o being Object of A st f = id o
  proof
    let A be Category;
    let f be morphism of alter(A);
    hereby
      assume
A1:   f is identity;
A3:  f is Object of alter(A) by A1,Th22;
      then
A4:  for f1 being morphism of alter(A) holds
      ( f |> f1 implies f (*) f1 = f1 ) & ( f1 |> f implies f1 (*) f = f1 ) &
      f |> f by Th23;
      reconsider a1 = f as Morphism of A;
      [a1,a1] in dom the Comp of A by A4,Def2;
      then
A5:  dom a1 = cod a1 by CAT_1:15;
      set o = dom a1;
      reconsider a1 as Morphism of o,o by A5,CAT_1:4;
      take o;
      for b being Object of A holds
      (Hom(o,b)<>{} implies for a being Morphism of o,b holds a(*)a1 = a) &
      (Hom(b,o)<>{} implies for a being Morphism of b,o holds a1(*)a = a)
      proof
        let b be Object of A;
        thus (Hom(o,b)<>{} implies
        for f1 being Morphism of o,b holds f1(*)a1 = f1)
        proof
          assume
A6:       Hom(o,b)<>{};
          let f1 be Morphism of o,b;
          f1 in Hom(o,b) by A6,CAT_1:def 5;
          then dom f1 = o & cod f1 = b by CAT_1:1;
          then
A7:       [f1,a1] in dom the Comp of A by A5,CAT_1:def 6;
          reconsider f2 = f1 as morphism of alter(A);
          f2(*)f = f2 by A4,A7,Def2;
          hence f1(*)a1 = f1 by Th41,A7;
        end;
        assume
A8:     Hom(b,o)<>{};
        let f1 be Morphism of b,o;
        f1 in Hom(b,o) by A8,CAT_1:def 5;
        then
A9:    dom f1 = b & cod f1 = o by CAT_1:1;
        then
A10:   [a1,f1] in dom the Comp of A by CAT_1:def 6;
        reconsider f2 = f1 as morphism of alter(A);
        f |> f2 by A9,CAT_1:def 6;
        then f(*)f2 = f2 by A3,Th23;
        hence a1(*)f1 = f1 by Th41,A10;
      end;
      hence f = id o by CAT_1:def 12;
    end;
    given o be Object of A such that
A11: f = id o;
A12: for f1 being morphism of alter(A) st f |> f1 holds f (*) f1 = f1
    proof
      let f1 be morphism of alter(A);
      assume
A13:  f |> f1;
      reconsider a2 = f1, a1 = f as Morphism of A;
A14:  cod a2 = dom id o by A11,CAT_1:15,A13 .= o;
      thus f (*) f1 = a1(*)a2 by A13,Th41
      .= f1 by A11,A14,CAT_1:21;
    end;
    for f1 being morphism of alter(A) st f1 |> f holds f1 (*) f = f1
    proof
      let f1 be morphism of alter(A);
      assume
A15:  f1 |> f;
      reconsider a2 = f1, a1 = f as Morphism of A;
A16:  dom a2 = cod id o by A15,A11,CAT_1:15 .= o;
      thus f1 (*) f = a2(*)a1 by A15,Th41
      .= f1 by A11,A16,CAT_1:22;
    end;
    then f is right_identity;
    hence f is identity by A12,Def4;
  end;

theorem
  for A,B being Category, F being Functor of A,B
  holds F is covariant Functor of alter(A), alter(B)
  proof
    let A,B be Category;
    let F be Functor of A,B;
    reconsider F1 = F as Function of alter(A), alter(B);
    for f1,f2 being morphism of alter(A) st f1 |> f2
    holds F1.f1 |> F1.f2 & F1.(f1(*)f2) = (F1.f1)(*)(F1.f2)
    proof
      let f1,f2 be morphism of alter(A);
      assume
A1:  f1 |> f2;
      reconsider a1 = f1, a2 = f2 as Morphism of A;
A2:   dom a1 = cod a2 by A1,CAT_1:15;
      dom(F.a1) = F.(dom a1) & cod(F.a2) = F.(cod a2) by CAT_1:72;
      then dom(F.a1) = cod(F.a2) by A1,CAT_1:15;
      then
A3:   [F.a1,F.a2] in dom the Comp of B by CAT_1:15;
A4:   F1.f1 = F.a1 by Def21;
A5:   F1.f2 = F.a2 by Def21;
      thus F1.f1,F1.f2 are_composable by A3,A4,Def21;
      f1(*)f2 = a1(*)a2 by A1,Th41;
      hence F1.(f1(*)f2) = F.(a1(*)a2) by Def21
      .= (F.a1)(*)(F.a2) by A2,CAT_1:64
      .= (F1.f1)(*)(F1.f2) by A3,A4,A5,Th41;
    end;
    then
A6: F1 is multiplicative;
    for f being morphism of alter(A) st f is identity holds F1.f is identity
    proof
      let f be morphism of alter(A);
      assume f is identity;
      then consider o be Object of A such that
A7:  f = id o by Th42;
      consider o1 be Object of B such that
A8:  F.(id o) = id o1 by CAT_1:62;
      thus F1.f is identity by Def21,A7,A8,Th42;
    end;
    hence thesis by A6,Def25,Def22;
  end;


theorem Th44:
  for C being non empty category, a1,a2 being (Morphism of Alter(C)),
  f1,f2 being morphism of C st a1 = f1 & a2 = f2 & f1 |> f2
  holds a1(*)a2 = f1(*)f2
  proof
    let C be non empty category;
    let a1,a2 be Morphism of Alter(C);
    let f1,f2 be morphism of C;
    assume
A1: a1 = f1 & a2 = f2;
    assume
A2: f1 |> f2;
    thus a1(*)a2 = (the Comp of Alter(C)).(a1,a2) by A1,A2,CAT_1:def 1
    .= f1(*)f2 by A1,A2,Def3;
  end;

theorem Th45:
  for C being non empty category, f1 being morphism of C,
      a1 being Morphism of Alter(C) st a1 = f1
  holds dom f1 = dom a1 & cod f1 = cod a1
  proof
    let C be non empty category;
    let f1 be morphism of C;
    let a1 be Morphism of Alter(C);
    assume
A1: a1 = f1;
    thus dom f1 = (the Source of Alter(C)).a1 by A1,Def30
    .= dom a1 by GRAPH_1:def 3;
    thus cod f1 = (the Target of Alter(C)).a1 by A1,Def31
    .= cod a1 by GRAPH_1:def 4;
  end;

theorem Th46:
  for C being non empty category, o1 being Object of C,
      o2 being Object of Alter(C) st o1 = o2 holds id- o1 = id o2
  proof
    let C be non empty category;
    let o1 be Object of C;
    let o2 be Object of Alter(C);
    assume
A1: o1 = o2;
A2: o1 in Ob(C);
    then reconsider f1 = o1 as morphism of C;
    reconsider a2 = o2 as Morphism of Alter(C) by A1,A2;
A3: f1 is identity & f1 |> f1 by Th22,Th24;
A4: dom a2 = dom f1 by A1,Th45 .= o2 by A1,A3,Def18;
A5: cod a2 = cod f1 by A1,Th45 .= o2 by A1,A3,Def19;
    reconsider a3 = a2 as Morphism of o2,o2 by A4,A5,CAT_1:4;
    for b being Object of Alter(C) holds
    ( Hom (o2,b) <> {} implies
    for a being Morphism of o2,b holds a (*) a3 = a ) &
    ( Hom (b,o2) <> {} implies
    for a being Morphism of b,o2 holds a3 (*) a = a )
    proof
      let b be Object of Alter(C);
      thus Hom (o2,b) <> {} implies
      for a being Morphism of o2,b holds a (*) a3 = a
      proof
        assume A6: Hom (o2,b) <> {};
        let a be Morphism of o2,b;
        reconsider f2=a as morphism of C;
        dom a = cod a3 by A5,A6,CAT_1:5;
        then
A7:   [f2,f1] in dom the composition of C by A1,CAT_1:15;
        thus a (*) a3 = f2 (*) f1 by A1,A7,Def2,Th44 .= a
        by A3,A7,Def2,Def5;
      end;
      assume A8: Hom (b,o2) <> {};
      let a be Morphism of b,o2;
      reconsider f2=a as morphism of C;
      dom a3 = cod a by A4,A8,CAT_1:5;
      then
A9: [f1,f2] in dom the composition of C by A1,CAT_1:15;
      thus a3 (*) a = f1 (*) f2 by A1,A9,Def2,Th44 .= a
      by A3,A9,Def2,Def4;
    end;
    hence thesis by A1,CAT_1:def 12;
  end;

theorem Th47:
  for C being non empty category, f being morphism of C
  holds f is identity iff ex o being Object of Alter(C) st f = id o
  proof
    let C be non empty category;
    let f be morphism of C;
    set A = Alter(C);
    reconsider a=f as morphism of alter(A);
    hereby
      assume f is identity;
      then a is identity by Th25;
      then consider o be Object of Alter(C) such that
A1:   a = id o by Th42;
      take o;
      thus f = id o by A1;
    end;
    given o be Object of Alter(C) such that
A2: f = id o;
    a is identity by A2,Th42;
    hence f is identity by Th25;
  end;

theorem
  for C,D being non empty category, F being covariant Functor of C,D
  holds F is Functor of Alter(C), Alter(D)
  proof
    let C,D be non empty category;
    let F be covariant Functor of C,D;
    reconsider F1 = F as
    Function of the carrier' of Alter(C),the carrier' of Alter(D);
A1: F is identity-preserving & F is multiplicative by Def25;
A2: for a being Object of Alter(C) ex b being Object of Alter(D)
    st F1.(id a) = id b
    proof
      let a be Object of Alter(C);
      reconsider a1 = id a as morphism of C;
      a1 is identity by Th47;
      then consider b be Object of Alter(D) such that
A3:   F.a1 = id b by Th47,A1;
      take b;
      thus F1.(id a) = id b by A3,Def21;
    end;
A4: for f being Morphism of Alter(C) holds F1.(id dom f) = id dom (F1.f) &
    F1.(id cod f) = id cod (F1.f)
    proof
      let f be Morphism of Alter(C);
      reconsider o1 = dom f as Object of Alter(C);
      reconsider o2 = o1 as Object of C;
      reconsider f1=f as morphism of C;
A5:   F.f1 = F1.f by Def21;
A6:   F.o2 = F1.(dom f1) by Th45
      .= dom(F.f1) by Th32
      .= dom(F1.f) by Th45,A5;
      thus F1.(id dom f) = F1.(id- o2) by Th46
      .= id-(F.o2)
      .= id dom (F1.f) by A6,Th46;
      reconsider o3 = cod f as Object of Alter(C);
      reconsider o4 = o3 as Object of C;
      reconsider f1=f as morphism of C;
A7:   F.f1 = F1.f by Def21;
A8:   F.o3 = F1.(cod f1) by Th45
      .= cod(F.f1) by Th32
      .= cod(F1.f) by Th45,A7;
      thus F1.(id cod f) = F1.(id- o4) by Th46
      .= id-(F.o4)
      .= id cod (F1.f) by A8,Th46;
    end;
    for f,g being Morphism of Alter(C) st dom g = cod f
    holds F1.(g(*)f) = (F1.g)(*)(F1.f)
    proof
      let f,g be Morphism of Alter(C);
      assume
A9:   dom g = cod f;
      reconsider f1=f,g1=g as morphism of C;
A10:   [g1,f1] in dom the composition of C by A9,CAT_1:15;
A11:   g1 |> f1 by A9,CAT_1:15;
A12:   (the composition of C).(g1,f1) = g1(*)f1 by A10,Def2,Def3;
A13:   F.g1 = F1.g & F.f1 = F1.f by Def21;
A14:   [F1.g,F1.f] in dom the Comp of Alter D by A13,Def2,A11,A1;
      thus F1.(g(*)f) = F1.((the Comp of Alter C).(g,f)) by A9,CAT_1:16
      .= F.(g1(*)f1) by A12,Def21
      .= (F.g1)(*)(F.f1) by A11,A1
      .= (the Comp of Alter(D)).(F1.g,F1.f) by A13,Def3,A11,A1
      .= (F1.g)(*)(F1.f) by A14,CAT_1:def 1;
    end;
    hence thesis by A2,A4,CAT_1:61;
  end;

theorem Th49:
  for C,D being Category, F being covariant Functor of alter(C), alter(D)
  holds F is Functor of C, D
  proof
    let C,D be Category;
    let F be covariant Functor of alter(C), alter(D);
    reconsider F1 = F as
    Function of the carrier' of C,the carrier' of D;
A1: F is identity-preserving & F is multiplicative by Def25;
A2: for a being Object of C ex b being Object of D st F1.(id a) = id b
    proof
      let a be Object of C;
      reconsider a1 = id a as morphism of alter(C);
      a1 is identity by Th42;
      then consider b be Object of D such that
A3:   F.a1 = id b by Th42,A1;
      take b;
      thus F1.(id a) = id b by A3,Def21;
    end;
A4: for f being Morphism of C holds F1.(id dom f) = id dom (F1.f) &
    F1.(id cod f) = id cod (F1.f)
    proof
      let f be Morphism of C;
      reconsider f1 = f as morphism of alter(C);
      reconsider d1 = id dom f as morphism of alter(C);
      dom f = cod (id dom f);
      then
A5:  f1 |> d1 by CAT_1:15;
A6:   F.d1 is identity by Th42,A1;
      reconsider d2 = id dom (F1.f) as morphism of alter(D);
      dom (F1.f) = cod (id dom (F1.f));
      then [F1.f,id dom (F1.f)] in dom the Comp of D by CAT_1:15;
      then
A7:   F.f1 |> d2 by Def21;
      F.d1 = dom (F.f1) by A1,A5,A6,Th26 .= d2 by Th42,A7,Th26;
      hence F1.(id dom f) = id dom (F1.f) by Def21;
      reconsider c1 = id cod f as morphism of alter(C);
      cod f = dom (id cod f);
      then
A8:  c1 |> f1 by CAT_1:15;
A9:   F.c1 is identity by Th42,A1;
      reconsider c2 = id cod (F1.f) as morphism of alter(D);
      cod (F1.f) = dom (id cod (F1.f));
      then [id cod (F1.f),F1.f] in dom the Comp of D by CAT_1:15;
      then
A10:   c2 |> F.f1 by Def21;
      F.c1 = cod (F.f1) by A1,A8,A9,Th27 .= c2 by Th42,A10,Th27;
      hence F1.(id cod f) = id cod (F1.f) by Def21;
    end;
    for f,g being Morphism of C st dom g = cod f
    holds F1.(g(*)f) = (F1.g)(*)(F1.f)
    proof
      let f,g be Morphism of C;
      assume
A11:   dom g = cod f;
      reconsider f1=f,g1=g as morphism of alter(C);
A12:   [g1,f1] in dom the composition of alter(C) by A11,CAT_1:15;
A13:   g1 |> f1 by A11,CAT_1:15;
A14:   (the composition of alter(C)).(g1,f1) = g1(*)f1 by A12,Def2,Def3;
A15:   F.g1 = F1.g & F.f1 = F1.f by Def21;
A16:   [F1.g,F1.f] in dom the Comp of D by A15,Def2,A13,A1;
      thus F1.(g(*)f) = F1.((the Comp of C).(g,f)) by A11,CAT_1:16
      .= F.(g1(*)f1) by A14,Def21
      .= (F.g1)(*)(F.f1) by A13,A1
      .= (the Comp of D).(F1.g,F1.f) by A15,Def3,A13,A1
      .= (F1.g)(*)(F1.f) by A16,CAT_1:def 1;
    end;
    hence thesis by A2,A4,CAT_1:61;
  end;

theorem Th50:
  for C1,C2 being Category st alter(C1) ~= alter(C2) holds C1 ~= C2
  proof
    let C1,C2 be Category;
    assume alter(C1) ~= alter(C2);
    then consider F be Functor of alter(C1), alter(C2),
     G be Functor of alter(C2), alter(C1) such that
A1: F is covariant & G is covariant & G (*) F = id alter(C1) &
    F (*) G = id alter(C2);
    reconsider F1 = F as Functor of C1,C2 by A1,Th49;
A2: dom F = the carrier of alter(C1) by FUNCT_2:def 1;
    G (*) F = F * G by A1,Def27;
    then F * G = id the carrier of alter(C1) by A1,STRUCT_0:def 4;
    then
A3: F is one-to-one by A2,FUNCT_1:31;
A4: F (*) G = G * F by A1,Def27;
A5: the carrier' of C2 = rng(id the carrier' of C2)
    .= rng(G*F) by A4,A1,STRUCT_0:def 4;
    the carrier' of C2 c= rng F by A5,RELAT_1:26;
    then rng F1 = the carrier' of C2 by XBOOLE_0:def 10;
    hence C1 ~= C2 by A3,ISOCAT_1:def 4,def 3;
  end;

theorem Th51:
  for C1,C2 being Category st the carrier' of C1 = the carrier' of C2
  & the Comp of C1 = the Comp of C2 holds C1 ~= C2
  proof
    let C1,C2 be Category;
    assume the carrier' of C1 = the carrier' of C2 &
      the Comp of C1 = the Comp of C2;
    then alter(C1) = alter(C2);
    hence C1 ~= C2 by Th50;
  end;

theorem
  for C being Category holds C ~= Alter(alter(C)) by Th51;

theorem
  for C being non empty category holds C ~= alter(Alter(C))
  proof
    let C be non empty category;
    set D = alter(Alter(C));
    reconsider X = the carrier of C as set;
    reconsider I0 = id C as Function of X, X;
A1: I0 = id X by STRUCT_0:def 4;
    reconsider F = id C as Functor of C,D;
    reconsider G = id C as Functor of D,C;
    for f being morphism of C st f is identity holds F.f is identity
    proof
      let f be morphism of C;
      assume
A2:   f is identity;
      F.f = I0.f by Def21
      .= (id X).f by STRUCT_0:def 4
      .= f;
      hence F.f is identity by A2,Th16,Th18;
    end;
    then
A3: F is identity-preserving;
    for f1, f2 being morphism of C st f1 |> f2 holds
    F.f1 |> F.f2 & F.(f1 (*) f2) = (F.f1) (*) (F.f2)
    proof
      let f1, f2 be morphism of C;
      assume
A4:  f1 |> f2;
A5:   F.f1 = I0.f1 by Def21
      .= (id X).f1 by STRUCT_0:def 4
      .= f1;
A6:   F.f2 = I0.f2 by Def21
      .= (id X).f2 by STRUCT_0:def 4
      .= f2;
      hence
A7:  F.f1 |> F.f2 by A4,A5;
      thus F.(f1 (*) f2) = I0.(f1(*)f2) by Def21
      .= (id X).(f1(*)f2) by STRUCT_0:def 4
      .= (the composition of C).(f1,f2) by A4,Def3
      .= (F.f1) (*) (F.f2) by A5,A6,A7,Def3;
    end;
    then F is multiplicative;
    then
A8: F is covariant by A3;
    for f being morphism of D st f is identity holds G.f is identity
    proof
      let f be morphism of D;
      assume
A9:   f is identity;
      G.f = I0.f by Def21
      .= (id X).f by STRUCT_0:def 4
      .= f;
      hence G.f is identity by A9,Th16,Th18;
    end;
    then
A10: G is identity-preserving;
    for f1, f2 being morphism of D st f1 |> f2 holds
    G.f1 |> G.f2 & G.(f1 (*) f2) = (G.f1) (*) (G.f2)
    proof
      let f1, f2 be morphism of D;
      assume
A11:  f1 |> f2;
A12:   G.f1 = I0.f1 by Def21
      .= (id X).f1 by STRUCT_0:def 4
      .= f1;
A13:   G.f2 = I0.f2 by Def21
      .= (id X).f2 by STRUCT_0:def 4
      .= f2;
      hence
A14:  G.f1 |> G.f2 by A11,A12;
      thus G.(f1 (*) f2) = I0.(f1(*)f2) by Def21
      .= (id X).(f1(*)f2) by STRUCT_0:def 4
      .= (the composition of D).(f1,f2) by A11,Def3
      .= (G.f1) (*) (G.f2) by A12,A13,A14,Def3;
    end;
    then G is multiplicative;
    then
A15: G is covariant by A10;
A16: G (*) F = F*G by A8,A15,Def27
    .= id(X /\ X) by A1,FUNCT_1:22
    .= id C by STRUCT_0:def 4;
    F (*) G = G*F by A8,A15,Def27
    .= id(X /\ X) by A1,FUNCT_1:22
    .= id D by STRUCT_0:def 4;
    hence C ~= alter(Alter(C)) by A8,A15,A16;
  end;

Messung
CHZG
8010010093

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.355Angebot  ¤

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,058
#Domains=861,595