On the expressive power of temporal logic

Size: px
Start display at page:

Download "On the expressive power of temporal logic"

Transcription

1 On the expressive power of temporl logic Joëlle Cohen, Dominique Perrin nd Jen-Eric Pin LITP, Pris, FRANCE Astrct We study the expressive power of liner propositionl temporl logic interpreted on finite sequences or words. We first give trnsprent proof of the fct tht forml lnguge is expressile in this logic if nd only if its syntctic semigroup is finite nd periodic. This gives n effective lgorithm to decide whether given rtionl lnguge is expressile. Our min result sttes similr condition for the restricted temporl logic (RTL), otined y discrding the until opertor. A forml lnguge is RTL-expressile if nd only if its syntctic semigroup is finite nd stisfies certin simple lgeric condition. This leds to polynomil time lgorithm to check whether the forml lnguge ccepted y n n-stte deterministic utomton is RTL-expressile. Temporl logic is prticulr cse of modl logic. It ws introduced y Pnueli [16] in connection with pplictions to the specifiction, development nd verifiction of possily prllel or non-deterministic processes. This logicl lnguge dmits severl vritions, one of them eing propositionl liner temporl logic (PTL). It uses three connectives suggestively clled next, eventully nd until. In this pper we re interested in the descriptive power of propositionl liner temporl logic nd of restriction of temporl logic (RTL) otined y considering only the opertors next nd eventully. In oth cses, we interpret temporl logic on finite words only. In this cse, temporl formul defines set of words (tht is, forml lnguge) nd our prolem is to determine precisely which forml lnguges cn e specified in this wy. In the cse of PTL, the solution hs een known for some time, s consequence of series of deep results. Indeed, Kmp [6] hs shown tht PTL is expressively equivlent to first-order logic when interpreted on words. Next, McNughton [10] proved tht forml lnguge is first-order definle if nd only if it is str-free. Finlly, str-free lnguges re chrcterized y Reserch on this pper ws prtilly supported y PRC Mthémtiques et Informtique. 1

2 deep theorem of Schützenerger [17]: rtionl (or regulr) lnguge is strfree if nd only if its syntctic semigroup is group-free. Since the syntctic semigroup of given rtionl lnguge cn e effectively computed, this provides n lgorithm to determining whether rtionl lnguge is PTLdefinle. Vrious proofs of the equivlence etween first-order, str-free nd PTL-definle hve een nnounced or given in the literture [5, 6, 11, 12] ut ll these proofs re rther involved. In this pper, we give short nd simple proof of the equivlence etween str-free nd PTL-definle, sed on wek version of the Krohn-Rhodes decomposition theorem for finite semigroups. Our proof ws inspired y the work of [11], whose proof uses n interesting connection with Petri nets. Our min result concerns the descriptive power of RTL. It ws known [5, 7] tht RTL is strictly less expressive thn PTL, ut n effective chrcteriztion of RTL-definle forml lnguges ws still to e found. We show here tht RTL-definle lnguges dmit syntctic chrcteriztion nlogous to Schützenerger s theorem: rtionl lnguge is RTL-definle if nd only if its syntctic semigroup is loclly L-trivil. This provides decision procedure to determine whether forml lnguge is RTL-definle. This lgeric chrcteriztion lso leds to polynomil time lgorithm to check whether the forml lnguge ccepted y n n-stte (complete) deterministic utomton is RTL-definle. We give nother (non-effective) description of RTL-definle forml lnguges: these forml lnguges form the smllest oolen lger of forml lnguges contining the lnguges A nd closed under the opertions L L nd L A L for every letter. 1 Semigroups nd forml lnguges. In this section, we riefly review some sic fcts out finite semigroups nd rtionl lnguges. All the definitions nd results presented in this section re stndrd, nd re reproduced for the convenience of the reder. More informtion on this suject cn e found in [3, 8, 15]. For the most prt, we follow the nottions nd terminology of Eilenerg [3]. In prticulr, if ϕ : S T is function from S into T, we denote y sϕ (insted of the usul ϕ(s)) the imge of n element s of S y ϕ. We lso use the term rtionl lnguge insted of regulr lnguge for two resons: first, the term rtionl hs much etter mthemticl foundtion (rtionl lnguges re deeply connected with rtionl series), nd second the term regulr is lso used in semigroup theory with totlly different mening, nd could e misleding in our context. 2

3 1.1 Semigroups. A semigroup is set S together with n ssocitive multipliction. A monoid M is semigroup tht hs n identity element, usully denoted y 1. The free monoid (resp. semigroup) on set A is the set, usuly denoted A (resp. A + ) of ll words (resp. non-empty words) over A, equipped with the conctention of words s multipliction. Thus A = A + {1}, where 1 is the empty word. Given two semigroups S nd T, semigroup morphism ϕ : S T is function from S into T such tht, for every s, s S, (sϕ)(s ϕ) = (ss )ϕ. All semigroups considered in this pper re finite except for free semigroups nd free monoids. Therefore, we shll use in the sequel the term semigroup insted of finite semigroup. An element e of semigroup S is idempotent if e 2 = e. The set of idempotents of semigroup S is denoted y E(S). Every non-empty semigroup contins t lest one idempotent. This is prticulr cse of the following well-known result: Proposition 1.1 For ny semigroup S, there exists n integer n Crd(S) such tht, for every s S, s n is idempotent. The smllest integer n stisfying this property is clled the exponent of S nd is usully denoted ω(s) or simply ω. Thus s ω is convenient nottion for the (unique) idempotent which is power of s. For instnce, if x, y S, (x ω y ω ) ω denotes the idempotent which is power of ef, where e (resp. f) is the idempotent which is power of x (resp. y). We shll frequently use this type of nottion in the sequel. If S is semigroup, the reverse semigroup S r is the semigroup with underlying set S together with the opertion defined y s t = ts. If S is semigroup, we denote y S 1 the monoid equl to S if S is lredy monoid, nd otherwise equl to S {1}, where 1 is new identity element. We shll consider in prticulr three semigroups, denoted respectively U 1, U 2, nd B(1, 2): U 1 is the semigroup {0, 1} with the multipliction given y 1.1 = 1 nd 0.1 = 1.0 = 0.0 = 0, B(1, 2) = {, } with the multipliction given y. =. = nd. =. =, nd U 2 = B(1, 2) 1 = {1,, }. The Green s reltions R nd L on semigroup S re the equivlence reltions defined s follows: s R t if nd only if there exist u, v S 1 such tht su = t nd tv = s, s L t if nd only if there exist u, v S 1 such tht us = t nd vt = s A semigroup S is R-trivil (respectively L-trivil) if the reltion R (respectively L) is equlity. For instnce, U 1 is oth R-trivil nd L-trivil, nd B(1, 2) nd U 2 re L ut not R-trivil, since R. 3

4 Given semigroup S, nd n idempotent e of S, the three susets es = {es s S}, ese = {ese s S}, Se = {se s S} re susemigroups of S. The susemigroup ese is clled the locl semigroup ssocited with e. It is in fct monoid, since e is clerly n identity of ese. A semigroup S is sid to hve property loclly if for every idempotent e of S, the susemigroup ese hs the property. In prticulr, semigroup S is loclly R-trivil (respectively loclly L-trivil) if, for every idempotent e of S, ese is R-trivil (respectively L-trivil). For instnce, B(1, 2) is loclly R-trivil, ut U 2 is not, since 1.U 2.1 = U 2 is not R-trivil. Proposition 1.2 Let S e semigroup. Then (1) S is loclly R-trivil if nd only if, for every e E(S), Se is R-trivil. (2) S is loclly L-trivil if nd only if, for every e E(S), es is L-trivil. Proof. Clerly, (2) is dul version of (1). Let S e loclly R-trivil semigroup. Let e E(S), nd suppose tht se R te for some s, t S. Then there exist ue, ve (Se) 1 such tht seue = te nd teve = se. Thus s(eue)(eve) = se. Furthermore [(eue)(eve)] ω R [(eue)(eve)] ω (eue) holds in ese, nd since ese is R-trivil, it follows Therefore [(eue)(eve)] ω = [(eue)(eve)] ω (eue). se = s[(eue)(eve)] ω = s[(eue)(eve)] ω (eue) = s(eue) = te. Conversely, ssume tht Se is R-trivil. Then ese, which is susemigroup of Se, is lso R-trivil. A semigroup S is periodic if for every s S, there exists n n > 0 such tht s n = s n+1. For instnce the three semigroups U 1, U 2, nd B(1, 2) re periodic, ut non-trivil group is not periodic. 1.2 Trnsformtion semigroups. Let Q e set, nd let S e semigroup. An ction of S on Q is function 1 from Q S into Q, denoted (q, s) q s, such tht, for every q Q nd every s 1, s 2 S, (q s 1 ) s 2 = q (s 1 s 2 ). Let T (Q) e the semigroup of ll functions from Q into itself, with left-toright composition of functions s the multipliction. Any ction of S on Q defines semigroup morphism ρ : S T (Q), given, for every s S, y q (sρ) = q s for every q Q 1 The definition of Eilenerg [3] llows prtil functions, ut we don t need this more generl definition. 4

5 The ction of S on Q is fithful if ρ is injective, tht is, if two elements of S hving the sme ction on Q re equl. A trnsformtion semigroup (ts for short) is pir (Q, S), where Q is set (the set of sttes) nd S is semigroup cting fithfully on Q. Two nturl exmples of trnsformtion semigroups re frequently used: first, every semigroup S defines trnsformtion semigroup (S 1, S), the ction eing simply the product in S. This trnsformtion semigroup is usully denoted simply S, nd the context suffices to decide whether one considers semigroup or trnsformtion semigroup. The second exmple is the notion of trnsformtion semigroup of n utomton. Let A = (Q, A, ) e (complete) deterministic utomton. By definition, every word w of A + defines function wρ from Q into Q, given, for every q Q, y q(wρ) = q w This defines semigroup morphism ρ : A T (Q). The rnge of ρ is susemigroup of T (Q) denoted S(A) nd clled the semigroup of A, nd the trnsformtion semigroup T S(A) = ( Q, S(A) ) is clled the trnsformtion semigroup of A. In prctice, the nottion wρ is lmost lwys simplified to w, nd the context mkes cler whether one is considering w s word or s n element of T (Q). For instnce, if A is the utomton represented elow 1 2 0, Figure 1: The utomton A. then T S(A) = ({0, 1, 2}, {,,,, }) where the ction of ech element is represented in the following tle: We shll lso use the trnsformtion semigroup 2 = ({1, 2}, B(1, 2)) where the ction is given y the formuls 1 = 2 = 1 nd 1 = 2 = 2. 5

