ONE of the great engineering challenge of this century is

Size: px
Start display at page:

Download "ONE of the great engineering challenge of this century is"

Transcription

1 A Mthemtil Theory of Co-Design Andre Censi 1 rxiv: v7 [s.lo] 12 Ot 2016 Astrt One of the hllenges of modern engineering, nd rootis in prtiulr, is designing omplex systems, omposed of mny susystems, rigorously nd with optimlity gurntees. This pper introdues theory of o-design tht desries design prolems, defined s tuples of funtionlity spe, implementtion spe, nd resoures spe, together with fesiility reltion tht reltes the three spes. Design prolems n e interonneted together to rete o-design prolems, whih desrie possily reursive o-design onstrints mong susystems. A o-design prolem indues fmily of optimiztion prolems of the type find the miniml resoures needed to implement given funtionlity ; the solution is n ntihin (Preto front) of resoures. A speil lss of o-design prolems re Monotone Co-Design Prolems (MCDPs), for whih funtionlity nd resoures re omplete prtil orders nd the fesiility reltion is monotone nd Sott ontinuous. The indued optimiztion prolems re multi-ojetive, nononvex, nondifferentile, nonontinuous, nd not even defined on ontinuous spes; yet, there exists omplete solution. The ntihin of miniml resoures n e hrterized s lest fixed point, nd it n e omputed using Kleene s lgorithm. The omputtion needed to solve o-design prolem n e ounded y funtion of grph property tht quntifies the interdependene of the suprolems. These results mke us muh more optimisti out the prolem of designing omplex systems in rigorous wy. I. INTRODUCTION ONE of the gret engineering hllenge of this entury is deling with the design of omplex systems. A omplex system is omplex euse its omponents nnot e deoupled; otherwise, it would e just (simple) produt of simple systems. The design of omplex system is omplited euse of the o-design onstrints, whih re the onstrints tht one susystem indues on nother. This pper is n ttempt towrds formlizing nd systemtilly solving the prolem of odesign of omplex systems with reursive design onstrints. Rooti systems s the prototype of omplex systems: Rootis is the prototypil exmple of field tht inludes heterogeneous multi-domin o-design onstrints. The design of rooti system involves the hoie of physil omponents, suh s the tutors, the sensors, the power supply, the omputing units, the network links, et. Not less importnt is the hoie of the softwre omponents, inluding pereption, plnning, nd ontrol modules. All these omponents indue odesign onstrints on eh other. Eh physil omponent hs SWAP hrteristis suh s its shpe (whih must ontined somewhere), weight (whih dds to the pylod), power (whih needs to e provided y something else), exess het (whih must e dissipted somehow), et. Anlogously, the softwre omponents hve similr o-design onstrints. For exmple, plnner needs stte estimte. An estimtor provides stte estimte, nd requires the dt from sensor, whih requires the presene of sensor, whih requires power. Everything s money to uy or develop or liense. Andre Censi <ensi@mit.edu> is with the Lortory for Informtion nd Deision Systems (LIDS) t the Msshusetts Institute of Tehnology. o-design prolem design prolem design prolem strtion funtionlity to provide design prolem miniml resoures required Figure 1. A design prolem is reltion tht reltes the implementtions ville to the funtionlity provided nd the resoures required, oth represented s prtilly ordered sets. A o-design prolem is the interonnetion of two or more design prolems. An edge in o-design digrm like in the figure represent o-design onstrint: the resoures required y the first design prolem re lower ound for the funtionlity to e provided y the seond. The optimiztion prolem to e solved is: find the solutions tht re miniml in resoures usge, given lower ound on the funtionlity to e provided. Wht mkes system design prolems non trivil is tht the onstrints might e reursive. This is form of feedk in the prolem of design (Fig. 1). For exmple, ttery provides power, whih is used y tutors to rry the pylod. A lrger ttery provides more power, ut it lso inreses the pylod, so more power is needed. Extremely interesting trde-offs rise when onsidering onstrints etween the mehnil system nd the emodied intelligene. For ontrol, typilly etter stte estimte sves energy in the exeution, ut requires etter sensors (whih inrese the nd the pylod) or etter omputtion (whih inreses the power onsumption). Contriution: A Prinipled Theory of Co-Design: This pper desries theory to del with ritrrily omplex o-design prolems in prinipled wy. A design prolem is defined s tuple of funtionlity spe, implementtion spe, nd resoures spe, plus the two mps tht relte n implementtion to funtionlity provided nd resoures required. A design prolem defines fmily of optimiztion prolems of the type find the miniml resoures needed to implement given funtionlity. A o-design prolem is n interonnetion of design prolems ording to n ritrry grph struture, inluding feedk onnetions. Monotone Co-Design Prolems (MCDPs) re the omposition of design prolems for whih oth funtionlity nd resoures re omplete prtil orders, nd the reltion etween funtionlity implemented nd resoures needed is monotone (order-preserving) nd Sott ontinuous. The first min result in this pper (Theorem 1 on pge 9) is tht the lss of MCDPs is losed with respet to interonnetion. The seond min result (Theorem 2 on pge 10) is tht there exists systemti proedure to solve n MCDP, ssuming there is proedure to solve the primitive design prolems. The solution of n MCDP Preto front, or ntihin of miniml resoures n e found y solving lest fixed point itertion in the spe of ntihins. The omplexity of this itertion depends on the struture of the o-design digrm. This pper is generliztion of previous work [1], where

2 2 the interonnetion ws limited to one yle. A onferene version of this work ppered s [2]. Outline: Se. II rells neessry kground out prtil orders. Se. III defines o-design prolems. Se. IV ontins rief sttement of results. Se. V desries omposition opertors for design prolems. Se. VI shows how ny interonnetion of design prolems n e desried using three omposition opertors (, prllel, feedk). Se. VII desries the invrine of monotoniity property tht is preserved y the omposition opertors. Se. VIII desries solution lgorithms for MCDPs. Se. IX shows numeril exmples. Se. X disusses relted work. Note in (1) the use of insted of, whih might seem more nturl. This hoie will mke things esier lter. In the poset UP, UP, the top is the empty set, nd the ottom is the entire poset P. Order on ntihins: The upper losure opertor mps suset of poset to n upper set. Definition 4 (Upper losure). The opertor mps suset to the smllest upper set tht inludes it: : P(P) UP, S {y P : x S : x y}. II. BACKGROUND We will use si fts out order theory. Dvey nd Priestley [3] nd Romn [4] re possile referene texts. Let P, P e prtilly ordered set (poset), whih is set P together with prtil order P ( reflexive, ntisymmetri, nd trnsitive reltion). The prtil order P is written s if the ontext is ler. If poset hs lest element, it is lled ottom nd it is denoted y P. If the poset hs mximum element, it is lled top nd denoted s P. Chins nd ntihins: A hin x y z... is suset of poset in whih ll elements re omprle. An ntihin is suset of poset in whih no elements re omprle. This is the mthemtil onept tht formlizes the ide of Preto front. Definition 1 (Antihins). A suset S P is n ntihin iff no elements re omprle: for x, y S, x y implies x = y. Cll AP the set of ll ntihins in P. By this definition, the empty set is n ntihin: AP. Definition 2 (Width nd height of poset). width(p) is the mximum rdinlity of n ntihin in P nd height(p) is the mximum rdinlity of hin in P. Miniml elements: Upperse Min will denote the miniml elements of set. The miniml elements re the elements tht re not dominted y ny other in the set. Lowerse min denotes the lest element, n element tht domintes ll others, if it exists. (If min S exists, then Min S = {min S}.) The set of miniml elements of set re n ntihin, so Min is mp from the power set P(P) to the ntihins AP: Min: P(P) AP, S {x S : (y S) (y x) (x = y) }. Mx nd mx re similrly defined. Upper sets: An upper set is suset of poset tht is losed upwrd. Definition 3 (Upper sets). A suset S P is n upper set iff x S nd x y implies y S. Cll UP the set of upper sets of P. By this definition, the empty set is n upper set: UP. Lemm 1. UP is poset itself, with the order given y A UP B A B. (1) Figure 2. A = Min U A U U = A By using the upper losure opertor, we n define n order on ntihins using the order on the upper sets (Fig. 2). Lemm 2. AP is poset with the reltion AP defined y A AP B A B. In the poset AP, AP, the top is the empty set: AP =. If ottom for P exists, then the ottom for AP is the singleton ontining only the ottom for P: AP = { P }. Monotoniity nd fixed points: We will use Kleene s theorem, elerted result tht is used in disprte fields. It is used in omputer siene for defining denottionl semntis (see, e.g., [5]). It is used in emedded systems for defining the semntis of models of omputtion (see, e.g., [6]). Definition 5 (Direted set). A set S P is direted if eh pir of elements in S hs n upper ound: for ll, S, there exists S suh tht nd. Definition 6 (Completeness). A poset is direted omplete prtil order (DCPO) if eh of its direted susets hs supremum (lest of upper ounds). It is omplete prtil order (CPO) if it lso hs ottom. Exmple 1 (Completion of R + to R + ). The set of rel numers R is not CPO, euse it lks ottom. The nonnegtive rels R + = {x R x 0} hve ottom = 0, however, they re not DCPO euse some of their direted susets do not hve n upper ound. For exmple, tke R +, whih is suset of R +. Then R + is direted, euse for eh, R +, there exists = mx{, } R + for whih nd. One wy to mke R +, CPO is y dding n rtifiil top element, y defining R + R + { }, nd extending the prtil order so tht for ll R +. Two properties of mps tht will e importnt re monotoniity nd the stronger property of Sott ontinuity. Definition 7 (Monotoniity). A mp f : P Q etween two posets is monotone iff x P y implies f(x) Q f(y). Definition 8 (Sott ontinuity). A mp f : P Q etween DCPOs is Sott ontinuous iff for eh direted suset D P, the imge f(d) is direted, nd f(sup D) = sup f(d).

