In Search of Lost Time

Size: px
Start display at page:

Download "In Search of Lost Time"

Transcription

1 In Serh of Lost Time Bernette Chrron-Bost 1, Mrtin Hutle 2, n Josef Wier 3 1 CNRS / Eole polytehnique, Pliseu, Frne 2 EPFL, Lusnne, Switzerln 3 TU Wien, Vienn, Austri Astrt Dwork, Lynh, n Stokmeyer (1988) n Lmport (1998) showe tht, in orer to solve Consensus in istriute system, it is suffiient tht the system ehves well uring finite perio of time. In shrp ontrst, Chnr, Hzilos, n Toueg (1996) prove tht filure etetor tht, from some time on, provies goo informtion forever is neessry. We explin tht this pprent prox is ue to the two-lyere struture of the filure etetor moel. This struture lso hs impts on omprison reltions etween filure etetors. In prtiulr, we mke expliit why the lssi reltion is neither reflexive nor extens the nturl history-wise inlusion. Altough not tehnilly iffiult, the point we mke helps unerstning existing moels like the filure etetor moel. Keywors: istriute omputing filure etetors synhronous system Consensus 1 Introution The im of the pper is to eepen the unerstning of one of the most lssil moel in istriute omputing, nmely the filure etetor moel y Chnr n Toueg [2]. Roughly speking, in the filure etetor pproh, istriute system is represente y two lyers: lyer tht orrespons to the system itself formlly efine in terms of proesses, utomt, n ommunition links tht runs in totlly synhronous moe, n seon lyer onsisting of the filure etetor efine with respet to time essile to the proesses t ny time. From moeling perspetive, this two-lyere pproh rilly hnge from the lssi pprohes (e.g., [3, 4, 7]) where the timing ehvior of system is restrite in orer to irumvent funmentl impossiility results [5]. Bsilly, the new ie in the filure etetor moel [2] ws to onsier istriute omputtions with unrestrite timing while the moel is ugmente with n orle, expresse y time-epenent lyer tht provies informtion from outsie. In this pper, we explin how some hrteristi fetures of this moel tully originte from the interply etween the two lyers, n the isrepny etween their timeless vs. time epenent efinitions. One of these fetures ws proven in [1], nmely, tht Consensus nnot e solve without (impliit) permnent greement on leer from some time on. It seems in ontrition with erlier positive results y Dwork, Lynh, n Stokmeyer [4] n y Lmport [7] who showe tht suffiiently long finite goo perio mkes Consensus solvle. Another peulirity of this iprtite moel is the wy filure etetors re ompre: Chnr n Toueg [2] introue omprison reltion whih we show to e not reflexive. This is not just forml prolem tht n e esily fixe. Atully, the prolem gin 1

2 origintes from the interfe etween the system lyer n the filure etetor lyer, n the lk of timing ontrol y the filure etetor on the synhronous system lyer. 1.1 Permnent vs. intermittent limittion of synhrony The entrl result in fult-tolernt istriute omputing is tht Consensus nnot e solve in n synhronous system in the presene of rsh filures [5]. Severl pprohes hve een propose to irumvent this impossiility result. In prtiulr, Dwork, Lynh, n Stokmeyer [4] showe tht Consensus n e solve if the synhrony of the system is intermittently limite uring polynomil (in the size of the system n their timing prmeters) mount of time. Similrly, Lmport propose the Pxos lgorithm [7] tht solves Consensus if proesses n elet ommon leer for suffiiently long finite perio (the so-lle goo perios ). These two positive results re very importnt s they oth provie restritions whih re quite resonle for implementing Consensus in prtie. Menwhile, Chnr n Toueg [2] introue the notion of filure etetors tht re efine s externl evies to the system: filure etetor is istriute orle whih is suppose to provie informtion out filures, n so ugments the unerlying synhronous system. Besies, Chnr, Hzilos, n Toueg [1] prove tht ertin filure etetor enote Ω n e extrte from ny filure etetor tht mkes Consensus solvle. Roughly speking, Ω provies the following informtion: There is time fter whih ll the orret proesses lwys trust the sme orret proess (the leer). Contrry to the orretness onitions of the Consensus lgorithms in [4, 7] relle ove, Ω is very strong onition, lerly not hievle in rel systems. In fe of [4] n [7], it seems proxil tht n eventully forever leer is neessry to solve Consensus. The eventully forever requirement ws isusse in [1]: it ws stte tht in prtie it woul suffie tht some properties hol for suffiiently long, until n lgorithm hieves its gol, n tht [...] in n synhronous system it is not possile to quntify suffiiently long, sine even single proess step or single messge trnsmission is llowe to tke n ritrrily long mount of time. [1] Unfortuntely, the rgument of the impossile quntifition of the length of goo perios is frgmentry. Inee, the point is to speify in terms of wht urtion my e quntifie. For instne, if one onsiers the numer of messges in uslity hin n the numer of steps tken y proesses, one my quntify suffiiently long internlly to n synhronous system. The pproh tken in [4, 7] n e interprete in suh wy. In this pper, we mke expliit tht the origin of this neessity lies in the two-lyere struture of the moel. On the one hn, filure etetors re totlly inepenent of the exeution of the system, n filure etetor histories re efine only with respet to time. On the other hn, the system is not orle-triggere : proess my query its filure etetor moule t ny time, ut nnot e inite y the filure etetor or y some other orle (e.g., lok) to mke step. Hene, the system runs totlly synhronously: steps my our t ritrry times, n so my e ritrrily elye with respet to time. In orer to e of ny help to solve prolem, filure etetor must therefore e insensitive to suh elys. In this pper, we formlize this intuition, n more generlly we stuy the impt of two-lyere struture on the moeling. The point is not tehnilly iffiult, ut we elieve tht more thorough isussion on the si properties of omputtionl moels for istriute systems is essentil. In prtiulr, it my help in etter unerstning the existing moels suh s the filure etetor moel. 2