6 1 2 Figure 2: The trnsformtion semigroup 2. A trnsformtion semigroup (P, S) divides trnsformtion semigroup (Q, T ) if there exists surjective prtil function ϕ : Q P, nd, for every s S, there exists n element ŝ T such tht, for every q Q, (qϕ) s = (q ŝ)ϕ. For instnce oth B(1, 2) nd U 1 divide U Forml lnguges. Let A + e free semigroup. The set A is clled the lphet nd the elements of A re letters. The length of word w A + is denoted y w. A suset of A + is clled (forml) lnguge. Rtionl lnguges form the smllest clss of lnguges contining letters nd closed under union, conctention nd the plus opertion (L + = n>0 Ln ). Str-free lnguges form the smllest clss of lnguges contining letters nd closed under oolen opertions (union, intersection nd complementtion) nd conctention product. The notion of the lnguge recognized y n utomton cn e esily dpted to trnsformtion semigroups s follows: trnsformtion semigroup (Q, S) recognizes lnguge L A + if there is semigroup morphism η : A + S, stte q 0 Q (the initil stte), set of sttes F (the finl sttes) such tht L = {u A + q 0 (uη) F }. When the trnsformtion semigroup is of the form S = (S 1, S), there is more convenient equivlent definition, tht does not refer to trnsformtion semigroups: semigroup S recognizes lnguge L A + if there is morphism η : A + S, nd suset P of S, such tht L = P η 1. It is esy to see tht if lnguge L is recognized y trnsformtion semigroup X, nd if X divides trnsformtion semigroup Y, then Y lso recognizes L. For instnce, if A nd B A, the lnguges A A, A B nd A re recognized y U 1, U 2 nd B(1, 2), respectively. Conversely, we hve the following lemm (see [15], chpter 2). Lemm 1.3 (1) If lnguge of A + is recognized y U 1, then it is oolen comintion of lnguges of the form A A where A. (2) If lnguge of A + is recognized y U 2, then it is oolen comintion of lnguges of the form A B where A nd B A. (3) If lnguge of A + is recognized y B(1, 2), then it is oolen comintion of lnguges of the form A where A. 6

7 The syntctic semigroup of lnguge L A +, denoted S(L), is the quotient of A + y the congruence L defined y u L v if nd only if, for every x, y A, xuy L xvy L. The syntctic semigroup of lnguge L is the smllest semigroup tht recognizes L. It is lso the semigroup of the miniml utomton of L. As is well-known, lnguge is rtionl if nd only if it cn e recognized y finite utomton. Since there re stndrd lgorithms to compute the miniml utomton of given rtionl lnguge, this provides n lgorithm to compute the syntctic semigroup of rtionl lnguge. For str-free lnguges, we hve the following importnt result, due to Schützenerger [17]. A proof cn e found in [3, 8, 15, 14]. Theorem 1.4 Let L e lnguge. The following conditions re equivlent (1) L is str-free, (2) L is recognized y n periodic semigroup, (3) the syntctic semigroup of L is periodic. 1.4 Wreth product. The wreth product of two trnsformtion semigroups X = (P, S) nd Y = (Q, T ) is the trnsformtion semigroup X Y = (P Q, S Q T ), with multipliction given y 2 (f 1, t 1 )(f 2, t 2 ) = (f, t 1 t 2 ), where, for everyq Q, qf = (qf 1 )(qt 1 )f 2 nd where the ction of n element (f, t) of S Q T on stte (p, q) of P Q is given y (p, q) (f, t) = (p (qf), q t). The wreth product is n ssocitive opertion on trnsformtion semigroups. Aperiodic, R-trivil nd loclly R-trivil semigroups dmit simple wreth-product decompositions using the three trnsformtion semigroups U 1, U 2, nd 2 defined in section 1.1 nd 1.2. For proof, see [3, Vol. B] or [20]. Theorem 1.5 (1) A semigroup is R-trivil if nd only if it divides wreth product of the form U 1 U 1. (2) A semigroup is loclly R-trivil if nd only if it divides wreth product of the form U 1 U S Q denotes the set of ll functions from Q to S. Thus if f S Q nd q Q, qf is n element of S. 7

8 (3) A semigroup is periodic if nd only if it divides wreth product of the form U 2 U 2. Wreth products re deeply relted to sequentil functions. Recll tht trnsducer T = (Q, A, B, q 0,., ) is given y finite set of sttes Q, n input lphet A, n output lphet B, n initil stte q 0, next-stte function Q A Q, denoted (q, ) q, nd n output function Q A B +, denoted (q, ) q. The next-stte function is extended to function Q A + Q y setting q (u) = (q u) for ech u A nd A. Similrly, the output function is extended to function Q A + B + y setting q u = (q u)((q u) ). The function σ : A + B + defined y uσ = q 0 u is clled the sequentil function defined y T. Then we cn stte Proposition 1.6 [3] Let σ : A + B + e sequentil function relized y trnsducer T = (Q, A, B, q 0,, ) nd let S(σ) e the trnsformtion semigroup of the utomton (Q, A, ). If lnguge L B + is recognized y semigroup S, then Lσ 1 is recognized y S S(σ). The following result is first ppliction of Proposition 1.6 to syntctic property of the opertors L LA nd L L on lnguges. Proposition 1.7 [3, 22] Let L A + e recognizle lnguge. Then (1) S(LA ) divides U 1 S(L), (2) S(L) divides B(1, 2) S(L). Proof. Let ϕ : A + S = S(L) e the syntctic morphism of L. This morphism cn e extended to monoid morphism ϕ : A S 1. Put P = Lϕ, B = S 1 A, nd let σ : A + B + e the sequentil function defined y ( 1 n )σ = (1ϕ, 1 ) (( 1 n 1 )ϕ, n ). Note tht σ is relized y trnsducer (tht is, deterministic utomton with output) with S 1 s the set of sttes nd next-stte nd output functions defined y the following digrm. s (s, ) s(ϕ) Figure 3: A trnsducer relizing σ. 8

9 In prticulr, the semigroup S(σ) is equl to S. Put C = P {}. Then C is suset of B nd we hve (B CB )σ 1 = {u A + uσ B CB } = { 1 n A + i {1,, n 1} (( 1 i )ϕ i+1 ) C} = { 1 n A + i {1,, n 1} 1 i P ϕ 1 nd i+1 = } = (P ϕ 1 )A = LA. Therefore, y Proposition 1.6, LA is recognized y S(B CB ) S(σ). Sttement (1) follows, since S(B CB ) = U 1. Similrly, we hve (B C)σ 1 = {u A + uσ B C} = { 1 n A + (( 1 n 1 )ϕ, n ) C} = { 1 n A + 1 n 1 P ϕ 1 nd n = } = (P ϕ 1 ) = L. Therefore, y Proposition 1.6, L is recognized y S(B C) S(σ). Sttement (2) follows, since S(B C) = B(1, 2). Struing s wreth product principle reclled elow gives description of the lnguges recognized y the wreth product of two trnsformtion semigroups. Let X = (P, S) nd Y = (Q, T ) e two trnsformtion semigroups, nd let Z = X Y = (P Q, R), where R = S Q T. Let L e lnguge of A + recognized y Z: then there exist n initil stte (p 0, q 0 ) P Q, set of finl sttes F in P Q nd morphism η : A + R such tht L = {u A + (p 0, q 0 ) (uη) F }. The morphism η defines n ction of A + on P Q y setting (p, q) = (p, q)(η). Let π e the nturl projection π : R = S Q T T. Define sequentil function σ : A + (Q A) + y ( 1 n )σ = (q 0, 1 )(q 0 ( 1 ηπ), 2 ) (q 0 ( 1 n 1 )ηπ, n ). We cn now stte Proposition 1.8 (Wreth product principle [21]) The lnguge L is finite union of lnguges of the form U V σ 1, where U is lnguge of A + recognized y Y nd V is lnguge of (Q A) + recognized y X. Proposition 1.8, or some similr sttement, together with Theorem 1.5, hs een used to prove Theorem 1.4 [2, 3, 9]. 9

10 1.5 Vrieties of semigroups. A vriety of semigroups is clss of semigroups closed under tking susemigroups, quotients nd finite direct products 3. The following vrieties will e used in this rticle: A, the vriety of periodic semigroups, R, the vriety of R-trivil semigroups, L, the vriety of L-trivil semigroups, LR, the vriety of loclly R-trivil semigroups, LL, the vriety of loclly L-trivil semigroups. It is often convenient to define vrities y identities. Let u, v A +. Formlly, semigroup S stisfies the identity u = v if nd only if, for every semigroup morphism ϕ : A + S, uϕ = vϕ. For instnce, semigroup is commuttive if nd only if it stisfies the identity xy = yx. The next proposition gives identities defining the vrieties A, R, L, LR nd LL. In fct, there re not identities in the strict sense 4, since they involve the exponent ω, which depends on the semigroup S. Proposition 1.9 (1) A semigroup is periodic if nd only if it stisfies the identity x ω = x ω+1, (2) A semigroup is R-trivil if nd only if it stisfies the identity (xy) ω x = (xy) ω, (3) A semigroup is L-trivil if nd only if it stisfies the identity y(xy) ω = (xy) ω, (4) A semigroup is loclly R-trivil if nd only if it stisfies the identity (ux ω vx ω ) ω ux ω = (ux ω vx ω ) ω, or, equivlently, the identity (x ω ux ω vx ω ) ω x ω ux ω = (x ω ux ω vx ω ) ω, (5) A semigroup is loclly L-trivil if nd only if it stisfies the identity x ω v(x ω ux ω v) ω = (x ω ux ω v) ω, or, equivlently, the identity x ω v(x ω ux ω vx ω ) ω = (x ω ux ω vx ω ) ω. A vriety of semigroups V is closed under wreth product if, given two trnsformtion semigroups X = (P, S) nd Y = (Q, T ) nd their wreth product (P Q, R), the conditions S, T V imply R V. The next proposition is the vriety version of Theorem 1.5. Proposition 1.10 [3, 20] 3 The correct terminology should e pseudovriety to void possile confusion with Birkhoff s vrieties. However, we hve preferred to void this rther wkwrd terminology. 4 Agin, the correct terminology should e pseudoidentity. 10