3 3 Remrk 1. Sott ontinuity implies monotoniity. Remrk 2. Sott ontinuity does not imply topologil ontinuity. A mp from the CPO R +, to itself is Sott ontinuous iff it is nonderesing nd left-ontinuous. For exmple, the eiling funtion x x is Sott ontinuous (Fig. 3). Exmple 2 (Motor design). Suppose we need to hoose motor for root from given set. The funtionlity of motor ould e prmetrized y torque nd speed. The resoures to onsider ould inlude the [$], the [g], the input voltge [V], nd the input urrent [A]. The mp exe : I F ssigns to eh motor its funtionlity, nd the mp evl : I R ssigns to eh motor the resoures it needs (Fig. 14). Figure 3. A fixed point of f : P P is point x suh tht f(x) = x. Definition 9. A lest fixed point of f : P P is the minimum (if it exists) of the set of fixed points of f:. lfp(f) = min {x P : f(x) = x}. (2) The equlity in (2) n e relxed to. The lest fixed point need not exist. Monotoniity of the mp f plus ompleteness is suffiient to ensure existene. Lemm 3 ([3, CPO Fixpoint Theorem II, 8.22]). If P is CPO nd f : P P is monotone, then lfp(f) exists. With the dditionl ssumption of Sott ontinuity, Kleene s lgorithm is systemti proedure to find the lest fixed point. Lemm 4 (Kleene s fixed-point theorem [3, CPO fixpoint theorem I, 8.15]). Assume P is CPO, nd f : P P is Sott ontinuous. Then the lest fixed point of f is the supremum of the Kleene sent hin f( ) f(f( )) f (n) ( ). Figure 5. funtionlity speed [rd/s] torque [Nm] implementtions resoures [$] [g] voltge [V] urrent [A] Exmple 3 (Chssis design). Suppose we need to hoose hssis for root (Fig. 6). The implementtion spe I ould e the set of ll hssis tht ould ever e designed (in se of theoretil nlysis), or just the set of hssis ville in the tlogue t hnd (in se of prtil design deision). The funtionlity of hssis ould e formlized s the ility to trnsport ertin pylod [g] nd t given speed [m/s]. More refined funtionl requirements would inlude mneuverility, the rgo volume, et. The resoures to onsider ould e the [$] of the hssis; the totl ; nd, for eh motor to e pled in the hssis, the required speed [rd/s] nd torque [Nm]. Figure 6. funtionlity pylod [g] veloity [m/s] implementtions ll hssis resoures [$] totl [g] motor speed [m/s] motor torque [Nm] III. CO-DESIGN PROBLEMS The si ojets onsidered in this pper re design prolems, of whih severl lsses will e investigted. We strt y defining design prolem with implementtion, whih is tuple of funtionlity spe, implementtion spe, nd resoures spe, together with two mps tht desrie the fesiility reltions etween these three spes (Fig. 4). Definition 10. A design prolem with implementtion (DPI) is tuple F, R, I, exe, evl where: F is poset, lled funtionlity spe; R is poset, lled resoures spe; I is set, lled implementtion spe; the mp exe: I F, mnemonis for exeution, mps n implementtion to the funtionlity it provides; the mp evl: I R, mnemonis for evlution, mps n implementtion to the resoures it requires. hssis ville t ServoCity.om 1) Querying DPI: A DPI is model tht indues fmily of optimiztion prolems, of the type Given lower ound on the funtionlity f, wht re the implementtions tht hve miniml resoures usge? (Fig. 7). Prolem 1. Given f F, find the implementtions in I tht relize the funtionlity f (or higher) with miniml resoures, or provide proof tht there re none: using i I, Min R r, (3) s.t. r = evl(i), f F exe(i). Figure 4. funtionlity implementtions resoures Figure 7. funtionlity implementtions resoures

4 4 Remrk 3 (Miniml vs lest solutions). Note the use of Min R in (3), whih indites the set of miniml (nondominted) elements ording to R, rther thn min R, whih would presume the existene of lest element. In ll prolems in this pper, the gol is to find the optiml trde-off of resoures ( Preto front ). So, for eh f, we expet to find n ntihin R AR. We will see tht this formliztion llows n elegnt wy to tret multi-ojetive optimiztion. The lgorithm to e developed will diretly solve for the set R, without resorting to tehniques suh s slriztion, nd therefore is le to work with ritrry posets, possily disrete. Remrk 4 (Dul formultion). In n entirely symmetri fshion, we ould fix n upper ound on the resoures usge, nd then mximize the funtionlity provided (Fig. 8). The formultion is entirely dul, in the sense tht it is otined from (3) y swpping Min with Mx, F with R, nd exe with evl. Figure 8. using i I, Mx F f, s.t. f = exe(i), r R evl(i). funtionlity implementtions resoures 2) The funtionlity-to-miniml resoures mp h: It is useful to lso desrie design prolem s mp from funtionlity to sets of resoures tht strts over implementtions. (A useful nlogy is the stte spe representtion vs the trnsfer funtion representtion of liner time-invrint system: the stte spe representtion is riher, ut we only need the trnsfer funtion to hrterize the input-output response.) Definition 11. Given DPI F, R, I, exe, evl, define the mp h : F AR tht ssoites to eh funtionlity f the ojetive funtion of Prolem 1, whih is the set of miniml resoures neessry to relize f: h : F AR, f Min R {evl(i) (i I) (f exe(i))}. If ertin funtionlity f is infesile, then h(f) =. Figure 9. (4) Figure 10. speed torque By onstrution, h is monotone (Def. 7), whih mens tht f 1 F f 2 h(f 1 ) AR h(f 2 ), where AR is the order on ntihins defined in Lemm 2. Monotoniity of h mens tht if the funtionlity f is inresed the ntihin of resoures will go up in the poset of ntihins AR, nd t some point it might reh the top of AR, whih is the empty set, mening tht the prolem is not fesile. 3) Co-design prolems: A grphil nottion will help resoning out omposition. A DPI is represented s ox with nf green edges nd nr red edges (Fig. 11). Figure 11. funtionlity funtionlity design prolem resoure resoure This mens tht the funtionlity nd resoures spes n e ftorized in nf nd nr omponents: F = nf i=1 π if i, R = nr j=1 π jr, where π i represents the projetion to the i-th omponent. If there re no green (respetively, red) edges, then nf (respetively, nr) is zero, nd F (respetively, R) is equl to 1 = { }, the set ontining one element, the empty tuple. These o-design digrms re not to e onfused with signl flow digrms, in whih the oxes represent oriented systems nd the edges represent signls. A o-design prolem will e defined s multigrph of design prolems. Grphilly, one is llowed to onnet only edges of different olor. This interonnetion is indited with the symol in rounded ox (Fig. 12). Figure 12. The semntis of the interonnetion is tht the resoures required y the first DPI re provided y the seond DPI. This is prtil order inequlity onstrint of the type r 1 f 2. Definition 12. A Co-Design Prolem with Implementtion (CDPI) is tuple F, R, V, E, where F nd R re two posets, nd V, E is multigrph of DPIs. Eh node v V is DPI v = F v, R v, I v, exe v, evl v. An edge e E is tuple e = v 1, i 1, v 2, j 2, where v 1, v 2 V re two nodes nd i 1 nd j 2 re the indies of the omponents of the funtionlity nd resoures to e onneted, nd it holds tht π i1 R v1 = π j2 F v2 (Fig. 13). Figure 13. Exmple 4. In the se of the motor design prolem, the mp h ssigns to eh pir of speed, torque the hievle trde-off of,, nd other resoures (Fig. 10). The ntihins re depited s ontinuous urves, ut they ould lso e omposed y finite set of points. A CDPI is equivlent to DPI with n implementtion spe I tht is suset of the produt v V I v, nd ontins only the tuples tht stisfy the o-design onstrints. An implementtion tuple i v V I v elongs to I iff it respets