3 To o tht, we introue for eh filure etetor D, filure etetor D whih represents ll the possile smplings of the histories of D. More preisely, D n e unerstoo s the olletion of ll the possile time-ontrte versions of D, inluing D itself. Clerly, D is stronger thn D in the sense tht D provies more preise informtion thn D. The entrl point of our isussion is to show tht given ny (non rel-time) prolem P in synhronous systems, D is tully suffiient to solve P if P n e solve using D. The si reson lies in the ft tht our time-ontrtion hs no visile effet in n synhronous system. In other wors, the only informtion tht n e exploite y n synhronous system from filure etetor D is its time-ontrte version D, i.e., time is lost t the interfe etween the synhronous system n filure etetor moules. As onsequene, the wekest filure etetor W P to solve P, if it exists, is timeontrtion insensitive. In prtiulr, this hols for the filure etetor Ω, whih extly ptures the neessity of n eventully forever leer to solve Consensus. 1.2 Comprison reltion etween filure etetors The reltion introue in [2] to ompre filure etetors is efine from n opertionl viewpoint: D D if there is n synhronous istriute lgorithm tht trnsforms D into D. As expline ove, timing informtion tht my e given y the filure etetor lyer is efinitely lost t the interfe etween the two lyers. Therey, the oupling etween filure etetors n time whih y the wy, my e very strong nnot e hnle y suh n opertionlly efine reltion. In other wors, s soon s D is weker thn some other filure etetor D with respet to, D is in the restrite lss of time-free filure etetors. In prtiulr, non time-free filure etetors re not omprle to themselves, n is not reflexive. We shll explin why this shortoming nnot esily e fixe in two-lyer moel, n propose new efinition of preorer (reflexive n trnsitive) for ompring filure etetors, whih is quite ifferent in essene: it ompres filure etetors just with respet to their pilities to solve prolems. This reltion extens oth the originl reltion n the inlusion reltion etween filure etetors. 2 Filure etetors, runs, n time In this setion we rell the efinitions of the filure etetor moel to the extent neessry. 1 We enote y Π the finite set of proesses whih onstitute the istriute system. 2.1 Filure etetor lyer Centrl to the efinition of filure etetors is isrete glol time T = IN. A filure pttern is funtion F : T 2 Π. In the se of rsh filures, p F (t) mens tht p hs rshe y time t, n so F (t) F (t + 1). We sy tht p is orret in F if p never rshes, i.e., p orret(f ) = t T Π F (t), n we only onsier filure ptterns F suh tht orret(f ). An environment E is efine s non-empty set of filure ptterns. A history H with rnge R, where R is ny non-empty set, is funtion H : Π T R. A filure etetor with rnge R is then efine s funtion tht mps eh filure pttern F E to non-empty set of histories with rnge R. Chnr n Toueg [2] introue the notion of filure etetor s mpping from filure pttern to histories in orer to pture the notion of n orle tht provies some 1 For omplete n forml efinitions, the reer is referre to the originl ppers [2, 1]. 3

4 hints out filures. In prtiulr, nturl hoie is R = 2 Π, n q H(p, t) for some history H of filure etetor D mens tht D tells p to suspet q to hve rshe y time t. Alterntively, the filure etetor Ω [1] hs rnge R = Π, n q = H(p, t) enoes the ft tht Ω tells p tht q is orret. The key property of Ω is tht from some time on, Ω provies the sme informtion to ll orret proesses, n this informtion is orret. The Ω property is invrint uner time trnsltion, llowing lrge egree of freeom regring time. This is not generl property shre y ll filure etetors. Inee, filure etetor my exhiit strong reltion to time: s n exmple, onsier the history H C with rnge T efine y n the onstnt filure etetor C: p Π, t T : H C (p, t) = t, F E : C(F ) = {H C }. In shrp ontrst to Ω, C gives no hint on filures ut provies perfet informtion on time. Hene the term filure etetor my e somewht misleing s in the se of C. 2.2 Asynhronous system lyer A istriute lgorithm A over Π is olletion of eterministi utomt (A p ) p Π. Computtion proees in steps of A. In eh step, proess reeives or not messge sent to it, my query its filure etetor moule tht replies some vlue to p, unergoes stte trnsition epening on its urrent stte, m, n n then sens messge to ll other proesses. We n thus ientify this step with the triple (p, m, ). A sheule of A is sequene of steps tken y proesses exeuting A; the i-th step of S is enote y S[i]. The notion of the ppliility of step to glol stte is then nturlly 2 introue n generlize to sheule. A run of A using filure etetor D is tuple F, H, I, S, T, where F is filure pttern, H D(F ) is history of D, I is n initil glol stte of A, S is sheule of A pplile to I, n T is sequene of inresing vlues in T (suh tht the i-th element of T, T [i], represents the time t whih the step S[i] ours), n F, H, I, S, n T stisfy the following onsisteny onitions: S = T n for ny i S, if S[i] = (p, m, ), then p F (T [i]) n = H(p, T [i]). In ition, R must stisfy the following firness properties: (1) eh orret proess tkes n infinite numer of steps in S, n (2) eh messge sent to orret proess is eventully reeive. The two lyers of the moel re thus onnete solely vi the onition whih speifies tht if proess p tkes step t time t, then p hnges its stte epening mong others on the vlue of D t time t, whih is efine externlly to the synhronous system. 3 Compring filure etetors Numerous ppers re evote to etermining wekest filure etetor to solve given prolem. All of them use the sme omprison reltion whih hs een introue in [2]. Roughly speking, is efine s follows: D D if there exists n lgorithm A tht trnsforms D into D. Thus, the reltion rosses the orer etween the two lyers of the moel in the sense tht two filure etetors re ompre through the synhronous 2 Ensuring onsisteny s requiring tht reeive messge hs een sent n hs not een reeive efore. 4

