On Recognizable Timed Languages

Size: px
Start display at page:

Download "On Recognizable Timed Languages"

Transcription

1 On Recognizle Timed Lnguges Oded Mler 1 nd Amir Pnueli 2,3 1 CNRS-VERIMAG, 2 Av. de Vignte, Gières, Frnce [email protected] 2 Weizmnn Institute of Science, Rehovot 76100, Isrel 3 New York University, 251 Mercer St. New York, NY 10012, USA [email protected] Astrct. In this work we generlize the fundmentl notion of recognizility from untimed to timed lnguges. The essence of our definition is the existence of right-morphism from the monoid of timed words into ounded suset of itself. We show tht the recognizle lnguges re exctly those ccepted y deterministic timed utomt nd rgue tht this is, perhps, the right clss of timed lnguges, nd tht the closure of untimed regulr lnguges under projection is positive ccident tht cnnot e expected to hold eyond the finite-stte cse. 1 Introduction Let Σ e the free monoid generted y finite set Σ. A set (lnguge) L Σ is recognizle if there exists finite deterministic utomton A =(Q, δ, q 0,F) tht ccepts it. The utomton sends words into sttes vi the mpping ˆδ A : Σ Q defined s ˆδ A (ε) =q 0 nd ˆδ A (w ) =δ(ˆδ A (w),). A lnguge L is 1 ˆδ A recognizle if L = q F (q) for some utomton A. There re two common wys to express these notions more lgericlly. One is to spek of monoid morphism ϕ from Σ to finite monoid M stisfying ϕ(w w )=ϕ(w) ϕ(w ). The disdvntge of this pproch is tht the oject under study is not nymore the ction of word w on the initil stte, ut rther the whole trnsformtion it induces on Q. This oject is much less intuitive (nd typiclly exponentilly lrger) thn the utomton. An lterntive, mentioned riefly in [E74], is to spek of right modules nd of module morphism from the free module (Σ,Σ) to the finite module (Q, Σ). For the purpose of this pper we define n equivlent vrition on this notion tht will llow us to extend it esily to timed lnguges. Our definition is inspired y utomton lerning theory [G72,A87] where every stte of the utomton is identified with (one of) the first words 4 tht rech it from q 0. The This work ws prtilly supported y grnt from Intel, y the Europen Community Projects IST AMETIST (Advnced Methods for Timed Systems), nd y the CNRS project AS 93, Automtes, modèles distriués et temporisés. 4 Tht is, word tht reches the stte vi cycle-free run.

2 stndrd prefix prtil-order on Σ is defined s u u v for every u, v Σ. A lnguge is prefix-closed if it includes the prefixes of ll its elements. The immedite exterior of prefix-closed lnguge P is defined s ext(p )=P Σ P, i.e. the first words tht go outside P. Definition 1 (Recognizle Lnguges). A lnguge L is recognizle if there exists finite prefix-closed suset P Σ, right -morphism ϕ : Σ P stisfying ϕ(w) =w if w P ϕ(w w )=ϕ(ϕ(w) w ) nd suset F P such tht L = ϕ 1 (w). w F As n exmple let us look t the deterministic utomton of Figure 1 nd one of its spnning trees. The prefix-closed set P = {ε,,,,,, } contins one representtive for ech of the sttes {q 0,...,q 7 }. The choice of P is not unique nd my depend on the spnning tree chosen. For exmple, we could replce nd y nd s representtives of q 2 nd q 4, respectively. The morphism from Σ to P is defined, for elements outside P, vi rewriting rules ( reltions in the lgeric jrgon) tht mimic the nonspnning trnsitions in the trnsition grph. Such rewriting rule is defined for every element in ext(p ). In our exmple the rules re = ε, =, = ε, =, = =, = nd =. These rewriting rules cn e pplied only t the left of word, tht is, the rule = corresponds to the fmily w = w for every w Σ. The recognition of word y this structure proceeds like reding the word y n utomton: word w is scnned until prefix u ext(p ) is detected, such tht w = uv. Thn the rewriting rule u = u is pplied, reducing w to w = u v with u = ϕ(u) P nd the process is continued with w until w is reduced to word in P which is tested for memership in F (in our exmple F = {}). For untimed lnguges this exercise seems nothing more thn fncy formultion of cceptnce y finite utomton, yet it emphsizes the fundmentl property of finite-stte systems nd lnguges: the ility to distinguish etween finite numer of clsses of input histories. Before dpting this notion for timed lnguges let us recll some known fcts out miniml utomt nd the notion of stte in dynmicl system. Every L Σ dmits unique cnonicl utomton A L (not necessrily finite-stte) tht ccepts it. Any other utomton ccepting L cn e reduced to A L y n utomton homomorphism (merging of sttes). This utomton is

3 q 0 q 1 q 0 q 1 q 0 q 1 q 0 q 1 q 2 q 3 q 2 q 3 q 2 q 3 q 2 q 3, q 4 q 5, q 4 q 5, q 4 q 5, q 4 q 5 q 6 q 6 () () (c) (d) Fig. 1. () A deterministic utomton; () A spnning tree of the utomton (the solid lines); (c) A miniml utomton for the lnguge ccepted y the utomton in (); (d) A spnning tree for the miniml utomton. defined using the syntctic right-congruence 5 reltion induced y L on Σ u v iff w uw L vw L The sttes of the miniml utomton for L re the equivlence clsses of. This is the Nerode prt of the Myhill-Nerode chrcteriztion of regulr lnguges s those for which hs finite index. A lnguge like n n cn e proved non-recognizle y showing tht n m for every n m nd hence hs n infinite index nd no finite set of representtives of its congruence clsses exists. By choosing proper representtives for ech clss we cn hve set P of miniml size. Figure 1-(c) shows miniml utomton for our exmple. The corresponding lgeric oject is otined from the non-miniml one y removing from P, removing the rules = nd = nd dding the rule =. 2 Timed Lnguges We consider timed lnguges s susets of the time-event monoid T = Σ R +, the free product (shuffle) of the free monoid (Σ,,ε) nd the commuttive monoid (R +, +, 0). This monoid hs een introduced in [ACM02] s n lterntive semntic domin for timed ehviors, where elements of Σ indicte events nd elements of R + denote pssge of time. Elements of T cn e written s 5 A right-congruence reltion of Σ is n equivlence reltion such tht u v implies uw vw for every w.