5 5 ll funtionlity resoures onstrints on the edges, in the sense tht, for ll edges hhv1, i1 i, hv2, j2 ii in E, it holds tht yle in the o-design grph extr pylod hssis design prolem πi1 evlv1 (πv1 i) πj2 exev2 (πv2 i). The posets F, R for the entire CDPI re the produts of the funtionlity nd resoures of the nodes tht remin unonneted. For node v, let UFv nd URv e the set of unonneted funtionlities nd resoures. Then F nd R for the CDPI re defined s the produt of the Q unonneted funtionlity Q nd resoures of ll DPIs: F = v V j UFv πj F v nd Q Q R = π R. The mps exe, evl return the i v v V i URv vlues of the unonneted funtionlity nd resoures: Y Y exe : i 7 πj exev (πv i), veloity Y Y totl Figure 18. This formlism mkes it esy to strt wy the detils in whih we re not interested. One digrm like Fig. 18 is otined, we n drw ox round it nd onsider the strted prolem (Fig. 19). hssis + motor o-design prolem veloity πi evlv (πv i). voltge urrent speed v V j UFv evl : i 7 motor design prolem torque Figure 19. v V i URv extr pylod totl voltge urrent Exmple 5. Consider the o-design of hssis (Exmple 3) plus motor (Exmple 2). The design prolem for motor hs speed Let us finish ssemling our root. A motor needs motor nd torque s the provided funtionlity (wht the motor must ontrol ord. The funtionl requirements re the (pek) output provide), nd,, voltge, nd urrent s the required urrent nd the output voltge rnge (Fig. 20). resoures (Fig. 14). speed [rd/s] Figure 14. torque [Nm] motor design prolem output urrent [A] [$] [g] voltge [V] urrent [A] Figure 20. output voltges [V] motor ontroller ord [$] [g] input voltge [V] input urrent [A] For the hssis (Fig. 15), the provided funtionlity is prme- The funtionlity for power supply ould e prmeterized y terized y the of the pylod nd the pltform veloity. the output urrent, the output voltges, nd the pity. The The required resoures inlude the, totl, nd wht resoures ould inlude nd (Fig. 21). the hssis needs from its motor(s), suh s speed nd torque. output urrent [A] pylod [g] Figure 15. [$] totl [g] required motor speed [rd/s] required motor torque [Nm] hssis design prolem veloity [m/s] output voltges [V] Figure 21. power supply unit pity [J] [$] [g] Reltions suh s urrent voltge power required nd yle in the o-design grph The two design prolem n e onneted t the edges for power endurne energy required n e modeled y torque nd speed (Fig. 16). The semntis is tht the motor trivil multiplition DPI (Fig. 22). needs to hve t lest the given torque nd speed. torque speed pylod Figure 16. veloity hssis design prolem speed voltge [V] motor design prolem voltge urrent totl Figure 22. We n onnet these DPs to otin o-design prolem with funtionlity voltge, urrent, endurne nd resoures -V nd (Fig. 23). voltge rnge (V -V Resoures n e summed together using trivil DP orresponding to the mp h : hf 1, f 2 i 7 {f 1 + f 2 } (Fig. 17). Figure 17. [V] [A] Figure 23. totl power [W] urrent [A] MCB [V] [A] PSU [$] [g] [J] endurne A o-design prolem might ontin reursive o-design onstrints. For exmple, if we set the pylod to e trnsported to e the sum of the motor plus some extr pylod, Drw ox round the digrm, nd ll it MCB+PSU ; then yle ppers in the grph (Fig. 18). interonnet it with the hssis+motor digrm in Fig V -V -V -V voltge rnge (V -V)

6 6 extr pylod Figure 24. veloity endurne extr power hssis + motor [V] [A] [g] [$] MCB + PSU We n further strt wy the digrm in Fig. 24 s moility+power CDPI, s in Fig. 25. The formlism llows to onsider nd s independent resoures, mening tht we wish to otin the Preto frontier for the miniml resoures. Of ourse, one n lwys redue everything to slr ojetive. For exmple, onversion from to exists nd it is lled shipping. Depending on the destintion, the onversion ftor is etween $0.5/ls, using USPS, to $10k/ls for sending your root to low Erth orit. Figure 25. veloity mission time extr pylod extr power moility + power [$] [$] [$] shipping Exmples from the literture: Mny reent works in rootis nd neighoring fields tht del with minimlity nd resoure onstrints n e inorported in this frmework. Exmple 6. Svorenov et l. [7] onsider joint sensor sheduling nd ontrol synthesis prolem, in whih root n deide to not perform sensing to sve power, given performne ojetives on the proility of rehing the trget nd the proility of ollision. The method outputs Preto frontier of ll possile operting points. This n e st s design prolem with funtionlity equl to the proility of rehing the trget nd (the inverse of) the ollision proility, nd with resoures equl to the tution power, sensing power, nd sensor ury. [$] Figure 27. e r / g t gt [ er e e g [ e Other exmples in miniml rootis: Mny works hve sought to find miniml designs for roots, nd n e understood s hrterizing the reltion etween the poset of tsks nd the poset of physil resoures, whih is the produt of sensing, tution, nd omputtion resoures, plus other nonphysil resoures, suh s prior knowledge (Fig. 28). Given tsk, there is miniml ntihin in the resoures poset tht desries the possile trde-offs (e.g., ompensting lousier sensors with more omputtion). Figure 28. t t s t t t t ps The poset struture rises nturlly: for exmple, in the sensor lttie [9], sensor domintes nother if it indues finer prtition of the stte spe. Similr dominne reltions n e defined for tution nd omputtion. O Kne nd Lvlle [10] define root s union of rooti primitives, where eh primitive is n strtion for set of sensors, tutors, nd ontrol strtegies tht n e used together (e.g., ompss plus ontt sensor llow to drive North until wll is hit ). The effet of eh primitive is modeled s n opertor on the root s informtion spe. It is possile to work out wht re the miniml omintions of rooti primitives (miniml ntihin) tht re suffiient to perform tsk (e.g., glol loliztion), nd desrie dominne reltion (prtil order) of primitives. Other works hve foused on minimizing the omplexity of the ontroller. Egerstedt [11] studies the reltion etween the omplexity of the environment nd notion of minimum desription length of ontrol strtegies, whih n e tken s proxy for the omputtion neessry to perform the tsk. Sotto [12] studies the reltion etween the performne of visul tsk, nd the miniml representtion tht is needed to perform tht tsk. The hope is tht the theory of o-design presented in this pper will help to integrte ll this previous work in the sme theoretil nd quntittive frmework. Figure 26. t pp 1 pp s IV. PROBLEM STATEMENT AND SUMMARY OF RESULTS Given n ritrry grph of design prolems, nd ssuming we know how to solve eh prolem seprtely, we sk whether we n solve the o-design prolem optimlly. Exmple 7. Nrdi et l. [8] desrie enhmrking system for visul SLAM tht provides the empiril hrteriztion of the monotone reltion etween the ury of the visul SLAM solution, the throughput [frmes/s] nd the energy for omputtion [J/frme]. The implementtion spe is the produt of lgorithmi prmeters, ompiler flgs, nd rhiteture hoies, suh s the numer of GPU ores tive. This is n exmple of design prolem whose funtionlity-resoures mp needs to e experimentlly evluted. Prolem 2. Suppose tht we re given CDPI F, R, V, E, nd tht we n evlute the mp h v for ll v V. Given required funtionlity f F, we wish to find the miniml resoures in R for whih there exists fesile implementtion vetor tht mkes ll su-prolems fesile t the sme time nd ll o-design onstrints stisfied; or, if none exist, provide ertifite of infesiility. In other words, given the mps {h v, v V} for the suprolems, one needs to evlute the mp h : F AR for the entire CDPI (Fig. 29).

7 7? Figure 29. The rest of the pper will provide solution to Prolem 2, under the ssumption tht ll the DPIs inside the CDPI re monotone, in the sense of Def. 13. Definition 13. A DPI F, R, I, exe, evl is monotone if 1) The posets F, R re omplete prtil orders (Def. 6). 2) The mp h is Sott ontinuous (Def. 8). Cll Monotone Co-Design Prolems (MCDPs) the set of CDPIs for whih ll suprolems respet the onditions in Def. 13. I will show two min results: 1) A modeling result (Theorem 1 on pge 9) sys tht the lss of MCDPs is losed with respet to ritrry interonnetions. Therefore, given o-design digrm, suh s the one in Fig. 25, if we know tht eh design prolem is n MCDP, we n onlude tht the digrm represents n MCDP s well. 2) An lgorithmi result (Theorem 2 on pge 10) sys tht the funtionlity-resoures mp h for the entire MCDP hs n expliit expression in terms of the mps {h v, v V} for the suprolems. If there re yles in the o-design digrm, the mp h involves the solution of lest fixed point eqution in the spe of ntihins. This eqution n e solved using Kleene s lgorithm to find the ntihin ontining ll miniml solutions t the sme time. Approh: The strtegy to otin these results onsists in reduing n ritrry interonnetion of design prolems to onsidering only finite numer of omposition opertors (, prllel, nd feedk). Se. V defines these omposition opertors. Se. VI shows how to turn grph into tree, where eh juntion is one of the three opertors. Given the tree representtion of n MCDPs, we will e le to give indutive rguments to prove the results. Expressivity of MCDPs: The results re signifint euse MCDPs indue rih fmily of optimiztion prolems. We re not ssuming, let lone strong properties like onvexity, even weker properties like differentiility or ontinuity of the onstrints. In ft, we re not even ssuming tht funtionlity nd resoures re ontinuous spes; they ould e ritrry disrete posets. (In tht se, ompleteness nd Sott ontinuity re trivilly stisfied.) Moreover, even ssuming topologil ontinuity of ll spes nd mps onsidered, MCDPs re strongly not onvex. Wht mkes them nononvex is the possiility of introduing feedk interonnetions. To show this, I will give n exmple of 1- dimensionl prolem with ontinuous h for whih the fesile set is disonneted. () () Figure 30. One feedk onnetion nd topologilly ontinuous h re suffiient to indue disonneted fesile set. Exmple 8. Consider the CDPI in Fig. 30. The miniml resoures M AR re the ojetives of this optimiztion prolem: using f, r F = R, M =. Min r, r h(f), r f. The fesile set Φ F R is the set of funtionlity nd resoures tht stisfy the onstrints r h(f) nd r f: Φ = { f, r F R : (r h(f)) (r f)}. (5) The projetion P of Φ to the funtionlity spe is: P = {f f, r Φ}. In the slr se (F = R = R +, ), the mp h: F AR is simply mp h: R + R +. The set P of fesile funtionlity is desried y P = {f R + : h(f) f}. (6) Fig. 30 shows n exmple of ontinuous mp h tht gives disonneted fesile set P. Moreover, P is disonneted under ny order-preserving nonliner re-prmetriztion. V. COMPOSITION OPERATORS FOR DESIGN PROBLEMS This setion defines hndful of omposition opertors for design prolems. Lter, Se. VI will prove tht ny o-design prolem n e desried in terms of suset of these opertors. Definition 14 (). The omposition of two DPIs dp 1 = F 1, R 1, I 1, exe 1, evl 1 nd dp 2 = F 2, R 2, I 2, exe 2, evl 2, for whih F 2 = R 1, is where: (dp 1, dp 2 ). = F 1, R 2, I, exe, evl, I = { i 1, i 2 I 1 I 2 evl 1 (i 1 ) R1 exe 2 (i 2 )}, exe : i 1, i 2 exe 1 (i 1 ), evl : i 1, i 2 evl 2 (i 2 ). Figure 31. Definition 15 (pr). The prllel omposition of two DPIs dp 1 = F 1, R 1, I 1, exe 1, evl 1 nd dp 2 = F 2, R 2, I 2, exe 2, evl 2 is pr(dp 1, dp 2 ). = F 1 F 2, R 1 R 2, I 1 I 2, exe, evl,

