Using Integer Time Steps for Checking Branching Time Properties of Time Petri Nets
|
|
- Domenic Johns
- 5 years ago
- Views:
Transcription
1 Using Integer Time Steps for Checking Brnching Time Properties of Time Petri Nets Agt Jnowsk1, Wojciech Penczek2, Agt Półrol3, nd Andrzej Zbrzezny4 1 4 Institute of Informtics, University of Wrsw, Bnch 2, Wrsw, Polnd jnowsk@mimuw.edu.pl 2 Institute of Computer Science, PAS, Ordon 21, Wrsw, Polnd penczek@ipipn.ww.pl 3 University of Łódź, FMCS, Bnch 22, Łódź, Polnd polrol@mth.uni.lodz.pl Jn Długosz University, IMCS, Armii Krjowej 13/15, Cze stochow, Polnd.zbrzezny@jd.czest.pl Abstrct. Verifiction of timed systems is n importnt subject of reserch, nd one of its crucil spects is the efficiency of the methods developed. Extending the result of Popov which sttes tht integer time steps re sufficient to test rechbility properties of time Petri nets [5, 8], in our work we prove tht the discrete-time semntics is lso sufficient to verify ECTL nd ACTL properties of TPNs with the dense semntics. To show tht considering this semntics insted of the dense one is profitble, we compre the results for SAT-bsed bounded model checking of ACTL X properties nd the clss of distributed time Petri nets. 1 Introduction Verifiction of time-dependent systems is n importnt subject of reserch. The crucil problem to del with is the stte explosion: the stte spces of these systems re usully very lrge due to infinity of the dense time domin, nd re likely to grow exponentilly in the number of concurrent components of the system. This influences strongly the efficiency of the model checking methods. The ppers of Popov [5, 8] show tht in the cse of checking rechbility for systems modelled by time Petri nets (i.e., while testing whether mrking of net is rechble) one cn use discrete (integer) time steps insted of relvlued ones. This reduces the stte spce to be serched. The im of our work is to investigte whether the result of Popov cn be extended, i.e., whether the discrete-time semntics cn replce the dense-time one lso while verifying wider clss of properties of dense-time Petri net systems. In this pper we present our preliminry result, i.e., prove tht the discrete-time model cn be used insted of the dense-time one while verifying ECTL nd ACTL properties. To show tht such n pproch cn be profitble we perform some experiments, using n implementtion for SAT-bsed bounded model checking of ACTL X
2 16 PNSE 12 Petri Nets nd Softwre Engineering nd the clss of distributed time Petri nets with the discrete-time semntics [4], s well s its modifiction for the dense-time cse. The rest of the pper is orgnised s follows: Sec. 2 discusses the relted work. Sec. 3 introduces time Petri nets nd their dense nd discrete models. Sec. 4 presents the logics ECTL nd ACTL. Sec. 5 dels with the theoreticl considertions, while Sec. 6 presents the experimentl results. Sec. 7 contins finl remrks nd sketches directions of the further work. 2 Relted Works We would like to stress tht in our work we re interested in brnching time properties. To our best knowledge the fct tht the discrete-time semntics is sufficient to verify ECTL or ACTL properties of time Petri nets (TPNs) with the dense-time semntics hs never been proven before. The topic of verifiction of dense-time Petri nets using integer time steps hs been studied in severl publictions. In pper [5] it is shown how to construct rechbility grph whose vertices re rechble integer sttes for time Petri nets in which ll the ltest firing times re finite. The min theorem of [5] (Thm 3.2) sttes tht for ech run of TPN, strting t its initil stte, it is possible to find corresponding run which strts t the initil stte s well, nd visits integer sttes only. Due to this theorem discrete nlysis of boundedness nd liveness of TPN is possible. The work [6] extends the results of [5] to rbitrry TPNs. It uses the ide of freezing the clock vlues of trnsitions with infinite Lf t just s their Eft is reched. This wy reduced (finite) rechbility grph of essentil (integer) sttes is obtined. In [8] nd [7] the stte spce of TPN is chrcterised prmetriclly. The min theorems (Thm 3.1 nd Thm 3.2) of [8] stte tht for n rbitrry fesible execution pth where the clocks hve rel vlues it is possible to replce these rel vlues by integer ones nd obtin nother fesible pth. The derences between the clocks vlues of ech enbled trnsition t given mrking in the former nd the ltter pth re lwys smller thn 1, nd so re the derences between totl times of both the executions. The min ide of the proof is s follows: the integer vlues re constructed out of the given ssignments of rel vlues by successive trnsforming ll the non-integer numbers to nerby integers in n + 1 steps, where n is the length of the pth. According to the theorems the miniml nd mximl time durtion of trnsition sequence re integer vlues. In the pper [7] n enumertive procedure for reducing the stte spce is introduced. The ide is to divide problem into finite number of smller problems, which cn be solved recursively with methodology inspired from dynmic progrmming. Moreover, it extends the method of [8] to the nets with rel-vlued time steps (in [8] rtionl time steps were llowed only) nd infinite ltest firing times. The uthors of the bove-mentioned ppers clim tht the knowledge of the rechble integer sttes is sufficient to determine the entire behviour of the net t ny point in time. However, ll these ppers show the trce equivlence
3 A. Jnowsk et l.: Checking Brnching Time Properties of Time Petri Nets 17 b c b c p1 p2 p1 p2 Fig. 1. Two trce equivlent models which re not (bi)similr. A formul distinguishing them is e.g. ϕ = EF(EXp1 EXp2) which holds for the model on the right only between continuous model nd (restricted) discrete one. It is very well known tht trce equivlence preserves liner time properties, but it does not preserve brnching time properties (see Fig. 1 nd [1]), so the word behviour should probbly be understood in wy following from frgment of [7]: The properties of Petri net, both the clssicl one s well s the TPN, cn be divided into two prts: There re sttic properties, like being pure, ordinry, free choice, extended simple, conservtive, etc., nd there re dynmic properties like being bounded, live, rechble, nd hving plce- or trnsitions invrints, dedlocks, etc. While it is esy to prove the sttic behvior of net using only the sttic definition, the dynmic behvior depends on both the sttic nd dynmic definitions nd is quite complicted to prove., so s the dynmic properties listed. Moreover, the result of the ppers [5, 6] does not imply bisimultion between both the models, s the construction given in these ppers cnnot be used to prove it. We discuss this on p. 27, showing tht the reltion R used in our proof nd derived from the result of [5, 6] cnnot be used to prove bisimultion. This follows from the fct tht the integer run π justifying σ Rσ (generted ccording to the construction of [5]) nd the dense run π occurring in the reltion do not need to brnch in the sme wy. Similrly, the result of [8, 7] does not imply (bi)simultion s well. Although it is not stted directly, the construction given in these ppers is bsed on prmetric description of the clsses of the forwrd-rechbility grph for net considered (i.e., structure in which the initil stte clss contins the initil stte of the net nd ll the time successors of this stte, nd given stte clss C x corresponding to firing sequence of trnsitions x, its successor clss on trnsition t contins ll the concrete sttes which cn be obtined by firing t t concrete stte σ C x nd then pssing some time not disbling ny enbled trnsition). It is well known tht such structure preserves rechbility nd liner time properties, but it does not preserve brnching time properties. The discrete runs constructed in both the ppers re retrieved from the dense ones to preserve nothing but visiting the sme stte clsses s the runs they correspond to. The current pper is modified nd improved version of our work [3] (published in the proceedings of locl workshop, nd contining completely derent proof which does not define simultion explicitely).
4 18 PNSE 12 Petri Nets nd Softwre Engineering 3 Time Petri Nets We strt from introducing some bsic definitions relted to time Petri nets. For simplicity of the presenttion we focus on 1-sfe time Petri nets only. However, our result pplies lso to unbounded nets, which is explined in more detils in the finl section. Let IN be the set of nturl numbers (including zero), nd IR (IR + ) be the set of (nonnegtive) rels. Time Petri nets re defined s follows: Definition 1. A time Petri net (TPN, for short) is six-element tuple N = (P, T, F, Eft, Lft, m 0 ), where P = {p 1,..., p np } is finite set of plces, T = {t 1,..., t nt } is finite set of trnsitions, F (P T ) (T P ) is the flow reltion, Eft : T IN nd Lft : T IN { } re functions describing the erliest nd the ltest firing time of the trnsition, where for ech t T we hve Eft(t) Lft(t), nd m 0 P is the initil mrking of N. For trnsition t T we define its preset t = {p P (p, t) F } nd postset t = {p P (t, p) F }, nd consider only the nets such tht for ech trnsition the preset nd the postset re nonempty. We need lso the following nottions nd definitions: mrking of N is ny subset m P, trnsition t T is enbled t m (m[t for short) if t m nd t (m\ t) = ; nd leds from m to m, if it is enbled t m, nd m = (m \ t) t. The mrking m is denoted by m[t s well, if this does not led to misunderstnding. en(m) = {t T m[t }; for t en(m), newly_en(m, t) = {u T u en(m[t ) (t u u t )}. Concerning the behviour of time Petri nets, it is possible to consider densetime semntics, i.e. the one in which the time steps cn be of n rbitrry (nonnegtive) rel-vlued length, nd the discrete one which considers integer time pssings only. Below we define both of them. 3.1 Dense-Time Semntics In the dense-time semntics (the dense semntics in short) concrete stte σ of net N is defined s pir (m, clock), where m is mrking, nd clock : T IR + is function which for ech trnsition t en(m) gives the time elpsed since t becme enbled most recently, nd ssigns zero to other trnsitions. Given stte (m, clock) nd δ IR +, denote by clock + δ the function defined by (clock +δ)(t) = clock(t)+δ for ech t en(m), nd (clock +δ)(t) = 0 otherwise. By (m, clock) + δ we denote (m, clock + δ). The dense concrete stte spce of N is structure (T IR +, Σ, σ 0, r ), where Σ is the set of ll the concrete sttes of N, σ 0 = (m 0, clock 0 ) with clock 0 (t) = 0 for ech t T is the initil stte of N, nd r Σ (T IR + ) Σ is timed consecution reltion defined by:
5 A. Jnowsk et l.: Checking Brnching Time Properties of Time Petri Nets 19 for δ IR +, (m, clock) δ r (m, clock + δ) (clock + δ)(t) Lft(t) for ll t en(m) (time successor), t for t T, (m, clock) r (m, clock ) t en(m), Eft(t) clock(t) Lft(t), m = m[t, nd for ll u T we hve clock (u) = 0 for u newly_en(m, t) nd clock (u) = clock(u) otherwise (ction successor). Notice tht firing of trnsition tkes no time. Given set of propositionl vribles P V, we introduce vlution function V : Σ 2 P V which ssigns the sme propositions to the sttes with the sme mrkings. We ssume the set P V to be such tht ech q P V corresponds to exctly one p P, nd use the sme nmes for the propositions nd the plces. The function V is then defined by p V (σ) p m for ech σ = (m, ). The structure M r (N ) = (T IR +, Σ, σ 0, r, V ) is dense concrete model of N. A dense σ-run of TPN N is (mximl) sequence of sttes: σ 0 0 r σ 1 1 r σ 2 2 r..., where σ 0 = σ Σ nd i T IR + for ech i 0. A stte σ is rechble in M r (N ) if there is dense σ 0 -run σ 0 0 r σ 1 1 r σ 2 2 r... such tht σ = σ i for some i IN. 3.2 Discrete-Time Semntics Alterntively, one cn consider integer time pssings only. In such discretetime semntics (discrete semntics in short) (discrete) concrete stte σ n of net N is pir (m, clock n ), where m is mrking, nd clock n : T IN is function which for ech trnsition t en(m) gives the time elpsed since t becme enbled most recently, nd ssigns zero to the other trnsitions. Given stte (m, clock n ) nd δ IN, we define clock n +δ nd (m, clock n )+δ nlogously s in the dense-time cse. The discrete concrete stte spce of N is structure (T IN, Σ n, σ n 0, n ), where Σ n is the set of ll the discrete concrete sttes of N, σ n 0 = (m 0, clock n 0 ) with clock n 0 (t) = 0 for ech t T is the initil stte of N, nd n Σ n (T IN) Σ n is timed consecution reltion defined by: for δ IN, (m, clock n ) δ n (m, clock n + δ) (clock n + δ)(t) Lft(t) for ll t en(m) (time successor), for t T, (m, clock n ) t n (m, clock n ) t en(m), Eft(t) clock n (t) Lft(t), m = m[t, nd for ll u T we hve clock n (u) = 0 for u newly_en(m, t) nd clock n (u) = clock n (u) otherwise (ction successor). Agin, firing of trnsition tkes no time. Given set of propositionl vribles P V, we introduce vlution function V n : Σ n 2 P V which ssigns the sme propositions to the sttes with the sme mrkings. Similrly s in the dense cse, we ssume the set P V to be such tht ech q P V corresponds to exctly one p P, nd use the sme nmes for the propositions nd the plces. The function V n is then defined by p V n (σ n ) p m for ech σ n = (m, ). The structure M n (N ) = (T IN, Σ n, σ 0 n, n, V n ) is discrete concrete model of N.
6 20 PNSE 12 Petri Nets nd Softwre Engineering A discrete σ n -run of TPN N is (mximl) sequence of sttes: σ 0 n0 n n..., where σ n0 = σ n Σ n nd i T IN for ech i 0. A stte σ n1 1 n σ n2 2 σ n is rechble in M n (N ) there is σ 0 n -run of N σ 0 n0 n σ 1 n1 n σ 2 n2 such tht σ n = σ ni for some i IN. n... 4 Temporl Logics ACTL nd ECTL In our work we del with verifiction of properties of time Petri nets expressed in certin sublogics of the stndrd brnching time logic CTL. Below, we define the logics of our interest. 4.1 Syntx nd Sublogics of CTL Let P V = { 1, 2...} be set of propositionl vribles. The lnguge of CTL is given s the set of ll the stte formuls ϕ s (interpreted t sttes of model), defined using pth formuls ϕ p (interpreted long pths of model), by the following grmmr: ϕ s := ϕ s ϕ s ϕ s ϕ s ϕ s Aϕ p Eϕ p ϕ p := ϕ s ϕ p ϕ p ϕ p ϕ p Xϕ p U(ϕ p, ϕ p ) R(ϕ p, ϕ p ). In the bove P V, A ( for All pths ) nd E ( there Exists pth ) re pth quntifiers, wheres U ( Until ) nd R ( Relese ) re stte opertors. Intuitively, the formul Xϕ p specifies tht ϕ p holds in the next stte of the pth, wheres U(ϕ p, ψ p ) expresses tht ψ p eventully occurs nd tht ϕ p holds continuously until then. The opertor R is dul to U: the formul R(ϕ p, ψ p ) sys tht either ψ p holds lwys or it is relesed when ϕ p eventully occurs. Derived opertors def def re defined s Gϕ p = R(flse, ϕ p ) nd Fϕ p = U(true, ϕ p ), where true def =, nd flse def = for n rbitrry P V. Intuitively, the formul Fϕ p specifies tht ϕ p occurs in some stte of the pth ( Finlly ), wheres Gϕ p expresses tht ϕ p holds in ll the sttes of the pth ( Globlly ). Next, we define some sublogics of CTL : ACTL : the frgment of CTL in which the stte formuls re restricted such tht negtion cn be pplied to propositions only, nd the existentil quntifier E is not llowed, ECTL : the frgment of CTL in which the stte formuls re restricted such tht negtion cn be pplied to propositions only, nd the universl quntifier A is not llowed, ACTL : the frgment of ACTL in which the temporl formuls re restricted to positive boolen combintions of A(ϕUψ), A(ϕRψ), nd AXϕ only. ECTL : the frgment of ECTL in which the temporl formuls re restricted to positive boolen combintions of E(ϕUψ), E(ϕRψ) nd EXϕ only. L X denotes the logic L without the next-step opertor X.
7 A. Jnowsk et l.: Checking Brnching Time Properties of Time Petri Nets Semntics of CTL Let P V be set of propositions. A model for CTL is tuple M = (L, S, s0,, V ), where L is set of lbels, S is set of sttes, s0 S is the initil stte, S L S is totl successor reltion5, nd V : S 2P V is vlution function. For s, s0 S the nottion s s0 mens tht there is l L such tht l s s0. Moreover, for s0 S pth π = (s0, s1,...) is n infinite sequence of sttes in S strting t s0, where si si+1 for ll i 0, πi = (si, si+1,...) is the i-th suffix of π, nd π(i) = si. Given model M, stte s, nd pth π of M, by M, s = ϕ (M, π = ϕ) we men tht ϕ holds in the stte s (long the pth π, respectively) of the model M. The model is sometimes omitted if it is cler from the context. The reltion = is defined inductively s follows: M, s = M, s = M, x = ϕ ψ M, x = ϕ ψ M, s = Aϕ M, s = Eϕ M, π = ϕ M, π = Xϕ M, π = ϕuψ M, π = ϕrψ V (s), for P V, M, s 6 =, for P V, M, x = ϕ nd M, x = ψ, for x {s, π}, M, x = ϕ or M, x = ψ, for x {s, π}, M, π = ϕ for ech pth π strting t s, M, π = ϕ for some pth π strting t s, M, π(0) = ϕ, for stte formul ϕ, M, π1 = ϕ, ( j 0) M, πj = ψ nd ( 0 i < j) M, πi = ϕ, ( j 0) M, πj = ψ or ( 0 i < j) M, πi = ϕ. Moreover, we ssume M = ϕ M, s0 = ϕ, where s0 is the initil stte of M. 4.3 Equivlence Preserving ACTL nd ECTL Let M = (L, S, s0,, V ) nd M 0 = (L0, S 0, s00, 0, V 0 ) be two models. Definition 2 ([2]). A reltion ;sim S 0 S is simultion from M 0 to M if the following conditions hold: s00 ;sim s0, for ech s S nd s0 S 0, if s0 ;sim s, then V (s) = V 0 (s0 ), nd for every l l0 0 s1 S such tht s s1 for some l L, there is s01 S 0 such tht s0 s01 for some l0 L0 nd s01 ;sim s1. The model M 0 simultes M (M 0 ;sim M ) if there is simultion from M 0 to M. The models M, M 0 re simultion equivlent M ;1sim M 0 nd M 0 ;2sim M for some simultions ;1sim S S 0 nd ;2sim S 0 S. Two models M nd M 0 re clled bisimultion equivlent if M 0 ;sim M nd M (;sim ) 1 M 0, where (;sim ) 1 is the inverse of ;sim. 5 Totlity mens tht ( s S)( s0 S) s s0.
8 22 PNSE 12 Petri Nets nd Softwre Engineering The following theorem holds: Theorem 1 ([2]). Let M, M be two simultion equivlent models, where the rnge of the vlution functions V, V is 2 P V. Then, M, s 0 = ϕ M, s 0 = ϕ, for ny formul ϕ over P V such tht ϕ ACTL ECTL. 5 Discrete- vs. Dense-Time Verifiction for ACTL nd ECTL It is esy to see tht both the models M r (N ) nd M n (N ) cn be used in ACTL nd ECTL verifiction for net with the semntics given model corresponds to (s both meet the definition of the model for CTL ). However, it is lso not dicult to see tht the second model is smller nd less prone to the stte explosion problem. The im of our work is then to show tht both the models re equivlent w.r.t. checking ACTL nd ECTL properties of time Petri nets with the dense-time semntics. In our proof we mke use of the pproch of Popov presented in the pper [5]. Consider the dense concrete model M r (N ) = (T IR +, Σ, σ 0, r, V ) of TPN N. A stte σ = (m, clock) Σ is clled n integer-stte if clock(t) IN for ll t T. A integer σ-run of N is sequence of sttes σ 0 0 r σ 1 1 r σ 2 2 r..., where σ 0 = σ Σ nd i T IN for ech i 0. Note tht ll the sttes of n integer-run which strts t n integer-stte re integer-sttes s well. Thus, it is esy to see tht the following holds: Lemm 1. For given time Petri net N the model M r (N ) reduced to the integer-sttes nd the trnsition reltion between them is equl to M n (N ). Given number x IR +, let x denote the floor of x, i.e., the gretest IN such tht x, nd let x denote the ceiling of x, i.e. the smllest IN such tht x. Moreover, let fire(σ) denote set of trnsition tht re redy to fire in the stte σ Σ, i.e., fire(σ) = {t en(m) clock(t) [Eft(t), Lft(t)]}. We define the integer-sttes to be neighbour sttes of rel-vlued ones s follows: Definition 3 (Neighbour sttes). Let σ = (m, clock) be stte of TPN N. An integer-stte σ = (m, clock ) is neighbour stte of σ (denoted σ n σ) m = m, for ech t en(m), clock(t) clock (t) clock(t). Intuitively, neighbour stte of σ is n integer-stte of the sme mrking, nd such tht the vlues of its clocks, for ll the enbled trnsitions, re in neighbourhood of these of σ. However, it is esy to see tht these vlues cn be such tht they mke more trnsitions redy to fire thn the corresponding vlues in σ do: ech trnsition t which cn be fired t given vlue of clock(t) cn be fired both t clock(t) nd t clock(t) since ll these three vlues re either equl if clock(t) is nturl number, or belong to the sme (integer-bounded) intervl
9 A. Jnowsk et l.: Checking Brnching Time Properties of Time Petri Nets 23 [Ef t(t), Lf t(t)] if clock(t) 6 IN; on the other hnd, trnsition t0 which is not redy to fire t clock(t0 ) cn be firble t dclock(t0 )e if dclock(t0 )e = Ef t(t0 ). This implies f ire(σ) f ire(σ 0 ). Let π := σ0 0 r σ1 1 r... be σ 0 -run in Mr (N ). By π[k], for k IN, we k 1 denote the prefix σ0 0 r σ1 1 r... r σk of π, nd by π(k) - the k-th stte of π, i.e., σk. Moreover, we ssign time δi to ech step σi i r σi+1 in the run, i.e., define δi = i if i IR, nd δi = 0 otherwise. By G (σi, π), for i IN, i 1 we denote the vlue Σj=0 δi (i.e., the time pssed long π before reching σi ). b b b Moreover, given k IN nd π(k)-run ρ := σk r β1 r β2 r..., by π[k] ρ k 1 b b b we denote the run σ0 0 r σ1 1 r... r σk r β1 r β2 r... (i.e, the run obtined by joining π[k] nd ρ). The bove definitions pply to discrete runs in n nlogous wy. Next, we introduce the following definition (see lso Fig. 2): σ0 0 σ1 1 σ2 σk σk 2 σk 1 k 1 k 2 π: 0 π : σ0 k 2 1 σ1 σ2 σk 2 k 1 σk 1 σ k 0 ). If i T, then 0i = i ; the sttes of Fig. 2. Neighbour prefix of π[k] (denoted π[k] 0 π[k] nd π[k] relted by n re linked by dshed lines. Definition 4 (Neighbour prefix). Let π := σ0 0 r σ1 1 r... be run in Mr (N ), nd let π 0 := σ00 r σ10 r... be n integer run. For k IN, the prefix 0 0 π[k] is neighbour prefix of π[k] (denoted π[k] n π[k] ) for ech i = 0,..., k it holds σi0 n σi, i T 0i T, nd if i, 0i T then 0i = i. Intuitively, neighbour prefix visits neighbour sttes of these in π[k], nd the corresponding steps of these prefixes re either both firings of the sme trnsition, or both pssges of time (possibly of derent lengths). In order to show tht Mn (N ) cn replce Mr (N ) in ACTL /ECTL verifiction we shll prove the following lemm: Lemm 2. The models Mr (N ) nd Mn (N ) re simultion equivlent. Proof. It is obvious from Lemm 1 tht Mr (N ) simultes Mn (N ), with the reltion R1 Σ Σn defined s R1 = {(σ, σ 0 ) σ = σ 0 }.
10 24 PNSE 12 Petri Nets nd Softwre Engineering Let R r (N ) nd R n (N ) denote respectively the sets of ll the dense σ 0 -runs (discrete σ n 0 -runs) of the net N. In order to prove tht M n (N ) sim M r (N ) we shll show tht the reltion R Σ n Σ given by R = {(σ, σ) π R r (N ) π R n (N ) k IN s.t. σ = π(k) σ = π (k) π [k] n π [k] j k G (σ j, π ) = G (σ j, π) } is simultion from M n (N ) to M r (N ). Intuitively, the sttes σ, σ re relted by R if they both re rechble from the initil stte of N in k steps for some nturl k, on runs π, π such tht π [k] is neighbour prefix of π [k] nd for ech j k the totl time pssed long π [j] is the floor of tht pssed long π [j]. It is obvious tht (σ 0 n, σ 0 ) R due to equlity of these sttes. Next, consider σ, σ such tht (σ, σ) R. Assume tht the runs justifying this reltion (for some k) re of the form π := σ 0 0 r σ 1 1 r... nd π := σn 0 = σ 0 0 n σ 1 1 n... respectively, nd tht σ i = (m i, clock i ), σ i = (m i, clock i) for ech i IN (which implies lso the nottion σ = (m k, clock k ) nd σ = (m k, clock k) used below). if σ t r γ for trnsition t T nd stte γ = (m γ, clock γ ), then from σ n σ (nd therefore fire(σ) fire(σ )) the trnsition t cn be fired t σ s well, leding to stte ξ = (m ξ, clock ξ). Let ρ be σ-run of the form σ t r γ r... (i.e., σ-run whose first step is σ t r γ), nd let ρ be σ -run of the form σ t n ξ n... (i.e., σ -run whose first step is σ t n ξ; see Fig. 3). We shll show tht (π[k] ρ ) [k+1] n (π [k] ρ) [k+1] nd π [k] ρ γ π : σ 0 σ 1 σ h α = σ = σ k π [k] σ 0 σ 1 α = σ h σ = σ k π : ρ δ ξ Fig. 3. Reltion between π, π, ρ nd ρ in the proof of Lemm 2. tht G (ξ, π [k] ρ ) = G (γ, π [k] ρ). In order to prove (π [k] ρ ) [k+1] n (π [k] ρ) [k+1] it is sufficient to show tht ξ n γ. It is obvious tht the mrkings m γ nd m ξ re equl, nd tht newly_en(m k, t) = newly_en(m k, t). Next, consider t en(m γ ). If t newly_en(m k, t) then the vlue of its clock in γ is the sme s in σ (since firing of t does not influence the vlue of the clock of t ). In turn, if
11 A. Jnowsk et l.: Checking Brnching Time Properties of Time Petri Nets 25 t newly_en(m k, t) then the vlues of its clock in γ nd in ξ re equl to 0. Thus, from the fct tht for σ, σ we hve clock k (t) clock k(t) clock k (t) we hve lso clock γ (t) clock ξ(t) clock γ (t), which implies ξ n γ. the condition G (ξ, π [k] ρ ) = G (γ, π [k] ρ) holds in n obvious wy ( G (ξ, π [k] ρ ) = G (σ, π ) = G (σ, π) = G (γ, π [k] ρ) s the step consisting in firing trnsition is ssigned the time 0). if σ δ r γ for time δ IR + nd stte γ = (m γ, clock γ ), then let ρ be σ-run σ δ r γ r... (i.e., σ-run of the first step σ δ r γ; see Fig. 3), nd let π [k] ρ denote the run σ 0 0 r σ 1 1 r... k 1 δ r σ k r γ r... (i.e, the run obtined by joining π [k] nd ρ). Next, ssume δ = G (γ, π [k] ρ) G (σ, π ) (which is n integer vlue due to G (σ, π ) IN). We shll show first tht the time δ cn pss t σ, leding to stte ξ = (m ξ, clock ξ). To show tht δ cn pss t σ notice tht nd tht δ = G (γ, π [k] ρ) G (σ, π [k] ρ), G (σ i, π) = G (σ i, π [k] ρ) for ech i = 0,..., k. Moreover, we hve tht clock γ (t) = clock k (t) + δ Lft(t) for ech t en(m k ). Consider trnsition t en(m k ) (where en(m k ) = en(m k) = en(m γ )). Let h be n index long π [k] pointing to stte (denoted α) t which t becme enbled most recently, nd let h be n index long π [k] pointing to stte (denoted α ) t which t becme enbled most recently. From the fct tht π [k] n π [k] we hve h = h (for ech j k 1 the corresponding j-th steps of π [k] nd π [k] re either both firings of the sme trnsition or both time pssings, which implies tht for ech i k trnsition t becomes enbled in π(i) it becomes enbled in π (i)). From the definitions of clock, clock it is esy to see tht nd clock k (t) = G (σ, π) G (α, π), clock γ (t) = G (γ, π [k] ρ) G (α, π) clock k(t) = G (σ, π ) G (α, π ) Moreover, it holds clock k(t) + δ = G (σ, π ) G (α, π ) + δ = G (σ, π ) G (α, π ) + G (γ, π [k] ρ) G (σ, π ) = G (γ, π [k] ρ) G (α, π ) def. of R nd h=h = G (γ, π [k] ρ) G (α, π).
12 26 PNSE 12 Petri Nets nd Softwre Engineering From clock γ (t) Lft(t) we hve clock γ (t) Lft(t), nd from the property b b we get clock k(t) + δ = G (γ, π [k] ρ) G (α, π) G (γ, π [k] ρ) G (α, π) = clock γ (t) Lft(t); Thus, we hve tht clock k(t) + δ Lft(t) for ech t en(m k ), nd therefore the time δ cn pss t σ. Next, let ρ be σ -run of the form σ δ n ξ n.... We shll show tht (π[k] ρ ) [k+1] n (π [k] ρ) [k+1] nd tht G (ξ, π [k] ρ ) = G (γ, π [k] ρ). In order to prove (π [k] ρ ) [k+1] n (π [k] ρ) [k+1] it is sufficient to show tht ξ n γ. It is obvious tht the mrkings of these sttes re equl. Consider t en(m). We show tht clock γ (t) clock ξ(t) clock γ (t). Let α, α, h, h be defined s in the previous prt of the proof (see the 8th line of the previous item). Similrly s before, from the definitions of clock, clock we hve tht nd tht clock γ (t) = G (γ, π [k] ρ) G (α, π), clock ξ(t) = G (σ, π ) + δ G (α, π ). From the property b b (for, b IR + with b) we hve clock γ (t) = G (γ, π [k] ρ) G (α, π) G (γ, π [k] ρ) G (α, π) h=h nd def. of R = G (γ, π [k] ρ) G (σ, π )+ G (σ, π ) G (α, π ) = G (γ, π [k] ρ) G (σ, π )+ G (σ, π ) G (α, π ) = δ + G (σ, π ) G (α, π ) = clock ξ(t). From the property b b we hve clock k(t) + δ = G (γ, π [k] ρ) G (α, π) G (γ, π [k] ρ) G (α, π) = clock γ (t) Next, we hve G (ξ, π [k] ρ ) = G (σ, π )+δ = G (σ, π )+ G (γ, π [k] ρ) G (σ, π ) = G (γ, π [k] ρ), which ends the proof. Therefore, we cn formulte the following theorem: Theorem 2. Let M r (N ) nd M n (N ) be respectively dense nd discrete model for time Petri net N, nd let ϕ be n ACTL (ECTL ) formul. The following condition holds: M r (N ) = ϕ M n (N ) = ϕ. Proof. Follows from Theorem 1 nd Lemm 2 in strightforwrd wy. It should lso be explined tht in the cse of timed systems (nd therefore lso TPNs) with the dense-time semntics, logics without the next-step opertor re usully used, due to problems with intepreting the next step in the cse of continuous time. However, Thm. 2 considers more generl logics, in cse one would interpret the next-step opertor over n rbitrry pssge of time.
13 A. Jnowsk et l.: Checking Brnching Time Properties of Time Petri Nets 27 p1 p2 t1 [0,1] t2 [1,2] Fig. 4. A net It should be noticed tht the reltion R used in our proof cnnot be used to prove bisimultion between the models, i.e., their equivlence w.r.t. the CTL properties, since the integer run π justifying σ Rσ nd the dense run π occurring in the reltion do not need to brnch in the sme wy. Thus, lthough one cn prove tht ech trnsition t which cn be fired t σ cn be fired t σ s well, the reverse does not hold. To see n exmple of the bove consider the net shown in Fig. 4 nd its runs: the dense one: π := (p 1, (0, 0)) 0.5 r (p1, (0.5, 0)) t1 r (p2, (0, 0)) 0.6 r (p2, (0, 0.6)) r... nd the discrete one (denoted π ), built in the wy shown in [5] nd used in our proof in the definition of R (i.e., stisfying π [3] n π [3] nd G (σ j, π ) = G (σ j, π) for ech j 3): π := (p 1, (0, 0)) 0 n (p1, (0, 0)) t1 n (p2, (0, 0)) 1 n (p2, (0, 1)) n.... It is esy to see tht in π(3) we hve clock(t2) = 0.6, which mens tht t2 cnnot be fired t this stte, while in π (3) we hve clock(t2) = 1, which mens tht the trnsition t2 is firble. 6 Experimentl Results In order to show tht using discrete-time models insted of the dense ones cn be profitble, we performed some tests, using s n exmple n implementtion of SAT-bsed bounded model checking (BMC) for subclss of TPNs (i.e., distributed time Petri nets) with the discrete-time semntics nd the logic ACTL X used in [4], nd its modifiction for the dense-time cse prepred for the current pper. BMC is technique pplied minly to serching for counterexmples for universl properties, using model truncted up to some specific depth k. The formuls used by the method re then negtions of these expressing properties to be tested. So, in our cse they re formuls of ECTL X. The first system we consider is the Generic Pipeline Prdigm Petri net model (GTPP) shown in Fig. 5. It consists of three prts: Producer producing dt (P rodredy) or being inctive, Consumer receiving dt (ConsRedy) or being inctive, nd chin of n intermedite Nodes which cn be redy for receiving dt (Node i Redy), processing dt (Node i P roc), or sending dt (Node i Send). The exmple cn be scled by dding more intermedite nodes. The prmeters, b, c, d, e, f re used to djust the time properties of Producer, Consumer, nd of the intermedite Nodes. The formuls considered re EGEFConsReceived, EG(P rodredy ConsRedy) nd EFNode 1 Send.
14 28 PNSE 12 Petri Nets nd Softwre Engineering ProdRedy Node1Redy Node2Redy NodenRedy ConsRedy [, b] [c, d] [c, d] [c, d] [c, d] [c, d] [, b] Node1Proc Node2Proc NodenProc [e, f] [e, f] [e, f] Node1Send Node2Send NodenSend Fig. 5. A net for Generic Timed Pipeline Prdigm The next system tested is the stndrd Fischer s mutul exclusion protocol (Mutex). The system consists of n time Petri nets, ech one modelling process, plus one dditionl net used to coordinte the ccess of the processes to the criticl sections. A TPN modelling the system for n = 2 is presented in Fig. 6 In this cse we hve tested the formul EGEF(crit 1... crit n ). setx0_1 setx1 [0, ) [0, ] idle1 strt1 trying1 setx1 copy1 [0, ] [0, ) witing1 enter1 [δ, ) criticl1 [0, ] setx1 copy2 plce 1 plce 0 plce 2 setx2 copy2 [0, ] idle2 [0, ) strt2 trying2 [0, ] setx2 copy1 [0, ] setx2 witing2 enter2 [δ, ) criticl2 setx0_2[0, ) Fig. 6. A net for Fischer s mutul exclusion protocol for n = 2 The results re presented in Fig. 7 9 for GTPP, nd in Fig. 10 for Mutex. It cn be seen tht in ll the cses we re ble to verify systems contining more components (indicted in the column n) thn when discrete models re used, nd the totl time (bmct +stt ) nd the memory required (mx(bmcm, stm)) re usully smller for the discrete-time cse (the columns with IN : ). In some cses the derences re quite substntil, but there re lso exmples in which the time nd the memory used re similr for both the semntics. However, one
15 A. Jnowsk et l.: Checking Brnching Time Properties of Time Petri Nets 29 n k LL IR: bmct+stt IR: mx(bmcm,stm) IN: bmct+stt IN: mx(bmcm,stm) Fig. 7. Comprison of the results for GTPP nd the formul EGEFConsReceived n k LL IR: bmct+stt IR: mx(bmcm,stm) IN: bmct+stt IN: mx(bmcm,stm) Fig. 8. Comprison of the results: GTPP, the formul EG(P rodredy ConsRedy) cn see tht the noticeble derences occur in the cses in which the length of the witness for the formul (k) or the number of pths required to check this formul (LL) grow together with the size of the system, mking the verifiction more expensive. 7 Conclusions nd Further Work We hve shown tht the result of Popov, stting tht integer time steps re sufficient to test rechbility of mrkings in time Petri nets, cn be extended to testing ECTL nd ACTL properties. We hve focused on 1-sfe TPNs for simplicity of the presenttion, but it is esy to see tht the result pplies lso to generl time Petri nets: neither the definitions of mrking nd of enbledness of trnsition, nor the wy multiple enbledness of trnsitions is hndled do influence the proof.
16 30 PNSE 12 Petri Nets nd Softwre Engineering n k LL IR: bmct+stt IR: mx(bmcm,stm) IN: bmct+stt IN: mx(bmcm,stm) Fig. 9. Comprison of the results: GTPP, the formul EFNode1Send n k LL IR: bmct+stt IR: mx(bmcm,stm) IN: bmct+stt IN: mx(bmcm,stm) Fig. 10. Comprison of the results: mutex, the formul EGEF(crit 1... crit n) Our experimentl results show tht considering the discrete semntics while verifying properties of dense-time nets cn be profitble. Due to this, in our further work we re going to check whether discrete-time semntics cn be used when testing other clsses of properties of the dense-time Petri net systems (e.g., CTL X).
17 A. Jnowsk et l.: Checking Brnching Time Properties of Time Petri Nets 31 References 1. U. Goltz, R. Kuiper, nd W. Penczek. Propositionl temporl logics nd equivlences. In Proc. of the 3rd Int. Conf. on Concurrency Theory (CONCUR 92), volume 630 of LNCS, pges Springer-Verlg, O. Grumberg nd D. E. Long. Model checking nd modulr verifiction. In Proc. of the 2nd Int. Conf. on Concurrency Theory (CONCUR 91), volume 527 of LNCS, pges Springer-Verlg, A. Jnowsk, W. Penczek, A. Półrol, nd A. Zbrzezny. Towrds discrete-time verifiction of time Petri nets with dense-time semntics. In Proc. of the Int. Workshop on Concurrency, Specifiction nd Progrmming (CS&P 11), pges Bilystok University of Technology, A. Mȩski, W. Penczek, A. Półrol, B. Woźn-Szcześnik, nd A. Zbrzezny. Bounded model checking pproches for verificton of distributed time Petri nets. In Proc. of the Int. Workshop on Petri Nets nd Softwre Engineering (PNSE 11), pges University of Hmburg, L. Popov. On time Petri nets. Elektronische Informtionsverrbeitung und Kybernetik, 27(4): , L. Popov-Zeugmnn. Essentil sttes in time Petri nets. Informtik-Bericht 96, Humboldt University, L. Popov-Zeugmnn. Time Petri nets stte spce reduction using dynmic progrmming. Journl of Control nd Cybernetics, 35(3): , L. Popov-Zeugmnn nd D. Schltter. Anlyzing pths in time Petri nets. Fundment Informtice, 37(3): , 1999.
Concepts of Concurrent Computation Spring 2015 Lecture 9: Petri Nets
Concepts of Concurrent Computtion Spring 205 Lecture 9: Petri Nets Sebstin Nnz Chris Poskitt Chir of Softwre Engineering Petri nets Petri nets re mthemticl models for describing systems with concurrency
More informationStrong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation
Strong Bisimultion Overview Actions Lbeled trnsition system Trnsition semntics Simultion Bisimultion References Robin Milner, Communiction nd Concurrency Robin Milner, Communicting nd Mobil Systems 32
More informationAdvanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004
Advnced Clculus: MATH 410 Notes on Integrls nd Integrbility Professor Dvid Levermore 17 October 2004 1. Definite Integrls In this section we revisit the definite integrl tht you were introduced to when
More informationSemantic Reachability. Richard Mayr. Institut fur Informatik. Technische Universitat Munchen. Arcisstr. 21, D Munchen, Germany E. N. T. C. S.
URL: http://www.elsevier.nl/locte/entcs/volume6.html?? pges Semntic Rechbility Richrd Myr Institut fur Informtik Technische Universitt Munchen Arcisstr. 21, D-80290 Munchen, Germny e-mil: myrri@informtik.tu-muenchen.de
More informationSemantic reachability for simple process algebras. Richard Mayr. Abstract
Semntic rechbility for simple process lgebrs Richrd Myr Abstrct This pper is n pproch to combine the rechbility problem with semntic notions like bisimultion equivlence. It dels with questions of the following
More informationLecture 9: LTL and Büchi Automata
Lecture 9: LTL nd Büchi Automt 1 LTL Property Ptterns Quite often the requirements of system follow some simple ptterns. Sometimes we wnt to specify tht property should only hold in certin context, clled
More informationFinite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018
Finite Automt Theory nd Forml Lnguges TMV027/DIT321 LP4 2018 Lecture 10 An Bove April 23rd 2018 Recp: Regulr Lnguges We cn convert between FA nd RE; Hence both FA nd RE ccept/generte regulr lnguges; More
More informationCoalgebra, Lecture 15: Equations for Deterministic Automata
Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined
More informationW. We shall do so one by one, starting with I 1, and we shall do it greedily, trying
Vitli covers 1 Definition. A Vitli cover of set E R is set V of closed intervls with positive length so tht, for every δ > 0 nd every x E, there is some I V with λ(i ) < δ nd x I. 2 Lemm (Vitli covering)
More informationCS 267: Automated Verification. Lecture 8: Automata Theoretic Model Checking. Instructor: Tevfik Bultan
CS 267: Automted Verifiction Lecture 8: Automt Theoretic Model Checking Instructor: Tevfik Bultn LTL Properties Büchi utomt [Vrdi nd Wolper LICS 86] Büchi utomt: Finite stte utomt tht ccept infinite strings
More informationAUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton
25. Finite Automt AUTOMATA AND LANGUAGES A system of computtion tht only hs finite numer of possile sttes cn e modeled using finite utomton A finite utomton is often illustrted s stte digrm d d d. d q
More informationCS 275 Automata and Formal Language Theory
CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.5.: Properties of Context Free Grmmrs (14) Anton Setzer (Bsed on book drft by J. V. Tucker nd K. Stephenson)
More informationSoftware Engineering using Formal Methods
Softwre Engineering using Forml Methods Propositionl nd (Liner) Temporl Logic Wolfgng Ahrendt 13th Septemer 2016 SEFM: Liner Temporl Logic /GU 160913 1 / 60 Recpitultion: FormlistionFormlistion: Syntx,
More informationTemporal logic CTL : syntax. Communication and Concurrency Lecture 6. Φ ::= tt ff Φ 1 Φ 2 Φ 1 Φ 2 [K]Φ K Φ AG Φ EF Φ AF Φ EG Φ A formula can be
Temporl logic CTL : syntx Communiction nd Concurrency Lecture 6 Colin Stirling (cps) Φ ::= tt ff Φ 1 Φ Φ 1 Φ [K]Φ K Φ A formul cn be School of Informtics 7th October 013 Temporl logic CTL : syntx Temporl
More informationThe Regulated and Riemann Integrals
Chpter 1 The Regulted nd Riemnn Integrls 1.1 Introduction We will consider severl different pproches to defining the definite integrl f(x) dx of function f(x). These definitions will ll ssign the sme vlue
More informationNew Expansion and Infinite Series
Interntionl Mthemticl Forum, Vol. 9, 204, no. 22, 06-073 HIKARI Ltd, www.m-hikri.com http://dx.doi.org/0.2988/imf.204.4502 New Expnsion nd Infinite Series Diyun Zhng College of Computer Nnjing University
More informationSupervisory Control (4CM30)
Supervisory Control (4CM30) Verifiction in mcrl2 Michel Reniers M.A.Reniers@tue.nl 2016-2017 Verifiction in mcrl2 M CIF = φ CIF iff M mcrl2 = φ mcrl2 1. Adpt CIF model 2. Formulte property in modl µ-clculus
More information7.2 The Definite Integral
7.2 The Definite Integrl the definite integrl In the previous section, it ws found tht if function f is continuous nd nonnegtive, then the re under the grph of f on [, b] is given by F (b) F (), where
More informationMAA 4212 Improper Integrals
Notes by Dvid Groisser, Copyright c 1995; revised 2002, 2009, 2014 MAA 4212 Improper Integrls The Riemnn integrl, while perfectly well-defined, is too restrictive for mny purposes; there re functions which
More informationBisimulation. R.J. van Glabbeek
Bisimultion R.J. vn Glbbeek NICTA, Sydney, Austrli. School of Computer Science nd Engineering, The University of New South Wles, Sydney, Austrli. Computer Science Deprtment, Stnford University, CA 94305-9045,
More informationBases for Vector Spaces
Bses for Vector Spces 2-26-25 A set is independent if, roughly speking, there is no redundncy in the set: You cn t uild ny vector in the set s liner comintion of the others A set spns if you cn uild everything
More informationAnatomy of a Deterministic Finite Automaton. Deterministic Finite Automata. A machine so simple that you can understand it in less than one minute
Victor Admchik Dnny Sletor Gret Theoreticl Ides In Computer Science CS 5-25 Spring 2 Lecture 2 Mr 3, 2 Crnegie Mellon University Deterministic Finite Automt Finite Automt A mchine so simple tht you cn
More informationp-adic Egyptian Fractions
p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction
More informationHandout: Natural deduction for first order logic
MATH 457 Introduction to Mthemticl Logic Spring 2016 Dr Json Rute Hndout: Nturl deduction for first order logic We will extend our nturl deduction rules for sententil logic to first order logic These notes
More informationCS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)
CS 373, Spring 29. Solutions to Mock midterm (sed on first midterm in CS 273, Fll 28.) Prolem : Short nswer (8 points) The nswers to these prolems should e short nd not complicted. () If n NF M ccepts
More informationContinuous Random Variables
STAT/MATH 395 A - PROBABILITY II UW Winter Qurter 217 Néhémy Lim Continuous Rndom Vribles Nottion. The indictor function of set S is rel-vlued function defined by : { 1 if x S 1 S (x) if x S Suppose tht
More informationIntegral points on the rational curve
Integrl points on the rtionl curve y x bx c x ;, b, c integers. Konstntine Zeltor Mthemtics University of Wisconsin - Mrinette 750 W. Byshore Street Mrinette, WI 5443-453 Also: Konstntine Zeltor P.O. Box
More informationCS 275 Automata and Formal Language Theory
CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.6.: Push Down Automt Remrk: This mteril is no longer tught nd not directly exm relevnt Anton Setzer (Bsed
More informationAcceptance Sampling by Attributes
Introduction Acceptnce Smpling by Attributes Acceptnce smpling is concerned with inspection nd decision mking regrding products. Three spects of smpling re importnt: o Involves rndom smpling of n entire
More informationFinite Automata. Informatics 2A: Lecture 3. John Longley. 22 September School of Informatics University of Edinburgh
Lnguges nd Automt Finite Automt Informtics 2A: Lecture 3 John Longley School of Informtics University of Edinburgh jrl@inf.ed.c.uk 22 September 2017 1 / 30 Lnguges nd Automt 1 Lnguges nd Automt Wht is
More informationStudent Activity 3: Single Factor ANOVA
MATH 40 Student Activity 3: Single Fctor ANOVA Some Bsic Concepts In designed experiment, two or more tretments, or combintions of tretments, is pplied to experimentl units The number of tretments, whether
More informationConvert the NFA into DFA
Convert the NF into F For ech NF we cn find F ccepting the sme lnguge. The numer of sttes of the F could e exponentil in the numer of sttes of the NF, ut in prctice this worst cse occurs rrely. lgorithm:
More informationTHE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.
THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS RADON ROSBOROUGH https://intuitiveexplntionscom/picrd-lindelof-theorem/ This document is proof of the existence-uniqueness theorem
More informationLecture 3 ( ) (translated and slightly adapted from lecture notes by Martin Klazar)
Lecture 3 (5.3.2018) (trnslted nd slightly dpted from lecture notes by Mrtin Klzr) Riemnn integrl Now we define precisely the concept of the re, in prticulr, the re of figure U(, b, f) under the grph of
More informationReview of Calculus, cont d
Jim Lmbers MAT 460 Fll Semester 2009-10 Lecture 3 Notes These notes correspond to Section 1.1 in the text. Review of Clculus, cont d Riemnn Sums nd the Definite Integrl There re mny cses in which some
More informationSummer School Verification Technology, Systems & Applications
VTSA 2011 Summer School Verifiction Technology, Systems & Applictions 4th edition since 2008: Liège (Belgium), Sep. 19 23, 2011 free prticiption, limited number of prticipnts ppliction dedline: July 22,
More informationDISCRETE MATHEMATICS HOMEWORK 3 SOLUTIONS
DISCRETE MATHEMATICS 21228 HOMEWORK 3 SOLUTIONS JC Due in clss Wednesdy September 17. You my collborte but must write up your solutions by yourself. Lte homework will not be ccepted. Homework must either
More informationNew data structures to reduce data size and search time
New dt structures to reduce dt size nd serch time Tsuneo Kuwbr Deprtment of Informtion Sciences, Fculty of Science, Kngw University, Hirtsuk-shi, Jpn FIT2018 1D-1, No2, pp1-4 Copyright (c)2018 by The Institute
More information1.3 Regular Expressions
56 1.3 Regulr xpressions These hve n importnt role in describing ptterns in serching for strings in mny pplictions (e.g. wk, grep, Perl,...) All regulr expressions of lphbet re 1.Ønd re regulr expressions,
More informationFarey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University
U.U.D.M. Project Report 07:4 Frey Frctions Rickrd Fernström Exmensrete i mtemtik, 5 hp Hledre: Andres Strömergsson Exmintor: Jörgen Östensson Juni 07 Deprtment of Mthemtics Uppsl University Frey Frctions
More informationN 0 completions on partial matrices
N 0 completions on prtil mtrices C. Jordán C. Mendes Arújo Jun R. Torregros Instituto de Mtemátic Multidisciplinr / Centro de Mtemátic Universidd Politécnic de Vlenci / Universidde do Minho Cmino de Ver
More informationLinearly Similar Polynomials
Linerly Similr Polynomils rthur Holshouser 3600 Bullrd St. Chrlotte, NC, US Hrold Reiter Deprtment of Mthemticl Sciences University of North Crolin Chrlotte, Chrlotte, NC 28223, US hbreiter@uncc.edu stndrd
More information1.4 Nonregular Languages
74 1.4 Nonregulr Lnguges The number of forml lnguges over ny lphbet (= decision/recognition problems) is uncountble On the other hnd, the number of regulr expressions (= strings) is countble Hence, ll
More informationUnit #9 : Definite Integral Properties; Fundamental Theorem of Calculus
Unit #9 : Definite Integrl Properties; Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl
More informationFrobenius numbers of generalized Fibonacci semigroups
Frobenius numbers of generlized Fiboncci semigroups Gretchen L. Mtthews 1 Deprtment of Mthemticl Sciences, Clemson University, Clemson, SC 29634-0975, USA gmtthe@clemson.edu Received:, Accepted:, Published:
More informationGlobal Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems
Globl Types for Dynmic Checking of Protocol Conformnce of Multi-Agent Systems (Extended Abstrct) Dvide Ancon, Mtteo Brbieri, nd Vivin Mscrdi DIBRIS, University of Genov, Itly emil: dvide@disi.unige.it,
More information1.9 C 2 inner variations
46 CHAPTER 1. INDIRECT METHODS 1.9 C 2 inner vritions So fr, we hve restricted ttention to liner vritions. These re vritions of the form vx; ǫ = ux + ǫφx where φ is in some liner perturbtion clss P, for
More informationChapter 0. What is the Lebesgue integral about?
Chpter 0. Wht is the Lebesgue integrl bout? The pln is to hve tutoril sheet ech week, most often on Fridy, (to be done during the clss) where you will try to get used to the ides introduced in the previous
More informationKleene Theorems for Free Choice Nets Labelled with Distributed Alphabets
Kleene Theorems for Free Choice Nets Lbelled with Distributed Alphbets Rmchndr Phwde Indin Institute of Technology Dhrwd, Dhrwd 580011, Indi Emil: prb@iitdh.c.in Abstrct. We provided [15] expressions for
More information20 MATHEMATICS POLYNOMIALS
0 MATHEMATICS POLYNOMIALS.1 Introduction In Clss IX, you hve studied polynomils in one vrible nd their degrees. Recll tht if p(x) is polynomil in x, the highest power of x in p(x) is clled the degree of
More informationLesson 1: Quadratic Equations
Lesson 1: Qudrtic Equtions Qudrtic Eqution: The qudrtic eqution in form is. In this section, we will review 4 methods of qudrtic equtions, nd when it is most to use ech method. 1. 3.. 4. Method 1: Fctoring
More informationLecture 1. Functional series. Pointwise and uniform convergence.
1 Introduction. Lecture 1. Functionl series. Pointwise nd uniform convergence. In this course we study mongst other things Fourier series. The Fourier series for periodic function f(x) with period 2π is
More information3 Regular expressions
3 Regulr expressions Given n lphet Σ lnguge is set of words L Σ. So fr we were le to descrie lnguges either y using set theory (i.e. enumertion or comprehension) or y n utomton. In this section we shll
More informationDuality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below.
Dulity #. Second itertion for HW problem Recll our LP emple problem we hve been working on, in equlity form, is given below.,,,, 8 m F which, when written in slightly different form, is 8 F Recll tht we
More informationAutomata, Games, and Verification
Automt, Gmes, nd Verifiction Prof. Bernd Finkbeiner, Ph.D. Srlnd University Summer Term 2015 Lecture Notes by Bernd Finkbeiner, Felix Klein, Tobis Slzmnn These lecture notes re working document nd my contin
More informationPhysics 116C Solution of inhomogeneous ordinary differential equations using Green s functions
Physics 6C Solution of inhomogeneous ordinry differentil equtions using Green s functions Peter Young November 5, 29 Homogeneous Equtions We hve studied, especilly in long HW problem, second order liner
More informationFoundations for Timed Systems
Foundtions for Timed Systems Ptrici Bouyer LSV CNRS UMR 8643 & ENS de Cchn 6, venue du Président Wilson 9423 Cchn Frnce emil: bouyer@lsv.ens-cchn.fr Introduction Explicit timing constrints re nturlly present
More informationTHE QUADRATIC RECIPROCITY LAW OF DUKE-HOPKINS. Circa 1870, G. Zolotarev observed that the Legendre symbol ( a p
THE QUADRATIC RECIPROCITY LAW OF DUKE-HOPKINS PETE L CLARK Circ 1870, Zolotrev observed tht the Legendre symbol ( p ) cn be interpreted s the sign of multipliction by viewed s permuttion of the set Z/pZ
More informationAssignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages
Deprtment of Computer Science, Austrlin Ntionl University COMP2600 Forml Methods for Softwre Engineering Semester 2, 206 Assignment Automt, Lnguges, nd Computility Smple Solutions Finite Stte Automt nd
More informationKNOWLEDGE-BASED AGENTS INFERENCE
AGENTS THAT REASON LOGICALLY KNOWLEDGE-BASED AGENTS Two components: knowledge bse, nd n inference engine. Declrtive pproch to building n gent. We tell it wht it needs to know, nd It cn sk itself wht to
More informationIntermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4
Intermedite Mth Circles Wednesdy, Novemer 14, 2018 Finite Automt II Nickols Rollick nrollick@uwterloo.c Regulr Lnguges Lst time, we were introduced to the ide of DFA (deterministic finite utomton), one
More informationA PROOF OF THE FUNDAMENTAL THEOREM OF CALCULUS USING HAUSDORFF MEASURES
INROADS Rel Anlysis Exchnge Vol. 26(1), 2000/2001, pp. 381 390 Constntin Volintiru, Deprtment of Mthemtics, University of Buchrest, Buchrest, Romni. e-mil: cosv@mt.cs.unibuc.ro A PROOF OF THE FUNDAMENTAL
More informationarxiv:math/ v2 [math.ho] 16 Dec 2003
rxiv:mth/0312293v2 [mth.ho] 16 Dec 2003 Clssicl Lebesgue Integrtion Theorems for the Riemnn Integrl Josh Isrlowitz 244 Ridge Rd. Rutherford, NJ 07070 jbi2@njit.edu Februry 1, 2008 Abstrct In this pper,
More informationGlobal Session Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems
Globl Session Types for Dynmic Checking of Protocol Conformnce of Multi-Agent Systems (Extended Abstrct) Dvide Ancon, Mtteo Brbieri, nd Vivin Mscrdi DIBRIS, University of Genov, Itly emil: dvide@disi.unige.it,
More information(e) if x = y + z and a divides any two of the integers x, y, or z, then a divides the remaining integer
Divisibility In this note we introduce the notion of divisibility for two integers nd b then we discuss the division lgorithm. First we give forml definition nd note some properties of the division opertion.
More informationOn Timed Automata with Discrete Time Structural and Language Theoretical Characterization
On Timed Automt with Discrete Time Structurl nd Lnguge Theoreticl Chrcteriztion Hermnn Gruber 1, Mrkus Holzer 1, Astrid Kiehn 2, nd Brbr König 3 1 Institut für Informtik, Technische Universität München,
More informationExercises with (Some) Solutions
Exercises with (Some) Solutions Techer: Luc Tesei Mster of Science in Computer Science - University of Cmerino Contents 1 Strong Bisimultion nd HML 2 2 Wek Bisimultion 31 3 Complete Lttices nd Fix Points
More informationProcess Algebra CSP A Technique to Model Concurrent Programs
Process Algebr CSP A Technique to Model Concurrent Progrms Jnury 15, 2002 Hui Shi 1 Contents CSP-Processes Opertionl Semntics Trnsition systems nd stte mchines Bisimultion Firing rules for CSP Model-Checker
More informationVariational Techniques for Sturm-Liouville Eigenvalue Problems
Vritionl Techniques for Sturm-Liouville Eigenvlue Problems Vlerie Cormni Deprtment of Mthemtics nd Sttistics University of Nebrsk, Lincoln Lincoln, NE 68588 Emil: vcormni@mth.unl.edu Rolf Ryhm Deprtment
More informationWe will see what is meant by standard form very shortly
THEOREM: For fesible liner progrm in its stndrd form, the optimum vlue of the objective over its nonempty fesible region is () either unbounded or (b) is chievble t lest t one extreme point of the fesible
More informationDecomposition of terms in Lucas sequences
Journl of Logic & Anlysis 1:4 009 1 3 ISSN 1759-9008 1 Decomposition of terms in Lucs sequences ABDELMADJID BOUDAOUD Let P, Q be non-zero integers such tht D = P 4Q is different from zero. The sequences
More informationA Polynomial-Time Algorithm for Checking Consistency of Free-Choice Signal Transition Graphs
Fundment Informtice XX (2004) 1 23 1 IOS Press A Polynomil-Time Algorithm for Checking Consistency of Free-Choice Signl Trnsition Grphs Jvier Esprz Institute for Forml Methods in Computer Science University
More informationMath 8 Winter 2015 Applications of Integration
Mth 8 Winter 205 Applictions of Integrtion Here re few importnt pplictions of integrtion. The pplictions you my see on n exm in this course include only the Net Chnge Theorem (which is relly just the Fundmentl
More informationChapter 5 : Continuous Random Variables
STAT/MATH 395 A - PROBABILITY II UW Winter Qurter 216 Néhémy Lim Chpter 5 : Continuous Rndom Vribles Nottions. N {, 1, 2,...}, set of nturl numbers (i.e. ll nonnegtive integers); N {1, 2,...}, set of ll
More informationState space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies
Stte spce systems nlysis (continued) Stbility A. Definitions A system is sid to be Asymptoticlly Stble (AS) when it stisfies ut () = 0, t > 0 lim xt () 0. t A system is AS if nd only if the impulse response
More informationRecitation 3: More Applications of the Derivative
Mth 1c TA: Pdric Brtlett Recittion 3: More Applictions of the Derivtive Week 3 Cltech 2012 1 Rndom Question Question 1 A grph consists of the following: A set V of vertices. A set E of edges where ech
More informationClosure Properties of Regular Languages
Closure Properties of Regulr Lnguges Regulr lnguges re closed under mny set opertions. Let L 1 nd L 2 e regulr lnguges. (1) L 1 L 2 (the union) is regulr. (2) L 1 L 2 (the conctention) is regulr. (3) L
More informationCMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014
CMPSCI 250: Introduction to Computtion Lecture #31: Wht DFA s Cn nd Cn t Do Dvid Mix Brrington 9 April 2014 Wht DFA s Cn nd Cn t Do Deterministic Finite Automt Forml Definition of DFA s Exmples of DFA
More informationRefined interfaces for compositional verification
Refined interfces for compositionl verifiction Frédéric Lng INRI Rhône-lpes http://www.inrilpes.fr/vsy Motivtion Enumertive verifiction of concurrent systems Prllel composition of synchronous processes
More informationChapter 4 Contravariance, Covariance, and Spacetime Diagrams
Chpter 4 Contrvrince, Covrince, nd Spcetime Digrms 4. The Components of Vector in Skewed Coordintes We hve seen in Chpter 3; figure 3.9, tht in order to show inertil motion tht is consistent with the Lorentz
More informationThe Basic Functional 2 1
2 The Bsic Functionl 2 1 Chpter 2: THE BASIC FUNCTIONAL TABLE OF CONTENTS Pge 2.1 Introduction..................... 2 3 2.2 The First Vrition.................. 2 3 2.3 The Euler Eqution..................
More informationNondeterminism and Nodeterministic Automata
Nondeterminism nd Nodeterministic Automt 61 Nondeterminism nd Nondeterministic Automt The computtionl mchine models tht we lerned in the clss re deterministic in the sense tht the next move is uniquely
More informationImproper Integrals. Type I Improper Integrals How do we evaluate an integral such as
Improper Integrls Two different types of integrls cn qulify s improper. The first type of improper integrl (which we will refer to s Type I) involves evluting n integrl over n infinite region. In the grph
More information13: Diffusion in 2 Energy Groups
3: Diffusion in Energy Groups B. Rouben McMster University Course EP 4D3/6D3 Nucler Rector Anlysis (Rector Physics) 5 Sept.-Dec. 5 September Contents We study the diffusion eqution in two energy groups
More informationSTRUCTURE OF CONCURRENCY Ryszard Janicki. Department of Computing and Software McMaster University Hamilton, ON, L8S 4K1 Canada
STRUCTURE OF CONCURRENCY Ryszrd Jnicki Deprtment of Computing nd Softwre McMster University Hmilton, ON, L8S 4K1 Cnd jnicki@mcmster.c 1 Introduction Wht is concurrency? How it cn e modelled? Wht re the
More informationAQA Further Pure 1. Complex Numbers. Section 1: Introduction to Complex Numbers. The number system
Complex Numbers Section 1: Introduction to Complex Numbers Notes nd Exmples These notes contin subsections on The number system Adding nd subtrcting complex numbers Multiplying complex numbers Complex
More informationFormal Languages and Automata
Moile Computing nd Softwre Engineering p. 1/5 Forml Lnguges nd Automt Chpter 2 Finite Automt Chun-Ming Liu cmliu@csie.ntut.edu.tw Deprtment of Computer Science nd Informtion Engineering Ntionl Tipei University
More informationSOLUTIONS FOR ANALYSIS QUALIFYING EXAM, FALL (1 + µ(f n )) f(x) =. But we don t need the exact bound.) Set
SOLUTIONS FOR ANALYSIS QUALIFYING EXAM, FALL 28 Nottion: N {, 2, 3,...}. (Tht is, N.. Let (X, M be mesurble spce with σ-finite positive mesure µ. Prove tht there is finite positive mesure ν on (X, M such
More informationAbstract inner product spaces
WEEK 4 Abstrct inner product spces Definition An inner product spce is vector spce V over the rel field R equipped with rule for multiplying vectors, such tht the product of two vectors is sclr, nd the
More informationConservation Law. Chapter Goal. 5.2 Theory
Chpter 5 Conservtion Lw 5.1 Gol Our long term gol is to understnd how mny mthemticl models re derived. We study how certin quntity chnges with time in given region (sptil domin). We first derive the very
More informationSelf-similarity and symmetries of Pascal s triangles and simplices mod p
Sn Jose Stte University SJSU ScholrWorks Fculty Publictions Mthemtics nd Sttistics Februry 2004 Self-similrity nd symmetries of Pscl s tringles nd simplices mod p Richrd P. Kubelk Sn Jose Stte University,
More informationGeneralized Fano and non-fano networks
Generlized Fno nd non-fno networks Nildri Ds nd Brijesh Kumr Ri Deprtment of Electronics nd Electricl Engineering Indin Institute of Technology Guwhti, Guwhti, Assm, Indi Emil: {d.nildri, bkri}@iitg.ernet.in
More informationarxiv:cs/ v1 [cs.lo] 19 Jul 2000
A Theory of Normed Simultions rxiv:cs/0007030v1 [cs.lo] 19 Jul 2000 Dvid Griffioen Frits Vndrger Computing Science Institute, University of Nijmegen P.O. Box 9010, 9500 GL Nijmegen, The Netherlnds Abstrct
More informationMath 113 Fall Final Exam Review. 2. Applications of Integration Chapter 6 including sections and section 6.8
Mth 3 Fll 0 The scope of the finl exm will include: Finl Exm Review. Integrls Chpter 5 including sections 5. 5.7, 5.0. Applictions of Integrtion Chpter 6 including sections 6. 6.5 nd section 6.8 3. Infinite
More informationHomework 4. (1) If f R[a, b], show that f 3 R[a, b]. If f + (x) = max{f(x), 0}, is f + R[a, b]? Justify your answer.
Homework 4 (1) If f R[, b], show tht f 3 R[, b]. If f + (x) = mx{f(x), 0}, is f + R[, b]? Justify your nswer. (2) Let f be continuous function on [, b] tht is strictly positive except finitely mny points
More informationDIRECT CURRENT CIRCUITS
DRECT CURRENT CUTS ELECTRC POWER Consider the circuit shown in the Figure where bttery is connected to resistor R. A positive chrge dq will gin potentil energy s it moves from point to point b through
More informationZero-Sum Magic Graphs and Their Null Sets
Zero-Sum Mgic Grphs nd Their Null Sets Ebrhim Slehi Deprtment of Mthemticl Sciences University of Nevd Ls Vegs Ls Vegs, NV 89154-4020. ebrhim.slehi@unlv.edu Abstrct For ny h N, grph G = (V, E) is sid to
More informationNOTES ON HILBERT SPACE
NOTES ON HILBERT SPACE 1 DEFINITION: by Prof C-I Tn Deprtment of Physics Brown University A Hilbert spce is n inner product spce which, s metric spce, is complete We will not present n exhustive mthemticl
More information5.7 Improper Integrals
458 pplictions of definite integrls 5.7 Improper Integrls In Section 5.4, we computed the work required to lift pylod of mss m from the surfce of moon of mss nd rdius R to height H bove the surfce of the
More informationI1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3
2 The Prllel Circuit Electric Circuits: Figure 2- elow show ttery nd multiple resistors rrnged in prllel. Ech resistor receives portion of the current from the ttery sed on its resistnce. The split is
More information