5 system lyer. In this setion, we show tht the efinition of les to some meningless inomprility results, n we stuy how to fix the prolem y extening the originl reltion. 3 We explin why trivil extensions re not stisftory, n propose new omprison reltion whih is preorer, n whose efinition oes not resort nymore to the synhronous system lyer. Let us rell wht it mens for n lgorithm A to trnsform filure etetor D into nother filure etetor D : lgorithm A uses D to mintin vrile out p t every proess p. This vrile, reflete in the lol stte of A, emultes the output of D t p. Let O R e the history of ll the out p vriles in run R, i.e., O R (p, t) is the vlue of out p t time t in run R. Algorithm A trnsforms D into D if for every run R = F, H, I, S, T of A using D, O R D (F ). If suh n lgorithm A exists, then D D. The output history O R highly epens on the time list T in R. More preisely, if D is suh tht D D for some D, then D neessrily llows finite ut unoune stuttering: if proess p oes not tke step t time t in run R, then O R (p, t) = O R (p, t 1). This onition on D to e weker thn some filure etetor D strongly restrits the grph of the reltion, n in prtiulr it prevents to e reflexive, ontrry to wht n e inferre from the nottion. 3.1 Extening inlusion We oul esily fix the prolem of non-reflexivity y onsiering the reflexive losure of. Unfortuntely, the resulting preorer is still too restritive s we explin elow. Consier the nturl reltion etween filure etetors: D D F E : D(F ) D (F ). In other wors, D provies itionl possile histories ompre to D, n so is less urte thn D. Hene, nturl requirement for omprison reltion over filure etetors is to e preorer tht extens. Unfortuntely, this is the se neither for nor for its reflexive losure. To see tht, let us efine the instntneous strong ompleteness whih ensures tht every rshe proess is immeitely suspete y every orret proess: F E, H D(F ), t T, p orret(f ), q Π : q F (t) q H(p, t), n onsier the two filure etetors P + n S + tht oth stisfy instntneous strong ompleteness, ut iffer on their ury properties: P + stisfies strong ury [2], i.e., F E, H D(F ), t T, p, q Π F (t) : q H(p, t), wheres S + stisfies only wek ury [2] F E, H D(F ), p orret(f ), t T, q Π F (t) : p H(q, t). Then one n esily show tht: Proposition 3.1. P + S +, ut P + S Time ontrtion To fix the ove prolem, we n onsier the reltion efine s the union of n. Clerly, the reltion is preorer, ut it ppers to e still too restritive in the sense tht it oes not relte filure etetors tht shoul e omprle from the stnpoint of synhronous systems, nmely, filure etetors tht only iffer in their reltion to time. 3 In orer to preserve ll the wekest filure etetor results, new omprison reltion must ontin. 5

6 H(p) H(q) H(r) t t Θ.H(p) Θ.H(q) Θ.H(r) Figure 1: The history Θ.H with rnge {,,, } n the sequene Θ = 2, 3, 6, 11, To see tht, for ny filure etetor D, we onstrut new filure etetor D similr to D exept the oupling to time tht is weker in D thn in D. More preisely, eh history of D is otine y smpling history H of D, i.e., tking t inresing times the vlues from H while utting out the remining vlues (see Fig. 1). In other wors, D is time-ontrte vrint of D, where the ontrtion is homogeneous etween proesses. Let Θ = (Θ t ) t IN e n inresing sequene in T, n S e the set of ll suh sequenes. The ontrte vrints of history H n filure pttern F with respet to some Θ S re efine y: Θ.H(p, t) = H(p, Θ t ) n Θ.F (t) = F (Θ t ). Beuse filure ptterns re non-eresing funtions of time, orret(f ) = orret(θ.f ). In the following, we ssume tht E is suh tht eh Θ-ontrtion F Θ.F is surjetion from E to E. 4 Then, for every Θ S, we onstrut the filure etetor Θ.D whih is otine y the Θ-ontrtion of filure ptterns n orresponing histories of D: Θ.D(F ) = { Θ.H : F E, F = Θ.F H D(F ) }. We now efine D(F ) s the union of ll possile Θ-ontrtions of the histories in D(F ): D(F ) = Θ S Θ.D(F ) Speilizing Θ t = t, we otin D D, n so D D. In generl the onverse inlusion oes not hol, i.e., D n D my e not equivlent with respet to. Proposition 3.2. C C Proof. Let Θ S e suh tht t IN : Θ t > t. Thus, for ny F E there is history H C(F ) suh tht p Π : H(p, t) = Θ t > t. Suh history H C(F ) is not in C(F ), n thus C C. Moreover, C oes not llow stuttering, n so C C. It follows tht C C. However, we now show tht D n D re lwys equivlent from the viewpoint of the synhronous system lyer in the sense tht ny synhronous lgorithm nnot istinguish D from D. In prtiulr, we prove tht D n D hve the sme ility to solve (non rel-time) prolems in n synhronous system. 4 This ssumption hols in the se of the lssil environment where t most f proesses my rsh. 6