4 timed words of the form t 0 1 t 1 2 t 2 n t n (1) with t i 0 nd i Σ {ε} for every i. Such word indictes pssge of t 0 time, followed y the occurrence of 1, followed y pssge of t 1 time, etc. The reder my find in [ACM02] more precise detils, exmples nd definition of cnonicl form to which two equivlent timed words cn e reduced. For exmple, 0 cn e reduced to nd t ε t reduces to t + t. The prefix prtil-order reltion on T is defined s u u v for ny u, v T. Note tht, in prticulr, w t w t whenever t t. A timed word w of the form (1) cn e projected onto Σ nd R +, respectively, vi the following two morphisms: The untime function, μ(w) = 1 2 n nd the durtion function λ(w) = t 0 + t t n. For n untimed word u, u indictes its logicl length (numer of letters). These functions re lifted nturlly from individul words to sets of words. It is cler tht the notion of finite recognizility is useless for timed lnguges. It suffices to look t the singleton lnguge {5 }, consisting of the word where occurs t time 5, nd see tht it hs n uncountle numer of Nerode clsses s t t for every t t where t, t < 5. We elieve tht the suitle notion for timed lnguges is tht of oundedness (which implies finiteness for discrete systems). Intuitively this mens tht one cn distinguish etween finite numer of clsses of (qulittive) histories nd in ech of these clsses it is possile to distinguish etween durtions tken from ounded set. Definition 2 (Bounded Timed Lnguges). A timed lnguge L T is ounded if μ(l) is finite nd λ(l) is ounded in the usul sense of R +. We wnt to generlize Definition 1 to timed lnguges using ounded prefix-closed suset P of T nd morphism to it. Before giving forml definition let us illustrte the ide using the lnguge {t w : t [1, 5],w T} consisting of ll timed words tht hve no letters until 1 nd n occurrence of somewhere in [1, 5]. The set P should contin ll the time prefixes t with t [0, 5]. All the words of the form t with t<1 re Nerode equivlent (they ccept nothing) nd cn e represented y nd the sme holds for ll t with t>5. Likewise, the words of the form t with t [1, 5] re equivlent (they ccept everything) nd hence cn e represented y 1. So for this lnguge we hve P = {t : t [0, 5]} {} {1 }, F = {1 }

5 The immedite exterior of P contins ll the -continutions of P which re outside P, nmely the words t with t (0, 1) (1, 5] s well s nd 1. The immedite exterior vi time pssge is hrder to define due to the density of (R, ). In generl, given timed word w, one cnnot 6 chrcterize its first time continution. One solution would e to tke n ritrrily smll positive ɛ nd let the exterior of w e {w t : t (0,ɛ)}. We will use the nottion w t for tht, nd denote the corresponding elements of ext(p ) y t, 1 t, nd 5 t. The morphism is defined using the following rewriting rules: {t = : t [0, 1)} {t =1 : t [1, 5]} = t = 1 =1 t =1 5 t = A discrete-time interprettion of this oject ppers in Figure 2. As one cn see, we need formlism to express prmeterized fmilies of words elonging to P nd F s well s prmeterized fmilies of rewriting rules. The choice of this formlism depends on the type of dense-time utomt whose expressive power we wnt to mtch. In this work we concentrte on timed utomt nd efore doing so let us give n exmple of non-recognizle timed lnguge, L d = T { t 1 t 2 t n : n N n t i =1}. (2) i=1 This lnguge, which cn e ccepted y non-deterministic timed utomton, ws introduced y Alur [A90] to demonstrte the non-closure of timed utomt under complementtion. It is not hrd to see tht for every n t 1 t n t 1 t n t n+1 whenever 0 < n+1 i=1 t i < 1 nd hence for ny P, μ(p ) should contin the infinite lnguge { n : n N} nd P cnnot e ounded. 3 Timed Automt We consider Σ-leled timed utomt s cceptors of susets of T. Timed utomt re utomt operting in the dense time domin. Their stte-spce is product of finite set of discrete sttes (loctions) nd the clock-spce R m +, the set of possile vlutions of set of clock vriles. The ehvior of the utomton consists of n lterntion of time-pssge periods where the utomton 6 Perhps definition cn e given using non-stndrd nlysis with infinitesimls, or y tking limits on sequence of discretiztions with decresing time steps.

6 , t 1 0 t 1 t 2 t 3 t 4 t 5 t, t Fig. 2. An cceptor for discrete time interprettion of [1, 5] T. Trnsitions leled y t indicte pssge of one time unit. Dshed rrows indicte non-spnning trnsitions tht correspond to the rewriting rules. stys in the sme loction nd the clock vlues grow uniformly, nd of instntneous trnsitions tht cn e tken when clock vlues stisfy certin conditions nd which my reset some clocks to zero. The interction etween clock vlues nd discrete trnsitions is specified y conditions on the clock-spce which determine wht future evolution, either pssge of time or one or more trnsitions, is possile t given prt of the sttespce. The clocks llow the utomton to rememer, to certin extent, some of the quntittive timing informtion ssocited with the input word. This ility is ounded due to the finite numer of clocks nd due to the syntctic restrictions on the form of the clock conditions, nmely comprisons of clock vlues with finite numer of rtionl constnts. This, comined with the monotonicity of clock growth, mens tht clock ecomes inctive fter its vlue crosses the vlue of the mximl constnt κ nd it cnnot distinguish in tht stte etween time durtion of length κ nd of length κ + t for ny positive t. Let X = {x 1,...,x m } e set of clock vriles. A clock vlution is function x : X R +.Weuse1 to denote the unit vector (1,...,1) nd 0 for the zero vector (0,...,0). Definition 3 (Clock nd Zone Constrints). A clock constrint is either single clock constrint x d or clock difference constrint x i x j d, where {<,, =,,>} nd d is n integer. A zone constrint is conjunction of clock constrints. Definition 4 (Timed Automton). A timed utomton is A =(Σ,Q,X,q 0,I,Δ,F) where Q is finite set of sttes (loctions), X is finite set of clocks, I is the stying condition (invrint), ssigning to every q Q zone I q, nd Δ is trnsition reltion consisting of elements of the form (q,, φ, ρ, q ) where q nd q re sttes, Σ {ε}, ρ X nd φ (the trnsition gurd) is rectngulr zone constrint. The initil stte is q 0 nd the cceptnce condition F is finite set of pirs of the from (q, φ) where φ is zone constrint.