8 8 where: exe : i 1, i 2 exe 1 (i 1 ), exe 2 (i 2 ), (7) evl : i 1, i 2 evl 1 (i 1 ), evl 2 (i 2 ). Figure 35. Figure 32. Definition 16 (loop). Suppose dp is DPI with ftored funtionlity spe F 1 R: dp = F 1 R, R, I, exe 1, exe 2, evl. Then we n define the DPI loop(dp) s loop(dp). = F 1, R, I, exe 1, evl, where I I limits the implementtions to those tht respet the dditionl onstrint evl(i) exe 2 (i): I = {i I : evl(i) exe 2 (i)}. This is equivlent to losing loop round dp with the onstrint f 2 r (Fig. 33). evl R Figure 33. The opertor loop is symmetri euse it ts on design prolem with 2 funtionlities nd 1 resoures. We n define symmetri feedk opertor loop s in Fig. 34, whih n e rewritten in terms of loop, using the onstrution in Fig. 34. Figure 34. () () A symmetri opertor loop n e defined in terms of loop. A o-produt (see, e.g., [13, Setion 2.4]) of two design prolems is design prolem with the implementtion spe I = I 1 I 2, nd it represents the exlusive hoie etween two possile lterntive fmilies of designs. Definition 17 (Co-produt). Given two DPIs with sme funtionlity nd resoures dp 1 = F, R, I 1, exe 1, evl 1 nd dp 2 = F, R,, I 2, exe 2, evl 2, define their o-produt s where dp 1 dp 2. = F, R, I1 I 2, exe, evl, exe : { exe 1 (i), if i I 1, i 2 (i), if i I 2, exe { evl : i evl 1 (i), if i I 1, evl 2 (i), if i I 2. (8) VI. DECOMPOSITION OF MCDPS This setion shows how to desrie n ritrry interonnetion of design prolems using only three omposition opertors. More preisely, for eh CDPI with set of toms V, there is n equivlent one tht is uilt from /pr/loop pplied to the set of toms V plus some extr plumling (identities, multiplexers). Equivlene: The definition of equivlene elow ensures tht two equivlent DPIs hve the sme mp from funtionlity to resoures, while one of the DPIs n hve slightly lrger implementtion spe. Definition 18. Two DPIs F, R, I 1, exe 1, evl 1 nd F, R, I 2, exe 2, evl 2 re equivlent if there exists mp ϕ : I 2 I 1 suh tht exe 2 = exe 1 ϕ nd evl 2 = evl 1 ϕ. Pluming: We lso need to define trivil DPIs, whih serve s pluming. These n e uilt y tking mp f : F R nd lifting it to the definition of DPI. The implementtion spe of trivil DPI is opy of the funtionlity spe nd there is 1-to-1 orrespondene etween funtionlity nd implementtion. Definition 19 (Trivil DPIs). Given mp f : F R, we n lift it to define trivil DPI Triv(f) = F, R, F, Id F, f, where Id F is the identity on F. Proposition 1. Given CDPI F, R, V, E, we n find n equivlent CDPI otined y pplying the opertors pr//loop to set of toms V tht ontins V plus set of trivil DPIs. Furthermore, one instne of loop is suffiient. Proof: We show this onstrutively. We will temporrily remove ll yles from the grph, to e retthed lter. To do this, find n r feedk set (AFS) F E. An AFS is set of edges tht, when removed, remove ll yles from the grph (see, e.g., [14]). For exmple, the CDPI represented in Fig. 36 hs miniml AFS tht ontins the edge (Fig. 36). r feedk set () () () Figure 36. An exmple o-design digrm with three nodes V = {,, }, in whih miniml r feedk set is { }. Id Find wek topologil ordering of V. Then the grph V, E Id r feedk set removed Remove the AFS F from E to otin the redued edge set E = E\F. The resulting grph V, E does not hve yles, nd n e written s -prllel grph, y pplying the opertors pr nd from set of nodes V. The nodes V will ontin V, plus some extr onnetors tht re trivil DPIs. n e written s the of V sugrphs, eh ontining one node of V. In the exmple, the wek topologil ordering is,, nd there re three sugrphs (Fig. 37).

9 9 Figure 37. Eh sugrph n e desried s the prllel interonnetion of node v V nd some extr onnetors. Id For exmple, the seond sugrph in the grph n e written s the prllel interonnetion of node nd the identity Triv(Id) (Fig. 38). Figure 38. Id dded identity After this is done, we just need to lose the loop round the edges in the AFS F to otin CDPI tht is equivlent to the originl one. Suppose the AFS F ontins only one edge. Then one instne of the loop opertor is suffiient (Fig. 39). In this exmple, the tree representtion (Fig. 39) is loop(((, pr(id, )), ). Proposition 2. If dp 1 nd dp 2 re monotone (Def. 13), then lso the omposition pr(dp 1, dp 2 ) is monotone. Proof: We need to refer to the definition of pr in Def. 15 nd hek the onditions in Def. 13. If F 1, F 2, R 1, R 2 re CPOs, then F 1 F 2 nd R 1 R 2 re CPOs s well. From Def. 11 nd (7) we know h n e written s h : F 1 F 2 A(R 1 R 2 ) f 1, f 2 Min R { evl 1 (i 1 ), evl 2 (i 2 ) ( i 1, i 2 I 1 I 2 ) ( f 1, f 2 exe 1 (i 1 ), exe 2 (i 2 ) )}. All terms ftorize in the two omponents, giving: h: f 1, f 2 Min R 1 { evl 1(i 1) (i I 1) (f 1 exe 1(i 1))} whih redues to Min R 2 { evl 2(i 2) (i I 2) (f 2 exe 2(i 2))}, h: f 1, f 2 h 1 (f 1 ) h 2 (f 2 ). (9) Id Id () () Figure 39. Tree representtion for the o-design digrm in Fig. 36. If the AFS ontins multiple edges, then, insted of losing one loop t time, one n n lwys rewrite multiple nested Id Id loops s only one loop y tking the produt of the edges. For exmple, digrm like the one in Fig. 40 n e rewritten s Fig. 40. This onstrution is nlogous to the onstrution used for the nlysis of proess networks [6] (nd ny other onstrut involving tred monoidl tegory). Therefore, it is possile to desrie n ritrry grph of design prolems using only one instne of the loop opertor. The mp h is Sott ontinuous iff h 1 nd h 2 re [15, Lemm II.2.8]. Proposition 3. If dp 1 nd dp 2 re monotone (Def. 13), then lso the omposition (dp 1, dp 2 ) is monotone. Proof: From the definition of (Def. 14), the semntis of the interonnetion is ptured y this prolem: using r 1, f 2 R 1, r 2 R 2, Min R2 r 2, h : f 1 s.t. r 1 h 1 (f 1 ), (10) r 1 R1 f 2, r 2 h 2 (f 2 ). The sitution is desried y Fig. 41. The point f 1 is fixed, nd thus h(f 1 ) is fixed ntihin in R 1. For eh point r 1 h(f 1 ), we n hoose f 2 r 1. For eh f 2, the ntihin h 2 (f 2 ) tres the solution in R 2, from whih we n hoose r 2. Figure 41. () () Figure 40. If there re nested loops in o-design digrm, they n e rewritten s one loop, y tking the produt of the edges. VII. MONOTONICITY AS COMPOSITIONAL PROPERTY The first min result of this pper is n invrine result. Theorem 1. The lss of MCDPs is losed with respet to interonnetion. Proof: Prop. 1 hs shown tht ny interonnetion of design prolems n e desried using the three opertors pr,, nd loop. Therefore, we just need to hek tht monotoniity in the sense of Def. 13 is preserved y eh opertor seprtely. This is done elow in Prop Beuse h 2 is monotone, h 2 (f 2 ) is minimized when f 2 is minimized, hene we know tht the onstrint r 1 f 2 will e tight. We n then onlude tht the ojetive does not hnge introduing the onstrint r 1 = f 2. The prolem is redued to: using f 2 R 1, r 2 R 2, Min R2 r 2, h : f 1 s.t. f 2 h 1 (f 1 ), r 2 h 2 (f 2 ). (11) Minimizing r 2 with the only onstrint eing r 2 h 2 (f 2 ), nd with h 2 (f 2 ) eing n ntihin, the solutions re ll nd

10 10 only h 2 (f 2 ). Hene the prolem is redued to using f 2 R 1, h : f 1 Min R2 h 2 (f 2 ), s.t. f 2 h 1 (f 1 ). The solution is simply h : f 1 Min R2 f 2 h 1(f 1) (12) h 2 (f 2 ). (13) This mp is Sott ontinuous euse it is the omposition of Sott ontinuous mps. Proposition 4. If dp is monotone (Def. 13), so is loop(dp). Proof: The digrm in Fig. 33 implies tht the mp h loop(dp) n e desried s: h loop(dp) : F 1 AR, (14) using r, f 2 R, Min R r, f 1 (15) s.t. r h dp (f 1, f 2 ), r R f 2. Denote y h f1 the mp h dp with the first element fixed: h f1 : f 2 h dp (f 1, f 2 ). Rewrite r h dp (f 1, f 2 ) in (14) s r h f1 (f 2 ). (16) Let r e fesile solution, ut not neessrily miniml. Beuse of Lemm 5, the onstrint (16) n e rewritten s {r} = h f1 (f 2 ) r. (17) Beuse f 2 r, nd h f1 is Sott ontinuous, it follows tht h f1 (f 2 ) AR h f1 (r). Therefore, y Lemm 6, we hve {r} AR h f1 (r) r. (18) This is reursive ondition tht ll fesile r must stisfy. Let R AR e n ntihin of fesile resoures, nd let r e generi element of R. Tutologilly, rewrite R s the miniml elements of the union of the singletons ontining its elements: R = Min {r}. (19) R r R Sustituting (18) in (19) we otin (f Lemm 7) R AR Min h f1 (r) r. (20) R r R [Converse: It is lso true tht if n ntihin R stisfies (20) then ll r R re fesile. The onstrint (20) mens tht for ny r 0 R on the left side, we n find r 1 in the right side so tht r 0 R r 1. The point r 1 needs to elong to one of the sets of whih we tke the union; sy tht it omes from r 2 R, so tht r 1 h f1 (r 2 ) r 2. Summrizing: r 0 R : r 1 : (r 0 R r 1 ) ( r 2 R: r 1 h f1 (r 2 ) r 2 ). (21) Beuse r 1 h f1 (r 2 ) r 2, we n onlude tht r 1 r 2, nd therefore r 1 R r 2, whih together with r 0 R r 1, implies r 0 R r 2. We hve onluded tht there exist two points r 0, r 2 in the ntihin R suh tht r 0 R r 2 ; therefore, they re the sme point: r 0 = r 2. Beuse r 0 R r 1 R r 2, we lso onlude tht r 1 is the sme point s well. We n rewrite (21) y using r 0 in ple of r 1 nd r 2 to otin r 0 R : r 0 h f1 (r 0 ), whih mens tht r 0 is fesile resoure.] We hve onluded tht ll ntihins of fesile resoures R stisfy (20), nd onversely, if n ntihin R stisfies (20), then it is n ntihin of fesile resoures. Eqution (20) is reursive onstrint for R, of the kind with the mp Φ f1 defined y Φ f1 (R) AR R, Φ f1 : AR AR, (22) R Min h f1 (r) r. R r R If we wnt the miniml resoures, we re looking for the lest ntihin: min AR { R AR: Φ f1 (R) AR R }, whih is equl to the lest fixed point of Φ f1. Therefore, the mp h loop(dp) n e written s h loop(dp) : f 1 lfp(φ f1 ). (23) Lemm 8 shows tht lfp(φ f1 ) is Sott ontinuous in f 1. Lemm 5. Let A e n ntihin in P. Then A {} = A. Lemm 6. For A, B AP, nd S P, A AR B implies A S AR B S. Lemm 7. For A, B, C, D AP, A AR C nd B AR D implies A B AR C D. Lemm 8. Let f : P Q Q e Sott ontinuous. For eh x P, define f x : y f(x, y). Then f : x lfp(f x ) is Sott ontinuous. Proof: Dvey nd Priestly [3] leve this s Exerise A proof is found in Gierz et l. [15, Exerise II-2.29]. VIII. SOLUTION OF MCDPS The seond min result is tht the mp h of MCDP hs n expliit expression in terms of the mps h of the suprolems. Theorem 2. The mp h for n MCDP hs n expliit expression in terms of the mps h of its suprolems, defined reursively using the rules in Tle I. Tle I RECURSIVE EXPRESSIONS FOR h dp = (dp 1, dp 2 ) h = h 1 h 2 prllel dp = pr(dp 1, dp 2 ) h = h 1 h 2 feedk dp = loop(dp 1 ) h = h 1 o-produt dp = dp 1 dp 2 h = h 1 h 2

11 11 Proof: These expressions were derived in the proofs of Prop The opertors,,, re defined in Def Definition 20 (Series opertor ). For two mps h 1 : F 1 AR 1 nd h 2 : F 2 AR 2, if R 1 = F 2, define h 1 h 2 : F 1 AR 2, f 1 Min R2 s h 1(f) h 2 (s). Definition 21 (Prllel opertor ). For two mps h 1 : F 1 AR 1 nd h 2 : F 2 AR 2, define h 1 h 2 : (F 1 F 2 ) A(R 1 R 2 ), (24) f 1, f 2 h 1 (f 1 ) h 2 (f 2 ), where is the produt of two ntihins. Definition 22 (Feedk opertor ). For h : F 1 R AR, define h : F 1 AR, f 1 lfp ( Ψ h f 1 ), (25) The digrm ontins three primitive DPIs: dp 1, dp 2 (used twie), nd dp 3. Their h mps re: h 1 : N N N AN, f 1, f 2, f 3 {f 1 + f 2 + f 3 }, h 2 : N AN, f { f }, h 3 : N A(N N), f {, N N : + = f}. The tree deomposition (Fig. 42) orresponds to the expression dp = loop((pr(dp 2, dp 2 ), (dp 1, dp 3 ))). (28) Consulting Tle I, from (28) one otins n expression for h: h = ((h 2 h 2 ) h 1 h 3 ). (29) This prolem is smll enough tht we n write down n expliit expression for h. By sustituting in (29) the definitions given in Def , we otin tht evluting h() mens finding the lest fixed point of mp Ψ : where Ψ h f 1 is defined s h : lfp(ψ ). Ψ h f 1 : AR AR, R Min h(f 1, r) r. (26) R r R Definition 23 (Coprodut opertor ). For h 1, h 2 : F AR, define h 1 h 2 : F AR, f Min R (h 1 (f) h 2 (f)). A. Exmple: Optimizing over the nturl numers This is the simplest exmple tht n show two interesting properties of MCDPs: 1) the ility to work with disrete posets; nd 2) the ility to tret multi-ojetive optimiztion prolems. Consider the fmily of optimiztion prolems indexed y N: { Min N N x, y, s.t. x + y x + (27) y +. One n show tht this optimiztion prolem is n MCDP y produing o-design digrm with n equivlent semntis, suh s the one in Fig. 42. The mp Ψ : A(N N) A(N N) n e otined from (26) s follows: Ψ : R Min x, y x,y R {, N 2 : ( + x + y + )}. Kleene s lgorithm is the itertion R k+1 = Ψ (R k ) strting from R 0 = A(N N) = { 0, 0 }. For = 0, the sequene onverges immeditely: R 0 = { 0, 0 } = h(0). For = 1, the sequene onverges t the seond step: R 0 = { 0, 0 }, R 1 = { 0, 1, 1, 0 } = h(1). For = 2, the sequene onverges t the fourth step; however, some solutions (in old) onverge sooner: R 0 = { 0, 0 }, R 1 = { 0, 2, 1, 1, 2, 0 }, R 2 = { 0, 4, 2, 2, 4, 0 }, R 3 = { 0, 4, 3, 3, 4, 0 } = h(2). Figure 42. () () Co-design digrm equivlent to (27) nd its tree representtion. The next vlues in the sequene re: h(3) = { 0, 6, 3, 4, 4, 3, 6, 0 }, h(4) = { 0, 7, 3, 6, 4, 4, 6, 3, 7, 0 }. Fig. 43 shows the sequene for = 20.

12 12 () () (e) (d) (f) The urrent ntihin We know this re is unfesile. Mye - there might e miniml solutions here. These points re miniml solutions. Don t re - Not neessrily fesile, ut we know tht there re no fesile points tht re not dominted y the miniml points lredy found. Figure 43. Kleene sent to solve the prolem (27) for = 20. The sequene onverges in five steps to R 5 = R. Gurntees of Kleene sent: Solving n MCDP with yles redues to omputing Kleene sent sequene R k. At eh instnt k we hve some dditionl gurntees. For ny finite k, the resoures elow R k (the set R \ R k,) re infesile. (In Fig. 43, those re olored in red.) If the itertion onverges to non-empty ntihin R, the ntihin R divides R in two. Below the ntihin, ll resoures re infesile. However, ove the ntihin (purple re), it is not neessrily true tht ll points re fesile, euse there might e holes in the fesile set, s in Exmple 8. Note tht this method does not ompute the entire fesile set, ut rther only the miniml elements of the fesile set, whih might e muh esier to ompute. Finlly, if the sequene onverges to the empty set, it mens tht there re no solutions. The sequene R k n e onsidered ertifite of infesiility. B. Complexity of the solution 1) Complexity of fixed point itertion: Consider first the se of n MCDP tht n e desried s dp = loop(dp 0 ), where dp 0 is n MCDP tht is desried only using the nd pr opertors. Suppose tht dp 0 hs resoure spe R. Then evluting h for dp is equivlent to omputing lest fixed point itertion on the spe of ntihins AR. This llows to give worst-se ounds on the numer of itertions. Proposition 5. Suppose tht dp = loop(dp 0 ) nd dp 0 hs resoure spe R 0 nd evluting h 0 tkes t most omputtion. Then we n otin the following ounds for the lgorithm s resoures usge: memory O(width(R 0 )) numer of steps O(height(AR 0 )) totl omputtion O(width(R 0 ) height(ar 0 ) ) Proof: The memory utiliztion is ounded y width(r 0 ), euse the stte is n ntihin, nd width(r 0 ) is the size of the lrgest ntihin. The itertion hppens in the spe AR 0, nd we re onstruting n sending hin, so it n tke t most height(ar 0 ) steps to onverge. Finlly, in the worst se the mp h 0 needs to e evluted one for eh element of the ntihin for eh step. These worst se ounds re strit. Exmple 9. Consider solving dp = loop(dp 0 ) with dp 0 defined y h 0 :, x x + 1 with x N. Then the lest fixed point eqution is equivlent to solving min{x: Ψ(x) x} with Ψ : x x + 1. The itertion R k+1 = Ψ(R k ) onverges to in height(n) = ℵ 0 steps. Remrk 5. Mking more preise lims requires dditionl more restritive ssumptions on the spes involved. For exmple, without dding metri on R, it is not possile to otin properties suh s liner or qudrti onvergene. Remrk 6 (Invrine to re-prmeteriztion). All the results given in this pper re invrint to ny order-preserving reprmeteriztion of ll the vriles involved. 2) Relting omplexity to the grph properties: Prop. 5 ove ssumes tht the MCDP is lredy in the form dp = loop(dp 0 ), nd reltes the omplexity to the poset R 0. Here we relte the results to the grph struture of n MCDP. Tke n MCDP dp = F, R, V, E. To put dp in the form dp = loop(dp 0 ) ording to the proedure in Se. VI, we need to find n r feedk set (AFS) of the grph V, E. Given AFS F E, then the resoure spe R 0 for dp 0 suh tht dp = loop(dp 0 ) is the produt of the resoures spes long the edges: R 0 = e F R e. Now tht we hve reltion etween the AFS nd the omplexity of the itertion, it is nturl to sk wht is the optiml hoie of AFS whih, so fr, ws left s n ritrry hoie. The AFS should e hosen s to minimize one of the performne mesures in Prop. 5. Of the three performne mesures in Prop. 5, the most fundmentl ppers to e width(r 0 ), euse tht is lso n upper ound on the numer of distint miniml solutions. Hene we n ll it design omplexity of the MCDP. Definition 24. Given grph V, E nd leling of eh edge e E with poset R e, the design omplexity DC( V, E ) is defined s DC( V, E ) = min width( R e ). (30) F is n AFS e F In generl, width nd height of posets re not dditive with respet to produts; therefore, this prolem does not redue to ny of the known vrints of the minimum r feedk set prolem, in whih eh edge hs weight nd the gol is to minimize the sum of the weights.