7 Let V in n V out e two non-empty sets suh tht V out n / V in. An initil onfigurtion is funtion C 0 : Π V in, n n output smpling is funtion Σ : Π IN V out. 5 A prolem P is preite over triples (F, C 0, Σ), where F E, C 0 is n initil onfigurtion, n Σ is n output smpling. To remove ny time epeneny, we only onsier prolems suh tht F, F E : orret(f ) = orret(f ) P (F, C 0, Σ) = P (F, C 0, Σ). Let A = (A p ) p Π e n lgorithm with the sets of sttes n of initil sttes enote y Sttes p n Sttes 0 p, respetively. We sy tht A solves P if there exist two mppings σ 0 : Sttes 0 p V in n σ : Sttes p V out suh tht for ny run R = F, H, I, S, T of A, P hols t (F, σ 0 (I), σ(i, S)), where σ 0 (I) is the initil onfigurtion orresponing to I y σ 0 n σ(i, S) is the output smpling tht nturlly erives from I n S vi σ. If D D n A solves P using D, then A solves P using D sine eh run of n lgorithm A using D is lso run of A using D. In prtiulr, eh run of A using D is lso run of A using D. Conversely, run of A using D my e not run of A using D. However, for eh run R of A using D there is run R of A using D with the sme initil stte n the sme sheule s in R, n with equivlent filure ptterns: Proposition 3.3. For every run R = F, H, I, S, T of n lgorithm A using D there is run R = F, H, I, S, T of A using D suh tht orret(f ) = orret(f ). Proof. For every history H D(F ) there is some Θ S suh tht H Θ.D(F ). It follows tht there exists some filure pttern F E n some history H D(F ) suh tht F = Θ.F n H = Θ.H. Let T enote the inresing time vlues efine y i IN : T [i] = Θ T [i]. We re going to show tht R = F, H, I, S, T is run of A using D. We know tht F E, n I is n initil stte of A. We enote y S[i] = (p, m, ) the i-th step tken in S. Sine R is run of A, = H(p, T [i]). By efinition of H n T, we hve = H(p, T [i]) = Θ.H (p, T [i]) = H (p, Θ T [i] ) = H (p, T [i]). Hene, = H (p, T [i]). Furthermore, y efinition of F n T, we eue tht F (T [i]) = F (Θ T [i] ) = F (T [i]). It follows tht if p tkes the i-th step in S, then p / F (T [i]) s S is the sheule of run R, n thus p / F (T [i]), s neee. Finlly, we know tht eh messge sent in R to proess in orret(f ) is eventully reeive, n eh orret proess in F tkes n infinite numer of steps in R sine R is run. As F n F re equivlent, R lso stisfies these two firness properties. Consequently, R is run of A using D. Theorem 3.4. An lgorithm A solves prolem P using D iff A solves P using D. 5 We use IN inste of T to insist on the ft tht Σ(p, i) enotes the i-th output vlue n not the output vlue t time i T. 7

8 3.3 Time regine Hene, D n D re equivlent in the synhronous setting s they n e use to solve prolem with the sme lgorithm. However, Proposition 3.2 shows tht there re filure etetors D suh tht D D. We propose omprison reltion tht keeps internl to the filure etetor lyer, n thus oes not erse the possile timing informtion tht filure etetors n ontin. This new reltion ompres filure etetors just with respet to their pilities to solve prolems. Formlly, D s D if ny prolem solvle using D is lso solvle using D. Clerly, the reltion s extens, n s is reflexive. Moreover, s is trnsitive, n so it is preorer. As lime in [2], if D D then ny prolem solvle with D is lso solvle with D, i.e., s extens the originl reltion. Finlly, Theorem 3.4 shows tht ny filure etetor D is equivlent to D with respet to the reltion s. 4 On wekest filure etetors We re now in position to explin the pprent prox etween the positive results of [4, 7] n the impossiility result in [1]. At some point, we will give only intuitive rguments, s we o not wnt to go into the etils of the forml hrteriztion of eventul forever properties in temporl logi. Let R e non-empty set n let e the set of filure etetors with rnge R. Given some prolem P, we enote y P the suset of filure etetors in tht n e use to solve P. Let e ny nturl preorer to ompre filure etetors in, i.e., s extens whih in turn extens. Rell tht W P is wekest filure etetor to solve P with respet to if W P is wekest element of ( P, ), i.e., (1) W P P, n (2) for ny D in P, D W P. We now show tht W P, if it exists, is neessrily time-free filure etetor. Theorem 4.1. If there exists wekest filure etetor W P in to solve P, then W P is lso wekest filure etetor to solve P, n W P is equivlent to W P. Proof. Theorem 3.4 shows tht W P P, n so W P W P. Sine W P W P n extens, it follows tht W P W P. Hene, W P n W P re equivlent. Moreover for ny D in P, we hve D W P, n y trnsitivity D W P. This shows tht W P is wekest element in ( P, ). For non-empty time intervl τ, we efine φ to e onition on the olletions of type (F t, (D p,t ) p Π ) where for ny t τ n ny p Π, we hve F t Π n D p,t R. We sy tht time intervl τ is φ-goo perio for history H n filure pttern F if φ is stisfie y (F (t), (H(p, t)) p Π ) t τ. For instne, φ-goo perio my express tht the sme orret proess is truste y ll proesses. Let P e prolem for whih there is wekest filure etetor W P to solve P tht ensures φ-goo perios in eh of its histories n tkes ritrry vlues outsie φ-goo perios. Formlly, for eh filure pttern F n ny history H W P (F ), () there is t lest one φ-goo perio for H n F, n () ny history H with rnge R, tht oinies t τ 8

9 Θ.H D t H D φ φ t Figure 2: Finite goo perios for H my le to no goo perio for Θ.H. with H outsie the φ-goo perios, is lso in W P (F ). Hene φ-goo perios re neessry n suffiient in eh history for solving P. To seek ontrition, suppose now tht φ-goo perios hve only finite urtion in some history H 0 W P (F 0 ). Let D 0 e the filure etetor in whih oinies with W P for ny filure pttern F F 0, n D 0 (F 0 ) = {H : p Π, t T, H(p, t) R}. Sine W P onsists of ll smplings of the histories of W P, it follows tht there is some history H W P (F 0 ) without ny φ-goo perio (f. Fig 2). Even, H my e totlly ritrry euse of property () of W P. Hene, D 0 W P. Sine extens, it follows tht D 0 W P. Moreover, Theorem 4.1 shows tht W P P. As s extens, we erive tht D 0 P. This shows tht for F 0, φ-goo perio is not neessry to solve P, ontrition. Therey, W P ensures infinite φ-goo perios in eh of its histories. In onlusion, φ-goo perios must hve infinite urtion in orer to e useful to solve prolem. In other wors, φ must eventully hol forever, n this forever requirement stems solely from the moeling n the eomposition of the moel into two lyers. 5 Disussions In this pper we pointe out the restritive nture of the lssil omprison reltion etween filure etetors, n we expline why in the filure etetor moel, Consensus nnot e solve without n eventully forever greement on proess tht will never rsh, non-relisti requirement in prtie, wheres there re Consensus lgorithms tht run orretly in rel systems. Both moeling prolems originte from the interfe etween the filure etetor lyer n the synhronous system lyer, n from the lk of timing ontrol y filure etetors on the synhronous system: the time-ontrte version of ny filure etetor D is equivlent to D from the viewpoint of the synhronous system. For ompring filure etetors, we propose new reltion whose efinition keeps internl to the filure etetor lyer, n thus preserves the possile timing informtion ontine in filure etetors. On the ontrry, there is no hope to weken the properties on filure etetors neee for solving Consensus sine the neessity of n eventully forever greement is inherent to the nture of the moel. This is the reson why we elieve tht the filure etetor moel, n more generlly ny moel of synhronous systems ugmente with externlly efine orles, is not stisftory s it les to lower oun results tht re invlite y the experiene of DLS or Pxos lgorithms in rel systems. In this respet, system moels whose properties re efine internlly, i.e., in terms of system trnsitions, pper more pproprite. 9