11 (1) R is the smllest vriety of semigroups closed under wreth product contining U 1. (2) LR is the smllest vriety of semigroups closed under wreth product contining U 1 nd B(1, 2). (3) A is the smllest vriety of semigroups closed under wreth product contining U 2. 2 Propositionl temporl logic. Propositionl temporl logic (PTL for short) on n lphet A is defined s follows. The voculry consists of (1) An tomic proposition p for ech letter A (2) Connectives, nd. (3) Temporl opertors ( next ), ( eventully ) nd U ( until ). nd the formuls re constructed ccording to the rules (1) For every A, p is formul, (2) If ϕ nd ψ re formuls, so re ϕ ψ, ϕ ψ, ϕ, ϕ, ϕ, ϕ U ψ. Semntics re defined y induction on the formtion rules. Given word w A +, nd n {1, 2,..., w }, we define the expression w stisfies ϕ t the instnt n (denoted (w, n) = ϕ) s follows (1) (w, n) = p if the n-th letter of w is n. (2) (w, n) = ϕ ψ (resp. ϕ ψ, ϕ) if (w, n) = ϕ or (w, n) = ψ (resp. if (w, n) = ϕ nd (w, n) = ψ, if (w, n) does not stisfy ϕ). (3) (w, n) = ϕ if (w, n + 1) stisfies ϕ. (4) (w, n) = ϕ if there exists m such tht n m w nd (w, m) = ϕ. (5) (w, n) = ϕ U ψ if there exists m such tht n m w, (w, m) = ψ nd, for every k such tht n k < m, (w, k) = ϕ. Note tht, if w = w 1 w 2 w w, (w, n) = ϕ only depends on the word w = w n w n+1 w w. Exmple 2.1 Let w = c. Then (w, 4) = p since the fourth letter of w is n, (w, 4) = p since the fifth letter of w is nd (w, 4) = (p c p ) since c is fctor of c. If ϕ is temporl formul, we sy tht w stisfies ϕ if (w, 1) = ϕ. We just hve defined future temporl formuls ut one cn define in the sme wy pst temporl formuls y reversing time: it suffices to replce next y previous (symol ), eventully y sometimes (symol ) nd until y since (symol S). The corresponding semntics re modified s follows. (3 ) (w, n) = ϕ if n > 1 nd (w, n 1) stisfies ϕ. 11

12 (4 ) (w, n) = ϕ if there exists m n such tht (w, m) = ϕ. (5 ) (w, n) = ϕ S ψ if there exists m n such tht (w, m) = ψ nd for every k such tht m < k n, (w, k) = ϕ. The digrm elow illustrtes the symmetry etween the opertors until nd since. ψ ψ n... m w 1 m... n ϕ ϕ ϕ ϕ ϕ ϕ Figure 4: A digrm for (w, n) = ϕ U ψ nd for (w, n) = ϕ S ψ. If ϕ is pst temporl formul, we sy tht w stisfies ϕ if (w, w ) = ϕ. The lnguge defined y formul ϕ is the set L(ϕ) of ll words of A + tht stisfy ϕ. 3 PTL-definle lnguges. In this section, we present short proof of the following result Theorem 3.1 A lnguge of A + is PTL-definle if nd only if its syntctic semigroup is periodic. Proof. Since the reverse of n periodic semigroup is lso periodic, it suffices to prove the dul version of the theorem, otined y using pst temporl logic. We first prove tht every PTL-definle lnguge is strfree (y Schützenerger s theorem, lnguge is str-free if nd only if its syntctic semigroup is periodic). This is done y induction on the formtion rules. Indeed (1) L(p ) = A (for every letter ) is str-free. (2) L( ϕ) = L(ϕ)A. Thus if L(ϕ) is str-free, so is L( ϕ). (3) L( ϕ) = L(ϕ)A. Thus if L(ϕ) is str-free, so is L( ϕ). We need similr formul for S, ut this is slightly more complicted. Assume tht L(ϕ) nd L(ψ) re str-free. In prticulr, there is semigroup morphism η : A + S, where S is n periodic semigroup, nd suset P of S such tht L(ϕ) = P η 1. Set, for every s S, s 1 P = {t S st P }. Then we hve the following lemm, in which \ denotes set difference. 12

13 Lemm 3.2 The following equlities hold L(ϕ S ψ) = {uv A + u L(ψ), v A nd for ech left fctor v 1 of v, uv L(ϕ)} = ( )( sη 1 L(ψ) A \ ( A + \ (s 1 P )η 1) A ). s S Proof. The first equlity is direct consequence of the definition. Next, if R A +, (A + \ R)A is the set of ll words v A hving left fctor v 1 in R. Therefore, tking complements, this is equivlent to sying tht A \ (A + \ R)A is the set of ll words v A such tht, for ech left fctor v 1 of v, v / R. Let w L(ϕ S ψ). Then, y the first equlity, w = uv, where u L(ψ), v A, nd for ech left fctor v 1 of v, uv L(ϕ). Putting s = uη, we otin u sη 1 L(ψ) nd (uv )η P, whence v (s 1 P )η 1. Thus, ( w sη 1 L(ψ) )(A \ ( A + \ (s 1 P )η 1) A ) y the remrk ove. Conversely, ssume tht w = uv, where, for some s S, u sη 1 L(ψ) nd v A \ ( A + \ (s 1 P )η 1) A. Then u L(ψ), nd for ech left fctor v 1 of v, v (s 1 P )η 1. Thus (uv )η = s(v η) P, whence uv L(ϕ). Therefore, y the first equlity, w L(ϕ S ψ). Now ny lnguge of the form Qη 1, where Q S, is recognized y S, nd thus is str-free y Schützenerger s theorem. Therefore, Lemm 3.2 shows tht L(ϕ S ψ) is str-free nd this concludes the first prt of the proof of Theorem 3.1. We now show tht every str-free lnguge is PTL-definle. Let C e the clss of ll trnsformtion semigroups X such tht every lnguge recognized y X is PTL-definle. By Schützenerger s theorem, it suffices to show tht ech periodic semigroup elongs to C. The clss C is certinly closed under division, ecuse if X divides Y, every lnguge recognized y X is lso recognized y Y. Next, the trivil semigroup {1} elongs to C, since the lnguges of A + recognized y {1} re A + nd the empty set. Now, y Theorem 1.5, it remins to show tht if Y = (Q, T ) C, then U 2 Y C. By the wreth-product principle, every lnguge of A + recognized y U 2 Y is finite union of lnguges of the form U V σ 1 where σ : A + B + = (Q A) + is certin sequentil function, U A + is recognized y Y nd V B + is recognized y U 2. First, the formuls L( ϕ) = A + \ L(ϕ) nd L(ϕ ψ) = L(ϕ) L(ψ) show tht PTL-definle lnguges re closed under oolen opertions. Thus it suffices to show tht every lnguge of the form U V σ 1 ove is PTL-definle. Since Y C, U is PTL-definle 13

14 y definition. Furthermore, y Lemm 1.3, V is oolen comintion of lnguges of the form B C, where B nd C B. Since σ 1 commutes with oolen opertions, it remins to show tht lnguges of the form (B C )σ 1 re PTL-definle. We clim tht (B C )σ 1 = (B C)σ 1 S (B )σ 1 (1) Indeed, let u = 1 n e word of A + nd let ( 1 n )σ = 1 n. Then uσ B C if nd only if there exists n i such tht i = nd, for every j > i, j C. This is equivlent to sying tht ( 1 i )σ B nd for every j > i, ( 1 j )σ B C, nd this proves (1). Now (B C)σ 1 = (B )σ 1 nd therefore it suffices to show tht lnguges of the form (B )σ 1 re PTL-definle. We tke gin the nottions used in the definition of σ (cf. Proposition 1.8). Set = (q, ) (recll tht B = Q A). Then we hve ( 1 n )σ = (q 0, 1 )(q 0 ( 1 ηπ), 2 ) (q 0 ( 1 n 1 )ηπ, n ). It follows tht ( 1 n )σ B if nd only if q 0 ( 1 n 1 )ηπ = q nd n =. Therefore (B )σ 1 = L, where L = {u A + q 0 (uηπ) = q}. But L is recognized y Y nd since Y C, is PTL-definle. Now, since L(ϕ) = L( ϕ p ), L = (B )σ 1 is PTL-definle nd this concludes the proof. C 4 Restricted temporl logic. If we omit the until opertor, we otin restricted temporl logic (RTL) tht ws considered in [5, 6]. Here is first description of the lnguges definle in this logic. The sutle distinction etween conditions (2) nd (3) will e used in the proof of the min theorem elow. Proposition 4.1 Let L e lnguge of A +. The following conditions re equivlent: (1) L is RTL-definle, (2) L elongs to the smllest oolen lger of lnguges contining the lnguges A nd closed under the opertions L A L nd L L for every A, (3) L elongs to the smllest oolen lger of lnguges contining the lnguges A nd closed under the opertions L A L nd L L for every A. 14

15 Proof. Let C (respectively C ) e the smllest oolen lger of lnguges closed under the opertions L A L (respectively L A L) nd L L for every letter A. In prticulr the lnguges nd A + elong to C nd C y definition. We first prove tht C = C. The inclusion C C follows directly from the formul A L = A (L). The opposite inclusion follows from the formul A L = L A L. Thus (2) nd (3) re equivlent. (1) implies (2). We show y induction on the formtion rules tht L(ϕ) C for every RTL-formul ϕ. First, if ϕ = p, then A L(p ) = A C. If ϕ nd ψ re formuls such tht L(ϕ) nd L(ψ) elong to C, then L(ϕ ψ) = L(ϕ) L(ψ) C, L(ϕ ψ) = L(ϕ) L(ψ) C, L( ϕ) = A + \ L(ϕ) C, L( ϕ) = AL(ϕ) = A L(ϕ) C, L( ϕ) = A L(ϕ) C. (2) implies (1). Let F e the set of RTL-definle lnguges. Then F contins A = L(p ), for every A. The formuls L(ϕ) L(ψ) = L(ϕ ψ) nd A + \ L(ϕ) = L( ϕ) show tht F is oolen lger nd the formul A L(ϕ) = L( ϕ) shows tht F is closed under the opertion L A L. Finlly, the formul L(ϕ) = L(p ϕ) shows tht F is closed under the opertion L L, for every letter A. Therefore F contins C. We cn now stte our min result. Theorem 4.2 Let L e lnguge of A +. The following conditions re equivlent: (1) L is RTL-definle, (2) the syntctic semigroup of L is loclly L-trivil. Proof. As for Theorem 3.1, we prove the dul version of the theorem, which sttes tht L is definle in pst restricted temporl logic if nd only if its syntctic semigroup is R-trivil. Consider the smllest oolen lger B contining the lnguges A nd closed under the opertions L LA nd L L for every A. By Proposition 4.1 nd dulity, it suffices now 15