7 A configurtion of the utomton is pir (q, x) consisting of loction nd clock vlution. Every suset ρ X induces reset function Reset ρ on vlutions which resets to zero ll the clocks in ρ nd leves the other clocks unchnged. A step of the utomton is one of the following: δ A discrete step: (q, x) (q, x ), for some trnsition δ =(q,, φ, ρ, q ) Δ, such tht x stisfies φ nd x = Reset ρ (x). The lel of such step is. t A time step: (q, x) (q, x + t1), t R + such tht x + t 1 stisfies I q for every t <t. The lel of time step is t. A run of the utomton strting from the initil configurtion (q 0, 0) is finite sequence of steps ξ : (q 0, 0) s 1 (q 1, x 1 ) s 2 s n (qn, x n ). A run is ccepting if it ends in configurtion stisfying F. The timed word crried y the run is otined y conctenting the step lels. The timed lnguge ccepted y timed utomton A consists of ll words crried y ccepting runs nd is denoted y L A. A timed utomton is deterministic if from every rechle configurtion every event nd non-event leds to exctly one configurtion. This mens tht the utomton cnnot mke oth silent trnsition nd time pssge in the sme configurtion. Definition 5 (Deterministic Timed Automton). A deterministic timed utomton is n utomton whose gurds nd stying conditions stisfy: 1. For every two distinct trnsitions (q,, φ 1,ρ 1,q 1 ) nd (q,, φ 2,ρ 2,q 2 ), φ 1 nd φ 2 hve n empty intersection (event determinism). 2. For every trnsition (q, ε, φ, ρ, q ) Δ, the intersection of φ with I q is, t most, singleton (time determinism). In deterministic utomt ny word is crried y exctly one run. We denote the clss of timed lnguges ccepted y such utomt y DTA. Before defining the recognizle timed lnguges let us present prticulr tomic type of zones clled regions, introduced in [AD94], which ply specil role in the theory of timed utomt. Intuitively region consists of ll clock vlutions tht re not (nd will not e) distinguishle y ny clock constrint. A region constrint is zone constrint where for every x it contins constrint of one of the following forms: x = d, d<x<d+1or κ<xnd for every

8 pir of clocks either x i x j = d or d<x i x j <d+1. The set of ll regions over m clocks with lrgest constnt 7 κ is denoted y G m κ. Regions re the elementry zones from which ll other zones cn e uilt. Two clock vlutions tht elong to the sme region stisfy the sme gurds nd stying conditions. Moreover, y letting time pss from ny two such points, the next visited region is the sme. Finlly, ny reset of clocks sends ll the elements of one region into the sme region. This motivtes the definition [AD94] of the region utomton, finite-stte utomton whose stte spce is Q G m κ nd its trnsition reltion is constructed s follows. First we introduce specil symol τ which indictes the pssge of n under-specified mount of time, nd connect two regions R nd R τ y τ-trnsition, denoted y (q, R) (q, R ) if time cn progress in (q, R) nd R is the next region encountered while doing so. Secondly, for every trnsition (q,, φ, ρ, q ) nd every R which stisfies φ we define trnsition (q, R) (q, R ) if R is the result of pplying Reset ρ to R. As n exmple consider the deterministic utomton nd its corresponding region utomton ppering on Figure 3. The utomton ccepts ny word with 3 s such tht the second occurs 1 time fter the eginning nd the third 1 time fter the first. 8 4 Recognizle Timed Lnguges Let T n = {t 0,...,t n } e n ordered set of non-negtive rel vriles. A contiguous sum over T n is S j..k = k i=j t i nd the set of ll such sums over T n is denoted y S n.atimed inequlity on T n is condition of the form S i..j J where J is n intervl with nturl endpoints. A timed condition is conjunction of timed inequlities. A timed lnguge L is elementry if μ(l) ={u} with u = 1 n nd the set {(t 0,...t n ):t 0 1 n t n L} is definle y timed condition Λ. We will sometime denote elementry lnguges y pir (u, Λ). The immedite exterior ext(l) of n elementry lnguge L =(u, Λ) consists of the following sets: for every Σ, ext (L) is the set (u, Λ ) where Λ = Λ {t n+1 = 0}. The immedite exterior vi time pssge is ext t (L) =(u, Λ t ) where Λ t is otined from Λ s follows. If Λ contins one or more equlity constrints of 7 There re some simplifictions in the description in order to void full exposition of the theory of timed utomt. In prticulr, if some clock x>κin some region, we do not cre nymore out its comprisons with other clocks. This wy the region utomton hs just one terminl stte in which ll the clocks re lrger thn κ. Reders interested in ll the sutle detils my consult [B03]. 8 Note tht the existence of two trnsitions leving q 2, one leled with x =1nd one with x = 1,, is not considered violtion of determinism. A word 1 t for n ritrrily smll t will tke the former nd the word 1 will tke the ltter.

9 q 1 x 1 1 x 1 1,/x 2 := 0 q x 1 =1, 2 q 3 x 1 1 x 2 1 x 2 =1 x 1 =1 x 1 < 1, x 2 =1, x 1 =1 q 5 x 2 < 1, q 4 q 1 q2 q q 5 q 4 Fig. 3. A timed utomton with 2 clocks nd its region utomton. Solid rrows indicte time pssge nd ε trnsitions while dshed rrows re trnsitions. The -leled self-loops from ll regions ssocited with q 4 nd q 5 re depicted in StteChrt style. The regions re detiled in Tle 1.