10 Jynti n Toueg [6] reently estlishe tht every prolem hs wekest filure etetor with respet to yet nother reltion. While they mentione tht the lssi reltion in [2] is not reflexive, they i not isuss the prox highlighte in here. Their new reltion is reflexive n extens the inlusion reltion. As our reltion s, this new reltion lso seems to extens the reltion of [2]. Unfortuntely, Jynti n Toueg [6] employe new moel, ifferent from the lssil filure etetor moel. Therefore it is elite to estlish preise n forml omprison of these two ifferent pprohes of repiring the originl reltion. Note tht the new moel in [6] is still struture in severl lyers efine seprtely, n thus oes not espe the prox. Referenes [1] Tushr Deepk Chnr, Vssos Hzilos, n Sm Toueg. The wekest filure etetor for solving onsensus. Journl of the ACM, 43(4): , June [2] Tushr Deepk Chnr n Sm Toueg. Unrelile filure etetors for relile istriute systems. Journl of the ACM, 43(2): , Mrh [3] Dnny Dolev, Cynthi Dwork, n Lrry Stokmeyer. On the miniml synhronism neee for istriute onsensus. Journl of the ACM, 34(1):77 97, Jnury [4] Cynthi Dwork, Nny Lynh, n Lrry Stokmeyer. Consensus in the presene of prtil synhrony. Journl of the ACM, 35(2): , April [5] Mihel J. Fisher, Nny A. Lynh, n M. S. Pterson. Impossiility of istriute onsensus with one fulty proess. Journl of the ACM, 32(2): , April [6] Prs Jynti n Sm Toueg. Every prolem hs wekest filure etetor. In Proeeings of the 27th ACM symposium on Priniples of Distriute Computing (PODC), pges 75 84, [7] Leslie Lmport. The prt-time prliment. ACM Trnstions on Computer Systems, 16(2): , My

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

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

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

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

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

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

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

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014 S 224 DIGITAL LOGI & STATE MAHINE DESIGN SPRING 214 DUE : Mrh 27, 214 HOMEWORK III READ : Relte portions of hpters VII n VIII ASSIGNMENT : There re three questions. Solve ll homework n exm prolems s shown

More information

Solutions to Problem Set #1

Solutions to Problem Set #1 CSE 233 Spring, 2016 Solutions to Prolem Set #1 1. The movie tse onsists of the following two reltions movie: title, iretor, tor sheule: theter, title The first reltion provies titles, iretors, n tors

More information

On a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area

On a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area Journl of Grph Algorithms n Applitions http://jg.info/ vol. 13, no. 2, pp. 153 177 (2009) On Clss of Plnr Grphs with Stright-Line Gri Drwings on Liner Are M. Rezul Krim 1,2 M. Siur Rhmn 1 1 Deprtment of

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

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

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 )

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 ) Neessry n suient onitions for some two vrile orthogonl esigns in orer 44 C. Koukouvinos, M. Mitrouli y, n Jennifer Seerry z Deite to Professor Anne Penfol Street Astrt We give new lgorithm whih llows us

More information

Lecture 2: Cayley Graphs