13 Identity pr R[J] R[J] Identity USD/Wh R[] R[] pr R[J] R[] R[J] R[] R[] R[] GeneriUnry(<uilt-in funtion eil>) R[J] R[J*USD/Wh] pr R[J]R[J] R[] R[J]R[J*USD/Wh] R[] Identity R[J]R[] R[g]R[USD]R[] R[J]R[] R[J]R[] MuxMp:R[J]R[]"R[]((R[J]R[J])R[]) Identity R[J]R[] R[g]R[USD]R[] R[] R[] (R[J]R[J])R[] (R[J]R[J*USD/Wh])R[] R[J]R[] R[]((R[J]R[J])R[]) pr (R[J]R[J])R[] R[J]R[J*USD/Wh] (R[J]R[J*USD/Wh])R[] R[J]R[J*USD/Wh] R[]((R[J]R[J])R[]) R[](R[J]R[J*USD/Wh]) (R[J]R[J*USD/Wh])R[] R[J](R[J*USD/Wh]R[]) R[]((R[J]R[J])R[]) R[g]R[USD]R[] MuxMp:(R[J]R[J*USD/Wh])R[]"R[J](R[J*USD/Wh]R[]) MuxMp:R[](R[J]R[J*USD/Wh])"(R[]R[J])R[J*USD/Wh] Identity R[](R[J]R[J*USD/Wh]) R[g]R[USD]R[] R[](R[J]R[J*USD/Wh]) (R[]R[J])R[J*USD/Wh] R[J](R[J*USD/Wh]R[]) R[J]R[J*USD/Wh] pr R[J] R[J] R[J*USD/Wh]R[] R[J*USD/Wh] ProdutN Identity (R[]R[J])R[J*USD/Wh] R[g]R[USD]R[] pr R[]R[J] R[J*USD/Wh] R[]R[J] R[USD] J*USD/Wh-to-USD (R[]R[J])R[J*USD/Wh] (R[]R[J])R[USD] (R[]R[J])R[USD] R[g]R[USD]R[] (R[]R[J])R[USD] (R[]R[USD])R[J] MuxMp:(R[]R[J])R[USD]"(R[]R[USD])R[J] Identity pr R[]R[USD] R[]R[USD] kg/wh R[J] R[g] R[J] R[J*kg/Wh] (R[]R[USD])R[J] R[g]R[USD]R[] (R[]R[USD])R[J] (R[]R[USD])R[g] MuxMp:(R[]R[USD])R[g]"R[g]R[USD]R[] R[J*kg/Wh] R[g] J*kg/Wh-to-g (R[]R[USD])R[g] R[g]R[USD]R[] speifi speifi 13 3) Considering reltions with infinite rdinlity: This nlysis shows the limittions of the simple solution presented so fr: it is esy to produe exmples for whih width(r 0 ) is infinite, so tht one needs to represent ontinuum of solutions. [$] pity [J] [g] () Interfe of ttery design prolem. Exmple 10. Suppose tht the pltform to e designed must trvel distne d [m], nd we need to hoose the endurne T [s] nd the veloity v [m/s]. The reltion mong the quntities is d T v. This is design prolem desried y the mp h : R + AR + R +, d { T, v R + R + : d = T v}. For eh vlue of d, there is ontinuum of solutions. One pproh to solving this prolem would e to disretize the funtionlity F nd the resoures R y smpling nd/or orsening. However, smpling nd orsening mkes it hrd to mintin ompleteness nd onsisteny. One effetive pproh, outside of the sope of this pper, tht llows to use finite omputtion is to pproximte the design prolem itself, rther thn the spes F, R, whih re left s possily infinite. The si ide is tht n infinite ntihin n e ounded from ove nd ove y two ntihins tht hve finite numer of points. This ide leds to n lgorithm tht, given presried omputtion udget, n ompute n inner nd outer pproximtion to the solution ntihin [16]. () MCDPL ode equivlent to equtions (31) (33). missions eil(r[]->r[]) [J] splitter [J] [J] [J] pity [J] USD/Wh kg/wh IX. EXTENDED NUMERICAL EXAMPLES [J*USD/Wh] [J*kg/Wh] This exmple onsiders the hoie of different ttery tehnologies for root. The gols of this exmple re: 1) to show how design prolems n e omposed; 2) to show how to define hrd onstrints nd preedene etween resoures to e minimized; 3) to show how even reltively simple models n give very omplex trde-offs surfes; nd 4) to introdue MCDPL, forml lnguge for the desription of MCDPs. Lnguge nd interpreter/solver: MCDPL is modeling lnguge to desrie MCDPs nd their ompositions. It is inspired y CVX nd disiplined onvex progrmming [17]. MCDPL is even more disiplined thn CVX; for exmple, multiplying y negtive numer is syntx error. The figures re generted y PyMCDP, n interpreter nd solver for MCDPs, whih implements the tehniques desried in this pper. The softwre nd mnul re ville t Model of ttery: The hoie of ttery n e modeled s DPI (Fig. 44) with funtionlities pity [J] nd numer of missions nd with resoures [kg], [$] nd, defined s the numer of times tht the ttery needs to e repled over the lifetime of the root. Eh ttery tehnology is desried y the three prmeters speifi energy, speifi, nd lifetime (numer of yles): ρ. = speifi energy [Wh/kg], α. = speifi [Wh/$],. = ttery lifetime [# of yles]. [J*USD/Wh] [J*USD/Wh] [USD] [J*USD/Wh] [J*kg/Wh] unit onversion [g] () Co-design digrm generted y PyMCDP from ode in pnel (). (d) Tree representtion using pr/ of digrm in pnel (). Figure 44. Pnel () shows the o-design digrm generted from the ode in (). Pnel (d) shows tree representtion (, prllel) for the digrm. The edges show the types of funtionlity nd resoures. The leves re leled with the Python lss used internlly y the interpreter PyMCDP.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. 1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the

More information

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Project 6: Minigoals Towards Simplifying and Rewriting Expressions MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy

More information

CS 573 Automata Theory and Formal Languages

CS 573 Automata Theory and Formal Languages Non-determinism Automt Theory nd Forml Lnguges Professor Leslie Lnder Leture # 3 Septemer 6, 2 To hieve our gol, we need the onept of Non-deterministi Finite Automton with -moves (NFA) An NFA is tuple

More information

6.5 Improper integrals

6.5 Improper integrals Eerpt from "Clulus" 3 AoPS In. www.rtofprolemsolving.om 6.5. IMPROPER INTEGRALS 6.5 Improper integrls As we ve seen, we use the definite integrl R f to ompute the re of the region under the grph of y =

More information

Part 4. Integration (with Proofs)

Part 4. Integration (with Proofs) Prt 4. Integrtion (with Proofs) 4.1 Definition Definition A prtition P of [, b] is finite set of points {x 0, x 1,..., x n } with = x 0 < x 1

More information

Chapter 4 State-Space Planning

Chapter 4 State-Space Planning Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different

More information

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic Chpter 3 Vetor Spes In Chpter 2, we sw tht the set of imges possessed numer of onvenient properties. It turns out tht ny set tht possesses similr onvenient properties n e nlyzed in similr wy. In liner

More information

Introduction to Olympiad Inequalities

Introduction to Olympiad Inequalities Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................

More information

Lecture Notes No. 10

Lecture Notes No. 10 2.6 System Identifition, Estimtion, nd Lerning Leture otes o. Mrh 3, 26 6 Model Struture of Liner ime Invrint Systems 6. Model Struture In representing dynmil system, the first step is to find n pproprite

More information

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals AP Clulus BC Chpter 8: Integrtion Tehniques, L Hopitl s Rule nd Improper Integrls 8. Bsi Integrtion Rules In this setion we will review vrious integrtion strtegies. Strtegies: I. Seprte the integrnd into

More information

Discrete Structures Lecture 11

Discrete Structures Lecture 11 Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.

More information

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version A Lower Bound for the Length of Prtil Trnsversl in Ltin Squre, Revised Version Pooy Htmi nd Peter W. Shor Deprtment of Mthemtil Sienes, Shrif University of Tehnology, P.O.Bo 11365-9415, Tehrn, Irn Deprtment

More information

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution Tehnishe Universität Münhen Winter term 29/ I7 Prof. J. Esprz / J. Křetínský / M. Luttenerger. Ferur 2 Solution Automt nd Forml Lnguges Homework 2 Due 5..29. Exerise 2. Let A e the following finite utomton:

More information

System Validation (IN4387) November 2, 2012, 14:00-17:00

System Validation (IN4387) November 2, 2012, 14:00-17:00 System Vlidtion (IN4387) Novemer 2, 2012, 14:00-17:00 Importnt Notes. The exmintion omprises 5 question in 4 pges. Give omplete explntion nd do not onfine yourself to giving the finl nswer. Good luk! Exerise

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Fun Gme Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Fun Gme Properties Arrow s Theorem Leture Overview 1 Rep 2 Fun Gme 3 Properties

More information

CS 491G Combinatorial Optimization Lecture Notes

CS 491G Combinatorial Optimization Lecture Notes CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,

More information

T b a(f) [f ] +. P b a(f) = Conclude that if f is in AC then it is the difference of two monotone absolutely continuous functions.

T b a(f) [f ] +. P b a(f) = Conclude that if f is in AC then it is the difference of two monotone absolutely continuous functions. Rel Vribles, Fll 2014 Problem set 5 Solution suggestions Exerise 1. Let f be bsolutely ontinuous on [, b] Show tht nd T b (f) P b (f) f (x) dx [f ] +. Conlude tht if f is in AC then it is the differene

More information

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P.

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P. Chpter 7: The Riemnn Integrl When the derivtive is introdued, it is not hrd to see tht the it of the differene quotient should be equl to the slope of the tngent line, or when the horizontl xis is time

More information

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS The University of ottinghm SCHOOL OF COMPUTR SCIC A LVL 2 MODUL, SPRIG SMSTR 2015 2016 MACHIS AD THIR LAGUAGS ASWRS Time llowed TWO hours Cndidtes my omplete the front over of their nswer ook nd sign their

More information

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points:

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points: Eidgenössishe Tehnishe Hohshule Zürih Eole polytehnique fédérle de Zurih Politenio federle di Zurigo Federl Institute of Tehnology t Zurih Deprtement of Computer Siene. Novemer 0 Mrkus Püshel, Dvid Steurer

More information

NON-DETERMINISTIC FSA

NON-DETERMINISTIC FSA Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is

More information

Unit 4. Combinational Circuits

Unit 4. Combinational Circuits Unit 4. Comintionl Ciruits Digitl Eletroni Ciruits (Ciruitos Eletrónios Digitles) E.T.S.I. Informáti Universidd de Sevill 5/10/2012 Jorge Jun 2010, 2011, 2012 You re free to opy, distriute

More information

TIME AND STATE IN DISTRIBUTED SYSTEMS

TIME AND STATE IN DISTRIBUTED SYSTEMS Distriuted Systems Fö 5-1 Distriuted Systems Fö 5-2 TIME ND STTE IN DISTRIUTED SYSTEMS 1. Time in Distriuted Systems Time in Distriuted Systems euse eh mhine in distriuted system hs its own lok there is

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Voting Prdoxes Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Voting Prdoxes Properties Arrow s Theorem Leture Overview 1 Rep

More information

University of Sioux Falls. MAT204/205 Calculus I/II

University of Sioux Falls. MAT204/205 Calculus I/II University of Sioux Flls MAT204/205 Clulus I/II Conepts ddressed: Clulus Textook: Thoms Clulus, 11 th ed., Weir, Hss, Giordno 1. Use stndrd differentition nd integrtion tehniques. Differentition tehniques

More information

Engr354: Digital Logic Circuits

Engr354: Digital Logic Circuits Engr354: Digitl Logi Ciruits Chpter 4: Logi Optimiztion Curtis Nelson Logi Optimiztion In hpter 4 you will lern out: Synthesis of logi funtions; Anlysis of logi iruits; Tehniques for deriving minimum-ost

More information

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite!

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite! Solutions for HW9 Exerise 28. () Drw C 6, W 6 K 6, n K 5,3. C 6 : W 6 : K 6 : K 5,3 : () Whih of the following re iprtite? Justify your nswer. Biprtite: put the re verties in V 1 n the lk in V 2. Biprtite:

More information

Section 1.3 Triangles

Section 1.3 Triangles Se 1.3 Tringles 21 Setion 1.3 Tringles LELING TRINGLE The line segments tht form tringle re lled the sides of the tringle. Eh pir of sides forms n ngle, lled n interior ngle, nd eh tringle hs three interior

More information

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs Isomorphism of Grphs Definition The simple grphs G 1 = (V 1, E 1 ) n G = (V, E ) re isomorphi if there is ijetion (n oneto-one n onto funtion) f from V 1 to V with the property tht n re jent in G 1 if

More information

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6 CS311 Computtionl Strutures Regulr Lnguges nd Regulr Grmmrs Leture 6 1 Wht we know so fr: RLs re losed under produt, union nd * Every RL n e written s RE, nd every RE represents RL Every RL n e reognized

More information

Behavior Composition in the Presence of Failure