10 the form S j..n = d, these constrints re replced y constrints of the form d<s j..n. Otherwise, let j e the smllest numer such tht constrint of the form S j..n <dppers in Λ. This constrint is replced y S j..n = d. Definition 6 (Chronometric Suset). A suset P of T is chronometric if it cn e written s finite union of disjoint elementry lnguges. Definition 7 (Chronometric Reltionl Morphism). Let P e ounded nd prefix-closed suset of T. A chronometric (reltionl) morphism Φ from T to P is reltion definle y finite set of tuples (u, Λ, u,λ,e) such tht ech (u, Λ) is n elementry lnguge included in ext(p ), ech (u,λ ) is n elementry lnguge contined in P, nd E is set of equlities of the form n i=j t i = n i=k t i, where n = u nd n = u. It is required tht ll (u, Λ) re disjoint nd their union is equl to ext(p ). For every w = t 0 1 n t n nd w = t 0 1 n t n, (w, w ) Φ iff there exists tuple (u, Λ, u,λ,e) in the presenttion of Φ such tht w (u, Λ), w (u,λ ) nd the respective time vlues for w nd w stisfy ll the equlities in E. The definition of Φ for words outside ext(p ) is done vi the identity Φ(u v) =Φ(Φ(u) v). As n exmple of component (u, Λ, u,λ,e) of chronometric morphism let (u, Λ) =(t 0 t 1,{0 <t 0 < 1, 0 <t 1 < 1, 0 <t 0 + t 1 < 1}), (u,λ )=(r 0 r 1 r 2, {0 <r 0 < 1,r 1 =0, 0 <r 2 < 1, 0 <r 0 + r 1 + r 2 < 1}) nd E = t 0 + t 1 = r 0 + r 1 + r 2. This components corresponds to the non-spnning trnsition R 8 = R 17 in the region utomton of Figure 3. The reltion Φ is sid to e well formed if the following holds for ech tuple (u, Λ, u,λ,e) in Φ: For every w (u, Λ), there exists w (u,λ ) such tht (w, w ) Φ. For every w (u,λ ), there exists w (u, Λ) such tht (w, w ) Φ. A reltion Φ is sid to e comptile with chronometric suset F if for every (u, Λ, u,λ,e) in Φ, either (u,λ ) F or (u,λ ) F =. Remrk: From well formed reltionl chronometric morphism Φ one cn derive (functionl) chronometric morphism ϕ : T P y letting ϕ(w) e some w such tht (w, w ) Φ. From the reltion descried ove we cn derive functionl morphisms such s ϕ(t 0 t 1 ) = t 0 t 1,or ϕ(t 0 t 1 ) = (t 0 + t 1 ). While functionl morphisms follow more closely the spirit of clssicl theory, reltionl morphisms re more suitle for the proofs in this pper.

11 Definition 8 (Recognizle Timed Lnguges). A timed lnguge L is recognizle if there is chronometric prefix-closed set P, chronometric suset F of P nd chronometric reltionl morphism Φ : T P comptile with F such tht L = Φ 1 (w). w F 4.1 From Deterministic Automt to Recognizle Lnguges We re now redy to prove the first result, stting tht every lnguge ccepted y DTA is recognizle, y ssigning timed words to rechle configurtions. The correspondence etween vlues of clock vriles in the utomton nd vlues of time vriles in n input word of length n is done vi clock inding over (X, T n ), function β : X S n ssociting with every clock x contiguous sum of the form S j..n. Recll tht region is conjunction of single clocks constrints nd clock difference constrints. By sustituting β(x) for x, the former ecome timed inequlities nd the ltter ecome inequlities on S j..n S k..n = S j..k nd, hence, timed inequlities s well. Clim 1 (DTA REC) From every deterministic timed utomton A one cn construct chronometric prefix-closed suset P of T nd morphism Φ : T P such tht if (w, w ) Φ then w nd w led to the sme configurtion from the initil stte. Sketch of Proof: Build the region utomton for A nd pick spnning tree in which ech region is reched vi simple pth. Strting from the root we ssocite with every region n elementry timed lnguge in prefix-closed mnner. More precisely with every region R of the utomton we ssocite the triple (u, Λ, β) where (u, Λ) is n elementry timed lnguge with u = n nd β is clock inding on (X, T n ). We decompose Λ into two sets of timed inequlities Λ nd Λ + where Λ consists of the nchronistic inequlities not involving t n nd Λ + of live constrints involving t n. Note tht trnsitions my chnge the inding nd move some inequlities from Λ + to Λ. For the initil region R 0 =(q 0, 0), u = ε, Λ = Λ + is t 0 =0nd ll clocks re ound to t 0. Consider now the inductive step. Given region R with (u, Λ, β) we compute (u,λ,β ) for its successor (vi spnning trnsition) R. There re two cses: 1. R is simple time successor of R: in this cse u = u nd β = β. We let Λ = Λ nd otin Λ + from the region formul ψ y replcing every clock x y β(x). 9 9 Note tht Λ + nd Λ + re very similr consisting of lmost identicl sets of inequlities differing from ech other only y replcing one or more inequlities of the form S i..n = d y d<s i..n <d+1, etc.