Lecture 2: Cayley Graphs Mth 137B Professor: Pri Brtlett Leture 2: Cyley Grphs Week 3 UCSB 2014 (Relevnt soure mteril: Setion VIII.1 of Bollos s Moern Grph Theory; 3.7 of Gosil n Royle s Algeri Grph Theory; vrious ppers I ve re

More information

Unfoldings of Networks of Timed Automata

Unfoldings of Networks of Timed Automata Unfolings of Networks of Time Automt Frnk Cssez Thoms Chtin Clue Jr Ptrii Bouyer Serge H Pierre-Alin Reynier Rennes, Deemer 3, 2008 Unfolings [MMilln 93] First efine for Petri nets Then extene to other

More information

Compression of Palindromes and Regularity.

Compression of Palindromes and Regularity. Compression of Plinromes n Regulrity. Kyoko Shikishim-Tsuji Center for Lierl Arts Eution n Reserh Tenri University 1 Introution In [1], property of likstrem t t view of tse is isusse n it is shown tht

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

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

Analysis of Temporal Interactions with Link Streams and Stream Graphs

Analysis of Temporal Interactions with Link Streams and Stream Graphs Anlysis of Temporl Intertions with n Strem Grphs, Tiphine Vir, Clémene Mgnien http:// ltpy@ LIP6 CNRS n Soronne Université Pris, Frne 1/23 intertions over time 0 2 4 6 8,,, n for 10 time units time 2/23

More information

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours Mi-Term Exmintion - Spring 0 Mthemtil Progrmming with Applitions to Eonomis Totl Sore: 5; Time: hours. Let G = (N, E) e irete grph. Define the inegree of vertex i N s the numer of eges tht re oming into

More information

POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS

POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS Bull. Koren Mth. So. 35 (998), No., pp. 53 6 POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS YOUNG BAE JUN*, YANG XU AND KEYUN QIN ABSTRACT. We introue the onepts of positive

More information

The DOACROSS statement

The DOACROSS statement The DOACROSS sttement Is prllel loop similr to DOALL, ut it llows prouer-onsumer type of synhroniztion. Synhroniztion is llowe from lower to higher itertions sine it is ssume tht lower itertions re selete

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

arxiv: v2 [math.co] 31 Oct 2016

arxiv: v2 [math.co] 31 Oct 2016 On exlue minors of onnetivity 2 for the lss of frme mtrois rxiv:1502.06896v2 [mth.co] 31 Ot 2016 Mtt DeVos Dryl Funk Irene Pivotto Astrt We investigte the set of exlue minors of onnetivity 2 for the lss

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

Let s divide up the interval [ ab, ] into n subintervals with the same length, so we have

Let s divide up the interval [ ab, ] into n subintervals with the same length, so we have III. INTEGRATION Eonomists seem muh more intereste in mrginl effets n ifferentition thn in integrtion. Integrtion is importnt for fining the epete vlue n vrine of rnom vriles, whih is use in eonometris

More information

CS261: A Second Course in Algorithms Lecture #5: Minimum-Cost Bipartite Matching

CS261: A Second Course in Algorithms Lecture #5: Minimum-Cost Bipartite Matching CS261: A Seon Course in Algorithms Leture #5: Minimum-Cost Biprtite Mthing Tim Roughgren Jnury 19, 2016 1 Preliminries Figure 1: Exmple of iprtite grph. The eges {, } n {, } onstitute mthing. Lst leture

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

Lecture 8: Abstract Algebra

Lecture 8: Abstract Algebra Mth 94 Professor: Pri Brtlett Leture 8: Astrt Alger Week 8 UCSB 2015 This is the eighth week of the Mthemtis Sujet Test GRE prep ourse; here, we run very rough-n-tumle review of strt lger! As lwys, this

More information

Section 2.3. Matrix Inverses

Section 2.3. Matrix Inverses Mtri lger Mtri nverses Setion.. Mtri nverses hree si opertions on mtries, ition, multiplition, n sutrtion, re nlogues for mtries of the sme opertions for numers. n this setion we introue the mtri nlogue

More information

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106 8. Problem Set Due Wenesy, Ot., t : p.m. in - Problem Mony / Consier the eight vetors 5, 5, 5,..., () List ll of the one-element, linerly epenent sets forme from these. (b) Wht re the two-element, linerly

More information

I 3 2 = I I 4 = 2A

I 3 2 = I I 4 = 2A ECE 210 Eletril Ciruit Anlysis University of llinois t Chigo 2.13 We re ske to use KCL to fin urrents 1 4. The key point in pplying KCL in this prolem is to strt with noe where only one of the urrents

More information

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233,

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233, Surs n Inies Surs n Inies Curriulum Rey ACMNA:, 6 www.mthletis.om Surs SURDS & & Inies INDICES Inies n surs re very losely relte. A numer uner (squre root sign) is lle sur if the squre root n t e simplifie.

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

Computing on rings by oblivious robots: a unified approach for different tasks

Computing on rings by oblivious robots: a unified approach for different tasks Computing on rings y olivious roots: unifie pproh for ifferent tsks Ginlorenzo D Angelo, Griele Di Stefno, Alfreo Nvrr, Niols Nisse, Krol Suhn To ite this version: Ginlorenzo D Angelo, Griele Di Stefno,

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

Maximum size of a minimum watching system and the graphs achieving the bound

Maximum size of a minimum watching system and the graphs achieving the bound Mximum size of minimum wthing system n the grphs hieving the oun Tille mximum un système e ontrôle minimum et les grphes tteignnt l orne Dvi Auger Irène Chron Olivier Hury Antoine Lostein 00D0 Mrs 00 Déprtement

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

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005 RLETON UNIVERSIT eprtment of Eletronis ELE 2607 Swithing iruits erury 28, 05; 0 pm.0 Prolems n Most Solutions, Set, 2005 Jn. 2, #8 n #0; Simplify, Prove Prolem. #8 Simplify + + + Reue to four letters (literls).

More information

Particle Physics. Michaelmas Term 2011 Prof Mark Thomson. Handout 3 : Interaction by Particle Exchange and QED. Recap

Particle Physics. Michaelmas Term 2011 Prof Mark Thomson. Handout 3 : Interaction by Particle Exchange and QED. Recap Prtile Physis Mihelms Term 2011 Prof Mrk Thomson g X g X g g Hnout 3 : Intertion y Prtile Exhnge n QED Prof. M.A. Thomson Mihelms 2011 101 Rep Working towrs proper lultion of ey n sttering proesses lnitilly

More information

SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVEX STOCHASTIC PROCESSES ON THE CO-ORDINATES

SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVEX STOCHASTIC PROCESSES ON THE CO-ORDINATES Avne Mth Moels & Applitions Vol3 No 8 pp63-75 SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVE STOCHASTIC PROCESSES ON THE CO-ORDINATES Nurgül Okur * Imt Işn Yusuf Ust 3 3 Giresun University Deprtment

More information

Subsequence Automata with Default Transitions

Subsequence Automata with Default Transitions Susequene Automt with Defult Trnsitions Philip Bille, Inge Li Gørtz, n Freerik Rye Skjoljensen Tehnil University of Denmrk {phi,inge,fskj}@tu.k Astrt. Let S e string of length n with hrters from n lphet

More information

Lecture 4: Graph Theory and the Four-Color Theorem

Lecture 4: Graph Theory and the Four-Color Theorem CCS Disrete II Professor: Pri Brtlett Leture 4: Grph Theory n the Four-Color Theorem Week 4 UCSB 2015 Through the rest of this lss, we re going to refer frequently to things lle grphs! If you hen t seen

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

CIT 596 Theory of Computation 1. Graphs and Digraphs

CIT 596 Theory of Computation 1. Graphs and Digraphs CIT 596 Theory of Computtion 1 A grph G = (V (G), E(G)) onsists of two finite sets: V (G), the vertex set of the grph, often enote y just V, whih is nonempty set of elements lle verties, n E(G), the ege

More information

Transition systems (motivation)

Transition systems (motivation) Trnsition systems (motivtion) Course Modelling of Conurrent Systems ( Modellierung neenläufiger Systeme ) Winter Semester 2009/0 University of Duisurg-Essen Brr König Tehing ssistnt: Christoph Blume In

More information

Graph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)}