16 to prove the following sttement: A lnguge elongs to B if nd only if its syntctic semigroup elongs to LR. First, S(A ) = B(1, 2) LR. Now, y Proposition 1.7, S(LA ) divides U 1 S(L), nd S(L) divides B(1, 2) S(L). It follows y Proposition 1.10, tht if S(L) LR, then S(LA ) LR nd S(L) LR. Therefore, if L B, then S(L) LR. In the other direction, the proof mimics the proof of Theorem 3.1. Let C e the clss of ll trnsformtion semigroups X such tht every lnguge recognized y X elongs to B. The clss C contins the trivil semigroup nd is closed under division. Therefore, to show tht C contins LR, it suffices, y Proposition 1.10, to verify tht if Y C, then U 1 Y C nd 2 Y C. By the wreth-product principle, every lnguge of A + recognized y U 1 Y (respectively 2 Y ) is finite union of lnguges of the form U V σ 1 where σ : A + B + = (Q A) + is certin sequentil function, U A + is recognized y Y nd V B + is recognized y U 1 (respectively 2). Since Y C, U elongs to B y definition. Furthermore, y Lemm 1.3, V is oolen comintion of lnguges of the form B B, (respectively B ) where B. Since σ 1 commutes with oolen opertions, it remins to show tht the lnguges of the form (B B )σ 1 (respectively (B )σ 1 ) elong to B. We tke gin the nottions used in the definition of σ (cf. Proposition 1.8). Set = (q, ) (recll tht B = Q A). Then we hve ( 1 n )σ = (q 0, 1 )(q 0 ( 1 ηπ), 2 ) (q 0 ( 1 n 1 )ηπ, n ). First ssume q q 0. Then ( 1... n )σ B B if nd only if there exists n index i such tht q 0 ( 1 i 1 )ηπ = q nd i =. Therefore (B B )σ 1 = LA, where L = {u A + q 0 (uηπ) = q}. If q = q 0, then (B B )σ 1 = LA A. But L is recognized y Y nd since Y C, L elongs to B. Furthermore, A lso elongs to B, since nd {} = A \ ( (A )A (A )A (A )A (A )A ), A = {} {}A {}A It follows tht (B B )σ 1 elongs to B. Similrly, ( 1 n )σ B if nd only if q 0 ( 1 n 1 )ηπ = q nd n =. Therefore (B )σ 1 = L or L {} (if q = q 0 ) nd (B )σ 1 lso elongs to B. Corollry 4.3 Given rtionl lnguge L, one cn effectively decide whether it is RTL-definle. 16

17 Proof. The lnguge L cn e given either y rtionl expression or y finite utomton. In oth cses, there re well-known lgorithms to compute its miniml utomton A(L), nd then its syntctic semigroup S(L), which is lso the trnsformtion semigroup of A(L). Then it suffices, y Proposition 1.9 to verify tht S(L) stisfies the identity x ω v(x ω ux ω v) ω = (x ω ux ω v) ω. Sy tht two PTL-formuls ϕ nd ψ re equivlent if L(ϕ) = L(ψ), tht is, if they gree when interpreted on finite words. Corollry 4.4 Given PTL-formul, one cn effectively decide whether it is equivlent to some RTL-formul. We conclude this section y three exmples. Exmple 4.1 Let A = {, } nd let L = () +. Then the miniml utomton of L is represented in the digrm elow. 1 2 Figure 5: The miniml utomton of () +. The syntctic semigroup of L is the semigroup S with zero presented y the reltions 2 = 2 = 0, =, =. Thus S = {,,,, 0}. There re three idempotents,, nd 0. The corresponding locl semigroups re S = {, 0}, S = {, 0} nd 0S0 = {0}, ll of which re L-trivil. Therefore L is expressile in restricted temporl logic. Indeed, we hve L = L(ϕ), where ϕ = p (p p p ) (p p ) (p p ). Exmple 4.2 Let A = {,, c} nd let L = A {, c}. Then the miniml utomton of L is represented in the digrm elow., c 1 2, c Figure 6: The miniml utomton of A {, c}. 17

18 The syntctic semigroup of L is U 2, which is loclly L-trivil. Therefore L is expressile in restricted temporl logic. Indeed, we hve L = L(ϕ), where ϕ = (p p ). Exmple 4.3 Let A = {,, c} nd let L = {,, c}. Then the miniml utomton of L is represented in the digrm elow. 1 2,, c Figure 7: The miniml utomton of {,, c} The syntctic semigroup of L is the monoid S presented y the reltions = 1, = c =, c = cc = c. This is the reverse of U 2, nd it is periodic, ut not loclly L-trivil. Therefore, ny formul ψ such tht L = L(ψ) uses the until opertor. In fct, L = L(ϕ), where ϕ = p U p. 5 Automt, vrieties nd foridden configurtions. In the two previous sections, we hve seen how to chrcterize the forml lnguges ssocited with formul of propositionl temporl logic (section 3) nd of restricted temporl logic (section 4). Both chrcteriztions re in terms of the syntctic semigroup of the forml lnguge. We shll see here how this chrcteriztion cn e expressed in terms of utomt. In the cse of restricted temporl logic, this hs the dvntge of providing polynomil lgorithm to check whether the lnguge defined y given deterministic utomton is RTL-definle. This is of interest since, on the contrry, the corresponding prolem for PTL logic is the complement of n NP-hrd prolem [19] nd is PSPACE-complete [1]. Thus, unless P = NP, checking whether the lnguge defined y given utomton is PTLdefinle cnnot e solved in polynomil time. We egin with the chrcteriztion of utomt ssocited with R-trivil semigroups. We shll then tret the cse of loclly R-trivil semigroups. This corresponds, s we hve seen, to formuls of pst temporl logic. We shll finlly come to L-trivil nd loclly L-trivil semigroups, which correspond to RTL-formuls. We shll see how these chrcteriztions led to polynomil lgorithms. Before to give the detils of our lgorithms, let us fix some convenient nottions. Given finite (complete) deterministic utomton A = (Q, A, ) 18

19 nd positive integer k, we denote y A k = (Q k, A, ) the direct product of k copies of A, where the ction of A on Q k is given y (q 1,..., q k ) = (q 1,..., q k ) We lso denote y G k (A) the trnsitive closure of the directed grph defined y A k. For instnce, if A is the utomton represented elow, 1 2 Figure 8: then A 2 is the utomton, 1, 1 2, 2 1, 2 2, 1 nd G 2 (A) is the grph Figure 9: The utomton A 2. 1, 1 2, 2 1, 2 2, 1 Figure 10: The grph G 2 (A). Given deterministic utomton A = (Q, A, ), the set of ll pths in A defines n infinite lelled grph G(A), with Q s set of vertices, nd the 19

20 triples of the form (q, w, q.w) (where w A + ) s edges. A lelled sugrph of G(A) is sid to e configurtion present in A. Two words x, y A which hve the sme ction on Q re sid to e equivlent in A (nottion x y). The following result is lredy in [15], p Theorem 5.1 The semigroup of deterministic utomton A is R-trivil if nd only if there exist no configurtions of A of the form x p q with p q. y Figure 11: Foridden configurtion for R-trivil utomt. Proof. Suppose first tht S(A) is R-trivil nd consider configurtion s ove. Let ω e the exponent of S(A). Then we hve, for every x, y A + nd therefore (xy) ω (xy) ω x p = p (xy) ω = p = p (xy) ω x = q whence p = q. Conversely, if A = (Q, A, ) contins no foridden configurtion, let us verify tht, for every u, v A +, (uv) ω (uv) ω u. Let r Q nd let p = r (uv) ω. Since (uv) ω is idempotent, we hve p (uv) ω = p. Set x = u, y = (vu) ω 1 v nd q = p x. Then q y = p xy = p (uv) ω = p. Therefore A contins the configurtion of Figure 11 nd thus p = q. Therefore p = r (uv) ω = r (uv) ω u nd thus (uv) ω (uv) ω u. The trnsposition of the previous chrcteriztion to the cse of loclly R-trivil semigroups follows generl scheme. Let V e vriety of semigroups nd ssume tht the deterministic utomt whose semigroups elong to V cn e descried y set C of foridden configurtions. Then the deterministic utomt whose semigroups elong to the vriety LV of ll semigroups which re loclly in V cn e descried y the set C of foridden configurtions otined s follows. For ech configurtion C C, we dd to ech vertex loop leled y new symol, the sme for ll vertices. Then the semigroup of deterministic utomton A elongs to LV if nd only if tht A contins no configurtion of C. In prticulr, we hve the following result. Theorem 5.2 The semigroup of deterministic utomton A is loclly R- trivil if nd only if there exist no configurtions of A of the form 20

21 x u q q v x Figure 12: Foridden configurtion for loclly R-trivil utomt. with q q. Proof. By Proposition 1.9, semigroup is loclly R-trivil if nd only if it stisfies the identity (ux ω vx ω ) ω ux ω = (ux ω vx ω ) ω (2) Suppose tht S(A) is loclly R-trivil nd tht A contins configurtion of the form represented in 12. Then y (2), q = q (ux ω vx ω ) ω = q (ux ω vx ω ) ω ux ω = q Conversely, suppose tht A stisfies the condition of the theorem, nd let u, v, x e ritrry words of A +. Set u = ux ω, v = vx ω nd x = x ω. Let q e stte, nd set q 1 = q (ux ω vx ω ) ω nd q 2 = q 1 ux ω. Then short computtion shows tht A contins the following configurtion: u x q 1 q 2 x v Figure 13: A configurtion contined in A. nd thus q 1 = q 2. It follows tht q (ux ω vx ω ) ω = q (ux ω vx ω ) ω ux ω for ny stte q, nd thus S stisfies the identity (2). Thus S(A) is loclly R-trivil. The previous result yields to polynomil time lgorithm to check whether the semigroup of n n-stte deterministic utomton A is loclly R-trivil or not. Indeed, one first oserve tht given two sttes q nd q, there is word w A + such tht q w = q nd q w = q if nd only if ( (q, q ), (q, q ) ) is n edge in the directed grph G 2 (A). Therefore, one cn check whether A contins configurtion of the form 12 with q q y computing G 1 nd G 2 nd y verifying there re no pirs {q, q } of sttes such tht () (q, q ) nd (q, q) re edges in G 1 (A), nd () ( (q, q ), (q, q ) ) is n edge of G 2 (A). 21