12 2. R is trnsition successor of R vi n -leled 10 trnsition: in this cse u = u t n+1, we hve new time vrile t n+1 nd the (T n+1,x) inding β is derived from β nd from the corresponding trnsition s follows. If clock x is not reset y the trnsition then β (x) =S i..n+1 whenever β(x) = S i..n.ifx is reset then β (x) =t n+1 (note tht x =0in R ). To compute Λ we dd to Λ the sustitution of β(x) for x in ψ nd let Λ + e the sustitution of β (x) in ψ. From this construction it is esy to see tht the union of the otined lnguges is prefix-closed (we proceed y conctention nd y respecting pst timing constrints) nd chronometric nd tht ll rechle configurtions re covered y words. Next, we construct the reltion Φ sed on trnsitions which correspond to ck- or cross-edges in the spnning tree. Consider non-spnning trnsition leding from region R with chrcteristic (u, Λ, β) into region R with chrcteristic (u,λ,β ). Let (u,λ,β ) e the lnguge nd inding ssocited with the successor of R ccording to the previously descried procedure. This trnsition contriutes to Φ the tuple (u,λ,u,λ,e). For ech clock x which is not reset y the trnsition, E contins the equlity β (x) =β (x).ifx is reset y the trnsition, then E contins the equlity β (x) =0. Tle 1 shows the correspondence etween the regions of Figure 3 nd elementry lnguges. The numering of the regions is consistent with the chosen spnning tree. 4.2 From Recognizle Lnguges to Deterministic Automt We will now prove the other direction y uilding deterministic timed utomton for given recognizle lnguge. To fcilitte the construction we will use n extended form of timed utomt, proposed in [SV96], where trnsitions cn e e lelled y ssignments of the form x := 0 nd x := y (clock renming). As shown in [SV96] such utomt cn e trnsformed into stndrd timed utomt (see lso [BDFP00]). Clim 2 (REC DTA) From every chronometric suset P of T nd chronometric morphism Φ : T P one cn uild DTA A such tht if two timed words led to the sme configurtions in A then (w, w ) Φ. Sketch of Proof: The construction of the utomton strts with n untimed utomton (with tree structure) whose set of sttes is μ(p ) with ε s the initil 10 The specil cse where the trnsition is not leled is resolved y introducing new time vrile t n+1 such tht the word cn e written s t 0 n t n ε t n+1.

13 stte nd trnsition function such tht δ(u, ) =u whenever u is in μ(p ). We then decorte the utomton with stying conditions, trnsition gurds, nd resets s follows. With every trnsition we reset new clock so tht for every word t 0 1 n t n, the vlue of clock x i t ny stte 1 j, i j is ound to S i..j. For every stte u = 1 n μ(p ) let Λ(u) ={(t 0,...,t n ):t 0 1 n t n P }. By decomposing Λ(u) into nchronistic (Λ ) nd live (Λ + ) constrints nd sustituting x i insted of every S i..n in Λ +, we otin the stying condition for stte u. For every u nd such tht u is in μ(p ) let H u, = {(t 0,...,t n ):t 0 1 n t n P }. Without loss of generlity we ssume tht H u, is definle y timed condition. 11 Hence every expression S i..j in it cn e replced y x j x i nd the whole condition cn e trnsformed into zone constrint tht will serve s the gurd of the trnsition etween u nd u. This wy we hve n utomton in which every element of P reches distinct configurtion. Consider n element (u, Λ, u,λ,e) Φ, such tht (u, Λ) ext (P ), with u = n nd u = n. Such n element introduces into the constructed utomton n -leled trnsition from u to u. For every constrint of the form S j..k J included in Λ, we include in the trnsition gurd the constrint x j x k J. For every equlity S j..n = S k..n included in E, we dd to the reset function the ssignment x j := x k. Likewise every (u, Λ, u,λ,e) Φ such the (u, Λ) ext t (P ) induces timed trnsition from u to u with gurd nd reset function similr to the previous cse. Corollry 1 (REC=DTA). The recognizle timed lnguges re those ccepted y deterministic timed utomton. 5 Discussion Ever since the introduction of timed utomt nd the oservtion tht their lnguges re not closed under complementtion, reserchers were trying to find 11 In generl it could e definle y finite union of timed conditions nd we should mke severl trnsitions from u to u.

