Next Article in Journal
Leveraging Digital Twin Technology in Model-Based Systems Engineering
Previous Article in Journal
The Epistemological Implications of Critical Complexity Thinking for Operational Research
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Categorification of the Müller-Wichards System Performance Estimation Model: Model Symmetries, Invariants, and Closed Forms

by
Allen D. Parks
1,* and
David J. Marchette
2
1
Electromagnetic and Sensor Systems Department, Naval Surface Warfare Center Dahlgren Division, Dahlgren, VA 22448, USA
2
Strategic and Computing Systems Department, Naval Surface Warfare Center Dahlgren Division, Dahlgren, VA 22448, USA
*
Author to whom correspondence should be addressed.
Submission received: 25 October 2018 / Revised: 11 December 2018 / Accepted: 11 December 2018 / Published: 24 January 2019

Abstract

:
The Müller-Wichards model (MW) is an algebraic method that quantitatively estimates the performance of sequential and/or parallel computer applications. Because of category theory’s expressive power and mathematical precision, a category theoretic reformulation of MW, i.e., CMW, is presented in this paper. The CMW is effectively numerically equivalent to MW and can be used to estimate the performance of any system that can be represented as numerical sequences of arithmetic, data movement, and delay processes. The CMW fundamental symmetry group is introduced and CMW’s category theoretic formalism is used to facilitate the identification of associated model invariants. The formalism also yields a natural approach to dividing systems into subsystems in a manner that preserves performance. Closed form models are developed and studied statistically, and special case closed form models are used to abstractly quantify the effect of parallelization upon processing time vs. loading, as well as to establish a system performance stationary action principle.

1. Introduction

In the late 1980s, D. Müller-Wichards proposed a concise novel approach for estimating the total performance of computer-based (but machine independent) applications by algebraically combining the known performance estimates of the individual arithmetic, data movement, and delay elements that comprise the applications in a manner that also accounts for various degrees of parallelism that can occur during processing [1]. The essence of the mathematical framework upon which the Müller-Wichards model (MW) is based is abstracted by the expression φ : H P , where H is a monoid (i.e., a semigroup with identity) representation of the application, P is the Müller-Wichards performance algebra (also a monoid), and φ is a monoid homomorphism. The image φ ( h ) in P of a single application element h in H provides a numerical performance measure for h . The total numerical performance estimate for the application results naturally from the associative binary operations in H and P and the homomorphism property of φ , which algebraically combines the performance estimates for each application element in H .
Every area of mathematics (e.g., group theory, topology) is described by numerous definitions, theorems, and constructions. However, many common mathematical concepts occur naturally with only slight variation in the various areas of mathematics. Category theory is that branch of mathematics which identifies and studies these common concepts and provides formal mechanisms for mapping them from one area of mathematics to another. More specifically, a category (e.g., the category of sets) consists of a class of objects (e.g., sets), morphisms between objects (e.g., maps between sets), an identity morphism for each object (e.g., the set identity map), and a rule for associatively composing morphisms (e.g., composition of maps). Functors provide formal maps between categories (e.g., from the category of groups to the category of sets) by associating objects and morphisms in different categories subject to the constraints that morphism composition and object identities are preserved.
Because of its generality category, theory has found application in recent years in such diverse areas as physics (e.g., [2,3,4,5]), design specification (e.g., [6,7]), data fusion (e.g., [8]), computer science (e.g., [9]), computer security (e.g., [10,11]), systems engineering (e.g., [12]), manufacturing (e.g., [13]), theoretical biology (e.g., [14,15,16]), network theory (e.g., [17]), multi-agent systems models (e.g., [18]), concurrent system design verification (e.g., [19]), emergence (e.g., [20]), and artificial general intelligence (e.g., [21]). Motivated by category theory’s mathematical precision and expressive power, this paper introduces a new category theoretic application useful for numerical systems engineering modelling and analysis via a very simple straightforward categorification of MW for the case that the application monoid H is a free monoid generated by a finite set of basis processes, i.e., H is the set of all finite sequences of basis processes, including the empty sequence-where each sequence represents a system and each basis process corresponds to either an arithmetic process, a data movement process, or a delay process-and catenation of systems serves as the associative binary operation. The categorified MW-denoted by CMW-is comprised of three components: a single object category of systems that is specified by H and has elements of H as its set of morphisms; a single object performance category that is specified by P and has the elements of P as its set of morphisms; and a performance functor specified by φ with the category of systems as its domain and the performance category as its codomain.
CMW is effectively numerically equivalent to MW with the added benefit that the formalism introduced by categorification provides a precise vocabulary useful for identifying and discussing certain fundamental properties of both the model and the systems modelled by it. In particular, the CMW fundamental symmetry group is introduced and the category theoretic formalism is used to facilitate the identification of associated symmetry invariants found in the model. In addition, the formalism provides a natural approach to system factorization-i.e., dividing a system into subsystems in a manner that maintains its integrity-i.e., preserves the performance of the undivided system.
As indicated above, the objective of this paper is to provide a categorified version of the MW model and exploit the associated category theoretic vocabulary to provide additional insights into properties of the MW model, as well as the systems modelled by it. In order to make this paper reasonably self-contained, relevant definitions, terminology, and preliminary lemmas are summarized in the next section (for additional depth and clarification the reader is invited to consult such references as [22,23,24]). The remainder of this paper is organized as follows: The Müller-Wichards performance categories are defined, and their category theoretic properties discussed in Section 3. The category of systems and the Müller-Wichards performance functors are introduced in Section 4. The CMW fundamental symmetry group is defined and its associated model invariants are identified in Section 5. System factorization and a “product of categories” performance model are discussed in Section 6. Closed form models are developed in Section 7 and several aspects of closed form models are studied statistically in Section 8. Special case closed form models are developed in Section 9. These special case closed form models are applied in Section 10 to abstractly demonstrate the effect of parallelization on system processing time vs. loading and to obtain a stationary action principle for system performance. Concluding remarks comprise the final section of this paper. To avoid disrupting the flow of the text, proofs for all theorems (including those for the special case closed form models) are consigned to Appendix A.

2. Definitions, Terminology, and Preliminary Lemmas

2.1. Categories and Morphisms

A category C consists of a collection O b j C of objects such that ([22], p. 2)
  • For every pair of objects X , Y O b j C there is a (possibly empty) set M o r C   ( X , Y ) of morphisms from X to Y ;
  • For any X , Y , Z O b j C there is a composition “ ” of morphisms
      :   M o r C ( X , Y ) × M o r C ( Y , Z ) M o r C ( X , Z )
    given by ( f , g ) g f with the properties:
  • For every X O b j C there is an identity morphism 1 X M o r C ( X , X ) such that for f   M o r C ( X , Y ) and g M o r C ( Y , X ) , f 1 X = f and 1 X g = g ;
  • When defined, composition of morphisms is associative, i.e., ( f g ) h = f ( g h ) .
To illustrate this definition, consider the following canonical examples of categories:
  • The category S e t where O b j S e t is the collection of all sets, the morphisms are the ordinary mappings between sets, and is the usual composition of maps.
  • The category G r p where O b j G r p is the collection of all groups, the morphisms are the ordinary group homomorphisms, and is the usual composition of homomorphisms.
It is easily verified that S e t and Grp satisfy items 3 and 4 above.
A category C is a subcategory of a category D if ([22], p. 7): every object of C is an object of D ; for all objects X , Y of C , M o r C ( X , Y ) M o r D ( X , Y ) ; the composition of two morphisms in C is the same as their composition in D ; and for all objects X of C , 1 X is the same in D as it is in C . If O b j C is a set, then C is a small category ([22], p. 6) and if M o r C ( X , Y ) for all X , Y O b j C , then C is a connected category ([22], p. 19).
Morphisms are classified in a variety of ways according to their composition properties. Of interest here are monic and epic morphisms. A morphism f is monic ([22], p. 11) if f g = f h implies g = h and it is epic ([22], p. 12) if g f = h f implies g = h . For example, in the category S e t injective maps are monic morphisms and surjective maps are epic morphisms. A morphism that is both monic and epic is a bimorphism ([22], p. 15). A morphism h is factorizable ([22], p. 43) if h = f g , where f is monic and g is epic.
Another useful notion involving morphisms is the sieve ([25], p. 206) on an object. For some X O b j C consider the set of morphisms Ψ X = { f : f M o r C ( X , Y )   f o r   a l l   Y O b j C } and observe that Ψ X is closed under left composition, i.e., g f Ψ X when f Ψ X and g M o r C ( Y , Z ) for any Z O b j C . An X sieve is the subset Ψ Ψ X that is closed under left composition, i.e., g f Ψ when f Ψ . Note that there are at least two sieves for every X O b j C , namely Ψ X and the empty sieve .