22 Since G 1 (resp. G 2 ) hs n (n 2 ) vertices, this gives polynomil lgorithm. This is in fct generl property of vrieties defined y foridden configurtions. Let indeed V e vriety of semigroups nd ssume tht the deterministic utomt whose semigroups elong to V cn e descried y finite set C of foridden configurtions. Then there is polynomil lgorithm to check whether given n-stte deterministic utomton A elongs to V. For this we hve to check whether or not some configurtion C of C is present in A. The numer of possile ssignements of sttes to the vertices of C is polynomil in n. And for ech ssignement, the existence of given set of k edges with the sme lel is solved y reduction to n ccessiility prolem in the grph G k (A). The overll lgorithm is polynomil. In prticulr, we hve the following result. Corollry 5.3 There is polynomil time lgorithm for testing whether the reverse of the lnguge ccepted y n n-stte deterministic utomton is RTL-definle. We illustrte this method on the following exmple. Exmple 5.1 Let A e the utomton given in Figure 6 nd lredy considered in Exmple 4.2. To check whether S(A) is loclly R-trivil, we construct the grph G 2 (A). It is represented in Figure 14. 1, 1 2, 2 1, 2 2, 1 Figure 14: The grph G 2 (A). Now this grph contins cycle of length 1 round (1, 2) nd 1 nd 2 re in the sme strongly connected component of G 1 (A). This indictes the presence of foridden configurtion. It is indeed otined for instnce with the lels given in Figure 15 22

23 c 1 2 c Figure 15: A foridden configurtion. It follows tht A is not R-trivil nd L(A) is not expressile in reverse restricted temporl logic. We now consider the cse of L-trivil semigroups. Proposition 5.4 The semigroup of deterministic utomton A is L-trivil if nd only if the configurtion y y y p q x r x x Figure 16: Foridden configurtion for L-trivil utomt. with p r is not present in A. Proof. Let us first suppose tht S(A) is L-trivil. We consider configurtion s ove. Since (yx) ω x(yx) ω, we hve r = q x(yx) ω = q (yx) ω = p whence p = r. Conversely, suppose tht the ove configurtion is not present in A. Let x, y A + nd let q Q e ritrry. Let r = q x(yx) ω nd p = q (yx) ω. Then p = r y the hypothesis nd therefore x(yx) ω (yx) ω. Thus S(A) is L-trivil. Note tht the chrcteriztion of Proposition 5.4, contrry to tht of Theorem 5.1 requires the hypothesis tht the utomton is complete. There is in fct no possiility of chrcteriztion y foridden configurtions of L- trivil semigroups given y deterministic utomton if it is not complete. Indeed the utomton of figure 17 (i) is sugrph of the leled grph of the utomton of figure 17 (ii). The semigroup of the first one is not L-trivil wheres the second one is. 23

24 (i) (ii) Figure 17: Two utomt. We finlly give the nnounced chrcteriztion of loclly L-trivil semigroups. It is corollry of Proposition 5.4. Proposition 5.5 The semigroup of deterministic utomton A is loclly L-trivil if nd only if the configurtion t y y p q x r x t t t Figure 18: Foridden configurtion for loclly L-trivil utomt. with p r is not present in A. Together with Theorem 4.2, we otin. Corollry 5.6 There is polynomil time lgorithm for testing whether the lnguge ccepted y n n-stte deterministic utomton is RTL-definle. This does not give, however, polynomil lgorithm to check whether given PTL-formul is equivlent with RTL formul. We presently do not know ny resonle ound on the complexity of this prolem. 6 Conclusion. We hve given n effective chrcteriztion of the lnguges definle in liner propositionl temporl logic nd in restricted temporl logic. It would e interesting to otin similr chrcteriztions when the temporl logic is interpreted on infinite words. This will e the suject of future pper. Another interesting question is to consider the temporl logic whose only opertor is eventully. Sistl nd Zuck [18] hve given description of the set of infinite words definle in this logic, ut this description doesn t seem to e effective. y x t 24

25 Acknowledgements. We would like to thnk H. Struing for some useful comments on n erlier version of this work. References [1] Sng Cho nd Dung T. Huynh, Finite-utomton periodicity is PSPACE-complete, Theoreticl Computer Science 88 (1991), [2] R.S. Cohen nd J.A. Brzozowski, On str-free events, Proc. Hwii Internt. Conf. Syst. Sci., Honolulu, (1968), 1 4. [3] Eilenerg, S., Automt, Lnguges nd Mchines, Acdemic Press, New York, Vol A, (1974); Vol B, (1976). [4] E.H. Emerson, J.Y. Hlpern, Sometimes nd not never revisited: On Brnching vs. Liner Time, J. Assoc. Comput. Mth. 33, (1986) [5] D. Gy, A. Pnueli, S. Shelh, J. Stvi, On the temporl nlysis of firness, Proc. 12th ACM Symp. on Principles of Progrmming Lnguges, Ls Vegs, (1980), [6] J.A. Kmp, Tense logic nd the theory of liner order, Ph. D. Thesis, University of Cliforni, Los Angeles, (1968). [7] O. Kti, Completeness nd the expressive power of nexttime temporl logicl system y semntic tleu method, INRIA report 109, (1981). [8] G. Lllement, Semigroups nd comintoril pplictions, Wiley, New- York, (1979). [9] A.R. Meyer, A note on str-free events, J.ACM 16, (1969), [10] R. McNughton nd S. Ppert, Counter-free utomt, MIT Press, Cmridge, Mss, (1971). [11] M. Prigot, Automtes, réseux, formules. Actes des Journées Informtique et Mthémtiques, Luminy (1984), [12] R. Peikert, ω-regulr lnguges nd propositionl temporl logic, preprint. [13] D. Perrin nd J.E. Pin, First order logic nd str-free sets, J. Comput. System Sci. 32, 1986, [14] D. Perrin, Finite utomt, in Hndook of Theoret. Comput. Sci., Vol. B, J. vn Leuwen ed., North Hollnd, (1990)

26 [15] J.E. Pin, Vrieties of forml lnguges, North Oxford Acdemic, London nd Plenum, New-York, 1986 [16] A. Pnueli, The temporl logic of progrms, Proc. 18th FOCS, Providence, RI, (1977), [17] M.P. Schützenerger, On finite monoids hving only trivil sugroups, Inform. nd Control 48, (1965), [18] A.P. Sistl nd L.D. Zuck, On the eventully opertor in temporl logic, in Proceedings Second IEEE Symposium on Logic in Computer Science (1987) [19] J. Stern, Complexity of some prolems from the theory of utomt, Informtion nd Control 66 (1985) [20] P.Stiffler, Extension of the Fondmentl Theorem of Finite Semigroups, Advnces in Mthemtics 11, (1973), [21] H. Struing, Vrieties of recognizle sets whose syntctic monoids contin solvle groups, Ph. D. Thesis, University of Cliforni, Berkeley, CA, (1978). [22] H. Struing, Finite semigroup vrieties of the form V D, J. Pure Applied Alger 36 (1985) [23] J. vn Leeuwen, Grph lgorithms, Chp. 10 in Hndook of Theoreticl Computer Science, Edited y J. vn Leeuwen, Elsevier Science Pulishers B.V., (1990) Vol. A, [24] M.Y. Vrdi nd P. Wolper, Applictions of temporl logic: n utomt-theoretic perspective, preprint, (1985). 26

Regular Sets and Expressions