Graph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)} Grph Theory Simple Grph G = (V, E). V ={verties}, E={eges}. h k g f e V={,,,,e,f,g,h,k} E={(,),(,g),(,h),(,k),(,),(,k),...,(h,k)} E =16. 1 Grph or Multi-Grph We llow loops n multiple eges. G = (V, E.ψ)

More information

Separable discrete functions: recognition and sufficient conditions

Separable discrete functions: recognition and sufficient conditions Seprle isrete funtions: reognition n suffiient onitions Enre Boros Onřej Čepek Vlimir Gurvih Novemer 21, 217 rxiv:1711.6772v1 [mth.co] 17 Nov 217 Astrt A isrete funtion of n vriles is mpping g : X 1...

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

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

If the numbering is a,b,c,d 1,2,3,4, then the matrix representation is as follows:

If the numbering is a,b,c,d 1,2,3,4, then the matrix representation is as follows: Reltions. Solutions 1. ) true; ) true; ) flse; ) true; e) flse; f) true; g) flse; h) true; 2. 2 A B 3. Consier ll reltions tht o not inlue the given pir s n element. Oviously, the rest of the reltions

More information

On the Axiomatic Foundations of Ranking Systems

On the Axiomatic Foundations of Ranking Systems On the Axiomti Fountions of Rnking Systems Alon Altmn n Moshe Tennenholtz Fulty of Inustril Engineering n Mngement Tehnion Isrel Institute of Tehnology Hif 32000 Isrel Astrt Resoning out gent preferenes

More information

Undecidability for arbitrary public announcement logic

Undecidability for arbitrary public announcement logic Uneiility for ritrry puli nnounement logi Tim Frenh n Hns vn Ditmrsh strt. Aritrry puli nnounement logi (AP AL) is n extension of multi-gent epistemi logi tht llows gents knowlege sttes to e upte y the

More information

Automata and Regular Languages

Automata and Regular Languages Chpter 9 Automt n Regulr Lnguges 9. Introution This hpter looks t mthemtil moels of omputtion n lnguges tht esrie them. The moel-lnguge reltionship hs multiple levels. We shll explore the simplest level,

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

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point GCSE C Emple 7 Work out 9 Give your nswer in its simplest form Numers n inies Reiprote mens invert or turn upsie own The reiprol of is 9 9 Mke sure you only invert the frtion you re iviing y 7 You multiply

More information

A Primer on Continuous-time Economic Dynamics

A Primer on Continuous-time Economic Dynamics Eonomis 205A Fll 2008 K Kletzer A Primer on Continuous-time Eonomi Dnmis A Liner Differentil Eqution Sstems (i) Simplest se We egin with the simple liner first-orer ifferentil eqution The generl solution

More information

Outline Data Structures and Algorithms. Data compression. Data compression. Lossy vs. Lossless. Data Compression

Outline Data Structures and Algorithms. Data compression. Data compression. Lossy vs. Lossless. Data Compression 5-2 Dt Strutures n Algorithms Dt Compression n Huffmn s Algorithm th Fe 2003 Rjshekr Rey Outline Dt ompression Lossy n lossless Exmples Forml view Coes Definition Fixe length vs. vrile length Huffmn s

More information

Factorising FACTORISING.

Factorising FACTORISING. Ftorising FACTORISING www.mthletis.om.u Ftorising FACTORISING Ftorising is the opposite of expning. It is the proess of putting expressions into rkets rther thn expning them out. In this setion you will

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

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

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

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4 Am Blnk Leture 13 Winter 2016 CSE 332 CSE 332: Dt Astrtions Sorting Dt Astrtions QuikSort Cutoff 1 Where We Are 2 For smll n, the reursion is wste. The onstnts on quik/merge sort re higher thn the ones

More information

SEMI-EXCIRCLE OF QUADRILATERAL

SEMI-EXCIRCLE OF QUADRILATERAL JP Journl of Mthemtil Sienes Volume 5, Issue &, 05, Pges - 05 Ishn Pulishing House This pper is ville online t http://wwwiphsiom SEMI-EXCIRCLE OF QUADRILATERAL MASHADI, SRI GEMAWATI, HASRIATI AND HESY

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

Part I: Study the theorem statement.

Part I: Study the theorem statement. Nme 1 Nme 2 Nme 3 A STUDY OF PYTHAGORAS THEOREM Instrutions: Together in groups of 2 or 3, fill out the following worksheet. You my lift nswers from the reding, or nswer on your own. Turn in one pket for

More information

Monochromatic Plane Matchings in Bicolored Point Set

Monochromatic Plane Matchings in Bicolored Point Set CCCG 2017, Ottw, Ontrio, July 26 28, 2017 Monohromti Plne Mthings in Biolore Point Set A. Krim Au-Affsh Sujoy Bhore Pz Crmi Astrt Motivte y networks interply, we stuy the prolem of omputing monohromti

More information

Spacetime and the Quantum World Questions Fall 2010