Behavior Composition in the Presence of Failure Behvior Composition in the Presene of Filure Sestin Srdin RMIT University, Melourne, Austrli Fio Ptrizi & Giuseppe De Giomo Spienz Univ. Rom, Itly KR 08, Sept. 2008, Sydney Austrli Introdution There re

More information

Bisimulation, Games & Hennessy Milner logic

Bisimulation, Games & Hennessy Milner logic Bisimultion, Gmes & Hennessy Milner logi Leture 1 of Modelli Mtemtii dei Proessi Conorrenti Pweł Soboiński Univeristy of Southmpton, UK Bisimultion, Gmes & Hennessy Milner logi p.1/32 Clssil lnguge theory

More information

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions MEP: Demonstrtion Projet UNIT 4: Trigonometry UNIT 4 Trigonometry tivities tivities 4. Pythgors' Theorem 4.2 Spirls 4.3 linometers 4.4 Rdr 4.5 Posting Prels 4.6 Interloking Pipes 4.7 Sine Rule Notes nd

More information

Lecture 1 - Introduction and Basic Facts about PDEs

Lecture 1 - Introduction and Basic Facts about PDEs * 18.15 - Introdution to PDEs, Fll 004 Prof. Gigliol Stffilni Leture 1 - Introdution nd Bsi Fts bout PDEs The Content of the Course Definition of Prtil Differentil Eqution (PDE) Liner PDEs VVVVVVVVVVVVVVVVVVVV

More information

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b CS 294-2 9/11/04 Quntum Ciruit Model, Solovy-Kitev Theorem, BQP Fll 2004 Leture 4 1 Quntum Ciruit Model 1.1 Clssil Ciruits - Universl Gte Sets A lssil iruit implements multi-output oolen funtion f : {0,1}

More information

Finite State Automata and Determinisation

Finite State Automata and Determinisation Finite Stte Automt nd Deterministion Tim Dworn Jnury, 2016 Lnguges fs nf re df Deterministion 2 Outline 1 Lnguges 2 Finite Stte Automt (fs) 3 Non-deterministi Finite Stte Automt (nf) 4 Regulr Expressions

More information

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1)

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1) Green s Theorem Mth 3B isussion Session Week 8 Notes Februry 8 nd Mrh, 7 Very shortly fter you lerned how to integrte single-vrible funtions, you lerned the Fundmentl Theorem of lulus the wy most integrtion

More information

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then Slrs-7.2-ADV-.7 Improper Definite Integrls 27.. D.dox Pge of Improper Definite Integrls Before we strt the min topi we present relevnt lger nd it review. See Appendix J for more lger review. Inequlities:

More information

Electromagnetism Notes, NYU Spring 2018

Electromagnetism Notes, NYU Spring 2018 Eletromgnetism Notes, NYU Spring 208 April 2, 208 Ation formultion of EM. Free field desription Let us first onsider the free EM field, i.e. in the bsene of ny hrges or urrents. To tret this s mehnil system

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,

More information

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem.

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem. 27 Lesson 2: The Pythgoren Theorem nd Similr Tringles A Brief Review of the Pythgoren Theorem. Rell tht n ngle whih mesures 90º is lled right ngle. If one of the ngles of tringle is right ngle, then we

More information

INTEGRATION. 1 Integrals of Complex Valued functions of a REAL variable

INTEGRATION. 1 Integrals of Complex Valued functions of a REAL variable INTEGRATION NOTE: These notes re supposed to supplement Chpter 4 of the online textbook. 1 Integrls of Complex Vlued funtions of REAL vrible If I is n intervl in R (for exmple I = [, b] or I = (, b)) nd

More information

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix tries Definition of tri mtri is regulr rry of numers enlosed inside rkets SCHOOL OF ENGINEERING & UIL ENVIRONEN Emple he following re ll mtries: ), ) 9, themtis ), d) tries Definition of tri Size of tri

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing

More information

The Word Problem in Quandles

The Word Problem in Quandles The Word Prolem in Qundles Benjmin Fish Advisor: Ren Levitt April 5, 2013 1 1 Introdution A word over n lger A is finite sequene of elements of A, prentheses, nd opertions of A defined reursively: Given

More information

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES PAIR OF LINEAR EQUATIONS IN TWO VARIABLES. Two liner equtions in the sme two vriles re lled pir of liner equtions in two vriles. The most generl form of pir of liner equtions is x + y + 0 x + y + 0 where,,,,,,

More information

MAT 403 NOTES 4. f + f =

MAT 403 NOTES 4. f + f = MAT 403 NOTES 4 1. Fundmentl Theorem o Clulus We will proo more generl version o the FTC thn the textook. But just like the textook, we strt with the ollowing proposition. Let R[, ] e the set o Riemnn

More information

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

More information

Review of Gaussian Quadrature method

Review of Gaussian Quadrature method Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge

More information

ANALYSIS AND MODELLING OF RAINFALL EVENTS

ANALYSIS AND MODELLING OF RAINFALL EVENTS Proeedings of the 14 th Interntionl Conferene on Environmentl Siene nd Tehnology Athens, Greee, 3-5 Septemer 215 ANALYSIS AND MODELLING OF RAINFALL EVENTS IOANNIDIS K., KARAGRIGORIOU A. nd LEKKAS D.F.

More information

TOPIC: LINEAR ALGEBRA MATRICES

TOPIC: LINEAR ALGEBRA MATRICES Interntionl Blurete LECTUE NOTES for FUTHE MATHEMATICS Dr TOPIC: LINEA ALGEBA MATICES. DEFINITION OF A MATIX MATIX OPEATIONS.. THE DETEMINANT deta THE INVESE A -... SYSTEMS OF LINEA EQUATIONS. 8. THE AUGMENTED

More information

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α Disrete Strutures, Test 2 Mondy, Mrh 28, 2016 SOLUTIONS, VERSION α α 1. (18 pts) Short nswer. Put your nswer in the ox. No prtil redit. () Consider the reltion R on {,,, d with mtrix digrph of R.. Drw

More information

Hyers-Ulam stability of Pielou logistic difference equation

Hyers-Ulam stability of Pielou logistic difference equation vilble online t wwwisr-publitionsom/jns J Nonliner Si ppl, 0 (207, 35 322 Reserh rtile Journl Homepge: wwwtjnsom - wwwisr-publitionsom/jns Hyers-Ulm stbility of Pielou logisti differene eqution Soon-Mo

More information

2.4 Theoretical Foundations

2.4 Theoretical Foundations 2 Progrmming Lnguge Syntx 2.4 Theoretil Fountions As note in the min text, snners n prsers re se on the finite utomt n pushown utomt tht form the ottom two levels of the Chomsky lnguge hierrhy. At eh level

More information

April 8, 2017 Math 9. Geometry. Solving vector problems. Problem. Prove that if vectors and satisfy, then.

April 8, 2017 Math 9. Geometry. Solving vector problems. Problem. Prove that if vectors and satisfy, then. pril 8, 2017 Mth 9 Geometry Solving vetor prolems Prolem Prove tht if vetors nd stisfy, then Solution 1 onsider the vetor ddition prllelogrm shown in the Figure Sine its digonls hve equl length,, the prllelogrm

More information

Linear Algebra Introduction

Linear Algebra Introduction Introdution Wht is Liner Alger out? Liner Alger is rnh of mthemtis whih emerged yers k nd ws one of the pioneer rnhes of mthemtis Though, initilly it strted with solving of the simple liner eqution x +

More information

Figure 1. The left-handed and right-handed trefoils

Figure 1. The left-handed and right-handed trefoils The Knot Group A knot is n emedding of the irle into R 3 (or S 3 ), k : S 1 R 3. We shll ssume our knots re tme, mening the emedding n e extended to solid torus, K : S 1 D 2 R 3. The imge is lled tuulr

More information

Logic, Set Theory and Computability [M. Coppenbarger]

Logic, Set Theory and Computability [M. Coppenbarger] 14 Orer (Hnout) Definition 7-11: A reltion is qusi-orering (or preorer) if it is reflexive n trnsitive. A quisi-orering tht is symmetri is n equivlene reltion. A qusi-orering tht is nti-symmetri is n orer

More information

Outline. Theory-based Bayesian framework for property induction Causal structure induction

Outline. Theory-based Bayesian framework for property induction Causal structure induction Outline Theory-sed Byesin frmework for property indution Cusl struture indution Constrint-sed (ottom-up) lerning Theory-sed Byesin lerning The origins of usl knowledge Question: how do people relily ome

More information

Green s Theorem. (2x e y ) da. (2x e y ) dx dy. x 2 xe y. (1 e y ) dy. y=1. = y e y. y=0. = 2 e

Green s Theorem. (2x e y ) da. (2x e y ) dx dy. x 2 xe y. (1 e y ) dy. y=1. = y e y. y=0. = 2 e Green s Theorem. Let be the boundry of the unit squre, y, oriented ounterlokwise, nd let F be the vetor field F, y e y +, 2 y. Find F d r. Solution. Let s write P, y e y + nd Q, y 2 y, so tht F P, Q. Let

More information

Nondeterministic Finite Automata

Nondeterministic Finite Automata Nondeterministi Finite utomt The Power of Guessing Tuesdy, Otoer 4, 2 Reding: Sipser.2 (first prt); Stoughton 3.3 3.5 S235 Lnguges nd utomt eprtment of omputer Siene Wellesley ollege Finite utomton (F)

More information

Section 3.6. Definite Integrals

Section 3.6. Definite Integrals The Clulus of Funtions of Severl Vribles Setion.6 efinite Integrls We will first define the definite integrl for funtion f : R R nd lter indite how the definition my be extended to funtions of three or

More information

12.4 Similarity in Right Triangles

12.4 Similarity in Right Triangles Nme lss Dte 12.4 Similrit in Right Tringles Essentil Question: How does the ltitude to the hpotenuse of right tringle help ou use similr right tringles to solve prolems? Eplore Identifing Similrit in Right

More information

THE PYTHAGOREAN THEOREM

THE PYTHAGOREAN THEOREM THE PYTHAGOREAN THEOREM The Pythgoren Theorem is one of the most well-known nd widely used theorems in mthemtis. We will first look t n informl investigtion of the Pythgoren Theorem, nd then pply this

More information

Line Integrals and Entire Functions

Line Integrals and Entire Functions Line Integrls nd Entire Funtions Defining n Integrl for omplex Vlued Funtions In the following setions, our min gol is to show tht every entire funtion n be represented s n everywhere onvergent power series

More information

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09 Metodologie di progetto HW Tehnology Mpping Lst updte: 19/03/09 Tehnology Mpping 2 Tehnology Mpping Exmple: t 1 = + b; t 2 = d + e; t 3 = b + d; t 4 = t 1 t 2 + fg; t 5 = t 4 h + t 2 t 3 ; F = t 5 ; t

More information

Learning Objectives of Module 2 (Algebra and Calculus) Notes:

Learning Objectives of Module 2 (Algebra and Calculus) Notes: 67 Lerning Ojetives of Module (Alger nd Clulus) Notes:. Lerning units re grouped under three res ( Foundtion Knowledge, Alger nd Clulus ) nd Further Lerning Unit.. Relted lerning ojetives re grouped under

More information

Automatic Synthesis of New Behaviors from a Library of Available Behaviors

Automatic Synthesis of New Behaviors from a Library of Available Behaviors Automti Synthesis of New Behviors from Lirry of Aville Behviors Giuseppe De Giomo Università di Rom L Spienz, Rom, Itly degiomo@dis.unirom1.it Sestin Srdin RMIT University, Melourne, Austrli ssrdin@s.rmit.edu.u

More information

Exercise 3 Logic Control

Exercise 3 Logic Control Exerise 3 Logi Control OBJECTIVE The ojetive of this exerise is giving n introdution to pplition of Logi Control System (LCS). Tody, LCS is implemented through Progrmmle Logi Controller (PLC) whih is lled

More information

Nondeterministic Automata vs Deterministic Automata

Nondeterministic Automata vs Deterministic Automata Nondeterministi Automt vs Deterministi Automt We lerned tht NFA is onvenient model for showing the reltionships mong regulr grmmrs, FA, nd regulr expressions, nd designing them. However, we know tht n

More information

Linear Inequalities. Work Sheet 1

Linear Inequalities. Work Sheet 1 Work Sheet 1 Liner Inequlities Rent--Hep, cr rentl compny,chrges $ 15 per week plus $ 0.0 per mile to rent one of their crs. Suppose you re limited y how much money you cn spend for the week : You cn spend

More information

Lecture 6: Coding theory

Lecture 6: Coding theory Leture 6: Coing theory Biology 429 Crl Bergstrom Ferury 4, 2008 Soures: This leture loosely follows Cover n Thoms Chpter 5 n Yeung Chpter 3. As usul, some of the text n equtions re tken iretly from those

More information

Lecture Summaries for Multivariable Integral Calculus M52B

Lecture Summaries for Multivariable Integral Calculus M52B These leture summries my lso be viewed online by liking the L ion t the top right of ny leture sreen. Leture Summries for Multivrible Integrl Clulus M52B Chpter nd setion numbers refer to the 6th edition.

More information

Convert the NFA into DFA

Convert the NFA into DFA Convert the NF into F For ech NF we cn find F ccepting the sme lnguge. The numer of sttes of the F could e exponentil in the numer of sttes of the NF, ut in prctice this worst cse occurs rrely. lgorithm:

More information

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras Glol Journl of Mthemtil Sienes: Theory nd Prtil. ISSN 974-32 Volume 9, Numer 3 (27), pp. 387-397 Interntionl Reserh Pulition House http://www.irphouse.om On Implitive nd Strong Implitive Filters of Lttie

More information

f (x)dx = f(b) f(a). a b f (x)dx is the limit of sums

f (x)dx = f(b) f(a). a b f (x)dx is the limit of sums Green s Theorem If f is funtion of one vrible x with derivtive f x) or df dx to the Fundmentl Theorem of lulus, nd [, b] is given intervl then, ording This is not trivil result, onsidering tht b b f x)dx