2.2. Functors

Functors can be regarded as morphisms between categories and-in a sense-they provide a “picture” of what one category looks like in another. If F is a covariant functor-or simply a functor (contravariant functors are not used here) ([22], p. 73)-from category C to category D (denoted F : C D ), then it assigns to every X O b j C an F X O b j D and to every f M o r C ( X , Y ) an F f M o r D ( F X , F Y ) such that:
  • F 1 X = 1 F X for every X O b j C ; and
  • When f g = h is defined in C , then F f F g = F h is defined in D and F f F g = F ( f g ) =   F h .
F is full ([22], p. 97) if for all X , Y O b j C the mapping M o r C ( X , Y ) M o r D ( F X , F Y ) defined by f F f is surjective, and is faithful ([22], p. 97) if this mapping is injective. Simple examples of functors include:
  • The identity functor 1 C : C C which makes the assignments 1 C X = X for every X O b j C and 1 C f = f for every f M o r C ( X , Y ) .
  • The forgetful functor U   : G r p S e t which assigns to every group G O b j G r p its underlying set U G O b j S e t and to each homomorphism f M o r G r p ( G , H ) the set map U f   M o r S e t ( U G , U H ) (i.e., U forgets group structure going from G r p to S e t ).
It can be determined by inspection that these functors satisfy the required properties given above by items 1 and 2.
Preservation and reflection are two important features of functors. A functor F : C D preserves a categorical property ([22], p. 97) π if-whenever an object, morphism, or diagram has property π in C , then the image under F of that object, morphism, or diagram has property π in D . Similarly, F reflects property ([22], p. 97) π if-whenever the image under F of an object, morphism, or diagram has property π in D , then that object, morphism, or diagram has property π in C .
It is readily deduced from item (2) that, in general, functors preserve commutative triangles of morphisms. For example, if Figure 1 is the commutative triangle for f g = h in C , then it must be
the case that the commutative triangle in Figure 2 is the preserved image of Figure 1 under the functor:
F in D . Note that Figure 1 is a factorization of h when f is monic and g is epic.

2.3. Preliminary Lemmas

The following lemmas are needed to prove and discuss the main results of this paper. They have been established elsewhere and are stated here without proof for the reader’s convenience.
Lemma 1 [9].
Any monoid   M specifies a category M with   M as its only object, the elements of M as its only set of morphisms, and the binary operation on   M as its composition of morphisms.
Lemma 2 [9].
Each monoid homomorphism   f : M N specifies a functor F : M N with F M = N and Fx M o r N ( N , N ) = N for   x     M o r M ( M , M ) = M such that   F x F y = F z in   N when   x y = z in   M .
Lemma 3 [24].
Let   X be the free monoid on a set X and   S be any monoid. If   φ 0 is any mapping of   X into   S , then   φ 0 can be extended in one and only one way to a homomorphism   φ of   X into   S as   φ ( x 1 x 2 x n ) = φ 0 ( x 1 ) φ 0 ( x 2 ) φ 0 ( x n ) .
Lemma 4 [22].
Every faithful functor reflects monics, epics, and commutative triangles.
Lemma 5 [24].
A free monoid X is cancellative (i.e., u v = u w and v u = w u implies   v = w for   u , v , w X ) and equidivisible (i.e., u v = w z implies there exists an   x such that either   u = w x and   z = x v or   w = u x and   v = x z for   u , v , w , x , z X ).
As an example of equidivisibility, suppose u v = w z is a commutative square in a free monoid with u = a 1 a 2 a 3 a 4 a 5 , v = a 6 a 2 a 4 a 7 , w = a 1 a 2 , and z = a 3 a 4 a 5 a 6 a 2 a 4 a 7 . Then there exists an x = a 3 a 4 a 5 such that u = w x and z = x v .

3. The Müller-Wichards Performance Categories