14 R q ψ u β Λ 1 q 1 0=x 2 = x 1 t 0 x 1 = t 0 t 0 =0 x 2 = t 0 2 q 1 0 <x 2 = x 1 < 1 t 0 x 1 = t 0 0 <t 0 < 1 x 2 = t 0 3 q 1 x 2 = x 1 =1 t 0 x 1 = t 0 t 0 =1 x 2 = t 0 4 q 2 0=x 2 = x 1 t 0 t 1 x 1 = t 0 + t1 t 0 = t 1 =0 x 2 = t 1 5 q 2 0 <x 2 = x 1 < 1 t 0 t 1 x 1 = t 0 + t1 t 0 =00<t 1 < 1 x 2 = t 1 6 q 2 x 2 = x 1 =1 t 0 t 1 x 1 = t 0 + t1 t 0 =0t 1 =1 x 2 = t 1 7 q 2 0=x 2 <x 1 < 1 t 0 t 1 x 1 = t 0 + t1 0 <t 0 < 1 t 1 =0 x 2 = t 1 8 q 2 0 <x 2 <x 1 < 1 t 0 t 1 x 1 = t 0 + t1 0 <t 0 < 10<t 1 < 10<t 0 + t 1 < 1 x 2 = t 1 9 q 2 0 <x 2 <x 1 =1 t 0 t 1 x 1 = t 0 + t1 0 <t 0 < 10<t 1 < 1 t 0 + t 1 =1 x 2 = t 1 10 q 2 x 2 =0x 1 =1 t 0 t 1 x 1 = t 0 + t1 t 0 =1t 1 =0 x 2 = t 1 11 q 5 x 1 > 1 x 2 > 1 t 0 εt 1 x 1 = t 0 + t 1 1 <t 0 + t 1 x 2 = t 0 + t 1 12 q 5 x 1 = x 2 =0 t 0 t 1 t 2 x 1 = t 0 + t 1 + t 2 t 0 = t 1 = t 2 =0 13 q 5 0 <x 1 = x 2 < 1 t 0 t 1 t 2 x 1 = t 0 + t 1 + t 2 t 0 = t 1 =00<t 2 < 1 14 q 5 x 1 = x 2 =1 t 0 t 1 t 2 x 1 = t 0 + t 1 + t 2 t 0 = t 1 =0t 2 =1 15 q 3 x 2 = x 1 =1 t 0 t 1 t 2 x 1 = t 0 + t1 +t 2 t 0 =0t 1 =1t 2 =0 16 q 5 0=x 2 <x 1 < 1 t 0 t 1 t 2 x 1 = t 0 + t1 +t 2 0 <t 0 < 1 t 1 =0t 2 =0 17 q 5 0 <x 2 <x 1 < 1 t 0 t 1 t 2 x 1 = t 0 + t1 +t 2 0 <t 0 < 1 t 1 =00<t 2 < 1 0 <t 0 + t 2 < 1 18 q 5 0 <x 2 <x 1 =1 t 0 t 1 t 2 x 1 = t 0 + t1 +t 2 0 <t 0 < 1 t 1 =00<t 2 < 1 0 <t 0 + t 2 =1 19 q 5 0 <x 2 < 1 <x 1 t 0 t 1 t 2 x 1 = t 0 + t1 +t 2 0 <t 0 < 1 t 1 =00<t 2 < 1 0 <t 0 + t 2 > 1 20 q 5 0 <x 2 =1<x 1 t 0 t 1 t 2 x 1 = t 0 + t1 +t 2 t 0 =1t 1 = t 2 =0t 3 =1 21 q 3 0 <x 2 <x 1 =1 t 0 t 1 t 2 x 1 = t 0 + t1 +t 2 0 <t 0 < 10<t 1 < 1 t 0 + t 1 =1t 2 =0 22 q 3 0 <x 2 < 1 <x 1 t 0 t 1 t 2 x 1 = t 0 + t1 +t 2 0 <t 0 < 10<t 1 < 1 t 0 + t 1 + t 2 > 10<t 2 < 1 t 1 + t 2 < 1 23 q 3 0 <x 2 =1<x 1 t 0 t 1 t 2 x 1 = t 0 + t1 +t 2 0 <t 0 < 10<t 1 < 1 t 0 + t 1 + t 2 > 10<t 2 < 1 t 1 + t 2 =1 24 q 5 0 <x 2 < 1 <x 1 =1 t 0 t 1 εt 2 x 1 = t 0 + t1 +t 2 t 0 =1t 1 = t 2 =00<t 3 < 1 25 q 3 x 1 =1x 2 =0 t 0 t 1 t 2 x 1 = t 0 + t1 +t 2 t 0 =1t 1 = t 2 =0 26 q 3 0 <x 2 < 1 <x 1 t 0 t 1 t 2 x 1 = t 0 + t1 +t 2 t 0 =1t 1 =00<t 2 < 1 27 q 4 x 2 = x 1 =1 t 0 t 1 t 2 t 3 x 1 = t 0 + t1 +t 2 + t 3 t 0 =0t 1 =1t 2 =0t 3 =0 + t 3 28 q 4 1 <x 1 1 <x 2 t 0 t 1 t 2 t 3 x 1 = t 0 + t1 +t 2 + t 3 t 0 =1t 1 =0t 2 =1t 3 > 0 + t 3 29 q 4 0 <x 2 =1<x 1 t 0 t 1 t 2 t 3 x 1 = t 0 + t1 +t 2 + t 3 t 0 =1t 1 =0t 2 =1t 3 =0 + t 3 30 q 5 x 1 =1x 2 =0 t 0 t 1 t 2 t 3 x 1 = t 0 + t 1 + t 2 + t 3 t 0 =1t 1 = t 2 = t 3 =0 + t 3 Tle 1. Correspondence etween regions in the utomton of Figure 3 nd timed words.

15 well-ehving su-clss of lnguges. 12 Among the proposls given, we mention the event-clock utomt of [AFH99] where for ech letter in the lphet, the utomton cn mesure only the time since its lst occurrence. It ws shown tht these lnguges dmit deterministic timed cceptor. Recognizle timed lnguges tke this ide further y llowing the utomton to rememer the occurrence times of finite numer of events, not necessrily of distinct types. The ides of [AFH99] were developed further in [RS97] nd [HRS98], resulting in rich clss of timed lnguges chrcterized y decidle logic. While eing stisfctory from logicl point of view, the utomton chrcteriztion of this clss is currently very complicted, involving cscdes of eventrecording nd event-predicting timed utomt. We feel tht our more restricted clss of recognizle lnguges cptures the nturl extension of recognizility towrd timed lnguges, nmely which clsses of input histories cn e distinguished y finite numer of sttes nd finite numer of ounded clocks. 13 Deterministic timed lnguges hve not een studied much in the literture due to severl resons. The first is slight confusion out wht deterministic mens in this context nd etween cceptors nd genertors in generl. A trnsition gurded y ft condition of the form x [l, u] is non-deterministic only if it is not leled y n input letter. If it is leled y n input the trnsition is deterministic, recting differently to t nd t for t t. Another reson for ignoring deterministic utomt is the centrlity of the equivlence etween DFA nd NDFA in the untimed theory which serves to show tht regulr lnguges re closed under projection. Recognizle timed lnguges re indeed not closed under projection. The non-recognizle lnguge L d (2) cn e otined from recognizle lnguge over {, } y projecting wy. Not seeing, the utomton hs to guess t certin points, whether hs occurred. When this guessing hs to e done finite numer of times, the Rin-Scott suset construction cn simulte it y DFA tht goes simultneously to ll possile successors. However when these hidden events cn occur unoundedly within finite intervl nd their occurrence times should e memorized, finite suset construction is impossile. In this context it is worth mentioning the result of [W94] out the determinizility of timed utomt under uniform ounded vriility ssumption nd lso to point out tht for the sme resons determiniztion is lwys possile under ny time discretiztion. The closest work to ours, in the sense of trying to estlish semntic inputoutput definition of stte in timed system, is [SV96], motivted y testing of 12 The question whether non-deterministic timed utomton cn e determinized is undecidle, see [T03]. 13 Note tht in the untimed theory recognizility implies decidility ut not vice vers, for exmple the emptiness prolem for push-down utomt is decidle.

16 timed utomt. In tht pper the uthors give n lgorithm for semntic minimiztion of timed utomt nd lso mke useful oservtions out clock permuttions nd ssignments nd out the relevnce of clocks in vrious sttes. Similr oservtions were mde in [DY96] where clock ctivity nlysis ws used to reduce the dimensionlity of the clock spce in order to sve memory during verifiction. Another relted work is tht of [BPT03] which is concerned with dt lnguges, lnguges over n lphet Σ D where D is some infinite domin. Bsed on ides developed in [KF94], they propose to recognize such lnguges using utomt ugmented with uxiliry registers tht cn store finite numer of dt elements ut not perform computtions on these vlues. The results in [BPT03] show tht cceptnce y such utomt coincides with their notion of recognizility y finite monoid. These very generl results cn e specilized to timed lnguges y interpreting D s solute time nd every pir (, d) Σ D s letter nd time stmp d. Although the specil nture of time cn e imposed vi monotonicity restrictions on the d s, we feel more comfortle with our more cusl tretment of time s n entity whose elpse is consumed y the utomton in the sme wy input events re. Other investigtions of the lgeric spects of timed lnguges re reported in [D01]. To summrize, we hve defined wht we elieve to e the pproprite notion of recognizility for timed systems nd hve shown tht it coincides with cceptnce y deterministic timed utomton. We elieve tht this is the right clss of timed lnguges nd we hve yet to see useful nd relistic timed lnguge which is outside this clss. Our result lso mkes timed theory closer to the untimed one nd opens the wy for further lgeric investigtions of timed lnguges. Let us conclude with some open prolems triggered y this work: 1. Wht hppens if contiguous sums re replced y ritrry sums or y liner expressions with positive coefficients? Clerly, the former cse corresponds to stopwtch utomt nd the ltter to some clss of hyrid utomt nd it is interesting to see whether such study cn shed more light on prolems relted to these utomt. 2. Is there nturl restriction of the timed regulr expressions of [ACM02] which gurntees recognizility? Unfortuntely, dropping the renming opertion will not suffice ecuse the lnguge L d (2) cn e expressed without it. 3. Cn our results e used to develop n lgorithm for lerning timed lnguges from exmples nd for solving other relted prolems such s minimiztion nd test genertion?

17 4. Cn recognizility e relted to the growth of the index of the Nerode congruence for discretiztion of the lnguge s time grnulrity decreses? Acknowledgment: This work enefited from discussions nd monologues with Eugene Asrin, Stvros Tripkis, Pscl Weil, Yssine Lkhnech, Pul Cspi nd Sergio Yovine, s well s from thoughtful comments from nonymous referees tht improved the correctness nd presenttion of the results. References [A90] R. Alur, Techniques for Automtic Verifiction of Rel-Time Systems, PhD Thesis, Stnford, [AD94] R. Alur nd D.L. Dill, A Theory of Timed Automt, Theoreticl Computer Science 126, , [AFH99] R. Alur, L. Fix, nd T.A. Henzinger, Event-Clock Automt: A Determinizle Clss of Timed Automt, Theoreticl Computer Science 211, , [A87] D. Angluin, Lerning Regulr Sets from Queries nd Counter-Exmples, Informtion nd Computtion 75, , [ACM02] E. Asrin, P. Cspi nd O. Mler, Timed Regulr Expressions The Journl of the ACM 49, , [B03] P. Bouyer, Untmele Timed Automt!, Proc. STACS 03, , LNCS 2607, Springer, [BDFP00] P. Bouyer, C. Dufourd, E. Fleury nd A. Petit, Expressiveness of Updtle Timed Automt, Proc. MFCS 2000, , LNCS 1893, Springer, [BPT03] P. Bouyer, A. Petit, nd D. Thérien, An lgeric Approch to Dt Lnguges nd Timed Lnguges, Informtion nd Computtion 182, , [D01] C. Dim, Rel-Time Automt, Journl of Automt, Lnguges nd Comintorics 6, 3-24, [DY96] C. Dws nd S. Yovine, Reducing the Numer of Clock Vriles of Timed Automt, Proc. RTSS 96, 73-81, IEEE, [E74] S. Eilenerg, Automt, Lnguges nd Mchines, Vol. A, Acdemic Press, New- York, [G72] E.M. Gold, System Identifiction vi Stte Chrcteriztion, Automtic 8, , [HRS98] T.A. Henzinger, J.-F. Rskin, nd P.-Y. Schoens, The Regulr Rel-time Lnguges, Proc. ICALP 98, , LNCS 1343, Springer, [KF94] M. Kminski nd N. Frncez, Finite-memory Automt, Theoreticl Computer Science 134, , [RS97] J.-F. Rskin nd P.-Y. Schoens, Stte Clock Logic: A Decidle Rel-Time Logic, in Hyrid nd Rel-Time Systems (HART), 33-47, LNCS 1201, Springer, [T03] S. Tripkis, Folk Theorems on the Determiniztion nd Minimiztion of Timed Automt, Proc. FORMATS 03, [SV96] J.G. Springintveld nd F.W. Vndrger, Minimizle Timed Automt, Proc. FTRTFT 96, , LNCS 1135, Springer, [W94] Th. Wilke, Specifying Stte Sequences in Powerful Decidle Logics nd Timed Automt, Proc. FTRTFT 94, LNCS 863, , Springer, 1994.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

On the expressive power of temporal logic

On the expressive power of temporal logic 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions.

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions. Lerning Objectives Loci nd Conics Lesson 3: The Ellipse Level: Preclculus Time required: 120 minutes In this lesson, students will generlize their knowledge of the circle to the ellipse. The prmetric nd

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

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

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

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

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

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

Distributions. (corresponding to the cumulative distribution function for the discrete case).

