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 k be ex [] byef 12jav a.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 ¬ 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¬ inInnerVertices ¬ 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 ¬x2 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 | |