Regular Sets and Expressions Regulr Sets nd Expressions Finite utomt re importnt in science, mthemtics, nd engineering. Engineers like them ecuse they re super models for circuits (And, since the dvent of VLSI systems sometimes finite

More information

Homework 3 Solutions

Homework 3 Solutions CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.

More information

Appendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered:

Appendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered: Appendi D: Completing the Squre nd the Qudrtic Formul Fctoring qudrtic epressions such s: + 6 + 8 ws one of the topics introduced in Appendi C. Fctoring qudrtic epressions is useful skill tht cn help you

More information

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers. 2 Rtionl Numbers Integers such s 5 were importnt when solving the eqution x+5 = 0. In similr wy, frctions re importnt for solving equtions like 2x = 1. Wht bout equtions like 2x + 1 = 0? Equtions of this

More information

Reasoning to Solve Equations and Inequalities

Reasoning to Solve Equations and Inequalities Lesson4 Resoning to Solve Equtions nd Inequlities In erlier work in this unit, you modeled situtions with severl vriles nd equtions. For exmple, suppose you were given usiness plns for concert showing

More information

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES DAVID WEBB CONTENTS Liner trnsformtions 2 The representing mtrix of liner trnsformtion 3 3 An ppliction: reflections in the plne 6 4 The lgebr of

More information

EQUATIONS OF LINES AND PLANES

EQUATIONS OF LINES AND PLANES EQUATIONS OF LINES AND PLANES MATH 195, SECTION 59 (VIPUL NAIK) Corresponding mteril in the ook: Section 12.5. Wht students should definitely get: Prmetric eqution of line given in point-direction nd twopoint

More information

CS99S Laboratory 2 Preparation Copyright W. J. Dally 2001 October 1, 2001

CS99S Laboratory 2 Preparation Copyright W. J. Dally 2001 October 1, 2001 CS99S Lortory 2 Preprtion Copyright W. J. Dlly 2 Octoer, 2 Ojectives:. Understnd the principle of sttic CMOS gte circuits 2. Build simple logic gtes from MOS trnsistors 3. Evlute these gtes to oserve logic

More information

Modular Generic Verification of LTL Properties for Aspects

Modular Generic Verification of LTL Properties for Aspects Modulr Generic Verifiction of LTL Properties for Aspects Mx Goldmn Shmuel Ktz Computer Science Deprtment Technion Isrel Institute of Technology {mgoldmn, ktz}@cs.technion.c.il ABSTRACT Aspects re seprte

More information

1.2 The Integers and Rational Numbers

1.2 The Integers and Rational Numbers .2. THE INTEGERS AND RATIONAL NUMBERS.2 The Integers n Rtionl Numers The elements of the set of integers: consist of three types of numers: Z {..., 5, 4, 3, 2,, 0,, 2, 3, 4, 5,...} I. The (positive) nturl

More information

FAULT TREES AND RELIABILITY BLOCK DIAGRAMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University

FAULT TREES AND RELIABILITY BLOCK DIAGRAMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University SYSTEM FAULT AND Hrry G. Kwtny Deprtment of Mechnicl Engineering & Mechnics Drexel University OUTLINE SYSTEM RBD Definition RBDs nd Fult Trees System Structure Structure Functions Pths nd Cutsets Reliility

More information

One Minute To Learn Programming: Finite Automata

One Minute To Learn Programming: Finite Automata Gret Theoreticl Ides In Computer Science Steven Rudich CS 15-251 Spring 2005 Lecture 9 Fe 8 2005 Crnegie Mellon University One Minute To Lern Progrmming: Finite Automt Let me tech you progrmming lnguge

More information

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom Byesin Updting with Continuous Priors Clss 3, 8.05, Spring 04 Jeremy Orloff nd Jonthn Bloom Lerning Gols. Understnd prmeterized fmily of distriutions s representing continuous rnge of hypotheses for the

More information

0.1 Basic Set Theory and Interval Notation

0.1 Basic Set Theory and Interval Notation 0.1 Bsic Set Theory nd Intervl Nottion 3 0.1 Bsic Set Theory nd Intervl Nottion 0.1.1 Some Bsic Set Theory Notions Like ll good Mth ooks, we egin with definition. Definition 0.1. A set is well-defined

More information

COMBINATORIAL HOPF ALGEBRAS FROM PROS

COMBINATORIAL HOPF ALGEBRAS FROM PROS COMBINATORIAL HOPF ALGEBRAS FROM PROS JEAN-PAUL BULTEL AND SAMUELE GIRAUDO Astrct. We introduce generl construction tht tkes s input so-clled stiff PRO nd tht outputs Hopf lger. Stiff PROs re prticulr

More information

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY MAT 0630 INTERNET RESOURCES, REVIEW OF CONCEPTS AND COMMON MISTAKES PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY Contents 1. ACT Compss Prctice Tests 1 2. Common Mistkes 2 3. Distributive

More information

Section 5-4 Trigonometric Functions

Section 5-4 Trigonometric Functions 5- Trigonometric Functions Section 5- Trigonometric Functions Definition of the Trigonometric Functions Clcultor Evlution of Trigonometric Functions Definition of the Trigonometric Functions Alternte Form

More information

Solution to Problem Set 1

Solution to Problem Set 1 CSE 5: Introduction to the Theory o Computtion, Winter A. Hevi nd J. Mo Solution to Prolem Set Jnury, Solution to Prolem Set.4 ). L = {w w egin with nd end with }. q q q q, d). L = {w w h length t let

More information

Regular Repair of Specifications

Regular Repair of Specifications Regulr Repir of Specifictions Michel Benedikt Oxford University michel.enedikt@coml.ox.c.uk Griele Puppis Oxford University griele.puppis@coml.ox.c.uk Cristin Riveros Oxford University cristin.riveros@coml.ox.c.uk

More information

Pentominoes. Pentominoes. Bruce Baguley Cascade Math Systems, LLC. The pentominoes are a simple-looking set of objects through which some powerful

Pentominoes. Pentominoes. Bruce Baguley Cascade Math Systems, LLC. The pentominoes are a simple-looking set of objects through which some powerful Pentominoes Bruce Bguley Cscde Mth Systems, LLC Astrct. Pentominoes nd their reltives the polyominoes, polycues, nd polyhypercues will e used to explore nd pply vrious importnt mthemticl concepts. In this

More information

and thus, they are similar. If k = 3 then the Jordan form of both matrices is

and thus, they are similar. If k = 3 then the Jordan form of both matrices is Homework ssignment 11 Section 7. pp. 249-25 Exercise 1. Let N 1 nd N 2 be nilpotent mtrices over the field F. Prove tht N 1 nd N 2 re similr if nd only if they hve the sme miniml polynomil. Solution: If

More information

FORMAL LANGUAGES, AUTOMATA AND THEORY OF COMPUTATION EXERCISES ON REGULAR LANGUAGES

FORMAL LANGUAGES, AUTOMATA AND THEORY OF COMPUTATION EXERCISES ON REGULAR LANGUAGES FORMAL LANGUAGES, AUTOMATA AND THEORY OF COMPUTATION EXERCISES ON REGULAR LANGUAGES Introduction This compendium contins exercises out regulr lnguges for the course Forml Lnguges, Automt nd Theory of Computtion

More information

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( ) Polynomil Functions Polynomil functions in one vrible cn be written in expnded form s n n 1 n 2 2 f x = x + x + x + + x + x+ n n 1 n 2 2 1 0 Exmples of polynomils in expnded form re nd 3 8 7 4 = 5 4 +

More information

Generating In-Line Monitors For Rabin Automata

Generating In-Line Monitors For Rabin Automata Generting In-Line Monitors For Rin Automt Hugues Chot, Rphel Khoury, nd Ndi Twi Lvl University, Deprtment of Computer Science nd Softwre Engineering, Pvillon Adrien-Pouliot, 1065, venue de l Medecine Queec

More information

SPECIAL PRODUCTS AND FACTORIZATION

SPECIAL PRODUCTS AND FACTORIZATION MODULE - Specil Products nd Fctoriztion 4 SPECIAL PRODUCTS AND FACTORIZATION In n erlier lesson you hve lernt multipliction of lgebric epressions, prticulrly polynomils. In the study of lgebr, we come

More information

Regular Languages and Finite Automata

Regular Languages and Finite Automata N Lecture Notes on Regulr Lnguges nd Finite Automt for Prt IA of the Computer Science Tripos Mrcelo Fiore Cmbridge University Computer Lbortory First Edition 1998. Revised 1999, 2000, 2001, 2002, 2003,

More information

DATABASDESIGN FÖR INGENJÖRER - 1056F

DATABASDESIGN FÖR INGENJÖRER - 1056F DATABASDESIGN FÖR INGENJÖRER - 06F Sommr 00 En introuktionskurs i tssystem http://user.it.uu.se/~ul/t-sommr0/ lt. http://www.it.uu.se/eu/course/homepge/esign/st0/ Kjell Orsorn (Rusln Fomkin) Uppsl Dtse

More information

Pointed Regular Expressions

Pointed Regular Expressions Pointed Regulr Expressions Andre Asperti 1, Cludio Scerdoti Coen 1, nd Enrico Tssi 2 1 Deprtment of Computer Science, University of Bologn sperti@cs.unio.it scerdot@cs.unio.it 2 INRIA-Micorsoft tssi@cs.unio.it

More information

. At first sight a! b seems an unwieldy formula but use of the following mnemonic will possibly help. a 1 a 2 a 3 a 1 a 2

. At first sight a! b seems an unwieldy formula but use of the following mnemonic will possibly help. a 1 a 2 a 3 a 1 a 2 7 CHAPTER THREE. Cross Product Given two vectors = (,, nd = (,, in R, the cross product of nd written! is defined to e: " = (!,!,! Note! clled cross is VECTOR (unlike which is sclr. Exmple (,, " (4,5,6

More information

On decidability of LTL model checking for process rewrite systems

On decidability of LTL model checking for process rewrite systems Act Informtic (2009) 46:1 28 DOI 10.1007/s00236-008-0082-3 ORIGINAL ARTICLE On decidbility of LTL model checking for process rewrite systems Lur Bozzelli Mojmír Křetínský Vojtěch Řehák Jn Strejček Received:

More information

MODULE 3. 0, y = 0 for all y

MODULE 3. 0, y = 0 for all y Topics: Inner products MOULE 3 The inner product of two vectors: The inner product of two vectors x, y V, denoted by x, y is (in generl) complex vlued function which hs the following four properties: i)

More information

Lecture 5. Inner Product

Lecture 5. Inner Product Lecture 5 Inner Product Let us strt with the following problem. Given point P R nd line L R, how cn we find the point on the line closest to P? Answer: Drw line segment from P meeting the line in right

More information

Algebra Review. How well do you remember your algebra?

Algebra Review. How well do you remember your algebra? Algebr Review How well do you remember your lgebr? 1 The Order of Opertions Wht do we men when we write + 4? If we multiply we get 6 nd dding 4 gives 10. But, if we dd + 4 = 7 first, then multiply by then

More information

Factoring Polynomials

Factoring Polynomials Fctoring Polynomils Some definitions (not necessrily ll for secondry school mthemtics): A polynomil is the sum of one or more terms, in which ech term consists of product of constnt nd one or more vribles

More information

Babylonian Method of Computing the Square Root: Justifications Based on Fuzzy Techniques and on Computational Complexity

Babylonian Method of Computing the Square Root: Justifications Based on Fuzzy Techniques and on Computational Complexity Bbylonin Method of Computing the Squre Root: Justifictions Bsed on Fuzzy Techniques nd on Computtionl Complexity Olg Koshelev Deprtment of Mthemtics Eduction University of Texs t El Pso 500 W. University

More information

Or more simply put, when adding or subtracting quantities, their uncertainties add.

Or more simply put, when adding or subtracting quantities, their uncertainties add. Propgtion of Uncertint through Mthemticl Opertions Since the untit of interest in n eperiment is rrel otined mesuring tht untit directl, we must understnd how error propgtes when mthemticl opertions re

More information

A.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324

A.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324 A P P E N D I X A Vectors CONTENTS A.1 Scling vector................................................ 321 A.2 Unit or Direction vectors...................................... 321 A.3 Vector ddition.................................................

More information

9 CONTINUOUS DISTRIBUTIONS

9 CONTINUOUS DISTRIBUTIONS 9 CONTINUOUS DISTIBUTIONS A rndom vrible whose vlue my fll nywhere in rnge of vlues is continuous rndom vrible nd will be ssocited with some continuous distribution. Continuous distributions re to discrete

More information

Integration by Substitution

Integration by Substitution Integrtion by Substitution Dr. Philippe B. Lvl Kennesw Stte University August, 8 Abstrct This hndout contins mteril on very importnt integrtion method clled integrtion by substitution. Substitution is

More information

9.3. The Scalar Product. Introduction. Prerequisites. Learning Outcomes

9.3. The Scalar Product. Introduction. Prerequisites. Learning Outcomes The Sclr Product 9.3 Introduction There re two kinds of multipliction involving vectors. The first is known s the sclr product or dot product. This is so-clled becuse when the sclr product of two vectors

More information

4.11 Inner Product Spaces

4.11 Inner Product Spaces 314 CHAPTER 4 Vector Spces 9. A mtrix of the form 0 0 b c 0 d 0 0 e 0 f g 0 h 0 cnnot be invertible. 10. A mtrix of the form bc d e f ghi such tht e bd = 0 cnnot be invertible. 4.11 Inner Product Spces

More information

Example A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding

Example A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding 1 Exmple A rectngulr box without lid is to be mde from squre crdbord of sides 18 cm by cutting equl squres from ech corner nd then folding up the sides. 1 Exmple A rectngulr box without lid is to be mde

More information

MATH 150 HOMEWORK 4 SOLUTIONS

MATH 150 HOMEWORK 4 SOLUTIONS MATH 150 HOMEWORK 4 SOLUTIONS Section 1.8 Show tht the product of two of the numbers 65 1000 8 2001 + 3 177, 79 1212 9 2399 + 2 2001, nd 24 4493 5 8192 + 7 1777 is nonnegtive. Is your proof constructive

More information

flex Regular Expressions and Lexical Scanning Regular Expressions and flex Examples on Alphabet A = {a,b} (Standard) Regular Expressions on Alphabet A

flex Regular Expressions and Lexical Scanning Regular Expressions and flex Examples on Alphabet A = {a,b} (Standard) Regular Expressions on Alphabet A flex Regulr Expressions nd Lexicl Scnning Using flex to Build Scnner flex genertes lexicl scnners: progrms tht discover tokens. Tokens re the smllest meningful units of progrm (or other string). flex is

More information

2 DIODE CLIPPING and CLAMPING CIRCUITS

2 DIODE CLIPPING and CLAMPING CIRCUITS 2 DIODE CLIPPING nd CLAMPING CIRCUITS 2.1 Ojectives Understnding the operting principle of diode clipping circuit Understnding the operting principle of clmping circuit Understnding the wveform chnge of

More information

Unambiguous Recognizable Two-dimensional Languages

Unambiguous Recognizable Two-dimensional Languages Unmbiguous Recognizble Two-dimensionl Lnguges Mrcell Anselmo, Dor Gimmrresi, Mri Mdoni, Antonio Restivo (Univ. of Slerno, Univ. Rom Tor Vergt, Univ. of Ctni, Univ. of Plermo) W2DL, My 26 REC fmily I REC

More information

1 Fractions from an advanced point of view

1 Fractions from an advanced point of view 1 Frtions from n vne point of view We re going to stuy frtions from the viewpoint of moern lger, or strt lger. Our gol is to evelop eeper unerstning of wht n men. One onsequene of our eeper unerstning

More information

Operations with Polynomials

Operations with Polynomials 38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: Write polynomils in stndrd form nd identify the leding coefficients nd degrees of polynomils Add nd subtrct polynomils Multiply

More information

2005-06 Second Term MAT2060B 1. Supplementary Notes 3 Interchange of Differentiation and Integration

2005-06 Second Term MAT2060B 1. Supplementary Notes 3 Interchange of Differentiation and Integration Source: http://www.mth.cuhk.edu.hk/~mt26/mt26b/notes/notes3.pdf 25-6 Second Term MAT26B 1 Supplementry Notes 3 Interchnge of Differentition nd Integrtion The theme of this course is bout vrious limiting

More information

All pay auctions with certain and uncertain prizes a comment

All pay auctions with certain and uncertain prizes a comment CENTER FOR RESEARC IN ECONOMICS AND MANAGEMENT CREAM Publiction No. 1-2015 All py uctions with certin nd uncertin prizes comment Christin Riis All py uctions with certin nd uncertin prizes comment Christin

More information

1. Introduction. 1.1. Texts and their processing

1. Introduction. 1.1. Texts and their processing Chpter 1 3 21/7/97 1. Introduction 1.1. Texts nd their processing One of the simplest nd nturl types of informtion representtion is y mens of written texts. Dt to e processed often does not decompose into

More information

Words Symbols Diagram. abcde. a + b + c + d + e

Words Symbols Diagram. abcde. a + b + c + d + e Logi Gtes nd Properties We will e using logil opertions to uild mhines tht n do rithmeti lultions. It s useful to think of these opertions s si omponents tht n e hooked together into omplex networks. To

More information

Math 135 Circles and Completing the Square Examples

Math 135 Circles and Completing the Square Examples Mth 135 Circles nd Completing the Squre Exmples A perfect squre is number such tht = b 2 for some rel number b. Some exmples of perfect squres re 4 = 2 2, 16 = 4 2, 169 = 13 2. We wish to hve method for

More information

Drawing Diagrams From Labelled Graphs

Drawing Diagrams From Labelled Graphs Drwing Digrms From Lbelled Grphs Jérôme Thièvre 1 INA, 4, venue de l Europe, 94366 BRY SUR MARNE FRANCE Anne Verroust-Blondet 2 INRIA Rocquencourt, B.P. 105, 78153 LE CHESNAY Cedex FRANCE Mrie-Luce Viud

More information

5.2. LINE INTEGRALS 265. Let us quickly review the kind of integrals we have studied so far before we introduce a new one.

5.2. LINE INTEGRALS 265. Let us quickly review the kind of integrals we have studied so far before we introduce a new one. 5.2. LINE INTEGRALS 265 5.2 Line Integrls 5.2.1 Introduction Let us quickly review the kind of integrls we hve studied so fr before we introduce new one. 1. Definite integrl. Given continuous rel-vlued

More information

FUNCTIONS AND EQUATIONS. xεs. The simplest way to represent a set is by listing its members. We use the notation

FUNCTIONS AND EQUATIONS. xεs. The simplest way to represent a set is by listing its members. We use the notation FUNCTIONS AND EQUATIONS. SETS AND SUBSETS.. Definition of set. A set is ny collection of objects which re clled its elements. If x is n element of the set S, we sy tht x belongs to S nd write If y does

More information

P.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn

P.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn 33337_0P03.qp 2/27/06 24 9:3 AM Chpter P Pge 24 Prerequisites P.3 Polynomils nd Fctoring Wht you should lern Polynomils An lgeric epression is collection of vriles nd rel numers. The most common type of

More information

19. The Fermat-Euler Prime Number Theorem

19. The Fermat-Euler Prime Number Theorem 19. The Fermt-Euler Prime Number Theorem Every prime number of the form 4n 1 cn be written s sum of two squres in only one wy (side from the order of the summnds). This fmous theorem ws discovered bout

More information

THE FUNDAMENTAL GROUP AND COVERING SPACES

THE FUNDAMENTAL GROUP AND COVERING SPACES THE FUNDAMENTAL GROUP AND COVERING SPACES JESPER M. MØLLER Astrct. These notes, from first course in lgeric topology, introduce the fundmentl group nd the fundmentl groupoid of topologicl spce nd use them

More information

AA1H Calculus Notes Math1115, Honours 1 1998. John Hutchinson

AA1H Calculus Notes Math1115, Honours 1 1998. John Hutchinson AA1H Clculus Notes Mth1115, Honours 1 1998 John Hutchinson Author ddress: Deprtment of Mthemtics, School of Mthemticl Sciences, Austrlin Ntionl University E-mil ddress: John.Hutchinson@nu.edu.u Contents

More information

Vectors 2. 1. Recap of vectors

Vectors 2. 1. Recap of vectors Vectors 2. Recp of vectors Vectors re directed line segments - they cn be represented in component form or by direction nd mgnitude. We cn use trigonometry nd Pythgors theorem to switch between the forms

More information

Unit 6: Exponents and Radicals

Unit 6: Exponents and Radicals Eponents nd Rdicls -: The Rel Numer Sstem Unit : Eponents nd Rdicls Pure Mth 0 Notes Nturl Numers (N): - counting numers. {,,,,, } Whole Numers (W): - counting numers with 0. {0,,,,,, } Integers (I): -

More information

Concept Formation Using Graph Grammars

Concept Formation Using Graph Grammars Concept Formtion Using Grph Grmmrs Istvn Jonyer, Lwrence B. Holder nd Dine J. Cook Deprtment of Computer Science nd Engineering University of Texs t Arlington Box 19015 (416 Ytes St.), Arlington, TX 76019-0015

More information

Graphs on Logarithmic and Semilogarithmic Paper

Graphs on Logarithmic and Semilogarithmic Paper 0CH_PHClter_TMSETE_ 3//00 :3 PM Pge Grphs on Logrithmic nd Semilogrithmic Pper OBJECTIVES When ou hve completed this chpter, ou should be ble to: Mke grphs on logrithmic nd semilogrithmic pper. Grph empiricl

More information

Vector differentiation. Chapters 6, 7

Vector differentiation. Chapters 6, 7 Chpter 2 Vectors Courtesy NASA/JPL-Cltech Summry (see exmples in Hw 1, 2, 3) Circ 1900 A.D., J. Willird Gis invented useful comintion of mgnitude nd direction clled vectors nd their higher-dimensionl counterprts

More information

Complexity Results in Epistemic Planning

Complexity Results in Epistemic Planning Proceedings of the Twenty-Fourth Interntionl Joint Conference on Artificil Intelligence (IJCAI 2015) Complexity Results in Epistemic Plnning Thoms Bolnder DTU Compute Tech. University of Denmrk Copenhgen,

More information

Solving the String Statistics Problem in Time O(n log n)

Solving the String Statistics Problem in Time O(n log n) Solving the String Sttistics Prolem in Time O(n log n) Gerth Stølting Brodl 1,,, Rune B. Lyngsø 3, Ann Östlin1,, nd Christin N. S. Pedersen 1,2, 1 BRICS, Deprtment of Computer Science, University of Arhus,

More information

6.2 Volumes of Revolution: The Disk Method

6.2 Volumes of Revolution: The Disk Method mth ppliction: volumes of revolution, prt ii Volumes of Revolution: The Disk Method One of the simplest pplictions of integrtion (Theorem ) nd the ccumultion process is to determine so-clled volumes of

More information

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza Automt theory An lgorithmic pproch 0 Lecture Notes Jvier Esprz My 3, 2016 2 3 Plese red this! Mny yers go I don t wnt to sy how mny, it s depressing I tught course on the utomt-theoretic pproch to model

More information

3 The Utility Maximization Problem

3 The Utility Maximization Problem 3 The Utility Mxiiztion Proble We hve now discussed how to describe preferences in ters of utility functions nd how to forulte siple budget sets. The rtionl choice ssuption, tht consuers pick the best

More information

Rotating DC Motors Part II

Rotating DC Motors Part II Rotting Motors rt II II.1 Motor Equivlent Circuit The next step in our consiertion of motors is to evelop n equivlent circuit which cn be use to better unerstn motor opertion. The rmtures in rel motors

More information

Automated Grading of DFA Constructions

Automated Grading of DFA Constructions Automted Grding of DFA Constructions Rjeev Alur nd Loris D Antoni Sumit Gulwni Dileep Kini nd Mhesh Viswnthn Deprtment of Computer Science Microsoft Reserch Deprtment of Computer Science University of

More information

Novel Methods of Generating Self-Invertible Matrix for Hill Cipher Algorithm

Novel Methods of Generating Self-Invertible Matrix for Hill Cipher Algorithm Bibhudendr chry, Girij Snkr Rth, Srt Kumr Ptr, nd Sroj Kumr Pnigrhy Novel Methods of Generting Self-Invertible Mtrix for Hill Cipher lgorithm Bibhudendr chry Deprtment of Electronics & Communiction Engineering

More information

Online Multicommodity Routing with Time Windows

Online Multicommodity Routing with Time Windows Konrd-Zuse-Zentrum für Informtionstechnik Berlin Tkustrße 7 D-14195 Berlin-Dhlem Germny TOBIAS HARKS 1 STEFAN HEINZ MARC E. PFETSCH TJARK VREDEVELD 2 Online Multicommodity Routing with Time Windows 1 Institute

More information

Vectors. The magnitude of a vector is its length, which can be determined by Pythagoras Theorem. The magnitude of a is written as a.

Vectors. The magnitude of a vector is its length, which can be determined by Pythagoras Theorem. The magnitude of a is written as a. Vectors mesurement which onl descries the mgnitude (i.e. size) of the oject is clled sclr quntit, e.g. Glsgow is 11 miles from irdrie. vector is quntit with mgnitude nd direction, e.g. Glsgow is 11 miles

More information

How To Understand The Theory Of Inequlities

How To Understand The Theory Of Inequlities Ostrowski Type Inequlities nd Applictions in Numericl Integrtion Edited By: Sever S Drgomir nd Themistocles M Rssis SS Drgomir) School nd Communictions nd Informtics, Victori University of Technology,

More information

Binary Representation of Numbers Autar Kaw

Binary Representation of Numbers Autar Kaw Binry Representtion of Numbers Autr Kw After reding this chpter, you should be ble to: 1. convert bse- rel number to its binry representtion,. convert binry number to n equivlent bse- number. In everydy

More information

Mathematics. Vectors. hsn.uk.net. Higher. Contents. Vectors 128 HSN23100

Mathematics. Vectors. hsn.uk.net. Higher. Contents. Vectors 128 HSN23100 hsn.uk.net Higher Mthemtics UNIT 3 OUTCOME 1 Vectors Contents Vectors 18 1 Vectors nd Sclrs 18 Components 18 3 Mgnitude 130 4 Equl Vectors 131 5 Addition nd Subtrction of Vectors 13 6 Multipliction by

More information

RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS

RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS Known for over 500 yers is the fct tht the sum of the squres of the legs of right tringle equls the squre of the hypotenuse. Tht is +b c. A simple proof is

More information

PHY 140A: Solid State Physics. Solution to Homework #2

PHY 140A: Solid State Physics. Solution to Homework #2 PHY 140A: Solid Stte Physics Solution to Homework # TA: Xun Ji 1 October 14, 006 1 Emil: jixun@physics.ucl.edu Problem #1 Prove tht the reciprocl lttice for the reciprocl lttice is the originl lttice.

More information

Multiplication and Division - Left to Right. Addition and Subtraction - Left to Right.

Multiplication and Division - Left to Right. Addition and Subtraction - Left to Right. Order of Opertions r of Opertions Alger P lese Prenthesis - Do ll grouped opertions first. E cuse Eponents - Second M D er Multipliction nd Division - Left to Right. A unt S hniqu Addition nd Sutrction

More information

Math 314, Homework Assignment 1. 1. Prove that two nonvertical lines are perpendicular if and only if the product of their slopes is 1.

Math 314, Homework Assignment 1. 1. Prove that two nonvertical lines are perpendicular if and only if the product of their slopes is 1. Mth 4, Homework Assignment. Prove tht two nonverticl lines re perpendiculr if nd only if the product of their slopes is. Proof. Let l nd l e nonverticl lines in R of slopes m nd m, respectively. Suppose

More information

A formal model for databases in DNA

A formal model for databases in DNA A forml model for dtses in DNA Joris J.M. Gillis nd Jn Vn den Bussche Hsselt University nd trnsntionl University of Limurg Astrct Our gol is to etter understnd, t theoreticl level, the dtse spects of DNA

More information

On Recognizable Timed Languages

On Recognizable Timed Languages On Recognizle Timed Lnguges Oded Mler 1 nd Amir Pnueli 2,3 1 CNRS-VERIMAG, 2 Av. de Vignte, 38610 Gières, Frnce Oded.Mler@img.fr 2 Weizmnn Institute of Science, Rehovot 76100, Isrel 3 New York University,

More information

CHAPTER 11 Numerical Differentiation and Integration

CHAPTER 11 Numerical Differentiation and Integration CHAPTER 11 Numericl Differentition nd Integrtion Differentition nd integrtion re bsic mthemticl opertions with wide rnge of pplictions in mny res of science. It is therefore importnt to hve good methods

More information

How fast can we sort? Sorting. Decision-tree model. Decision-tree for insertion sort Sort a 1, a 2, a 3. CS 3343 -- Spring 2009

How fast can we sort? Sorting. Decision-tree model. Decision-tree for insertion sort Sort a 1, a 2, a 3. CS 3343 -- Spring 2009 CS 4 -- Spring 2009 Sorting Crol Wenk Slides courtesy of Chrles Leiserson with smll chnges by Crol Wenk CS 4 Anlysis of Algorithms 1 How fst cn we sort? All the sorting lgorithms we hve seen so fr re comprison

More information

Section 7-4 Translation of Axes

Section 7-4 Translation of Axes 62 7 ADDITIONAL TOPICS IN ANALYTIC GEOMETRY Section 7-4 Trnsltion of Aes Trnsltion of Aes Stndrd Equtions of Trnslted Conics Grphing Equtions of the Form A 2 C 2 D E F 0 Finding Equtions of Conics In the

More information

Gene Expression Programming: A New Adaptive Algorithm for Solving Problems

Gene Expression Programming: A New Adaptive Algorithm for Solving Problems Gene Expression Progrmming: A New Adptive Algorithm for Solving Prolems Cândid Ferreir Deprtmento de Ciêncis Agráris Universidde dos Açores 9701-851 Terr-Chã Angr do Heroísmo, Portugl Complex Systems,

More information

1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2011 - Final Exam

1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2011 - Final Exam 1./1.1 Introduction to Computers nd Engineering Problem Solving Fll 211 - Finl Exm Nme: MIT Emil: TA: Section: You hve 3 hours to complete this exm. In ll questions, you should ssume tht ll necessry pckges

More information

COMPONENTS: COMBINED LOADING

COMPONENTS: COMBINED LOADING LECTURE COMPONENTS: COMBINED LOADING Third Edition A. J. Clrk School of Engineering Deprtment of Civil nd Environmentl Engineering 24 Chpter 8.4 by Dr. Ibrhim A. Asskkf SPRING 2003 ENES 220 Mechnics of

More information

A Visual and Interactive Input abb Automata. Theory Course with JFLAP 4.0

A Visual and Interactive Input abb Automata. Theory Course with JFLAP 4.0 Strt Puse Step Noninverted Tree A Visul nd Interctive Input Automt String ccepted! 5 nodes generted. Theory Course with JFLAP 4.0 q0 even 's, even 's q2 even 's, odd 's q1 odd 's, even 's q3 odd 's, odd

More information

4 Approximations. 4.1 Background. D. Levy

4 Approximations. 4.1 Background. D. Levy D. Levy 4 Approximtions 4.1 Bckground In this chpter we re interested in pproximtion problems. Generlly speking, strting from function f(x) we would like to find different function g(x) tht belongs to

More information

Scalar and Vector Quantities. A scalar is a quantity having only magnitude (and possibly phase). LECTURE 2a: VECTOR ANALYSIS Vector Algebra

Scalar and Vector Quantities. A scalar is a quantity having only magnitude (and possibly phase). LECTURE 2a: VECTOR ANALYSIS Vector Algebra Sclr nd Vector Quntities : VECTO NLYSIS Vector lgebr sclr is quntit hving onl mgnitude (nd possibl phse). Emples: voltge, current, chrge, energ, temperture vector is quntit hving direction in ddition to

More information

Module Summary Sheets. C3, Methods for Advanced Mathematics (Version B reference to new book) Topic 2: Natural Logarithms and Exponentials

Module Summary Sheets. C3, Methods for Advanced Mathematics (Version B reference to new book) Topic 2: Natural Logarithms and Exponentials MEI Mthemtics in Ection nd Instry Topic : Proof MEI Structured Mthemtics Mole Summry Sheets C, Methods for Anced Mthemtics (Version B reference to new book) Topic : Nturl Logrithms nd Eponentils Topic

More information

Basic Analysis of Autarky and Free Trade Models

Basic Analysis of Autarky and Free Trade Models Bsic Anlysis of Autrky nd Free Trde Models AUTARKY Autrky condition in prticulr commodity mrket refers to sitution in which country does not engge in ny trde in tht commodity with other countries. Consequently

More information

Integration. 148 Chapter 7 Integration

Integration. 148 Chapter 7 Integration 48 Chpter 7 Integrtion 7 Integrtion t ech, by supposing tht during ech tenth of second the object is going t constnt speed Since the object initilly hs speed, we gin suppose it mintins this speed, but

More information

Learning Outcomes. Computer Systems - Architecture Lecture 4 - Boolean Logic. What is Logic? Boolean Logic 10/28/2010

Learning Outcomes. Computer Systems - Architecture Lecture 4 - Boolean Logic. What is Logic? Boolean Logic 10/28/2010 /28/2 Lerning Outcomes At the end of this lecture you should: Computer Systems - Architecture Lecture 4 - Boolen Logic Eddie Edwrds eedwrds@doc.ic.c.uk http://www.doc.ic.c.uk/~eedwrds/compsys (Hevily sed

More information

Review guide for the final exam in Math 233

Review guide for the final exam in Math 233 Review guide for the finl exm in Mth 33 1 Bsic mteril. This review includes the reminder of the mteril for mth 33. The finl exm will be cumultive exm with mny of the problems coming from the mteril covered

More information

Basic Research in Computer Science BRICS RS-02-13 Brodal et al.: Solving the String Statistics Problem in Time O(n log n)

Basic Research in Computer Science BRICS RS-02-13 Brodal et al.: Solving the String Statistics Problem in Time O(n log n) BRICS Bsic Reserch in Computer Science BRICS RS-02-13 Brodl et l.: Solving the String Sttistics Prolem in Time O(n log n) Solving the String Sttistics Prolem in Time O(n log n) Gerth Stølting Brodl Rune

More information