Distributions. (corresponding to the cumulative distribution function for the discrete case). Distributions Recll tht n integrble function f : R [,] such tht R f()d = is clled probbility density function (pdf). The distribution function for the pdf is given by F() = (corresponding to the cumultive

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

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

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

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

1. Find the zeros Find roots. Set function = 0, factor or use quadratic equation if quadratic, graph to find zeros on calculator

1. Find the zeros Find roots. Set function = 0, factor or use quadratic equation if quadratic, graph to find zeros on calculator AP Clculus Finl Review Sheet When you see the words. This is wht you think of doing. Find the zeros Find roots. Set function =, fctor or use qudrtic eqution if qudrtic, grph to find zeros on clcultor.

More information

Java CUP. Java CUP Specifications. User Code Additions You may define Java code to be included within the generated parser:

Java CUP. Java CUP Specifications. User Code Additions You may define Java code to be included within the generated parser: Jv CUP Jv CUP is prser-genertion tool, similr to Ycc. CUP uilds Jv prser for LALR(1) grmmrs from production rules nd ssocited Jv code frgments. When prticulr production is recognized, its ssocited code

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

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

. 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

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

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

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: [email protected] Problem #1 Prove tht the reciprocl lttice for the reciprocl lttice is the originl lttice.

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

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

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

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

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

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

Lecture 3 Gaussian Probability Distribution

Lecture 3 Gaussian Probability Distribution Lecture 3 Gussin Probbility Distribution Introduction l Gussin probbility distribution is perhps the most used distribution in ll of science. u lso clled bell shped curve or norml distribution l Unlike

More information

Additional Protocol to the Convention on Human Rights and Biomedicine concerning Genetic Testing for Health Purposes

Additional Protocol to the Convention on Human Rights and Biomedicine concerning Genetic Testing for Health Purposes Council of Europe Trety Series - No. 203 Additionl Protocol to the Convention on Humn Rights nd Biomedicine concerning Genetic Testing for Helth Purposes Strsourg, 27.XI.2008 2 CETS 203 Humn Rights nd

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

AntiSpyware Enterprise Module 8.5

AntiSpyware Enterprise Module 8.5 AntiSpywre Enterprise Module 8.5 Product Guide Aout the AntiSpywre Enterprise Module The McAfee AntiSpywre Enterprise Module 8.5 is n dd-on to the VirusScn Enterprise 8.5i product tht extends its ility

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

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

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

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

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

An Undergraduate Curriculum Evaluation with the Analytic Hierarchy Process

An Undergraduate Curriculum Evaluation with the Analytic Hierarchy Process An Undergrdute Curriculum Evlution with the Anlytic Hierrchy Process Les Frir Jessic O. Mtson Jck E. Mtson Deprtment of Industril Engineering P.O. Box 870288 University of Albm Tuscloos, AL. 35487 Abstrct

More information

Protocol Analysis. 17-654/17-764 Analysis of Software Artifacts Kevin Bierhoff

Protocol Analysis. 17-654/17-764 Analysis of Software Artifacts Kevin Bierhoff Protocol Anlysis 17-654/17-764 Anlysis of Softwre Artifcts Kevin Bierhoff Tke-Awys Protocols define temporl ordering of events Cn often be cptured with stte mchines Protocol nlysis needs to py ttention

More information

Section 5.2, Commands for Configuring ISDN Protocols. Section 5.3, Configuring ISDN Signaling. Section 5.4, Configuring ISDN LAPD and Call Control

Section 5.2, Commands for Configuring ISDN Protocols. Section 5.3, Configuring ISDN Signaling. Section 5.4, Configuring ISDN LAPD and Call Control Chpter 5 Configurtion of ISDN Protocols This chpter provides instructions for configuring the ISDN protocols in the SP201 for signling conversion. Use the sections tht reflect the softwre you re configuring.

More information

** Dpt. Chemical Engineering, Kasetsart University, Bangkok 10900, Thailand

** Dpt. Chemical Engineering, Kasetsart University, Bangkok 10900, Thailand Modelling nd Simultion of hemicl Processes in Multi Pulse TP Experiment P. Phnwdee* S.O. Shekhtmn +. Jrungmnorom** J.T. Gleves ++ * Dpt. hemicl Engineering, Ksetsrt University, Bngkok 10900, Thilnd + Dpt.hemicl

More information

Orthogonally modeling video structuration and annotation: exploiting the concept of granularity

Orthogonally modeling video structuration and annotation: exploiting the concept of granularity From: I Technicl Report WS-00-08. Compiltion copyright 2000, I (www.i.org). ll rights reserved. Orthogonlly modeling video structurtion nd nnottion: exploiting the concept of grnulrity M. Dums, R. Lozno,M.-C.Fuvet,H.MrtinndP.-C.Scholl

More information

Treatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3.

Treatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3. The nlysis of vrince (ANOVA) Although the t-test is one of the most commonly used sttisticl hypothesis tests, it hs limittions. The mjor limittion is tht the t-test cn be used to compre the mens of only

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

Lec 2: Gates and Logic

Lec 2: Gates and Logic Lec 2: Gtes nd Logic Kvit Bl CS 34, Fll 28 Computer Science Cornell University Announcements Clss newsgroup creted Posted on we-pge Use it for prtner finding First ssignment is to find prtners Due this

More information

Firm Objectives. The Theory of the Firm II. Cost Minimization Mathematical Approach. First order conditions. Cost Minimization Graphical Approach

Firm Objectives. The Theory of the Firm II. Cost Minimization Mathematical Approach. First order conditions. Cost Minimization Graphical Approach Pro. Jy Bhttchry Spring 200 The Theory o the Firm II st lecture we covered: production unctions Tody: Cost minimiztion Firm s supply under cost minimiztion Short vs. long run cost curves Firm Ojectives

More information

The Velocity Factor of an Insulated Two-Wire Transmission Line

The Velocity Factor of an Insulated Two-Wire Transmission Line The Velocity Fctor of n Insulted Two-Wire Trnsmission Line Problem Kirk T. McDonld Joseph Henry Lbortories, Princeton University, Princeton, NJ 08544 Mrch 7, 008 Estimte the velocity fctor F = v/c nd the

More information

Lectures 8 and 9 1 Rectangular waveguides

Lectures 8 and 9 1 Rectangular waveguides 1 Lectures 8 nd 9 1 Rectngulr wveguides y b x z Consider rectngulr wveguide with 0 < x b. There re two types of wves in hollow wveguide with only one conductor; Trnsverse electric wves

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

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

Econ 4721 Money and Banking Problem Set 2 Answer Key

Econ 4721 Money and Banking Problem Set 2 Answer Key Econ 472 Money nd Bnking Problem Set 2 Answer Key Problem (35 points) Consider n overlpping genertions model in which consumers live for two periods. The number of people born in ech genertion grows in

More information

Pure C4. Revision Notes

Pure C4. Revision Notes Pure C4 Revision Notes Mrch 0 Contents Core 4 Alger Prtil frctions Coordinte Geometry 5 Prmetric equtions 5 Conversion from prmetric to Crtesin form 6 Are under curve given prmetriclly 7 Sequences nd

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

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