As mentioned in the introduction, in 1988 Dieter Müller-Wichards posited a (computing) machine independent “performance algebra” designed to estimate the total performance of a specific implementation of an application on a machine using the (known) performance characteristics of its individual building blocks. This approach enabled trade-off studies and analyses of applications using its various decompositions and implementations [1]. As indicated above, similar studies and analyses can be performed using CMW to estimate the numerical performance of any system that can be represented as sequences of arithmetic, data movement, and delay processes.
The Müller-Wichards performance algebra consists of a set whose elements are ordered in triples along with an associative binary operation, which defines how the elements of the set are to be multiplied. These elements are partitioned into three distinct subsets depending upon whether they are arithmetic, data movement, or delay elements. The first and second entries in each triple correspond to a performance value (e.g., a processing or data movement rate) and a weight value (e.g., the number of operations to be performed or the amount of data to be moved), respectively (delay elements are a special case—see below). The third entry is either a 0 -which defines the element as a data movement or delay element-or a   1 -which defines the element as an arithmetic element. Multiplication of an arithmetic element by any element produces another arithmetic element, whereas the product of a data movement element with a data movement element or a delay element is a data movement element. The set of delay elements is closed under this multiplication.
Multiplication is defined in terms of a positive real valued parameter q , which provides a family of (“skewed” time) results that interpolate between completely sequential and completely parallel execution of the associated application. The value of this parameter can be selected to account for execution time “speedup” or for degrees of machine and application parallelism.
The sets that define the Müller-Wichards performance algebra are:
+ the   set   of   positive   real   numbers ,
C + × + × { 1 } the   set   of   arithmetic   elements ,
D + × + × { 0 } the   set   of   data   movement   elements ,
V ( + { } ) × { i } × { 0 } the   set   of   delay   elements   ,
where i = 1 ,
C D V ,
and
C D .
Each element in C , D , and V is a triple g = ( r , w , u ) , where r is a performance value, w is a weight value, and u { 0 , 1 } determines the element type (i.e., C , D , or V ).
Let 1 q , and define the operation q as follows:
  • If g 1 = ( r 1 , w 1 , u 1 ) and g 2 = ( r 2 , w 2 , u 2 ) , then g 1 q g 2 = ( r , w , u ) , where
    u = u 1 ˅   u 2 ,
    w = R e [ u 1 w 1 + u 2 w 2 + ¬ u ( w 1 + w 2 ) ] ,
    and
    r = { | w | [ ( | w 1 | r 1 ) q + ( | w 2 | r 2 ) q ] 1 q   ,      q < | w | max [ | w 1 | r 1 , | w 2 | r 2 ]   ,        q =
  • If g 1 , g 2 V , then g 1 q g 2 = ( r , i , u ) , where u and r are given by Equations ( 8 ) and ( 10 ) , respectively.
The elements g 1 , g 2 are comparable if g 1 , g 2 C or g 1 , g 2 D or g 1 , g 2 V . If g 1 , g 2 , then g 1 g 2 when g 1 , g 2 are comparable and either | w 2 | r 2 < | w 1 | r 1 or | w 2 | r 2 = | w 1 | r 1 and r 2 r 1 .
Theorem 1.
( , q ) is a commutative monoid   M q with identity e = ( , i , 0 ) .
Since ( , q ) is the monoid M q , then ( , q ) specifies a category according to the prescription given by the next theorem.
Theorem 2.
( , q ) specifies the Müller-Wichards performance category   q with   M q as its only object,   M o r q ( M q , M q ) = as its only morphism set, and composition of morphisms defined by   q .
In order to identify additional categorical properties derived from the algebraic structure of ( , q ) , let C C { e } ,   D = D { e } , C D = { e } , and V = V .
Theorem 3.
( q X , q ) ,   X { C , D , C D , V } , are submonoids of ( , q ) .
This leads to the following result:
Theorem 4.
If   X { C , D , C D , V } , then   ( X , q ) specifies the Müller-Wichards performance category   q X with   M q X as its only object,   M o r q X ( M q X , M q X ) = X as its only morphism set, and composition of morphisms defined by   q .
Note that although M o r q X ( M q X , M q X ) M o r q ( M q , M q ) , q X is not a subcategory of q because M q X M q .
Theorem 5.
Each of the categories   q and   q X ,     X { C , D , C D , V } , are small and connected.
Theorem 6.
Every morphism in   q X ,   X { C , D , V } , is a bimorphism.
The following result is included for completeness and is a category theoretic statement of the fact that multiplication in the performance algebra is biased towards arithmetic elements, i.e., the product of any element in set C D V with an element in set C is an element in C .
Theorem 7.
The set   C is an   M q - sieve in category   q .

4. The Category of Systems and the Müller-Wichards Performance Functors

In this section, the category of systems is obtained from the free monoid A generated by a finite set A of basis processes. Although this approach is similar to that employed in [1] to define H , for simplicity the catenation operation in A is used here instead of the two operations and used in H to distinguish between portions of an application that have sequential and parallel implementations. A product of categories construction will be introduced for this purpose in Section 6.
Recall from Section 1 that A consists of all finite sequences of basis processes of A   called   s y s t e m s . The catenation of systems u , v A is the system w = u v A and u and v are subsystems of w . The empty system ε A is the system with no basis processes and serves as the identity element for A with ε u = u ε = u .
The category of systems A associated with a basis process set A is obtained from A , as prescribed in the following theorem.
Theorem 8.
A specifies the category of systems   A with   A as its only object,   M o r A ( A , A ) = A as its only morphism set, and composition of morphisms defined by catenation of systems.
Thus, a morphism in A is a system and composition of morphisms in A is catenation of systems.
Theorem 9.
A is a small connected category.
Theorem 10.
Every morphism in A is a bimorphism.
Any functor from A into q or q X ,   X { C , D , C D , V } , is referred to here as a Müller-Wichards performance functor for A and the performance for any system in A is its image under a Müller-Wichards performance functor in q or q X ,   X { C , D , C D , V } . These functors are defined by unique extensions of gauge maps from the set of basis processes into the associated Müller-Wichards performance monoids as described by the following theorem (here “gauge” emphasizes the fact that these maps set the performance gauge for each basis process).
Theorem 11.
For any gauge map   φ 0 : A ( , q ) [ φ 0 : A ( X , q ) , X { C , D , C D , V } ] there is a unique Müller-Wichards performance functor F φ 0 : A q   [ F φ 0 X : A q X ] such that
F φ 0 a 1 a 2 a n = φ 0 ( a 1 ) q φ 0 ( a 2 ) q q φ 0 ( a n )
[   F φ 0 X a 1 a 2 a n = φ 0 ( a 1 ) q φ 0 ( a 2 ) q q φ 0 ( a n )   ]
where a 1 a 2 a n M o r A ( A , A ) .

5. The CMW Fundamental Symmetry Group and Associated Invariants

Based upon the discussion above, it is clear that CMW can be abstracted by the functor expressions F φ 0 : A q and F φ 0 X : A q X ,   X { C , D , C D , V } . In this section, the CMW fundamental symmetry group is introduced and associated model invariants (which at an abstract level can be viewed as invariants of the modelled system) are identified. Recall that, in general, a symmetry associated with a “situation” is related to an “immunity to change” for some aspect of the “situation”. In order for a “situation” to have a symmetry: (i) the aspect of the “situation” remains unchanged or invariant, when a change or symmetry transformation acts upon the “situation”; and (ii) it must be possible to perform the change, although the change does not actually have to be performed [26]. Here, symmetry and symmetry transformation are used interchangeably.
An automorphism of A is a bijection α : M o r A ( A , A ) M o r A ( A , A ) , which preserves the catenation operation in A . Since M o r A ( A , A ) remains unchanged under α and it is possible-but not necessary-to apply α , then items (i) and (ii) above are satisfied and α is a A symmetry. The set of all such symmetries under the operation composition of bijections forms the automorphism group A u t ( A ). This group is the CMW fundamental symmetry group.
Theorem 12.
The CMW fundamental symmetry group is isomorphic to the group of permutations of the set A of basis processes.
The following corollary is obvious and is stated without proof.
Corollary 1.
| A u t ( A ) | = | A | !
A CMW invariant is a CMW property that remains unchanged after every symmetry in the CMW fundamental symmetry group has been applied to M o r A ( A , A ) .
Theorem 13.
The images of   A in   q and   q X under the Müller-Wichards performance functors   F φ 0 and   F φ 0   X ,   X { C , D , C D , V } , respectively, are CMW invariants.
Theorem 14.
If   Δ is a commutative triangle in A , then   Δ and its image under Müller-Wichards performance functors are CMW invariants.

6. System Factorization and Product Performance Models

Recall from Section 2 that a morphism h is factorizable if h = f g , where f is a monic morphism and g is an epic morphism. In the category of systems, this means that when a system w is factorizable as w = u v , then w can be divided into the two subsystems u and v without affecting the order and content of the base processes in w . The integrity of a factorization is maintained if the performance of w is identical to that of u v .
Theorem 15.
Every commutative triangle in A corresponds to a system factorization, which maintains its integrity.
A commutative square in A corresponds to an equation u v = w z , where u , v , w , z M o r A ( A , A ) .
Theorem 16.
For every commutative square in A there are two systems in the square, which have factorizations that maintain their integrity.
Corollary 2.
Whenever u v = w z is a commutative square in A , then either   F φ 0 X u and   F φ 0 X z or   F φ 0 X w and   F φ 0 X v are factorizable in   q X , X { C , D , V } .
Corollary 3.
If F φ 0 u = F φ 0 v q F φ 0 w , then u is factorizable in   A and maintains its integrity when F φ 0 is faithful.
Results similar to Corollary 3 also apply for F φ 0 X , X { C , D , C D , V } .
Additional modelling flexibility can be obtained using products of categories when a system is comprised of subsystems that have different sequential and/or parallel characteristics. Here, two basis sets A and B of processes and two morphism compositions q and p form the product category of systems A B = A × B and the associated Müller-Wichards product performance category q p = q × p , respectively. For the product category A B the single object is the pair O b j A B = O b j A × O b j B = { ( A , B ) } { A B } , the set of morphisms are ordered pairs M o r A B ( A B , A B ) = M o r A ( A , A ) × M o r B ( B , B ) such that for ( f A , f B ) M o r A B ( A B , A B ) , f A : A A and f B :   B B with composition performed component wise. Similarly, for the product category q p the object is the pair O b j q p = O b j q × O b j p = { ( M q , M p ) } { M q p } , the set of morphisms are ordered pairs M o r q p ( M q p , M q p ) = M o r q ( M q , M q ) × M o r p ( M p , M p ) such that for g q p ( g q , g p ) M o r q p ( M q p , M q p ) , and g p :   M p M p with composition performed component wise. It is easily verified that A B and q p are categories where 1 A B = ( ε , ε ) and 1 M q p = ( ( , i , 0 ) , ( , i , 0 ) ) are the object identities.
Now use the gauge maps φ 0 : A ( , q ) and θ 0 : B ( , p ) to define F φ 0 , θ 0 : A B q p as F φ 0 , θ 0 F φ 0 × F θ 0 = ( F φ 0 , F θ 0 ) such that F φ 0 , θ 0 A B = ( F φ 0 A , F θ 0 B ) = ( M q , M p ) = M q p and for f ( f A , f B ) M o r A B ( A B , A B ) , F φ 0 , θ 0 f = ( F φ 0 f A , F θ 0 f B ) = ( g q , g p ) = g q p . It is readily seen that F φ 0 , θ 0 is a functor because F φ 0 , θ 0 1 A B = ( F φ 0 ε , F θ 0 ε ) = ( ( , i , 0 ) , ( , i , 0 ) ) = 1 M q p and for h , k ( h A , h B ) , ( k A , k B ) M o r A B ( A B , A B ) , if, then F φ 0 , θ 0 f h = F φ 0 , θ 0 ( f A h A , f B h B ) = ( F φ 0 f A h A , F θ 0 f B h B ) = ( F φ 0 k A , F θ 0 k B ) = F φ 0 , θ 0 k .
Thus:
F φ 0 , θ 0 a 1 a 2 a m , b 1 b 2 b n = ( F φ 0 a 1 a 2 a m , F θ 0 b 1 b 2 b n ) = ( φ 0 ( a 1 ) q φ 0 ( a 2 ) q q φ 0 ( a m ) , θ 0 ( b 1 ) p θ 0 ( b 2 ) p p θ 0 ( b n ) ) = ( g q , g p )
Of course, a similar construction can be made using products of a finite number of categories of systems and Müller-Wichards performance categories.
Thus, generally distinct performance triples g q ( r q , w q , u q ) and g p ( r p , w p , u p ) are obtained, which yield separate performance estimates for systems comprised of A basis processes and for systems comprised of B basis processes, respectively. Obviously, unless q = p , g q and g p cannot be properly combined algebraically to obtain a single performance estimate for a process comprised of both A and B basis processes. However, an inequality can be established by letting g 1 = g q ,   g 2 = ( , i , 0 ) = g 3 , and g 4 = g p in Lemma 2.6 in [1]. These yields g q p g p g q q g p when 1 q p . An alternative approach is to estimate the combined processing time for systems composed of A processes and for systems composed of B processes from g q and g p using t A B = t A + t B , where t A = | w q | r q and t B = | w p | r p .

7. Closed Form Models

In this section, the above theory is used to develop general closed form system performance estimation models where a system’s performance r and weight w are explicit functions of the performances and weights of the processes that comprise the system. The next theorem provides models for systems comprised entirely of a finite number of arithmetic processes or data movement processes. In what follows, let N = { 1 , 2 , , n } .
Theorem 17.
Let a 1 a 2 a n M o r A ( A , A ) . If φ 0 ( a i ) C ,   i N , or φ 0 ( a i ) D ,   i N , then
F φ 0 X a 1 a 2 a n = ( r 1 , w 1 , x ) q ( r 2 , w 2 , x ) q q ( r n , w n , x ) = ( r , w , x ) ,
where x = 1 or 0 when X = C or D , respectively, w = i = 1 n w i , and
r = w [ i = 1 n ( w i r i ) q ] 1 q
Now consider systems comprised entirely of a finite number of delay processes.
Theorem 18.
Let a 1 a 2 a n M o r A ( A , A ) . If φ 0 ( a i ) V ,   i N ,   then
F φ 0 V a 1 a 2 a n = ( r 1 , i , 0 ) q ( r 2 , i , 0 ) q q ( r n , i , 0 ) = ( r , i , 0 ) ,
where
r = 1 [ i = 1 n ( 1 r i ) q ] 1 q .
The last two theorems can be used to construct closed form models for systems comprised of finite numbers of arithmetic, data movement, and delay processes.
Theorem 19.
Suppose the system a 1 a 2 a n M o r A ( A , A ) is comprised of n C arithmetic processes, n D data movement processes, and n V delay processes such that n C + n D + n V = n . Then
F φ 0 a 1 a 2 a n = ( r C , w C , 1 ) q ( r D , w D , 0 ) q ( r V , i , 0 ) = ( r , w C , 1 ) ,
where
r = w C [ ( w C r C ) q + ( w D r D ) q + ( 1 r V ) q ] 1 q   ,
with r C and w C given by Theorem 17 when X = C and n = n C ; r D and w D given by Theorem 17 when X = D and n = n D ; and r V given by Theorem 18 when n = n V .

8. Statistical Properties of r for Closed Form Models

Since system performance studies are often stochastic in nature, it is instructive to examine the statistical characteristics of the system performance variable r for several cases using the closed form models of Theorem 17 for arithmetic and data movement elements.

8.1. Fixed Rates and Independent Random Weights

Assume that for both element types each rate r i = r I ,   i N , where r I is a fixed value, and each weight w i ,   i N , is an independent random variable described by the same Poisson distribution with mean λ . In this case-for a fixed q , n , and λ-Equation (15) can be written as:
r = r I i = 1 n w i ( i = 1 n w i q ) 1 q
Note that it necessarily follows that i = 1 n w i is also Poisson distributed with mean n λ .
Using these assumptions, 10 4 trials were generated for each λ and q combination, where λ { 10 , 20 , 40 } and q { 1.5 ,   2 ,   2.5 ,   3 ,   4 ,   } , when   n = 10 and r I = 1 . A kernel estimator of the probability density function (pdf) for the overall system rate r associated with each combination is shown in Figure 3. Observe from Equation (20) that since this figure is generated using r I = 1 , the horizontal axes of this figure can be interpreted as the ratio r / r I . Thus, multiplying each pdf by 0 < r I 1 yields the pdf for the associated r I .
Inspection of Figure 3 quantifies-for a system comprised of a fixed number of basis processes and a fixed processing rate-the intuitively pleasing facts that: (i) for a fixed q value, the peak value of the pdf increases, the r value of the peak of the pdf effectively remains fixed, and the width of the pdf narrows as the mean process weight λ increases (i.e., the probability that the value of the overall system rate r will be within a small fixed interval about the peak r value increases with increasing mean process weight); and (ii) for a fixed mean process weight, the peak value of the pdf for r increases and the width of the pdf broadens as q increases in value (i.e., the overall peak system rate r increases and the probability that r will be within a small interval about the peak rate decreases with increasing system “speedup” or parallelism).
Kernel estimator pdfs were also obtained for r using 10 4 trials and Equation (20) with r I = 1 for n { 2 , 4 , 8 , 10 , 16 } and q { 1.5 , 2 , 2.5 , 3 , 4 , } . The weights for each trial were determined from a Poisson distribution with λ = 10 . These results are presented in Figure 4 where-as expected from the Figure 3 results-it is seen for each n that the peak r value increases, the distribution broadens, and the value of the pdf peak decreases with increasing q . Also expected is the fact that-although the pdf peak values and distribution width effectively remain the same-the distributions shift to larger r values with increasing q as n increases.

8.2. Random Rates and Random Weights

Now consider trials where for each trial—in addition to having Poisson distributed random weights as just described—the rates r i in Equation (15) are also randomly assigned using the exponential distribution:
f ( x , γ ) = { γ e γ x ,   x 0 0 ,   otherwise .
Using this methodology, kernel estimator pdfs for r were obtained using 10 4 trials per combination for a range of γ values and each q { 1.5 , 2 , 2.5 , 3 , 4 , } when λ = 10 and n = 10 . These results are presented in Figure 5 for γ { 2 , 10 } and in Figure 6 when q is also unity and γ { 1 , 2 , 3 } . Each of the pdfs in the two lower Figures in Figure 6 are scaled by their γ values, i.e., all of the resulting r values are divided by their respective γ values, so that the pdfs for all γ values fit on the same horizontal axis value range.
Observe from these figures that—when compared with the previous results for fixed r I —the inclusion of random rates causes the q parameterized pdfs to be closer together and overlap. The presence of randomness increases the variance associated with each r pdf and, interestingly, tends to significantly decrease the sensitivity of the pdfs to the value of q . This comparison is made more clear in Figure 7 where the graphs of the pdfs for n = 10 ,   λ = 10 , and q { 1.5 , 2 , 2.5 , 3 , 4 } are placed one above the other for the case where both the rates and weights are randomly selected as above when γ = 10 (upper Figure) and the case where the rates all have unit value and only the weights are Poisson distributed (lower Figure). Each of the pdfs in the upper Figure are scaled by the associated γ = 10 value.

9. Special Case Closed Form Models

Here, Theorems 17–19 are used to produce several closed form models when the performance values and the weight values are assumed to be equal for all processes in a system. Such processes are equal processes and the associated system models are special case closed form models (SCCFMs).
SCCFM 1.
If a 1 a 2 a n M o r A ( A , A ) is a system such that φ 0 ( a i ) = ( ρ , λ , 1 ) C ,   i N , then F φ 0 C a 1 a 2 a n = ( r , w , 1 ) , where w = n λ and r = n 1 1 q   ρ . The time required for the system to complete its arithmetic operations is t q C = n 1 q ( λ ρ ) .
Since the next model is also a direct consequence of Theorem 17 and its proof follows that of the previous model, it is stated without proof.
SCCFM 2.
If a 1 a 2 a n M o r A ( A , A ) is a system such that φ 0 ( a i ) = ( σ , ω , 0 ) D ,   i N , then F φ 0 D a 1 a 2 a n = ( r , w , 0 ) , where w = n ω and r = n 1 1 q   σ . The time required for the system to complete moving all of its data is t q D = n 1 q ( ω σ ) .
SCCFM 3.
If a 1 a 2 a n M o r A ( A , A ) is a system such that φ 0 ( a j ) = ( δ , i , 0 ) V ,   j N , then F φ 0 V a 1 a 2 a n = ( r , i , 0 ) , where r = n 1 q   δ . The time delay for this system is t q V = n 1 q ( 1 δ ) .
Note that: (i) when q = 1 , the processing is sequential and as required, the time t 1 X ,   X { C , D , V } , for the systems to complete their processing is the sum of the n individual times required to complete each process in the system; (ii) when 1 < q < , the processing time is “skewed” or “compressed” and t q X < t 1 X .
SCCFM 4.
Suppose the system a 1 a 2 a n M o r A ( A , A ) is comprised of n C equal arithmetic processes, n D equal data movement processes, and n V equal delay processes such that n C + n D + n V = n . Then:
F φ 0 a 1 a 2 a n = ( r C , w C , 1 ) q ( r D , w D , 0 ) q ( r V , i , 0 ) = ( r C D V , n C λ , 1 ) ,
where r C and w C are given by SCCFM 1 when n = n C ; r D and w D are given by SCCFM 2 when n = n D ; r V given by SCCFM 3 when n = n V ; and:
r C D V = n C λ [ n C ( λ ρ ) q + n D ( ω σ ) q + n V ( 1 δ ) q ] 1 q   .
The time required for this system to complete its processing is:
t q C D V = [ ( t q C ) q + ( t q D ) q + ( t q V ) q ] 1 q   .
Again, note that when q = 1 , t 1 C D V is the sum of the system delays, the time required for the system to complete processing its arithmetic operations, and the time required for the system to complete its data movement operations.

10. Applications of Special Case Closed Form Models

Special case closed form models are useful for understanding and describing fundamental properties and dynamics of CMW system performance models. The following subsections provide several examples of this.

10.1. The Effect of q Upon the t q X n X Dependence, X { C , D , V }

It is easily seen from SCCFM1-SCCFM3 that the differential of t q X (with respect to n X ) can be written as:
d t q X = 1 q t q X d n X n X ,   X { C , D , V } .
Dividing both sides of this equation by t q X yields:
d t q X t q X = 1 q d n X n X
which can be written as
d ln t q X = 1 q d ln n X
or as
d ln t q X d ln n X = 1 q .
It follows from this that for these SCCFMs, ln t q X varies linearly with ln n X with an associated slope of q 1 . This implies the intuitively pleasing result that for SCCFM1-SCCFM3, increasing the system’s parallelization (i.e., increasing the q value) decreases the processing time t q X -regardless of the number n X of basis processes that must be processed.

10.2. A Stationary Action Principle for SCCFM4 System Performance

Consider SCCFM4, assume for fixed q that [ ( t q C ) q + ( t q D ) q + ( t q V ) q ] = χ ( t ) χ is time dependent, and let the function:
q q ( χ , χ ˙ ) = 1 q χ 1 q q χ ˙ ,
where χ ˙ d χ d t , describe the system’s performance with time. Using Equation (29), it is found that:
d d t ( q χ ˙ ) = q χ ,
i.e., q satisfies the Euler-Lagrange equation. Consequently, q is the performance Lagrangian for the system, Equation (30) is the associated equation of motion for the system’s performance, and the integral
0 τ q d t
is stationary so that its first variation δ vanishes (e.g., [27]). This has the following interpretation: If is the configuration space χ × t + × + and processing begins at t = 0 and is completed at t = τ , then the actual processing path followed by [ ( t q C ) q + ( t q D ) q + ( t q V ) q ] in during the fixed processing interval [ 0 , τ ] is such that:
δ 0 τ q d t = 0
with respect to all path variations in , which vanish at the end-points of the interval.

10.3. Invariance of the Equation of Motion

Note that for any arbitrary (twice differentiable) function ϕ ( χ ) , the transformed performance Lagrangian
q # q + ϕ ˙
also describes the processing path followed by [ ( t q C ) q + ( t q D ) q + ( t q V ) q ] in during the fixed processing interval [ 0 , τ ] since:
δ 0 τ q # d t = δ 0 τ q d t + δ [ ϕ ] 0 τ = δ 0 τ q d t = 0 .
Thus, although the performance Lagrangian is not unique, by extension, it can be concluded that the equation of motion for the system’s performance is invariant under all transformations of the performance Lagrangian of the form given by Equation (33).

11. Concluding Remarks

This paper has presented a category theoretic reformulation of the Müller-Wichards system performance model. The use of category theoretic terminology provides a precise and efficient mathematical vocabulary for defining categories of systems, system performance, and system performance functors. These functors were shown to be useful for discussing factorizing systems without changing their performance and identifying model symmetries and invariants. Such formal mathematical properties of models tend to characterize aspects of the real systems that the models represent.
A practical feature of the model is that it can be implemented in a relatively straightforward manner as a software package. A user can assign to each basis process—via a gauge map—its numerical triple in the performance category. This defines for each basis process its type (arithmetic, data movement, or delay element), rate, and weight. The associated performance functor then uses these assignments to automatically generate a final performance triple for any system (string of basis processes) in the category of systems defined by the process basis set. Several other useful features of the model include using closed form performance models to provide “quick” performance estimates, as well as to provide “sanity checks” for results obtained from software implementations of the model; generating stochastic-based performance studies by treating rates and weights as random variables (as illustrated in Section 8); and applying closed form models to abstractly characterize aspects of system performance (as illustrated in Section 10).
Future research involves defining an appropriate metric d on M o r A ( A , A ) that measures the similarity between systems; and finding an approach for classifying subsets of interest in the associated metric space ( M o r A ( A , A ) , d ) such that the systems within such a class are very similar [28]. An implementation of this classification scheme in a software package, which also uses F φ 0 to automatically evaluate in q the performance of the systems in such a class can be useful for scheduling analysis, as well as for making informed high level system engineering design trade-offs.

Author Contributions

Conceptualization, D.J.M. and A.D.P.; Methodology, A.D.P.; Software, D.J.M.; Writing-Original Draft Preparation, A.D.P.; Writing-Review & Editing, D.J.M and A.D.P.

Funding

This research was funded by a grant from the Naval Surface Warfare Center Dahlgren Division’s In-house Laboratory Independent Research program.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Proof of Theorem 1.
This result was proven in [1]. □
Proof of Theorem 2.
This follows directly from Lemma 1. □
Proof of Theorem 3.
Let g 1 , g 2 X . Case i. If X = C , then u 1 = 1 = u 2 . Since u = u 1 ˅   u 2 = 1 , then g 1 q g 2 = ( r , w , 1 ) C . Case ii. If X = D , then u 1 = 0 = u 2 and u = u 1 ˅   u 2 = 0 . Thus, g 1 q g 2 = ( r , w , 0 ) V . Case iii. Cases iii apply when g 1 and g 2 are both in C or in D . Now let g 1 C and g 2 D . Then u 1 ˅   u 2 = 1 so that g 1 q g 2 = ( r , w , 1 ) C C D . Case iv. If X = V , then u 1 = 0 = u 2 , w 1 = i = w 2 . Since u = u 1 ˅   u 2 = 0 and w = i , then g 1 q g 2 = ( r , i , 0 ) V . Clearly, if either or both of g 1 or g 2 are the identity element e for each of these cases, then g 1 q g 2 X ,   X { C , D , C D , V } . Consequently, each ( X , q ) ,   X { C , D , C D , V } is a submonoid of ( , q ) . □
Proof of Theorem 4.
Each of these monoids determines an associated category in the manner prescribed by Lemma 1. □
Proof of Theorem 5.
Each category is small because O b j q and O b j q X ,   X { C , D , C D , V } ,   are singleton sets. They are connected because q and q X ,   X { C , D , C D , V } , have only one object and M o r q ( M q , M q ) = X = M o r q X ( M q X , M q X ) . □
Proof of Theorem 6.
It must be shown that any morphism g 1 M o r q X ( M q X , M q X ) is both monic and epic. First show that g 1 is monic, i.e., g 1 q g 2 = g 1 q g 3 g 2 = g 3 . Observe that g 1 = e is monic and assume that g 1 q g 2 = g 1 q g 3 with g 1 e g 2 .
Case i. If X = C and 1 q < , then u 1 = u 2 = u 3 = 1 u 1 ˅ u 2 = u 1 ˅ u 3 = 1 R e [ w 1 + w 2 ] = R e [ w 1 + w 3 ] w 2 = w 3
w 1 + w 2 ( ( w 1 r 1 ) q + ( w 2 r 2 ) q ) 1 q = w 1 + w 3 ( ( w 1 r 1 ) q + ( w 3 r 3 ) q ) 1 q = w 1 + w 2 ( ( w 1 r 1 ) q + ( w 2 r 3 ) q ) 1 q
r 2 = r 3 g 2 = g 3 g 1 is monic. Similarly for q = .
Case ii. If X = D and 1 q < , then u 1 = u 2 = u 3 = 0 u 1 ˅ u 2 = u 1 ˅ u 3 = 0 R e [ w 1 + w 2 ] = R e [ w 1 + w 3 ] w 2 = w 3
w 1 + w 2 ( ( w 1 r 1 ) q + ( w 2 r 2 ) q ) 1 q = w 1 + w 3 ( ( w 1 r 1 ) q + ( w 3 r 3 ) q ) 1 q = w 1 + w 2 ( ( w 1 r 1 ) q + ( w 2 r 3 ) q ) 1 q
r 2 = r 3 g 2 = g 3 g 1 is monic. Similarly for q = .
Case iii. If X = V and 1 q < , then u 1 = u 2 = u 3 = 0 and w 1 = w 2 = w 3 = i
1 ( ( 1 r 1 ) q + ( 1 r 2 ) q ) 1 q = 1 ( ( 1 r 1 ) q + ( 1 r 3 ) q ) 1 q
r 2 = r 3 g 2 = g 3 g 1 is monic. Similarly, for q = .
To show that morphism g 1 is epic it must be demonstrated that g 2 q g 1 = g 3 q g 1 g 2 = g 3 . Note that g 1 = e is epic and observe that since q is commutative, then the Case iiii arguments above still apply so that g 2 q g 1 = g 3 q g 1 g 2 = g 3 g 1 is epic. □
Proof of Theorem 7.
Consider q C . Let g 1 = ( r 1 , w 1 , 1 ) C and g 2 = ( r 2 , w 2 , 1 ) C . Then g 1 q g 2 C because u 1 ˅   u 2 = 1 and w 1 and w 2 are real valued. If g 1 = ( r 1 , w 1 , 0 ) D , then it is also the case that g 1 q g 2 C because u 1 ˅   u 2 = 1 and w 1 and w 2 are real valued. If g 1 = ( r 1 , i , 0 ) V , then u 1 ˅   u 2 = 1 , the resulting weight w is real valued, and the resulting rate r is real valued so that g 1 q g 2 C . □
Proof of Theorem 8.
This follows directly from Lemma 1. □
Proof of Theorem 9.
A is a small category because O b j A is the singleton set { A } . A is a connected category because it has only one object and M o r A ( A , A ) . □
Proof of Theorem 10.
This is a direct consequence of the fact that A is cancellative (Lemma 5). In particular, u v = u w v = w u is monic and v u = w u v = w u is epic. □
Proof of Theorem 11.
From Lemma 3 a homomorphism φ : A ( , q ) is established by extending any gauge map φ 0 : A ( , q ) to a unique monoid homomorphism   φ : A ( , q ) according to:
φ ( a 1 a 2 a n ) = φ 0 ( a 1 ) q φ 0 ( a 2 ) q q ( a n )   .
From Lemma 2, this homomorphism corresponds to the performance functor F φ 0 : A q such that F φ 0 A = M and:
F φ 0 a 1 a 2 a n = φ 0 ( a 1 ) q φ 0 ( a 2 ) q q φ 0 ( a n )
Similarly, for the functors F φ 0 X : A q X ,   X { C , D , C D , V } . □
Proof of Theorem 12.
Since M o r A ( A , A ) = A , it is clear that α : A A is also an automorphism of A in which case A u t ( A ) = A u t ( A ) . The theorem follows from the well-known fact that A u t ( A ) is isomorphic to the group of permutations of the elements of set A [24]. □
Proof of Theorem 13.
For every α A u t ( A ) , α ( M o r A ( A , A ) ) = M o r A ( A , A ) . Thus, if w M o r A ( A , A ) , then w α ( M o r A ( A , A ) ) . Because φ 0 is fixed, F φ 0 w and F φ 0   X w ,   X { C , D , C D , V } , have the same images in q and q X , respectively, after the application of every α as they did before their application. □
Proof of Theorem 14.
The existence of a commutative triangle Δ in A means that Δ exists in M o r A ( A , A ) . Since α ( M o r A ( A , A ) ) = M o r A ( A , A ) for every α A u t ( A ) , then Δ also exists in α ( M o r A ( A , A ) ) for every α A u t ( A ) and is a CMW invariant. That the Müller-Wichards performance functor images of Δ are also CMW invariants follows from the facts that (i) the images of these functors are CMW invariants (Theorem 13) and (ii) all functors preserve commutative triangles. □
Proof of Theorem 15.
Let w = u v be a commutative triangle in A . It follows from Theorem 10 that u and v are bimorphisms in which case u is monic and v is epic and w = u v is a factorization of w . Since functors preserve commutative triangles, then F φ 0 w = F φ 0 u q F φ 0 v is the associated commutative triangle in q . It is clear that the integrity of the factorization of w is maintained because F φ 0 w = F φ 0 u v = F φ 0 u q F φ 0 v . Similarly for the functors F φ 0 X ,   X { C , D , C D , V } . □
Proof of Theorem 16.
If u v = w z is a commutative square in A , then, because A is equidivisible (Lemma 5), there exists an x M o r A ( A , A ) = A such that (i) u = w x and z = x v , or (ii) w = u x and v = x z . These are factorizations because every morphism in A is a bimorphism (Theorem 10) so that in (i) w and x are monic and x and v are epic, or in (ii) u and x are monic and x and z are epic. Because each of these factorizations corresponds to a commutative triangle in A , it follows from Theorem 15 that they maintain their integrity. □
Proof of Corollary 2.
If u v = w z in M o r A ( A , A ) , then it must be the case that there is an x M o r A ( A , A ) = A such that u = w x and z = x v or w = u x and v = x z (Lemma 5). Since u = w x , z = x v , w = u x , and v = x z are commutative triangles in A , they are preserved by F φ 0 X in q X , X { C , D , V } , so that F φ 0 X u = F φ 0 X w q F φ 0 X x and F φ 0 X z = F φ 0 X x q F φ 0 X v or F φ 0 X w = F φ 0 X u q F φ 0 X x and F φ 0 X v = F φ 0 X x q F φ 0 X z . The result follows from the fact that every morphism in the image of F φ 0 X in q X , X { C , D , V } , is a bimorphism so that F φ 0 X w and F φ 0 X x are monic and F φ 0 X x and F φ 0 X v are epic, or F φ 0 X u and F φ 0 X x are monic and F φ 0 X x and F φ 0 X z are epic. □
Proof of Corollary 3.
If F φ 0 is faithful, then the commutative triangle F φ 0 u = F φ 0 v q F φ 0 w in q reflects to the commutative triangle u = v w in A (Lemma 4). Since every morphism in A is a bimorphism (Theorem 10), then u is factorizable because v is monic and w is epic. Since F φ 0 u = F φ 0 v q F φ 0 w , the factorization of u maintains its integrity. □
Proof of Theorem 17.
That the action of the functor on a 1 a 2 a n is as stated in the consequence of the theorem follows from Theorem 11 and the fact that φ 0 ( a i ) = ( r i , w i , x ) ,     i N , where x = 1 or 0 when X = C or D , respectively. The remainder of the proof is by induction. (i) For = 0 , 1 , w = w 12 = R e [ x w 1 + x w 2 + ¬ ( x ˅ x ) ( w 1 + w 2 ) ] = x w 1 + x w 2 + ¬ x ( w 1 + w 2 ) = w 1 + w 2 ; w = w 123 = R e [ x w 12 + x w 3 + x ( w 12 + w 3 ) ] = w 12 + w 3 = w 1 + w 2 + w 3 . Now assume that w = w 12 n = w 1 + w 2 + + w n . Since w = w 12 ( n + 1 ) = R e [ x w 12 n + x w n + 1 + ¬ ( w 12 n + w n + 1 ) ] = w 12 n + w n + 1 = w 1 + w 2 + + w n + 1 , it follows that w = w 1 + w 2 + + w n . (ii) Since each weight is real valued,
r = r 12 = w 1 + w 2 [ ( w 1 r 1 ) q + ( w 2 r 2 ) q ] 1 q
and increasing by one yields:
r = r 123 = w 12 + w 3 [ ( w 12 r 12 ) q + ( w 3 r 3 ) q ] 1 q = w 1 + w 2 + w 3 [ ( w 1 + w 2 w 1 + w 2 [ ( w 1 r 1 ) q + ( w 2 r 2 ) q ] 1 q ) q + ( w 3 r 3 ) q ] 1 q = w 1 + w 2 + w 3 [ ( w 1 r 1 ) q + ( w 2 r 2 ) q + ( w 3 r 3 ) q ] 1 q .
Now assume r = r 12 n = w 1 + w 2 + + w n [ ( w 1 r 1 ) q + ( w 2 r 2 ) q + + ( w n r n ) q ] 1 q .
Since
r = r 12 ( n + 1 ) = w 12 n + w n + 1 [ ( w 12 n r 12 n ) q + ( w n + 1 r n + 1 ) q ] 1 q = w 1 + w 2 + + w n + 1 [ ( w 1 + w 2 + + w n w 1 + w 2 + + w n [ ( w 1 r 1 ) q + ( w 2 r 2 ) q + + ( w n r n ) q ] 1 q ) q + ( w n + 1 r n + 1 ) q ] 1 q
Then
r = w 1 + w 2 + + w n + 1 [ ( w 1 r 1 ) q + ( w 2 r 2 ) q + + ( w n + 1 r n + 1 ) q ] 1 q
and the theorem is proved. □
Proof of Theorem 18.
The action of the functor on a 1 a 2 a n as stated in the consequence of the theorem follows from Theorem 11 and the fact that φ 0 ( a i ) = ( r i , i , 0 ) ,     i N . It is also clear from item 2 in Section 4 that regardless of how many triples in set V are combined under q , the weight of the resultant triple is i . The remainder of the proof is by induction. Since | i | = 1 ,
r = r 12 = 1 [ ( 1 r 1 ) q + ( 1 r 2 ) q ] 1 q
and
r = r 123 = 1 [ ( 1 r 12 ) q + ( 1 r 3 ) q ] 1 q = 1 [ ( 1 1 [ ( 1 r 1 ) q + ( 1 r 2 ) q ] 1 q ) q + ( 1 r 3 ) q ] 1 q = 1 [ ( 1 r 1 ) q + ( 1 r 2 ) q + ( 1 r 3 ) q ] 1 q .
Now assume that:
r = r 12 n = 1 [ ( 1 r 1 ) q + ( 1 r 2 ) q + + ( 1 r n ) q ] 1 q   .
Then
r = r 12 ( n + 1 ) = 1 [ ( 1 r 12 n ) q + ( 1 r n + 1 ) q ] 1 q = 1 [ ( 1 1 [ ( 1 r 1 ) q + ( 1 r 2 ) q + + ( 1 r n ) q ] 1 q ) q + ( 1 r n + 1 ) q ] 1 q = 1 [ ( 1 r 1 ) q + ( 1 r 2 ) q + + ( 1 r n + 1 ) q ] 1 q
and the theorem is proved. □
Proof of Theorem 19.
Since q is commutative, F φ 0 a 1 a 2 a n can be rearranged and written as F φ 0 a 1 a 2 a n = ( r C , w C , 1 ) q ( r D , w D , 0 ) q ( r V , i , 0 ) , where r C and w C are given by Theorem 17 when X = C and n = n C ; r D and w D are given by Theorem 17 when X = D and n = n D ; and r V is given by Theorem 18 when n = n V . Because q is associative, this product can be evaluated in any order. Consider first the product ( r C , w C , 1 ) q ( r D , w D , 0 ) . The weight w C D resulting from this product is w C D =   1 · w C + 0 · w D + ¬ ( 1 ˅ 0 ) ( w C + w D ) = w C so that:
r C D = w C [ ( w C r C ) q + ( w D r D ) q ] 1 q   .
For the product ( r C , w C , 1 ) q ( r D , w D , 0 ) q ( r V , i , 0 ) , combining w C D = w C with the weight of the third triple gives a final combined weight of w C D V = R e [ 1 · w C D + 0 · i + ¬ ( 1 ˅ 0 ) ( w C D + i ) ] = w C D = w C so that:
r = r C D V = w C [ ( w C D r C D ) q + ( 1 r V ) q ] 1 q = w C [ ( w C w C [ ( w C r C ) q + ( w D r D ) q ] 1 q ) q + ( 1 r V ) q ] 1 q = w C [ ( w C r C ) q + ( w D r D ) q + ( 1 r V ) q ] 1 q
 □
Proof of SCCFM1.
The results for w and r follow from Theorem 17 since w = i = 1 n λ = n λ and r = n λ [ i = 1 n ( λ ρ ) q ] 1 q = n λ [ n ( λ ρ ) q ] 1 q = n 1 1 q   ρ . The processing time follows from the ratio t q C = w r = n λ n 1 1 q ρ = n 1 q ( λ ρ ) . □
Proof of SCCFM3.
The results for the weight and r follows from Theorem 18. In particular, the weight is i because F φ 0 V a 1 a 2 a n is a delay process and r = 1 [ i = 1 n ( 1 δ ) q ] 1 q = 1 [ n ( 1 δ ) q ] 1 q = n 1 q   δ . The delay time follows from the ratio t q V = | i | r = 1 n 1 q δ = n 1 q ( 1 δ ) . □
Proof of SCCFM4.
Substituting the results from SCCFM 1—SCCFM 3 into the r of Theorem 19 gives the desired result for r C D V . The time to complete processing is obtained by substituting this r C D V into the ratio t q C D V = n C λ r C D V , simplifying the resulting expression, and identifying the terms in the sum with processing times for SCCFM 1–SCCFM 3. □

References

  1. Müller-Wichards, D. Performance estimates for applications: An algebraic framework. Parallel Comput. 1988, 9, 77–106. [Google Scholar] [CrossRef]
  2. Döring, A.; Isham, C.J. A topos foundation for theories of physics: I. Formal languages for physics. J. Math. Phys. 2008, 49, 053515. [Google Scholar] [CrossRef] [Green Version]
  3. Döring, A.; Isham, C.J. A topos foundation for theories of physics: II. Daseinisation and the liberation of quantum theory. J. Math. Phys. 2008, 49, 053516. [Google Scholar] [CrossRef] [Green Version]
  4. Döring, A.; Isham, C.J. A topos foundation for theories of physics: III. The representation of physical theories with arrows δ ˘ O ( A ) : . J. Math. Phys. 2008, 49, 053517. [Google Scholar] [CrossRef]
  5. Döring, A.; Isham, C. A topos foundation for theories of physics: IV. Categories of systems. J. Math. Phys. 2008, 49, 053518. [Google Scholar] [CrossRef] [Green Version]
  6. Wiels, V.; Easterbrook, S. Management of evolving specifications using category theory. In Proceedings of the 13th IEEE International Conference on Automated Systems Engineering, Honolulu, HI, USA, 13–16 October 1998; pp. 12–21. [Google Scholar]
  7. Gebreyohannes, S.; Edmonson, W.; Esterline, A. Formalization of the Responsive and Formal Design Process using Category Theory. In Proceedings of the 2018 Annual IEEE International Systems Conference (SysCon), Vancouver, BC, Canada, 23–26 April 2018; pp. 1–8. [Google Scholar]
  8. Kokar, M.; Tomasik, J.; Weyman, J. Data vs. Decision Fusion in the Category Theory Framework. In Proceedings of the 4th International Conference on Information Fusion, Montreal, QC, Canada, 7–10 August 2001. [Google Scholar]
  9. Barr, M.; Wells, C. Category Theory for Computing Science; Prentice Hall: New York, NY, USA, 2002; ISBN 0-13-120486-6. [Google Scholar]
  10. Pavlovic, D. Tracing the man in the middle of monoidal categories. arXiv, 2012; arXiv:1203.6324. [Google Scholar]
  11. Andrian, J.; Kamhoua, C.; Kiat, K.; Njilla, L. Cyber Threat Information Sharing: A Category-Theoretic Approach. In Proceedings of the 2017 Third International Conference on Mobile and Secure Services (MobiSecServ), Miami Beach, FL, USA, 11–12 February 2017; pp. 1–5. [Google Scholar]
  12. Mabrok, M.; Ryan, M. Category Theory as a Formal Mathematical Foundation for Model-Based Systems Engineering. Appl. Math. Inf. Sci. 2017, 11, 43–51. [Google Scholar] [CrossRef]
  13. Wisnesky, R.; Breiner, S.; Jones, A.; Spivak, D.; Subrahmanian, E. Using Category Theory to Facilitate Multiple Manufacturing Service Database Integration. J. Comput. Inf. Sci. Eng. 2017, 17, 021011. [Google Scholar] [CrossRef]
  14. Rudskiy, I. Categorical Description of Plant Morphogenesis. arXiv, 2017; arXiv:1702.04627v1. [Google Scholar]
  15. Haruna, T.; Gunji, Y.-P. Duality between decomposition and gluing: A theoretical biology via adjoint functors. Biosystems 2007, 90, 716–727. [Google Scholar] [CrossRef] [PubMed]
  16. Haruna, T.; Gunji, Y.-P. An Algebraic Description of Development of Hierarchy. Int. J. Comp. Anti. Sys. 2008, 20, 131–143. [Google Scholar]
  17. Haruna, T. An application of category theory to the study of complex networks. Int. J. Comp. Anti. Sys. 2011, 23, 146–157. [Google Scholar]
  18. Ormandjieva, O.; Bentahar, J.; Huang, J.; Kuang, H. Modelling multi-agent systems with category theory. Procedia Comput. Sci. 2015, 52, 538–545. [Google Scholar] [CrossRef]
  19. Zhu, M.; Grogono, P.; Ormandjieva, O. Using Category Theory to Verify Implementation against Design in Concurrent Systems. Procedia Comput. Sci. 2015, 52, 530–537. [Google Scholar] [CrossRef]
  20. Ellerman, D. Adjoints and emergence: Applications to a new theory of adjoint functors. Axiomathes 2007, 17, 19–39. [Google Scholar] [CrossRef]
  21. Phillips, S. A General (Category Theory) Principle for General Intelligence: Duality (Adjointness). In Artificial General Intelligence, Proceedings of the 10th International Conference (AGI 2017), Melbourne, Australia, 15–18 August 2017; Everitt, T., Goertzel, B., Potapov, A., Eds.; Springer: Cham, Switzerland, 2017. [Google Scholar] [CrossRef]
  22. Blyth, T. Categories; Longman: London, UK, 1986; ISBN 0-582-98804-7. [Google Scholar]
  23. Bradley, T.-D. What Is Applied Category Theory? arXiv, 2018; arXiv:1809.05923v1. [Google Scholar]
  24. Clifford, A.; Preston, G. The Algebraic Theory of Semigroups; Library of Congress Catalogue Number: 61-15686; American Mathematical Society: Providence, RI, USA, 1961. [Google Scholar]
  25. Goldblatt, R. Topoi: The Categorical Analysis of Logic; Dover Publications Inc.: Mineola, NY, USA, 2006; ISBN 13: 978-0-486-45026-1. [Google Scholar]
  26. Rosen, J. Symmetry Rules: How Science and Nature are Founded on Symmetry; Springer: Berlin, Germany, 2008; p. 4. ISBN 978-3-540-75972-0. [Google Scholar]
  27. Lanczos, C. The Variational Principles of Mechanics; Dover Publications Inc.: Mineola, NY, USA, 1986; ISBN 0-486-65067-7. [Google Scholar]
  28. Parks, A.; Naval Surface Warfare Center, Dahlgren Division, Dahlgren, VA, USA. Personal communication, 2017.
Figure 1. The commutative triangle for f g = h in C.
Figure 1. The commutative triangle for f g = h in C.
Systems 07 00006 g001
Figure 2. The preserved image of Figure 1 under F in D.
Figure 2. The preserved image of Figure 1 under F in D.
Systems 07 00006 g002
Figure 3. Probability density functions for r for various q values when r I = 1 ,   n = 10 , and λ = 10 , 20 , 40 (top to bottom).
Figure 3. Probability density functions for r for various q values when r I = 1 ,   n = 10 , and λ = 10 , 20 , 40 (top to bottom).
Systems 07 00006 g003
Figure 4. Probability density functions for r when r I = 1 ,   q { 1.5 , 2 , 2.5 , 3 , 4 , } , and n { 2 , 4 , 8 , 10 , 16 } .
Figure 4. Probability density functions for r when r I = 1 ,   q { 1.5 , 2 , 2.5 , 3 , 4 , } , and n { 2 , 4 , 8 , 10 , 16 } .
Systems 07 00006 g004
Figure 5. Probability density functions for r when n = 10 ,   λ = 10 ,   γ = 2   ( t o p ) , γ = 10 (bottom) and q { 1.5 , 2 , 2.5 , 3 , 4 , } (left to right).
Figure 5. Probability density functions for r when n = 10 ,   λ = 10 ,   γ = 2   ( t o p ) , γ = 10 (bottom) and q { 1.5 , 2 , 2.5 , 3 , 4 , } (left to right).
Systems 07 00006 g005
Figure 6. Probability density functions for r when n = 10 ,   λ = 10 ,   γ { 1 , 2 , 3 } , and q { 1 , 1.5 , 2 , 2.5 , 3 , 4 , } . Each r value for γ { 2 , 3 } has been divided by the associated value of γ .
Figure 6. Probability density functions for r when n = 10 ,   λ = 10 ,   γ { 1 , 2 , 3 } , and q { 1 , 1.5 , 2 , 2.5 , 3 , 4 , } . Each r value for γ { 2 , 3 } has been divided by the associated value of γ .
Systems 07 00006 g006
Figure 7. Probability density functions for r when n = 10 ,   λ = 10   and   q { 1.5 , 2 , 2.5 , 3 , 4 } .
Figure 7. Probability density functions for r when n = 10 ,   λ = 10   and   q { 1.5 , 2 , 2.5 , 3 , 4 } .
Systems 07 00006 g007

Share and Cite

MDPI and ACS Style

Parks, A.D.; Marchette, D.J. Categorification of the Müller-Wichards System Performance Estimation Model: Model Symmetries, Invariants, and Closed Forms. Systems 2019, 7, 6. https://doi.org/10.3390/systems7010006

AMA Style

Parks AD, Marchette DJ. Categorification of the Müller-Wichards System Performance Estimation Model: Model Symmetries, Invariants, and Closed Forms. Systems. 2019; 7(1):6. https://doi.org/10.3390/systems7010006

Chicago/Turabian Style

Parks, Allen D., and David J. Marchette. 2019. "Categorification of the Müller-Wichards System Performance Estimation Model: Model Symmetries, Invariants, and Closed Forms" Systems 7, no. 1: 6. https://doi.org/10.3390/systems7010006

APA Style

Parks, A. D., & Marchette, D. J. (2019). Categorification of the Müller-Wichards System Performance Estimation Model: Model Symmetries, Invariants, and Closed Forms. Systems, 7(1), 6. https://doi.org/10.3390/systems7010006

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop