Parametric and Quantitative Extensions of Modal Transition Systems
|
|
- Flora Clarke
- 5 years ago
- Views:
Transcription
1 Prmetric nd Quntittive Extensions of Modl Trnsition Systems Uli Fhrenberg 1, Kim G. Lrsen 2, Axel Legy 1, nd Louis-Mrie Tronouez 1 1 Inri / IRISA, Rennes, Frnce 2 Alborg University, Alborg, Denmrk Abstrct. Modl trnsition systems provide behviorl nd compositionl specifiction formlism for rective systems. We survey two extensions of modl trnsition systems: prmetric modl trnsition systems for specifictions with prmeters, nd weighted modl trnsition systems for quntittive specifictions. 1 Introduction Modl trnsition systems [21, 23] provide behviorl nd compositionl specifiction formlism for rective systems. They grew out of the notion of reltivized bisimultion [20], which llows for simple specifictions of components by llowing the notion of bisimultion to tke into ccount the restricted use tht given component my hve in its context. A modl trnsition system is essentilly (lbeled) trnsition system, but with two types of trnsitions: so-clled my-trnsitions which ny implementtion my (or my not) hve, nd must-trnsitions which ny implementtion is required to hve. In fct, ordinry lbeled trnsition systems (or implementtions) re modl trnsition systems where the set of my- nd must-trnsitions coincide. Modl trnsition systems come equipped with bisimultion-like notion of (modl) refinement, reflecting tht the more must-trnsitions nd the fewer my-trnsitions modl specifiction hs the more refined nd closer to finl implementtion it is. Exmple 1. Consider the modl trnsition system shown in Fig. 1 which models the requirements of simple emil system in which emils re first received nd then delivered; must- nd my-trnsitions re represented by solid nd dshed rrows, respectively. Before delivering the emil, the system my check or process the emil, e.g. for encryption or decryption, filtering of spm emils, or generting utomtic nswers using n uto-reply feture. Any implementtion of this emil system specifiction must be ble to receive nd deliver emil, nd it my lso be ble to check rriving emil before delivering it. No other behvior is llowed. Such vlid implementtion is given in Fig. 2. The theory of modl trnsition systems (MTS), or modl specifictions s they were clled in the pper [21] in the proceedings of the first CAV conference
2 2 Uli Fhrenberg, Kim G. Lrsen, Axel Legy, nd Louis-Mrie Tronouez deliver receive check deliver Fig. 1: Modl trnsition system modeling simple emil system, with n optionl behvior: Once n emil is received, it my be checked, e.g. be scnned for contining viruses, or utomticlly decrypted, before it is delivered to the receiver. receive deliver delivercheck check deliver Fig. 2: An implementtion of the simple emil system in Fig. 1 in which we explicitly model two distinct types of emil pre-processing. orgnized by Joseph Sifkis in Grenoble, 3 ws iming t providing behviorl compositionl specifiction formlism for rective systems. At the time of the introduction of MTS, there were two predominnt pproches to specifictions formlisms nd verifiction methods for rective nd concurrent systems: logicl pproches where specifiction is set of properties of implementtions (lbeled trnsition systems), nd grphicl pproches promoted by the vrious process lgebrs, where implementtions nd specifictions re systems of the sme kind nmely lbeled trnsition systems, nd verifiction mounts to compre such systems with respect to given behviorl preorder, e.g. bisimilrity. In serch for complete specifiction theory, the following properties hve been considered desirble (the first three were listed in the erly pper [6]): expressiveness: the specifiction formlism should be powerful enough to express ll properties of given implementtion. In other words it should be possible to completely specify ny lbeled trnsition system, up to bisimultion. modulrity: implementtions re often mde out of severl components, nd it should be possible to infer stisfction of n overll specifiction solely on the bsis of sub-specifiction of the sub-components. refinement: one should hve the bility to del with prtil specifictions, requiring more nd more properties bout system, up to its complete specifiction. 3 In fct, the first CAV conference ws not clled CAV, but hd the rther lengthy title Automtic Verifiction Methods for Finite Stte Systems.
3 Prmetric nd Quntittive Extensions of Modl Trnsition Systems 3 logicl composition: specifiction should be composble with respect to usul logicl opertors such s conjunction nd (possibly) disjunction. quotienting: given n overll specifiction S of composite systems s well s sub-specifiction T of sub-component, the existence of quotient specifiction S\T will describe the sufficient nd necessry condition of the remining components in order tht S is stisfied by the totl systems. Applying these criteri to the logicl nd grphicl (i.e. bisimultion) frmework, s ws done in [6], we see tht the logicl nd grphicl frmeworks offer complementry dvntges: on the grphicl side, expressiveness is trivil since process i specifiction of itself. Modulrity is usully gurnteed by the fct tht bisimultions re comptible with (most) process constructors. On the logicl side, expressiveness is chieved if we llow possibly infinite sets of formule s logicl specifictions, or dmit recursively specified properties. The point of modulrity hs proved more difficult with erly ttempts of Sifkis nd Grf [15] nd Holmstrøm [17] providing sound nd highly usble proof systems for specifictions mixing logicl nd behviorl constructs (s well s fix-point constructs) but lcking ccompnying completeness results. Much lter the work of Mrdre nd Policriti [25] provided first mtching completeness result. In the rest of this pper, we survey two extensions of modl trnsition systems. The first extension, prmetric modl trnsition systems, is concerned with systems whose behviors depend on prmeters [4]. The second extension, weighted modl trnsition systems [1, 2] permits to reson on systems whose behviors depend on quntities. Another pper in this volume [11] will be concerned with other extensions of modl trnsition systems which re more closely relted to pplictions. Acknowledgment. This survey pper presents reserch which we hve conducted with number of couthors; in lphbeticl order, these re Sebstin S. Buer, Nikol Beneš, Line Juhl, Jn Křetínský, Mikel H. Møller, Jiří Srb, nd Clus Thrne. We cknowledge their coopertion in this work; ny errors in this presenttion re, however, our own. 2 Prmetric Modl Trnsition Systems It is well dmitted (see e.g. [27]) tht MTS nd their extensions like disjunctive MTS (DMTS) [24], 1-selecting MTS (1MTS) [13] nd trnsition systems with obligtions (OTS) [5] provide strong support for specifiction formlism llowing for step-wise refinement process. Moreover, the MTS formlisms hve pplictions in other contexts, which include verifiction of product lines [16, 22], interfce theories [27, 28] nd modl bstrctions in progrm nlysis [14, 18, 26]. Unfortuntely, ll of these formlisms lck the cpbility to express some intuitive specifiction requirements like exclusive, conditionl nd persistent choices. In [4] the expressive power of MTS nd its vrints hs been extended considerbly so it cn model model rbitrry Boolen conditions on trnsitions
4 4 Uli Fhrenberg, Kim G. Lrsen, Axel Legy, nd Louis-Mrie Tronouez nd lso llows to instntite persistent trnsitions. The model, clled prmetric modl trnsition systems (PMTS), is equipped with finite set of prmeters tht re fixed prior to the instntition of the trnsitions in the specifiction. The generlized notion of modl refinement is designed to hndle the prmetric extension nd it specilizes to the well-studied modl refinements on ll the subclsses of our model like MTS, disjunctive MTS nd MTS with obligtions. 2.1 Motivtion We shll now discuss these limittions on n exmple s motivtion for the introduction of prmetric MTS formlism with generl Boolen conditions in specifiction requirements. Consider simple specifiction of trffic light controller tht cn be t ny moment in one of the four predefined sttes: red, green, yellow or yellowred. The requirements of the specifiction re: when green is on the trffic light my either chnge to red or yellow nd if it turned yellow it must to red fterwrd; when red is on it my either turn to green or yellowred, nd if it turns yellowred (s it is the cse in some countries) it must to green fterwords. Fig. 3 shows n obvious MTS specifiction of the proposed specifiction. The trnsitions in the stndrd MTS formlism re either of type my (optionl trnsitions depicted s dshed lines) or must (required trnsitions depicted s solid lines). In Fig. 3c, Fig. 3d nd Fig. 3e we present three different implementtions of the MTS specifiction where there re no more optionl trnsitions. The implementtion I 1 does not implement ny my trnsition s it is vlid possibility to stisfy the specifiction S 1. Of course, in our concrete exmple, this mens tht the light is constntly green nd it is clerly n undesirble behvior tht cnnot be, however, esily voided. The second implementtion I 2 on the other hnd implements ll my trnsitions, gin legl implementtion in the MTS methodology but not desirble implementtion of trffic light s the next ction is not lwys deterministiclly given. Finlly, the implementtion I 3 of S 1 illustrtes the third problem with the MTS specifictions, nmely tht the choices mde in ech turn re not persistent nd the implementtion lterntes between entering yellow or not. None of these problems cn be voided when using the MTS formlism. A more expressive formlism of disjunctive modl trnsition systems (DMTS) cn overcome some of the bove mentioned problems. A possible DMTS specifiction S 2 is depicted in Fig. 3b. Here the nd trnsitions, s well s nd ones, re disjunctive, mening tht it is still optionl which one is implemented but t lest one of them must be present. Now the system I 1 in Fig. 3c is not vlid implementtion of S 2 ny more. Nevertheless, the undesirble implementtions I 2 nd I 3 re still possible nd the modeling power of DMTS is insufficient to eliminte them. Inspired by the recent notion of trnsition systems with obligtions [5], we cn model the trffic light using specifiction s trnsition system with
5 Prmetric nd Quntittive Extensions of Modl Trnsition Systems 5 yellowred green red yellow () MTS specifiction S 1 (b) DMTS specifiction S 2 (c) Implementtion I 1 (d) Implementtion I 2 (e) Implementtion I 3 Obligtion function: Φ(green) = (, red) (, yellow) Φ(red) = (, green) (, yellowred) (f) Specifiction S 3 Prmeters: {reqyfromr, reqyfromg} Obligtion function: Φ(green) = ((, red) (, yellow)) (reqyfromg (, yellow)) Φ(red) = ((, green) (, yellowred)) (reqyfromr (, yellowred)) (g) PMTS specifiction S 4 Fig. 3: Specifictions nd implementtions of trffic light controller rbitrry 4 obligtion formule. These formule re Boolen propositions over the outing trnsitions from ech stte, whose stisfying ssignments yield the llowed combintions of outing trnsitions. A possible specifiction clled S 3 is given in Fig. 3f nd it uses the opertion of exclusive-or. We will follow n greement tht whenever the obligtion function for some node is not listed in the system description then it is implicitly understood s requiring ll the vilble outing trnsitions to be present. Due to the use of exclusive-or in the obligtion function, the trnsition systems I 1 nd I 2 re not vlid implementtion 4 In the trnsition systems with obligtions only positive Boolen formule re llowed.
6 6 Uli Fhrenberg, Kim G. Lrsen, Axel Legy, nd Louis-Mrie Tronouez ny more. Nevertheless, the implementtion I 3 in Fig. 3e cnnot be voided in this formlism either. Finlly, the problem with the lternting implementtion I 3 is tht we cnnot enforce in ny of the bove mentioned formlisms uniform (persistent) implementtion of the sme trnsitions in ll its sttes. In order to overcome this problem, we propose the so-clled prmetric MTS where we cn, moreover, choose persistently whether the trnsition to yellow is present or not vi the use of prmeters. The PMTS specifiction with two prmeters reqyfromr nd reqyfromg is shown in Fig. 3g. Fixing priori the (Boolen) vlues of the prmeters mkes the choices permnent in the whole implementtion, hence we eliminte lso the lst problemtic implementtion I Definition We shll now formlly cpture the intuition behind prmetric MTS introduced bove. First, we recll the stndrd propositionl logic. A Boolen formul over set X of tomic propositions is given by the following bstrct syntx ϕ ::= tt x ϕ ϕ ψ ϕ ψ where x rnges over X. The set of ll Boolen formule over the set X is denoted by B(X). Let ν X be truth ssignment, i.e. set of vribles with vlue true, then the stisfction reltion ν = ϕ is given by ν = tt, ν = x iff x ν, nd the stisfction of the remining Boolen connectives is defined in the stndrd wy. We lso use the stndrd derived opertors like exclusive-or ϕ ψ = (ϕ ψ) ( ϕ ψ), impliction ϕ ψ = ϕ ψ nd equivlence ϕ ψ = ( ϕ ψ) (ϕ ψ). We cn now proceed with the definition of prmetric MTS. Definition 1. A prmetric MTS (PMTS) over n ction lphbet Σ is tuple (S, T, P, Φ) where S is set of sttes, T S Σ S is trnsition reltion, P is finite set of prmeters, nd Φ : S B((Σ S) P ) is n obligtion function over the tomic propositions contining outing trnsitions nd prmeters. We implicitly ssume tht whenever (, t) Φ(s) then (s,, t) T. By T (s) = {(, t) (s,, t) T } we denote the set of ll outing trnsitions of s. PMTS hs been provided refinement notion tht generlizes the well-studied refinement notions on its subclsses including tht of MTS. In the definition, the prmeters re fixed first (persistence) followed by ll vlid choices modulo the fixed prmeters tht now behve s constnts. First we set the following nottion. Let (S, T, P, Φ) be PMTS nd ν P be truth ssignment. For s S, we denote by Trn ν (s) = {E T (s) E ν = Φ(s)} the set of ll dmissible sets of trnsitions from s under the fixed truth vlues of the prmeters. We cn now define the notion of modl refinement between PMTS.
7 Prmetric nd Quntittive Extensions of Modl Trnsition Systems 7 Prmeters: {reqy } Prmeters: {reqyfromr, reqyfromg} m m m Obligtion function: Φ(green) = ((, red) (, yellow)) (reqy (, yellow)) Φ(red) = ((, green) (, yellowred)) (reqy (, yellowred)) Obligtion function: Φ(green) = ((, red) (, yellow)) (reqyfromg (, yellow)) Φ(red) = ((, green) (, yellowred)) (reqyfromr (, yellowred)) Fig. 4: Exmple of modl refinement Definition 2. Let (S 1, T 1, P 1, Φ 1 ) nd (S 2, T 2, P 2, Φ 2 ) be two PMTS. A binry reltion R S 1 S 2 is modl refinement if for ech µ P 1 there exists ν P 2 such tht for every (s, t) R holds M Trn µ (s) : N Trn ν (t) : (, s ) M : (, t ) N : (s, t ) R (, t ) N : (, s ) M : (s, t ) R. We sy tht s modlly refines t, denoted by s m refinement R such tht (s, t) R. t, if there exists modl Exmple 2. Consider the rightmost PMTS in Fig. 4. It hs two prmeters reqyfromg nd reqyfromr whose vlues cn be set independently nd it cn be refined by the system in the middle of the figure hving only one prmeter reqy. This single prmeter simply binds the two originl prmeters to the sme vlue. The PMTS in the middle cn be further refined into the implementtions where either yellow is lwys used in both cses, or never t ll. Notice tht there re in principle infinitely mny implementtions of the system in the middle, however, they re ll bisimilr to either of the two implementtions depicted in the left of Fig. 4. [4] provides n extensive study of the complexity of refinement checking between prmetric modl trnsitions with clssifiction depending on the complexity of obligtions s well s the presence or bsence of prmeters. For ech combintion the complexity clss of the polynomil hierrchy for which modl refinement is complete is provided. In short, the complexities rnges from P-complete to Π p 4 -complete (thus in PSPACE). 3 Quntittive Modl Trnsition Systems Motivted by pplictions to embedded, rel-time nd hybrid systems, the modl trnsition system frmework hs been extended in order to reson bout
8 8 Uli Fhrenberg, Kim G. Lrsen, Axel Legy, nd Louis-Mrie Tronouez deliver, [1, 4] receive, [1, 3] check, [0, 5] deliver, [1, 2] Fig. 5: Specifiction of simple emil system, similr to Fig. 1, but extended by integer intervls modeling time units for performing the corresponding ctions. quntittive spects [3, 19]. With these pplictions in mind, it is necessry not only to be ble to specify quntittive spects of systems, but lso to formlize successive refinement of quntities. To illustrte this extension, consider gin the modl trnsition system of Fig. 1, but this time with quntities, see Fig. 5: Every trnsition lbel is extended by integer intervls modeling upper nd lower bounds on time required for performing the corresponding ctions. For instnce, the reception of new emil (ction receive) must tke between one nd three time units, the checking of the emil (ction check) is llowed to tke up to five time units. In this quntittive setting, there is problem with using Boolen notion of refinement s is done in the preceding section: If one only cn decide whether or not n implementtion refines specifiction, then the quntittive spects get lost in the refinement process. As n exmple, consider the emil system implementtions in Fig. 6. Implementtion () does not refine the specifiction, s there is n error in the discrete structure of ctions: fter receiving n emil, the system cn check it indefinitely without ever delivering it. Also implementtions (b) nd (c) do not refine the specifiction: (b) tkes too long to receive emil, (c) does not deliver emil fst enough fter checking it. Implementtion (d) on the other hnd is perfect refinement of the specifiction. Intuitively however, implementtions (b) nd (c) conform much better to the specifiction thn implementtion () in Fig. 6: there re no discrepncies in the discrete structure, only the weights re off by 1. Additionlly, the quntittive error in implementtion (c) occurs lter thn the one in (b). Hence one my wnt to sy tht implementtion (d) is in perfect refinement of the specifiction, (c) is slightly off, (b) is bit more problemtic, wheres implementtion () is completely uncceptble. A Boolen notion of refinement does not llow to mke such distinctions between different negtive nswers. To sum up, Boolen notion of refinement is too frgile for quntittive formlisms. Minor nd mjor modifictions in the implementtion cnnot be distinguished, s both of them my reverse the Boolen nswer. As observed e.g. in [9], this view is obsolete; engineers need quntittive notions on how modified implementtions differ. The introduction of such quntittive notion of refinement, nd its consequences for the specifiction theory, re the subject of this section, which is bsed on the ppers [1, 2].
9 Prmetric nd Quntittive Extensions of Modl Trnsition Systems 9 deliver, 3 receive, 2 () check, 1 deliver, 3 receive, 4 (b) deliver, 3 receive, 3 check, 1 deliver, 3 receive, 2 deliver, 3 (c) (d) Fig. 6: Four implementtions of the simple emil system in Fig. 5. Depending on the precise ppliction of our quntittive formlism, there re few choices which one hs to mke. One such choice is the precise definition of quntittive refinement, s the wy quntittive discrepncies between specifictions is mesured e.g. depends on whether differences ccumulte over time or the interest more lies in the mximl individul differences. Another choice is how to combine quntities during structurl composition: when modeling e.g. energy consumption, they should be dded; when modeling timing constrints, some form of conjunction should be used. To fcilitte quntittive resoning on specifictions nd implementtions, we introduce rel-vlued distnce between specifictions such tht perfect refinement corresponds to distnce 0, smll quntittive discrepncies give rise to smll distnces, nd differences in the discrete control structure correspond to distnce. For the exmples in Figs. 5 nd 6, we will deduce the following chin of decresing distnces: = d(i 1, S) > d(i 2, S) > d(i 3, S) > d(i 4, S) = Weighted modl trnsition systems Let Σ be set of lbels with preorder Σ Σ, nd denote by Σ = Σ Σ ω the set of finite nd infinite trces over Σ. len(σ), for σ Σ, denotes the length (finite or infinite) of trce σ. Let ε Σ denote the empty trce, nd for Σ, σ Σ, denote by.σ their conctention. A weighted modl trnsition system (WMTS) is tuple S = (S, s 0,, ) consisting of set S of sttes, n initil stte s 0 S, nd must- nd mytrnsitions, S Σ S for which it holds tht for ll s s there is s b s with b.
10 10 Uli Fhrenberg, Kim G. Lrsen, Axel Legy, nd Louis-Mrie Tronouez b Intuitively, my-trnsition s t specifies tht n implementtion I of S is permitted to hve corresponding trnsition i j, for ny b, wheres must-trnsition s b t postultes tht I is required to implement t lest one corresponding trnsition i j for some b. We will mke this precise below. An WMTS S = (S, s 0,, ) is n implementtion if =. Hence in n implementtion, ll optionl behvior hs been resolved. Definition 3. A modl refinement of WMTS S 1 = (S 1, s 0 1, 1, 1 ), S 2 = (S 2, s 0 2, 2, 2 ) is reltion R S 1 S 2 such tht for ny (s 1, s 2 ) R, 1 2 whenever s 1 1 t 1, then lso s 2 2 t 2 for some 1 2 nd (t 1, t 2 ) R, whenever s t 2, then lso s t 1 for some 1 2 nd (t 1, t 2 ) R. Thus ny behvior which is permitted in S 1 is lso permitted in S 2, nd ny behvior required in S 2 is lso required in S 1. We write S 1 m S 2 if there is modl refinement R S 1 S 2 with (s 0 1, s 0 2) R. The implementtion semntics of WMTS S is the set S = {I m S I implementtion}, nd we write S 1 t S 1 if S 1 S 2, sying tht S 1 thoroughly refines S 2. It follows by trnsitivity of m tht S 1 m S 2 implies S 1 t S 2, hence modl refinement is syntctic over-pproximtion of thorough refinement. 3.2 Distnces Recll tht hemimetric on set X is function d : X X R 0 { } which stisfies d(x, x) = 0 nd d(x, y) + d(y, z) d(x, z) (the tringle inequlity) for ll x, y, z X. Note tht our hemimetrics re extended in tht they cn tke the vlue. We will need to generlize hemimetrics to codomins other thn R 0 { }. For prtilly ordered monoid (L,,, 0), n L-hemimetric on X is function d : X X L which stisfies d(x, x) = 0 nd d(x, y) d(y, z) d(x, z) for ll x, y, z X. Definition 4. A trce distnce is hemimetric td : Σ Σ R 0 { } for which td(, b) = 0 for ll, b Σ with b nd td(σ, τ) = whenever len(σ) len(τ). For ny set M, let LM = (R 0 { }) M the set of functions from M to the extended non-negtive rel line. Then LM is complete lttice with prtil order LM LM given by α β if nd only if α(x) β(x) for ll x M, nd with n ddition given by (α β)(x) = α(x) + β(x). The bottom element of LM is lso the zero of nd given by (x) = 0, nd the top element is (x) =. Definition 5. A recursive specifiction of trce distnce td consists of set M with lttice homomorphism evl : LM R 0 { },
11 Prmetric nd Quntittive Extensions of Modl Trnsition Systems 11 n LM-hemimetric td LM : Σ Σ LM which stisfies td = evl td LM nd td LM (, b) = for ll, b Σ with b, nd function F : Σ Σ LM LM. F must be monotone in the third coordinte nd stisfy, for ll, b Σ nd σ, τ Σ, tht td LM (.σ, b.τ) = F (, b, td LM (σ, τ)). Note tht the definition implies tht for ll, b Σ, td LM (, b) = td LM (.ε, b.ε) = F (, b, td LM (ε, ε)) = F (, b, ). Hence lso F (,, ) = td LM (, ) = for ll Σ. We hve shown in [2, 10, 12] tht ll commonly used trce distnces obey recursive chrcteriztion s bove. The point-wise distnce from [8], for exmple, hs L = R 0 { }, evl = id nd d LM m (.σ, b.τ) = mx(d(, b), d LM m (σ, τ)), where d : Σ Σ R 0 { } is hemimetric on lbels. The limit-verge distnce used in e.g. [7] hs L = (R 0 { }) N, the complete lttice of functions N R 0 { }, evl(α) = lim inf j N α(j) nd d LM m (.σ, b.τ)(j) = 1 j+1d(, b) + j j+1 dlm m (σ, τ). For the rest of this section, we fix recursively specified trce distnce. A WMTS (S, s 0,, ) is deterministic if it holds for ll s S, s 1 s 1, s 2 s 2 for which there is Σ with td LM (, 1 ) nd td LM (, 2 ) tht 1 = 2 nd s 1 = s 2. Definition 6. The lifted modl refinement distnce d LM m : S 1 S 2 L between the sttes of WMTS S 1 = (S 1, s 0 1, 1, 1 ), S 2 = (S 2, s 0 2, 2, 2 ) is defined to be the lest fixed point to the equtions d LM m (s 1, s 2 ) = mx sup 1 s 1 1t 1 sup s 2 2 2t 2 inf F ( 1, 2, d LM m (t 1, t 2 )), 2 s 2 2t 2 inf F ( 1, 2, d LM m (t 1, t 2 )). s 1 1 1t 1 We let d LM m (S 1, S 2 ) = d LM m (s 0 1, s 0 2). The modl refinement distnce is d m = evl d LM m, nd we write S 1 ε m S 2, for ε R 0 { }, if d LM m (S 1, S 2 ) ε. Proposition 1. The modl refinement distnce is well-defined hemimetric, nd S 1 m S 2 implies S 1 0 m S 2. The thorough refinement distnce between WMTS S 1, S 2 is d t (S 1, S 2 ) = sup inf I 1 S 1 I 2 S 2 d m (I 1, I 2 ), nd we write S 1 ε t S 2, for ε R 0 { }, if d t (S 1, S 2 ) ε. As for the modl distnce, d t is hemimetric, nd S 1 t S 2 implies S 1 0 t S 2. Theorem 1. For ll WMTS S 1, S 2, d t (S 1, S 2 ) d m (S 1, S 2 ). If S 2 is deterministic, then d t (S 1, S 2 ) = d m (S 1, S 2 ).
12 12 Uli Fhrenberg, Kim G. Lrsen, Axel Legy, nd Louis-Mrie Tronouez 3.3 Conjunction Let : Σ Σ Σ be commuttive prtil lbel conjunction opertor for which it holds, for ll b 1, b 2 Σ, tht there is Σ for which both td LM (, b 1 ) nd td LM (, b 2 ) iff there exists c Σ for which both b 1 c nd b 2 c re defined. This is to relte determinism (left-hnd side of the bove) to similr property for lbel conjunction which is needed in the proof of Theorem 2. Additionlly, we ssume tht is gretest lower bound on lbels, i.e. for ll, b Σ with b defined, b nd b b; for ll, b, c Σ with b nd c, b c is defined nd b c. In the definition below, we denote by ρ B (S) the pruning of WMTS S = (S, s 0,, ) with respect to the sttes in ( bd ) subset B S, which is obtined s follows: Define must-predecessor opertor pre : 2 S 2 S by pre(s ) = {s S Σ, s S : s s } nd let pre be the reflexive, trnsitive closure of pre. Then ρ B (S) is defined if s 0 / pre (B), nd in tht cse, ρ B (S) = (S ρ, s 0, ρ, ρ ) with S ρ = S \ pre (B), ρ = (S ρ Σ S ρ ), nd ρ = (S ρ Σ S ρ ). Definition 7. The conjunction of two WMTS S 1 = (S 1, s 0 1, 1, 1 ), S 2 = (S 2, s 0 2, 2, 2 ) is the WMTS S 1 S 2 = ρ B (S 1 S 2, (s 0 1, s 0 2),, ) given s follows (if it exists): s t 1 s 2 2 t 2 (s 1, s 2) 1 2 (t1, t 2) 1 2 defined 1 2 s 1 1 t 1 s 2 2 t 2 s t 1 s 2 2 t 2 : 1 2 undef. (s 1, s 2) B (s 1, s 2) 1 2 (t 1, t 2) 1 s 1 1 t 1 s t defined (s 1, s 2) 1 2 (t1, t 2) 1 2 defined s t 2 s 1 1 t 1 : 1 2 undef. (s 1, s 2) B Note tht conjunction of WMTS my give inconsistent sttes which need to be pruned wy fter. As seen in the lst two SOS rules bove, this is the cse when one WMTS specifies must-trnsition which the other WMTS cnnot synchronize with. Here, the demnd on implementtions of the conjunction would be tht they simultneously must nd cnnot hve trnsition, which of course is unstisfible. Theorem 2. Let S 1, S 2, S 3 be WMTS. If S 1 S 2 is defined, then S 1 S 2 m S 1 nd S 1 S 2 m S 2. If S 1 m S 2, S 1 m S 3, nd S 2 or S 3 is deterministic, then S 2 S 3 is defined nd S 1 m S 2 S 2.
13 Prmetric nd Quntittive Extensions of Modl Trnsition Systems Structurl composition Let ɵ : Σ Σ Σ be commuttive prtil lbel composition opertor which specifies which lbels cn synchronize. Agin we need to relte determinism to n nlous property for lbel composition, hence we require tht it holds, for ll b 1, b 2 Σ, tht there is Σ for which both d(, b 1 ) L nd d(, b 2 ) L iff there exists c Σ for which both b 1 ɵ c nd b 2 ɵ c re defined. Additionlly, we ssume tht there exists function P : L L L which llows us to infer bounds on distnces on synchronized lbels. We ssume tht P is monotone in both coordintes, hs P ( L, L) = L, P (α, L) = P ( L, α) = L for ll α L, nd tht F ( 1 ɵ 2, b 1 ɵ b 2, P (α 1, α 2 )) L P (F ( 1, b 1, α 1 ), F ( 2, b 2, α 2 )) (1) for ll 1, b 1, 2, b 2 Σ nd α 1, α 2 L for which 1 ɵ 2 nd b 1 ɵ b 2 re defined. Hence d( 1 ɵ 2, b 1 ɵ b 2 ) P (d( 1, b 1 ), d( 2, b 2 )) for ll such 1, b 1, 2, b 2 Σ. Intuitively, P gives uniform bound on lbel composition: distnces between composed lbels cn be bounded bove using P nd the individul lbels distnces, nd (1) ensures tht this bound holds recursively. Definition 8. The structurl composition of two WMTS S 1 = (S 1,s 0 1, 1, 1 ), S 2 = (S 2, s 0 2, 2, 2 ) is the WMTS S 1 S 2 = (S 1 S 2, (s 1 0, s 2 0),, ) with trnsitions defined s follows: s t 1 s t 2 (s 1, s 2 ) 1ɵ2 (t 1, t 2 ) 1 ɵ 2 def. s t 1 s t 2 (s 1, s 2 ) 1ɵ2 (t 1, t 2 ) 1 ɵ 2 def. The next theorem shows tht structurl composition supports quntittive independent implementbility: the distnce between structurl compositions cn bounded bove using P nd the distnces between the individul components. Theorem 3. For ll WMTS S 1, T 1, S 2, T 2 with d m (S 1 S 2, T 1 T 2 ) L, we hve d m (S 1 S 2, T 1 T 2 ) L P (d m (S 1, T 1 ), d m (S 2, T 2 )). References 1. Sebstin S. Buer, Uli Fhrenberg, Line Juhl, Kim G. Lrsen, Axel Legy, nd Clus Thrne. Quntittive refinement for weighted modl trnsition systems. In MFCS, volume 6907 of LNCS, pges Springer, Sebstin S. Buer, Uli Fhrenberg, Axel Legy, nd Clus Thrne. Generl quntittive specifiction theories with modlities. In CSR, volume 7353 of LNCS, pges Springer, Sebstin S. Buer, Line Juhl, Kim G. Lrsen, Axel Legy, nd Jiří Srb. Extending modl trnsition systems with structured lbels. Mthemticl Structures in Computer Science, 22(4): , Nikol Beneš, Jn Křetínský, Kim G. Lrsen, Mikel H. Møller, nd Jiří Srb. Prmetric modl trnsition systems. In ATVA, volume 6996 of LNCS, pges Springer, 2011.
14 14 Uli Fhrenberg, Kim G. Lrsen, Axel Legy, nd Louis-Mrie Tronouez 5. Nikol Beneš nd Jn Křetínský. Process lgebr for modl trnsition systemses. In MEMICS, volume 16 of OASICS, pges Schloss Dgstuhl - Leibniz-Zentrum fuer Informtik, Germny, Gérrd Boudol nd Kim G. Lrsen. Grphicl versus logicl specifictions. In CAAP, volume 431 of LNCS, pges Springer, Pvol Černý, Thoms A. Henzinger, nd Arjun Rdhkrishn. Simultion distnces. Theor. Comput. Sci., 413(1):21 35, Luc de Alfro, Mrco Fell, Thoms A. Henzinger, Rupk Mjumdr, nd Mriëlle Stoeling. Model checking discounted temporl properties. Theor. Comput. Sci., 345(1): , Luc de Alfro, Mrco Fell, nd Mriëlle Stoeling. Liner nd brnching system metrics. IEEE Trns. Softwre Eng., 35(2): , Uli Fhrenberg, Axel Legy, nd Clus Thrne. The quntittive liner-time brnching-time spectrum. In FSTTCS, volume 13 of LIPIcs, pges Schloss Dgstuhl - Leibniz-Zentrum fuer Informtik, Uli Fhrenberg, Axel Legy, nd Louis-Mrie Tronouez. Specifiction theories for probbilistic nd rel-time systems. In From Progrms to Systems The Systems Perspective in Computing, volume 8415 of LNCS. Springer, In this volume. 12. Uli Fhrenberg, Clus R. Thrne, nd Kim G. Lrsen. Distnces for weighted trnsition systems: Gmes nd properties. In QAPL, volume 57 of Electr. Proc. Theor. Comput. Sci., pges , Hrld Fecher nd Heiko Schmidt. Compring disjunctive modl trnsition systems with n one-selecting vrint. J. Logic Alg. Progrm., 77(1-2):20 39, Ptrice Godefroid, Michel Huth, nd Rdh Jgdeesn. Abstrction-bsed model checking using modl trnsition systems. In CONCUR, volume 2154 of LNCS, pges Springer, Susnne Grf nd Joseph Sifkis. A logic for the description of non-deterministic progrms nd their properties. Inf. Control, 68(1-3): , Alexnder Gruler, Mrtin Leucker, nd Kthrin D. Scheidemnn. Modeling nd model checking softwre product lines. In FMOODS, volume 5051 of LNCS, pges Springer, Sören Holmström. A refinement clculus for specifictions in Hennessy-Milner logic with recursion. Forml Asp. Comput., 1(3): , Michel Huth, Rdh Jgdeesn, nd Dvid A. Schmidt. Modl trnsition systems: A foundtion for three-vlued progrm nlysis. In ESOP, volume 2028 of LNCS, pges Springer, Line Juhl, Kim G. Lrsen, nd Jiří Srb. Modl trnsition systems with weight intervls. J. Log. Algebr. Progrm., 81(4): , Kim G. Lrsen. A context dependent equivlence between processes. Theor. Comput. Sci., 49: , Kim G. Lrsen. Modl specifictions. In Automtic Verifiction Methods for Finite Stte Systems, volume 407 of LNCS, pges Springer, Kim G. Lrsen, Ulrik Nymn, nd Andrzej Wąsowski. On modl refinement nd consistency. In CONCUR, volume 4703 of LNCS, pges Springer, Kim G. Lrsen nd Bent Thomsen. A modl process logic. In LICS, pges IEEE Computer Society, Kim G. Lrsen nd Liu Xinxin. Eqution solving using modl trnsition systems. In LICS, pges IEEE Computer Society, Rdu Mrdre nd Alberto Policriti. A complete xiomtic system for processbsed sptil logic. In MFCS, volume 5162 of LNCS, pges Springer, 2008.
15 Prmetric nd Quntittive Extensions of Modl Trnsition Systems Sebstin Nnz, Flemming Nielson, nd Hnne Riis Nielson. Modl bstrctions of concurrent behviour. In SAS, volume 5079 of LNCS, pges Springer, Jen-Bptiste Rclet, Eric Bdouel, Albert Benveniste, Benoît Cillud, nd Roberto Psserone. Why re modlities od for interfce theories? In ACSD, pges IEEE, Sebstián Uchitel nd Mrsh Chechik. Merging prtil behviourl models. In FSE, pges ACM, 2004.
Parametric and Quantitative Extensions of Modal Transition Systems
Parametric and Quantitative Extensions of Modal Transition Systems Uli Fahrenberg, Kim G. Larsen, Axel Legay, Louis-Marie Traonouez To cite this version: Uli Fahrenberg, Kim G. Larsen, Axel Legay, Louis-Marie
More informationarxiv: v2 [cs.lo] 10 Jun 2014
Structurl Refinement for the Modl nu-clculus Uli Fhrenberg, Axel Legy, nd Louis-Mrie Tronouez Inri / IRISA, Cmpus de Beulieu, 35042 Rennes CEDEX, Frnce rxiv:1402.2143v2 [cs.lo] 10 Jun 2014 Abstrct. We
More informationStuttering for Abstract Probabilistic Automata
Stuttering for Abstrct Probbilistic Automt Benoît Delhye 1, Kim G. Lrsen 2, nd Axel Legy 1 1 INRIA/IRISA, Frnce, {benoit.delhye,xel.legy}@inri.fr 2 Alborg University, Denmrk, kgl@cs.u.dk Abstrct. Probbilistic
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 informationModal Transition Systems: Composition and LTL Model Checking
Modl Trnsition Systems: Composition nd LTL Model Checking Nikol Beneš 1, Ivn Černá1, nd Jn Křetínský 1,2 1 Fculty of Informtics, Msryk University, Brno, Czech Republic 2 Institut für Informtik, Technische
More informationarxiv: v1 [cs.lo] 4 Jun 2013
Hennessy-Milner Logic with Gretest Fixed Points s Complete Behviourl Specifiction Theory rxiv:1306.0741v1 [cs.lo] 4 Jun 2013 Nikol Beneš 1, Benoît Delhye 2, Uli Fhrenberg 2, Jn Křetínský 1,3, nd Axel Legy
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 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 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 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 informationHennessy-Milner Logic 1.
Hennessy-Milner Logic 1. Colloquium in honor of Robin Milner. Crlos Olrte. Pontifici Universidd Jverin 28 April 2010. 1 Bsed on the tlks: [1,2,3] Prof. Robin Milner (R.I.P). LIX, Ecole Polytechnique. Motivtion
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 informationUNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3
UNIFORM CONVERGENCE Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3 Suppose f n : Ω R or f n : Ω C is sequence of rel or complex functions, nd f n f s n in some sense. Furthermore,
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 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 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 informationModal Transition Systems with Weight Intervals
Modl Trnsition Systems with Weight Intervls Line Juhl, Kim G. Lrsen, Jiří Srb 1 Alborg University, Deprtment of Computer Science, Selm Lgerlöfs Vej 300, 9220 Alborg Ø Abstrct We propose weighted modl trnsition
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 informationA Compositional Approach on Modal Specifications for Timed Systems
A Compositionl Approch on Modl Specifictions for Timed Systems Nthlie Bertrnd 1, Axel Legy 1, Sophie Pinchint 2, nd Jen-Bptiste Rclet 3 1 INRIA Rennes, Frnce 2 IRISA & Université Rennes 1, Frnce 3 INRIA
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 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 informationBernoulli Numbers Jeff Morton
Bernoulli Numbers Jeff Morton. We re interested in the opertor e t k d k t k, which is to sy k tk. Applying this to some function f E to get e t f d k k tk d k f f + d k k tk dk f, we note tht since f
More informationIntuitionistic Fuzzy Lattices and Intuitionistic Fuzzy Boolean Algebras
Intuitionistic Fuzzy Lttices nd Intuitionistic Fuzzy oolen Algebrs.K. Tripthy #1, M.K. Stpthy *2 nd P.K.Choudhury ##3 # School of Computing Science nd Engineering VIT University Vellore-632014, TN, Indi
More informationARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac
REVIEW OF ALGEBRA Here we review the bsic rules nd procedures of lgebr tht you need to know in order to be successful in clculus. ARITHMETIC OPERATIONS The rel numbers hve the following properties: b b
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 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 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 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 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 informationNotes on length and conformal metrics
Notes on length nd conforml metrics We recll how to mesure the Eucliden distnce of n rc in the plne. Let α : [, b] R 2 be smooth (C ) rc. Tht is α(t) (x(t), y(t)) where x(t) nd y(t) re smooth rel vlued
More information1 Online Learning and Regret Minimization
2.997 Decision-Mking in Lrge-Scle Systems My 10 MIT, Spring 2004 Hndout #29 Lecture Note 24 1 Online Lerning nd Regret Minimiztion In this lecture, we consider the problem of sequentil decision mking in
More informationMath 1B, lecture 4: Error bounds for numerical methods
Mth B, lecture 4: Error bounds for numericl methods Nthn Pflueger 4 September 0 Introduction The five numericl methods descried in the previous lecture ll operte by the sme principle: they pproximte the
More informationProperties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives
Block #6: Properties of Integrls, Indefinite Integrls Gols: Definition of the Definite Integrl Integrl Clcultions using Antiderivtives Properties of Integrls The Indefinite Integrl 1 Riemnn Sums - 1 Riemnn
More informationRelating logic to formal languages
Relting logic to forml lnguges Kml Lody The Institute of Mthemticl Sciences, Chenni October 2018 Reding 1. Howrd Strubing: Forml lnguges, finite utomt nd circuit complexity, birkhäuser. 2. Wolfgng Thoms:
More informationCOMPUTER SCIENCE TRIPOS
CST.2011.2.1 COMPUTER SCIENCE TRIPOS Prt IA Tuesdy 7 June 2011 1.30 to 4.30 COMPUTER SCIENCE Pper 2 Answer one question from ech of Sections A, B nd C, nd two questions from Section D. Submit the nswers
More informationTheoretical foundations of Gaussian quadrature
Theoreticl foundtions of Gussin qudrture 1 Inner product vector spce Definition 1. A vector spce (or liner spce) is set V = {u, v, w,...} in which the following two opertions re defined: (A) Addition of
More informationf(x)dx . Show that there 1, 0 < x 1 does not exist a differentiable function g : [ 1, 1] R such that g (x) = f(x) for all
3 Definite Integrl 3.1 Introduction In school one comes cross the definition of the integrl of rel vlued function defined on closed nd bounded intervl [, b] between the limits nd b, i.e., f(x)dx s the
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 14. Matrix Representations of Linear Transformations
Chpter 4 Mtrix Representtions of Liner Trnsformtions When considering the Het Stte Evolution, we found tht we could describe this process using multipliction by mtrix. This ws nice becuse computers cn
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 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 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 informationEuler, Ioachimescu and the trapezium rule. G.J.O. Jameson (Math. Gazette 96 (2012), )
Euler, Iochimescu nd the trpezium rule G.J.O. Jmeson (Mth. Gzette 96 (0), 36 4) The following results were estblished in recent Gzette rticle [, Theorems, 3, 4]. Given > 0 nd 0 < s
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 informationRELATIONAL MODEL.
RELATIONAL MODEL Structure of Reltionl Dtbses Reltionl Algebr Tuple Reltionl Clculus Domin Reltionl Clculus Extended Reltionl-Algebr- Opertions Modifiction of the Dtbse Views EXAMPLE OF A RELATION BASIC
More informationCMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature
CMDA 4604: Intermedite Topics in Mthemticl Modeling Lecture 19: Interpoltion nd Qudrture In this lecture we mke brief diversion into the res of interpoltion nd qudrture. Given function f C[, b], we sy
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 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 informationNumerical Integration
Chpter 5 Numericl Integrtion Numericl integrtion is the study of how the numericl vlue of n integrl cn be found. Methods of function pproximtion discussed in Chpter??, i.e., function pproximtion vi the
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 informationMath 270A: Numerical Linear Algebra
Mth 70A: Numericl Liner Algebr Instructor: Michel Holst Fll Qurter 014 Homework Assignment #3 Due Give to TA t lest few dys before finl if you wnt feedbck. Exercise 3.1. (The Bsic Liner Method for Liner
More informationTaylor Polynomial Inequalities
Tylor Polynomil Inequlities Ben Glin September 17, 24 Abstrct There re instnces where we my wish to pproximte the vlue of complicted function round given point by constructing simpler function such s polynomil
More informationNatural examples of rings are the ring of integers, a ring of polynomials in one variable, the ring
More generlly, we define ring to be non-empty set R hving two binry opertions (we ll think of these s ddition nd multipliction) which is n Abelin group under + (we ll denote the dditive identity by 0),
More informationGoals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite
Unit #8 : The Integrl Gols: Determine how to clculte the re described by function. Define the definite integrl. Eplore the reltionship between the definite integrl nd re. Eplore wys to estimte the definite
More informationChapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1
Chpter Five: Nondeterministic Finite Automt Forml Lnguge, chpter 5, slide 1 1 A DFA hs exctly one trnsition from every stte on every symol in the lphet. By relxing this requirement we get relted ut more
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 informationBest Approximation in the 2-norm
Jim Lmbers MAT 77 Fll Semester 1-11 Lecture 1 Notes These notes correspond to Sections 9. nd 9.3 in the text. Best Approximtion in the -norm Suppose tht we wish to obtin function f n (x) tht is liner combintion
More informationRiemann is the Mann! (But Lebesgue may besgue to differ.)
Riemnn is the Mnn! (But Lebesgue my besgue to differ.) Leo Livshits My 2, 2008 1 For finite intervls in R We hve seen in clss tht every continuous function f : [, b] R hs the property tht for every ɛ >
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 informationA REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H. Thomas Shores Department of Mathematics University of Nebraska Spring 2007
A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H Thoms Shores Deprtment of Mthemtics University of Nebrsk Spring 2007 Contents Rtes of Chnge nd Derivtives 1 Dierentils 4 Are nd Integrls 5 Multivrite Clculus
More information1 1D heat and wave equations on a finite interval
1 1D het nd wve equtions on finite intervl In this section we consider generl method of seprtion of vribles nd its pplictions to solving het eqution nd wve eqution on finite intervl ( 1, 2. Since by trnsltion
More informationHere we study square linear systems and properties of their coefficient matrices as they relate to the solution set of the linear system.
Section 24 Nonsingulr Liner Systems Here we study squre liner systems nd properties of their coefficient mtrices s they relte to the solution set of the liner system Let A be n n Then we know from previous
More informationHow to simulate Turing machines by invertible one-dimensional cellular automata
How to simulte Turing mchines by invertible one-dimensionl cellulr utomt Jen-Christophe Dubcq Déprtement de Mthémtiques et d Informtique, École Normle Supérieure de Lyon, 46, llée d Itlie, 69364 Lyon Cedex
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 informationA Survey of Modal Logics Characterising Behavioural Equivalences for Non-deterministic and Stochastic Systems
Under considertion for publiction in Mth. Struct. in Comp. Science A Survey of Modl Logics Chrcterising Behviourl Equivlences for Non-deterministic nd Stochstic Systems M A R C O B E R N A R D O nd S T
More informationAdvanced Calculus: MATH 410 Uniform Convergence of Functions Professor David Levermore 11 December 2015
Advnced Clculus: MATH 410 Uniform Convergence of Functions Professor Dvid Levermore 11 December 2015 12. Sequences of Functions We now explore two notions of wht it mens for sequence of functions {f n
More informationChapter 1. Basic Concepts
Socrtes Dilecticl Process: The Þrst step is the seprtion of subject into its elements. After this, by deþning nd discovering more bout its prts, one better comprehends the entire subject Socrtes (469-399)
More informationMath& 152 Section Integration by Parts
Mth& 5 Section 7. - Integrtion by Prts Integrtion by prts is rule tht trnsforms the integrl of the product of two functions into other (idelly simpler) integrls. Recll from Clculus I tht given two differentible
More informationHow do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?
XII. LINEAR ALGEBRA: SOLVING SYSTEMS OF EQUATIONS Tody we re going to tlk bout solving systems of liner equtions. These re problems tht give couple of equtions with couple of unknowns, like: 6 2 3 7 4
More information1B40 Practical Skills
B40 Prcticl Skills Comining uncertinties from severl quntities error propgtion We usully encounter situtions where the result of n experiment is given in terms of two (or more) quntities. We then need
More informationReview of basic calculus
Review of bsic clculus This brief review reclls some of the most importnt concepts, definitions, nd theorems from bsic clculus. It is not intended to tech bsic clculus from scrtch. If ny of the items below
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 informationIntroduction to Group Theory
Introduction to Group Theory Let G be n rbitrry set of elements, typiclly denoted s, b, c,, tht is, let G = {, b, c, }. A binry opertion in G is rule tht ssocites with ech ordered pir (,b) of elements
More informationReview of Riemann Integral
1 Review of Riemnn Integrl In this chpter we review the definition of Riemnn integrl of bounded function f : [, b] R, nd point out its limittions so s to be convinced of the necessity of more generl integrl.
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 informationMORE FUNCTION GRAPHING; OPTIMIZATION. (Last edited October 28, 2013 at 11:09pm.)
MORE FUNCTION GRAPHING; OPTIMIZATION FRI, OCT 25, 203 (Lst edited October 28, 203 t :09pm.) Exercise. Let n be n rbitrry positive integer. Give n exmple of function with exctly n verticl symptotes. Give
More informationarxiv: v1 [math.ra] 1 Nov 2014
CLASSIFICATION OF COMPLEX CYCLIC LEIBNIZ ALGEBRAS DANIEL SCOFIELD AND S MCKAY SULLIVAN rxiv:14110170v1 [mthra] 1 Nov 2014 Abstrct Since Leibniz lgebrs were introduced by Lody s generliztion of Lie lgebrs,
More informationSOLUTIONS FOR ADMISSIONS TEST IN MATHEMATICS, COMPUTER SCIENCE AND JOINT SCHOOLS WEDNESDAY 5 NOVEMBER 2014
SOLUTIONS FOR ADMISSIONS TEST IN MATHEMATICS, COMPUTER SCIENCE AND JOINT SCHOOLS WEDNESDAY 5 NOVEMBER 014 Mrk Scheme: Ech prt of Question 1 is worth four mrks which re wrded solely for the correct nswer.
More informationMath 360: A primitive integral and elementary functions
Mth 360: A primitive integrl nd elementry functions D. DeTurck University of Pennsylvni October 16, 2017 D. DeTurck Mth 360 001 2017C: Integrl/functions 1 / 32 Setup for the integrl prtitions Definition:
More informationODE: Existence and Uniqueness of a Solution
Mth 22 Fll 213 Jerry Kzdn ODE: Existence nd Uniqueness of Solution The Fundmentl Theorem of Clculus tells us how to solve the ordinry differentil eqution (ODE) du = f(t) dt with initil condition u() =
More informationLearning Moore Machines from Input-Output Traces
Lerning Moore Mchines from Input-Output Trces Georgios Gintmidis 1 nd Stvros Tripkis 1,2 1 Alto University, Finlnd 2 UC Berkeley, USA Motivtion: lerning models from blck boxes Inputs? Lerner Forml Model
More informationFinite Automata. Informatics 2A: Lecture 3. Mary Cryan. 21 September School of Informatics University of Edinburgh
Finite Automt Informtics 2A: Lecture 3 Mry Cryn School of Informtics University of Edinburgh mcryn@inf.ed.c.uk 21 September 2018 1 / 30 Lnguges nd Automt Wht is lnguge? Finite utomt: recp Some forml definitions
More informationdt. However, we might also be curious about dy
Section 0. The Clculus of Prmetric Curves Even though curve defined prmetricly my not be function, we cn still consider concepts such s rtes of chnge. However, the concepts will need specil tretment. For
More informationMATH34032: Green s Functions, Integral Equations and the Calculus of Variations 1
MATH34032: Green s Functions, Integrl Equtions nd the Clculus of Vritions 1 Section 1 Function spces nd opertors Here we gives some brief detils nd definitions, prticulrly relting to opertors. For further
More informationThe final exam will take place on Friday May 11th from 8am 11am in Evans room 60.
Mth 104: finl informtion The finl exm will tke plce on Fridy My 11th from 8m 11m in Evns room 60. The exm will cover ll prts of the course with equl weighting. It will cover Chpters 1 5, 7 15, 17 21, 23
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 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 informationPlaying Games with Timed Games,
Plying Gmes with Timed Gmes, Thoms Chtin Alexndre Dvid Kim G. Lrsen LSV, ENS Cchn, CNRS, Frnce (emil: chtin@lsv.ens-cchn.fr) Deprtment of Computer Science, Alborg University, Denmrk (emil: {kgl,dvid}@cs.u.dk)
More informationMath 113 Exam 1-Review
Mth 113 Exm 1-Review September 26, 2016 Exm 1 covers 6.1-7.3 in the textbook. It is dvisble to lso review the mteril from 5.3 nd 5.5 s this will be helpful in solving some of the problems. 6.1 Are Between
More informationCalculus of Variations
Clculus of Vritions Com S 477/577 Notes) Yn-Bin Ji Dec 4, 2017 1 Introduction A functionl ssigns rel number to ech function or curve) in some clss. One might sy tht functionl is function of nother function
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 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 informationChapters 4 & 5 Integrals & Applications
Contents Chpters 4 & 5 Integrls & Applictions Motivtion to Chpters 4 & 5 2 Chpter 4 3 Ares nd Distnces 3. VIDEO - Ares Under Functions............................................ 3.2 VIDEO - Applictions
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 informationPre-Session Review. Part 1: Basic Algebra; Linear Functions and Graphs
Pre-Session Review Prt 1: Bsic Algebr; Liner Functions nd Grphs A. Generl Review nd Introduction to Algebr Hierrchy of Arithmetic Opertions Opertions in ny expression re performed in the following order:
More informationand that at t = 0 the object is at position 5. Find the position of the object at t = 2.
7.2 The Fundmentl Theorem of Clculus 49 re mny, mny problems tht pper much different on the surfce but tht turn out to be the sme s these problems, in the sense tht when we try to pproimte solutions we
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 informationOperations with Polynomials
38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: How to identify the leding coefficients nd degrees of polynomils How to dd nd subtrct polynomils How to multiply polynomils
More informationCS 330 Formal Methods and Models Dana Richards, George Mason University, Spring 2016 Quiz Solutions
CS 330 Forml Methods nd Models Dn Richrds, George Mson University, Spring 2016 Quiz Solutions Quiz 1, Propositionl Logic Dte: Ferury 9 1. (4pts) ((p q) (q r)) (p r), prove tutology using truth tles. p
More informationChapter 2 Finite Automata
Chpter 2 Finite Automt 28 2.1 Introduction Finite utomt: first model of the notion of effective procedure. (They lso hve mny other pplictions). The concept of finite utomton cn e derived y exmining wht
More information