More information

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3 2 The Prllel Circuit Electric Circuits: Figure 2- elow show ttery nd multiple resistors rrnged in prllel. Ech resistor receives portion of the current from the ttery sed on its resistnce. The split is

More information

Generalization of 2-Corner Frequency Source Models Used in SMSIM

Generalization of 2-Corner Frequency Source Models Used in SMSIM Generliztion o 2-Corner Frequeny Soure Models Used in SMSIM Dvid M. Boore 26 Mrh 213, orreted Figure 1 nd 2 legends on 5 April 213, dditionl smll orretions on 29 My 213 Mny o the soure spetr models ville

More information

Symmetrical Components 1

Symmetrical Components 1 Symmetril Components. Introdution These notes should e red together with Setion. of your text. When performing stedy-stte nlysis of high voltge trnsmission systems, we mke use of the per-phse equivlent

More information

QUADRATIC EQUATION. Contents

QUADRATIC EQUATION. Contents QUADRATIC EQUATION Contents Topi Pge No. Theory 0-04 Exerise - 05-09 Exerise - 09-3 Exerise - 3 4-5 Exerise - 4 6 Answer Key 7-8 Syllus Qudrti equtions with rel oeffiients, reltions etween roots nd oeffiients,

More information

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2 BOOLEAN METHODS Giovnni De Miheli Stnford University Boolen methods Exploit Boolen properties. { Don't re onditions. Minimiztion of the lol funtions. Slower lgorithms, etter qulity results. Externl don't

More information

SECTION A STUDENT MATERIAL. Part 1. What and Why.?

SECTION A STUDENT MATERIAL. Part 1. What and Why.? SECTION A STUDENT MATERIAL Prt Wht nd Wh.? Student Mteril Prt Prolem n > 0 n > 0 Is the onverse true? Prolem If n is even then n is even. If n is even then n is even. Wht nd Wh? Eploring Pure Mths Are

More information

Coalgebra, Lecture 15: Equations for Deterministic Automata

Coalgebra, Lecture 15: Equations for Deterministic Automata Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined

More information

Now we must transform the original model so we can use the new parameters. = S max. Recruits

Now we must transform the original model so we can use the new parameters. = S max. Recruits MODEL FOR VARIABLE RECRUITMENT (ontinue) Alterntive Prmeteriztions of the pwner-reruit Moels We n write ny moel in numerous ifferent ut equivlent forms. Uner ertin irumstnes it is onvenient to work with

More information

Chapter 8 Roots and Radicals

Chapter 8 Roots and Radicals Chpter 8 Roots nd Rdils 7 ROOTS AND RADICALS 8 Figure 8. Grphene is n inredily strong nd flexile mteril mde from ron. It n lso ondut eletriity. Notie the hexgonl grid pttern. (redit: AlexnderAIUS / Wikimedi

More information

The Regulated and Riemann Integrals

The Regulated and Riemann Integrals Chpter 1 The Regulted nd Riemnn Integrls 1.1 Introduction We will consider severl different pproches to defining the definite integrl f(x) dx of function f(x). These definitions will ll ssign the sme vlue

More information

Discrete Mathematics and Probability Theory Spring 2013 Anant Sahai Lecture 17

Discrete Mathematics and Probability Theory Spring 2013 Anant Sahai Lecture 17 EECS 70 Discrete Mthemtics nd Proility Theory Spring 2013 Annt Shi Lecture 17 I.I.D. Rndom Vriles Estimting the is of coin Question: We wnt to estimte the proportion p of Democrts in the US popultion,

More information

Section 4.4. Green s Theorem

Section 4.4. Green s Theorem The Clulus of Funtions of Severl Vriles Setion 4.4 Green s Theorem Green s theorem is n exmple from fmily of theorems whih onnet line integrls (nd their higher-dimensionl nlogues) with the definite integrls

More information

A Study on the Properties of Rational Triangles

A Study on the Properties of Rational Triangles Interntionl Journl of Mthemtis Reserh. ISSN 0976-5840 Volume 6, Numer (04), pp. 8-9 Interntionl Reserh Pulition House http://www.irphouse.om Study on the Properties of Rtionl Tringles M. Q. lm, M.R. Hssn

More information

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4 Intermedite Mth Circles Wednesdy, Novemer 14, 2018 Finite Automt II Nickols Rollick nrollick@uwterloo.c Regulr Lnguges Lst time, we were introduced to the ide of DFA (deterministic finite utomton), one

More information

= state, a = reading and q j

= state, a = reading and q j 4 Finite Automt CHAPTER 2 Finite Automt (FA) (i) Derterministi Finite Automt (DFA) A DFA, M Q, q,, F, Where, Q = set of sttes (finite) q Q = the strt/initil stte = input lphet (finite) (use only those

More information

Probability. b a b. a b 32.

Probability. b a b. a b 32. Proility If n event n hppen in '' wys nd fil in '' wys, nd eh of these wys is eqully likely, then proility or the hne, or its hppening is, nd tht of its filing is eg, If in lottery there re prizes nd lnks,

More information

Abstraction of Nondeterministic Automata Rong Su

Abstraction of Nondeterministic Automata Rong Su Astrtion of Nondeterministi Automt Rong Su My 6, 2010 TU/e Mehnil Engineering, Systems Engineering Group 1 Outline Motivtion Automton Astrtion Relevnt Properties Conlusions My 6, 2010 TU/e Mehnil Engineering,

More information

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004 Advnced Clculus: MATH 410 Notes on Integrls nd Integrbility Professor Dvid Levermore 17 October 2004 1. Definite Integrls In this section we revisit the definite integrl tht you were introduced to when

More information

arxiv: v1 [math.ca] 21 Aug 2018

arxiv: v1 [math.ca] 21 Aug 2018 rxiv:1808.07159v1 [mth.ca] 1 Aug 018 Clulus on Dul Rel Numbers Keqin Liu Deprtment of Mthemtis The University of British Columbi Vnouver, BC Cnd, V6T 1Z Augest, 018 Abstrt We present the bsi theory of

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 2010 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

Can one hear the shape of a drum?

Can one hear the shape of a drum? Cn one her the shpe of drum? After M. K, C. Gordon, D. We, nd S. Wolpert Corentin Lén Università Degli Studi di Torino Diprtimento di Mtemti Giuseppe Peno UNITO Mthemtis Ph.D Seminrs Mondy 23 My 2016 Motivtion:

More information

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of: 22: Union Fin CS 473u - Algorithms - Spring 2005 April 14, 2005 1 Union-Fin We wnt to mintin olletion of sets, uner the opertions of: 1. MkeSet(x) - rete set tht ontins the single element x. 2. Fin(x)

More information

8 THREE PHASE A.C. CIRCUITS

8 THREE PHASE A.C. CIRCUITS 8 THREE PHSE.. IRUITS The signls in hpter 7 were sinusoidl lternting voltges nd urrents of the so-lled single se type. n emf of suh type n e esily generted y rotting single loop of ondutor (or single winding),

More information

Exercise sheet 6: Solutions

Exercise sheet 6: Solutions Eerise sheet 6: Solutions Cvet emptor: These re merel etended hints, rther thn omplete solutions. 1. If grph G hs hromti numer k > 1, prove tht its verte set n e prtitioned into two nonempt sets V 1 nd

More information