Spacetime and the Quantum World Questions Fall 2010 Spetime nd the Quntum World Questions Fll 2010 1. Cliker Questions from Clss: (1) In toss of two die, wht is the proility tht the sum of the outomes is 6? () P (x 1 + x 2 = 6) = 1 36 - out 3% () P (x 1

More information

CSC2542 State-Space Planning

CSC2542 State-Space Planning CSC2542 Stte-Spe Plnning Sheil MIlrith Deprtment of Computer Siene University of Toronto Fll 2010 1 Aknowlegements Some the slies use in this ourse re moifitions of Dn Nu s leture slies for the textook

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

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

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

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

The vertex leafage of chordal graphs

The vertex leafage of chordal graphs The vertex lefge of horl grphs Steven Chplik, Jurj Stho b Deprtment of Physis n Computer Siene, Wilfri Lurier University, 75 University Ave. West, Wterloo, Ontrio N2L 3C5, Cn b DIMAP n Mthemtis Institute,

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

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

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

APPENDIX. Precalculus Review D.1. Real Numbers and the Real Number Line

APPENDIX. Precalculus Review D.1. Real Numbers and the Real Number Line APPENDIX D Preclculus Review APPENDIX D.1 Rel Numers n the Rel Numer Line Rel Numers n the Rel Numer Line Orer n Inequlities Asolute Vlue n Distnce Rel Numers n the Rel Numer Line Rel numers cn e represente

More information

Technology Mapping Method for Low Power Consumption and High Performance in General-Synchronous Framework

Technology Mapping Method for Low Power Consumption and High Performance in General-Synchronous Framework R-17 SASIMI 015 Proeeings Tehnology Mpping Metho for Low Power Consumption n High Performne in Generl-Synhronous Frmework Junki Kwguhi Yukihie Kohir Shool of Computer Siene, the University of Aizu Aizu-Wkmtsu

More information

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx Applitions of Integrtion Are of Region Between Two Curves Ojetive: Fin the re of region etween two urves using integrtion. Fin the re of region etween interseting urves using integrtion. Desrie integrtion

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

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

DIFFERENCE BETWEEN TWO RIEMANN-STIELTJES INTEGRAL MEANS

DIFFERENCE BETWEEN TWO RIEMANN-STIELTJES INTEGRAL MEANS Krgujev Journl of Mthemtis Volume 38() (204), Pges 35 49. DIFFERENCE BETWEEN TWO RIEMANN-STIELTJES INTEGRAL MEANS MOHAMMAD W. ALOMARI Abstrt. In this pper, severl bouns for the ifferene between two Riemn-

More information

Bases for Vector Spaces

Bases for Vector Spaces Bses for Vector Spces 2-26-25 A set is independent if, roughly speking, there is no redundncy in the set: You cn t uild ny vector in the set s liner comintion of the others A set spns if you cn uild everything

More information

A Disambiguation Algorithm for Finite Automata and Functional Transducers

A Disambiguation Algorithm for Finite Automata and Functional Transducers A Dismigution Algorithm for Finite Automt n Funtionl Trnsuers Mehryr Mohri Cournt Institute of Mthemtil Sienes n Google Reserh 51 Merer Street, New York, NY 1001, USA Astrt. We present new ismigution lgorithm

More information

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition Dt Strutures, Spring 24 L. Joskowiz Dt Strutures LEURE Humn oing Motivtion Uniquel eipherle oes Prei oes Humn oe onstrution Etensions n pplitions hpter 6.3 pp 385 392 in tetook Motivtion Suppose we wnt

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

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

Bounded single-peaked width and proportional representation 1

Bounded single-peaked width and proportional representation 1 Boune single-peke with n proportionl representtion 1 Denis Cornz, Luie Gln n Olivier Spnjr Astrt This pper is evote to the proportionl representtion (PR) prolem when the preferenes re lustere single-peke.

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

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

More on automata. Michael George. March 24 April 7, 2014

More on automata. Michael George. March 24 April 7, 2014 More on utomt Michel George Mrch 24 April 7, 2014 1 Automt constructions Now tht we hve forml model of mchine, it is useful to mke some generl constructions. 1.1 DFA Union / Product construction Suppose

More information

On the properties of the two-sided Laplace transform and the Riemann hypothesis

On the properties of the two-sided Laplace transform and the Riemann hypothesis On the properties of the two-sie Lple trnsform n the Riemnn hypothesis Seong Won Ch, Ph.D. swh@gu.eu Astrt We will show interesting properties of two-sie Lple trnsform, minly of positive even funtions.

More information

15-451/651: Design & Analysis of Algorithms December 3, 2013 Lecture #28 last changed: November 28, 2013

15-451/651: Design & Analysis of Algorithms December 3, 2013 Lecture #28 last changed: November 28, 2013 15-451/651: Design & nlysis of lgorithms Deemer 3, 2013 Leture #28 lst hnged: Novemer 28, 2013 Lst time we strted tlking out mehnism design: how to llote n item to the person who hs the mximum vlue for

More information

Formal Languages and Automata

Formal Languages and Automata Moile Computing nd Softwre Engineering p. 1/5 Forml Lnguges nd Automt Chpter 2 Finite Automt Chun-Ming Liu cmliu@csie.ntut.edu.tw Deprtment of Computer Science nd Informtion Engineering Ntionl Tipei University

More information

C. C^mpenu, K. Slom, S. Yu upper boun of mn. So our result is tight only for incomplete DF's. For restricte vlues of m n n we present exmples of DF's

C. C^mpenu, K. Slom, S. Yu upper boun of mn. So our result is tight only for incomplete DF's. For restricte vlues of m n n we present exmples of DF's Journl of utomt, Lnguges n Combintorics u (v) w, x{y c OttovonGuerickeUniversitt Mgeburg Tight lower boun for the stte complexity of shue of regulr lnguges Cezr C^mpenu, Ki Slom Computing n Informtion

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

arxiv: v1 [cs.dm] 24 Jul 2017

arxiv: v1 [cs.dm] 24 Jul 2017 Some lsses of grphs tht re not PCGs 1 rxiv:1707.07436v1 [s.dm] 24 Jul 2017 Pierluigi Biohi Angelo Monti Tizin Clmoneri Rossell Petreshi Computer Siene Deprtment, Spienz University of Rome, Itly pierluigi.iohi@gmil.om,

More information

Proportions: A ratio is the quotient of two numbers. For example, 2 3

Proportions: A ratio is the quotient of two numbers. For example, 2 3 Proportions: rtio is the quotient of two numers. For exmple, 2 3 is rtio of 2 n 3. n equlity of two rtios is proportion. For exmple, 3 7 = 15 is proportion. 45 If two sets of numers (none of whih is 0)

More information

(Lec 9) Multi-Level Min III: Role of Don t Cares

(Lec 9) Multi-Level Min III: Role of Don t Cares Pge 1 (Le 9) Multi-Level Min III: Role o Don t Cres Wht you know 2-level minimiztion l ESPRESSO Multi-level minimiztion: Boolen network moel, Algeri moel or toring Retngle overing or extrtion Wht you on

More information