Process Algebra Having Inherent Choice: Revised Semantics for Concurrent Systems 1

Size: px
Start display at page:

Download "Process Algebra Having Inherent Choice: Revised Semantics for Concurrent Systems 1"

Transcription

1 SOS 2007 Process Algebr Hving Inherent Choice: Revised Semntics for Concurrent Systems 1 Hrld Fecher 2 Deprtment of Computing Imperil College London, UK Heiko Schmidt 3 Institut für Informtik Christin-Albrechts-Universität Kiel, Germny Abstrct Process lgebrs re stndrd formlisms for compositionlly describing systems by the dependencies of their observble synchronous communiction. In concurrent systems, prllel composition introduces resolvble nondeterminism, i.e., nondeterminism tht will be resolved in lter design phses or by the operting system. Sometimes it is lso importnt to express inherent nondeterminism for equl (communiction) lbels. Here, we give opertionl nd xiomtic semntics to process lgebr hving prllel opertor interpreted s concurrent nd hving choice opertor interpreted s inherent, not only w.r.t. different, but lso w.r.t. equl next-step ctions. In order to hndle the different kinds of nondeterminism, the opertionl semntics uses µ-utomt s underlying semnticl model. Soundness nd completeness of our xiom system w.r.t. the opertionl semntics is shown. Keywords: nondeterminism, process lgebr, xiom system, expnsion theorem, µ-utomt 1 Introduction Process lgebrs, see [2] for n overview, re stndrd formlisms for compositionlly describing systems bsed, e.g., on synchronous communiction on n bstrct level by the dependencies of their observble communiction. They serve s domin for semnticl foundtions of progrmming or modeling lnguges nd re lso used s modeling lnguges [6]. Exmple 1.1 Suppose there re two processes running concurrently on single processor computer tht both hve the possibility to send print jobs to printer. 1 This work is in prt finncilly supported by the DFG project Refism (FE 942/1-1) 2 Emil: hfecher@doc.ic.c.uk 3 Emil: hsc@informtik.uni-kiel.de This pper is electroniclly published in Electronic Notes in Theoreticl Computer Science

2 Fecher, Schmidt request request cncel request sendphoto request request request sendphoto senddoc senddoc cncel request cncel senddoc M senddoc sendphoto request cncel request sendphoto senddoc senddoc senddoc cncel request sendphoto request cncel senddoc Mrs ref Fig. 1. The trnsition system c M corresponding to the semntics of (1) nd refinement c M rs ref of c M w.r.t. redy simultion Prior to sending the dt to the printer, ny process must gin exclusive ccess to the printer by synchronizing on n ction request. After tht, the print job cn be sent. In our exmple, the first process sends photo (sendphoto), wheres the second sends document (senddoc). Furthermore, the first process cn be disrupted by user vi ction cncel. This simplified concurrent system (in prllel environment) cn be modeled in process lgebr bsed on synchronous communiction by (1) (request.sendphoto + cncel) (request.senddoc) where the printer nd the user tht cn disrupt belong to the environment. Here, opertor denotes prllel composition,.b denotes ction prefix, nd + denotes the choice opertor. The semntics of (1) in terms of trnsition system is given by M of Figure 1. In the trnsition system of the bove exmple two kinds of choice cn be distinguished: (i) Externl choice represented by outgoing edges with different lbels. This choice occurs in implementtions nd remins undecided until in n execution the environment decides which of the possible ctions is performed. (ii) Internl (nondeterministic) choice represented by outgoing edges with the sme lbels. This nondeterminism is resolved by the scheduler 4 of the operting system, since the two processes run on single processor computer: The scheduler will decide which process my perform its request ction, i.e., synchronize to get exclusive ccess to the printer. This refinement, performed by dding the scheduler, is formlly mde precise by redy simultion [5], which essentilly llows the removl of multiple outgoing edges with the sme lbel, s long s one remins (see Figure 1). Nondeterminism tht will be removed in lter design phses or by the operting system is clled resolvble nondeterminism, wheres nondeterminism tht hs to remin in implementtions nd is decided independently for ech execution (e.g., by rndom), is clled inherent nondeterminism. Consequently, the nondeterminism introduced by bstrcting from schedulers in concurrent setting is resolvble. Note, however, tht in stndrd semntics bsed on bisimultion the bstrction from schedulers cn be regrded s inherent (since trnsition systems with bisimultion cnnot express resolvble nondeterminism). We consider this to be counterintuitive in most cses, becuse schedulers usully do not show rndom behviour tht is determined independently for ech execution. Brnching time logics, like the modl µ-clculus [17], re often used for describing properties of process lgebrs. Unfortuntely, they re not preserved under refinement bsed on redy simultion. Consider, e.g., the sttement tht there is n immedite request ction enbled such tht fterwrds no document cn be sent 4 In genertive rther thn rective setting, different outgoing lbels cn lso express internl choice nd thus be resolved by the scheduler. However, this pper only considers rective systems. 56

3 to the printer. This property is described by the µ-clculus formul (2) request ([senddoc] flse ). Property (2) holds in M of Figure 1, but not in its refinement ref of Figure 1. This illustrtes tht brnching times properties pplied to concurrent setting need to be interpreted w.r.t. sets of schedulers: φ requires the existence of scheduler such tht φ holds fter the execution of, nd [] φ sttes tht, independent of which scheduler is chosen, φ will hold fter the execution of. Consequently, property (2) hs to be understood s follows: There is scheduler for the next step such tht request is enbled nd its execution (which is deterministic if the scheduler is given) leds to stte where senddoc is for ny scheduler disbled. Since the refinement in Figure 1 specilizes schedulers, µ-clculus formul (2) is not preserved. In Exmple 1.1, we illustrted tht resolvble nondeterminism nturlly rises through prllel composition. In the following exmples we rgue tht lso inherent nondeterminism, i.e., internl choice tht remins in running implementtions, occurs in pplictions: Exmple 1.2 In the sitution of Exmple 1.1, ssume fulty chnnel between the first process nd the printer. Then it is possible tht signl request (e.g., encoded s 1) cn be turned into signl cncel (e.g., encoded s 0). This is reflected by the process lgebr term (3) M rs (request.sendphoto + request + cncel) (request.senddoc). We get inherent nondeterminism w.r.t. the sme lbel request, becuse in cse of fulty trnsmission it hs to be hndled s n ction cncel. The nondeterminism is inherent, becuse refinement cnnot decide on the existence of fult, this is decided for every execution. Exmple 1.3 In the sitution of Exmple 1.1, consider request to be n bstrct ction [25] for more refined lbels like requestlowres nd requesthighres, where the first estblishes ccess to the low resolution printing fetures of the printer, nd the second gins ccess to the high resolution fetures. Then, bsed on the printing cpbilities offered by the printer, the usul photo cn be sent (sendphoto) or low resolution lterntive (sendlowresphoto). This is reflected by the following process lgebr term hving inherent nondeterminism w.r.t. the sme lbel request: (4) (request.sendphoto + request.sendlowresphoto + cncel) (request.senddoc). Note tht in these scenrios we hve both inherent nondeterminism, introduced by the choice opertor of the first process, nd resolvble nondeterminism, introduced by the unknown scheduler of the prllel composition. In cse there is no resolvble nondeterminism, i.e., if we consider concrete systems only with inherent nondeterminism, trnsition systems together with bisimultion s underlying equivlence notion is n pproprite semnticl model. Here, bisimultion equivlence is speciliztion of redy simultion for concrete systems, i.e., redy simultion between concrete systems implies bisimilrity. The µ-clculus yields suitble logic, since it chrcterizes trnsition systems up to bisimultion. Nevertheless, trnsition systems re not n pproprite model whenever inherent nd resolvble nondeterminism occur in single setting, like in Exmples

4 nd 1.3. This is becuse choice for n underlying equivlence or preorder hs to be mde: Bisimultion interprets nondeterminism s inherent, redy simultion s resolvble. Furthermore, when using resolvble nondeterminism, we expect three-vlued stisfction interprettion over the µ-clculus, with the possibility tht formul is neither stisfied nor flsified. For exmple, we expect tht request (( senddoc true ) ( sendlowresphoto true )) holds in (4), since ll its implementtions do, but property (2) is unknown for (4), since there re implementtions tht stisfy the property nd there re implementtions tht do not. Contribution. We give n opertionl nd n xiomtic semntics to process lgebr hving prllel opertor interpreted in concurrent (rther thn distributed) setting nd choice opertor interpreted s inherent, not only w.r.t. different, but lso w.r.t. equl next-step ctions. In prticulr, we djust the semntics of [3], which hs n inherent s well s resolvble choice opertor, to our interprettion of prllel composition, since in their interprettion prllel composition yields inherent nondeterminism. In order to hndle the two kinds of nondeterminism dequtely, semnticl model with two kinds of trnsition reltions, s in [3] nd [14], is used, nmely µ-utomt [16] with their stndrd refinement notion nd their three-vlued stisfction reltion over the µ-clculus. The two trnsition reltions re defined using structurl opertionl semntics. One reltion corresponds to the execution of ctions, the other corresponds to the removing of the underspecifiction for the next ction execution, which is clled concretiztion. In order to develop n xiomtic semntics, the process lgebr is extended by further opertors, especilly by choice opertor corresponding to resolvble nondeterminism. From our xiom system, we derive n expnsion theorem, which expresses the prllel composition opertor in terms of choice opertors. Soundness nd completeness of this xiom system w.r.t. the opertionl semntics is shown. 2 Syntx In order not to distrct from the technicl problems nd their solutions, we only present simple process lgebr tht does not hve recursion, sequentil composition, nd prllel composition with synchroniztion mechnism. Our process lgebr consists of ction prefix, inherent nondeterminism, prllel composition, nd ction renming. Note tht (CSP-bsed) hiding opertor is specil cse of renming opertor, where the ction is renmed to the internl ction. Here, we follow the philosophy tht internl ctions re observble. In other words, we do not consider wek equivlence or wek refinement notions. Furthermore, we ssume tht nondeterminism obtined vi mixed choices is resolved inside the environment: For exmple, if the system provides ctions nd b nd the environment their corresponding counterprts, then the environment decides if or b is executed. 5 The renming/hiding opertor is lso of specil interest in our setting, since it introduces nondeterminism, too. For exmple, the process tht provides ction leding to B 1 nd tht provides ction b leding to B 2 does not contin nondeterminism, 5 Otherwise, the system hs to resolve this nondeterminism in which cse two communictions insted of one hve to be modeled: The environment sends its provided ctions nd the system nswers which ction it chooses. 58

5 but fter hiding nd b, i.e., renming nd b to the internl ction, nondeterminism occurs, since now n internl step either leds to B 1 or to B 2. Agin, the two interprettions of inherent or resolvble nondeterminism re possible for the renming opertor. But in our setting the nondeterminism obtined through hiding (nd therefore implicitly for renming) should be resolvble nondeterminism, which is rgued s follows: The system hs stimulus for ny hidden ction. These cn be considered to be provided by n dditionl component continuously providing hidden ctions. Then the scheduler of the prllel composition decides, which prllel component executes next. Consequently, hiding (nd therefore renming) yields resolvble nondeterminism with our interprettion of schedulers of prllel components, which ssumes tht schedulers do not behve rndomly. Before we formlly present our process lgebr, we introduce some nottions. Let Act denote the set of ll ctions, let S denote the crdinlity of set S, nd let P(S) denote its power set. Furthermore, denotes reltionl composition. For binry reltion ρ S I with subsets X S nd Y I we write X ρ for {i I x X : (x,i) ρ} nd ρ Y for {s S y Y : (s,y) ρ}. For ternry reltion S Act I we write s i for (s,,i), nd we write for the binry reltion {(s,i) s i}, thus {s} = {i I s i}. Furthermore, we write s, iff {s} =. PA, the set of ll bsis process lgebr terms, is generted by B ::= 0.B B + B B B B /b, where,b Act. Process 0 describes dedlocked process, i.e., no further ctions cn be executed. We sometimes omit symbol 0 by writing insted of.0. Process.B llows the execution of ction resulting in the process B. Inherent choice is described by B 1 +B 2, nd B 1 B 2 describes prllel composition. The prllel composition hs implicit resolvble nondeterminism, introduced by bstrction from scheduler fvoring one of the two sides. B /b describes the process where the execution of in B becomes the execution of b. All other ction execution, including ction b, remins unffected. Note tht this renming process lso introduces resolvble nondeterminism s described in the beginning of this section. 3 Opertionl Semntics 3.1 µ-utomt As underlying semnticl model we use µ-utomt [16] in the nottion of [9], except tht we omit firness constrints nd tht we do not consider propositions. Definition 3.1 [µ-utomt] A µ-utomton M w.r.t. Act is tuple (S, S,s i,, ) such tht (s )S is the set of OR-sttes, ( s ) S the set of BRANCH-sttes (disjoint from S), s i S its initil element, S S the OR-trnsition reltion, nd S Act S the BRANCH-trnsition reltion. The BRANCH-sttes do not contin underspecifiction for the next ction execution, wheres OR-sttes cn be underspecified in tht sense. This underspecifiction is resolved vi the OR-trnsition reltion (for this reson lso clled concretiztion reltion), which is mde precise by the stndrd refinement notion of 59

6 µ-utomt: Definition 3.2 [µ-refinement] A reltion R (S 1 S 2 ) ( S 1 S 2 ) is µ-refinement between two µ-utomt M 1 nd M 2 if (s i 1,si 2 ) R nd (s 1,s 2 ) R, s 1 ({s 1 } ) : s 2 ({s 2 } ) : ( s 1, s 2 ) R, ( s 1, s 2 ) R, Act,s 1 ({ s 1 } ) : s 2 ({ s 2 } ) : (s 1,s 2 ) R, nd ( s 1, s 2 ) R, Act,s 2 ({ s 2 } ) : s 1 ({ s 1 } ) : (s 1,s 2 ) R. M 1 µ-refines M 2 if there exists µ-refinement R between M 1 nd M 2. Lbeled trnsition systems re strightforwrdly embedded into µ-utomt by using OR-sttes hving exctly one outgoing trnsition. The restriction of µ- refinement onto these systems coincides with bisimultion. As commonly known, µ-refinement yields prtil order. Furthermore, µ-utomt come with threevlued stisfction reltion over the µ-clculus, which is preserved under refinement. 3.2 Opertionl semntics rules In order to define the opertionl semntics we use two different kinds of expressions: one where underspecifiction for the next step is llowed (PA, corresponding to the OR-sttes) nd one where it is not (PA con, corresponding to the BRANCHsttes), i.e., where the resolvble nondeterminism for the next execution is resolved. Then dditionlly to the step trnsition reltion (, corresponding to BRANCHtrnsition reltion) from PA con to PA, concretiztion reltion (, corresponding to the OR-trnsition reltion) from PA to PA con, which resolves the resolvble nondeterminism for the next execution, is used. Formlly, PA con denotes the set of ll process lgebr terms generted by P ::= [0] [. B] P + P P bb,a, e B P P /b,v, where,b Act, A Act, B, B PA, nd v {d,s}. The intuition of the opertors is similr to the one of the opertors given in Section 2, except tht here the scheduler of the prllel composition nd of the renming opertor is determined for the next step. First, we explin the intuition of prllel composition P 1 B1,A,B 2 P 2, t first neglecting B 1 nd B 2, which will be explined lter, nd using the nottion P 1 A P 2 insted. Here, A specifies scheduler, which is not necessry in stndrd semntics bsed on redy simultion, since there schedulers re dequtely hndled vi the redy simultion. However, the scheduler needs to be modeled if both resolvble nondeterminism nd inherent choice should pper in one setting. The scheduler informtion is interpreted s follows: The right side is fvored in P 1 A P 2 for ctions from A, wheres the left side is fvored for ctions from Act\A. This fvoring concerns only the next step, i.e., fter the execution of n ction, ny scheduling is llowed gin. This is even the cse if n ction in prllel to P 1 A P 2 is executed, e.g., if P 3 executes ction leding to B 3 in (P 1 A P 2 ) A P 3 the resulting process is, roughly speking, (P 1 P 2 ) B 3, where ll next step scheduling is removed. Note tht this pproch is more pproprite thn the pproch where the prtil scheduler is kept (in which cse (P 1 A P 2 ) B 3 would be the result), 60

7 0 [0].B [.B] B 1 P 1 B 2 P 2 B 1 + B 2 P 1 + P 2 B 1 P 1 B 2 P 2 A Act B P v {d,s} B 1 B 2 P 1 B1,A,B 2 P 2 B /b P /b,v P 1 B 1 [.B] B A P 2 P 1 B3,A,B 4 P 2 B 1 B 4 P 2 B4,Act\A,B 3 P 1 B 4 B 1 i {1,2} P i B P 1 + P 2 B c P B c / {,b} c P /b,v B /b P b B v = s P b P /b,v B /b P b B v = d P b P /b,v B /b Tble 1 Upper section: Resolving of the next-step-underspecifiction vi reltion PA PA con. Lower section: Action executions vi PA con Act PA. since the scheduler is globl nd therefore cn depend on ny pst execution. 6 Furthermore, ssocitivity of would be lost in the lterntive pproch, which is illustrted lter in Exmple 3.5. In order to model the undoing of the scheduler informtion efficiently, the prllel composition stores the originl processes of its components (here B 1 nd B 2 ) nd replces the non-executing component by its stored originl one, where no scheduler informtion is present. This will be clrified by the trnsition rules. The scheduler informtion of the next execution v is dded to the renming opertor: The execution of the ction corresponding to the source lbel of the renming, which becomes b, is fvored in B /b,s, wheres the execution of the ction corresponding to the destintion lbel b is fvored in B /b, d. Here, fvoring mens tht for B /b,d, process B my only execute (which will be renmed to b) if B cnnot execute b nd nlogously for B /b,s, where is fvored. Agin, this scheduling of the renming opertor only pplies for the next ction execution, i.e., fter the execution of ny ction, possibly different from b, the current fvoring is removed. The concretiztion reltion is given in the upper section of Tble 1, where the underspecifiction of the next step is resolved, nd the step trnsition reltion is presented in the lower section of Tble 1, where ctions re executed resulting in processes hving underspecifiction for the next step executions. We give some comments on : The resolution of next-step-underspecifiction hs to tke plce in every subprt tht cn potentilly mke the next execution, consequently resolution does not tke plce for B in.b. In the prllel composition, however, the nextstep-underspecifiction is resolved by choosing n rbitrry scheduler. The prllel composition opertor stores the originl processes such tht it cn efficiently undo 6 The pproch where the prtil scheduler is kept mkes only sense if ech prllel component hs its own scheduler nd there is n dditionl globl scheduler which decides which of the prllel components is fvored. 61

8 Fecher, Schmidt {[]+[.b] +.b,act, [], {[]+[.b] (+.b) +.b,{b}, [], []+[.b] +.b,{}, []} []+[.b] +.b,, []} (+.b) 0 b {([]+[.b]) +.b,a,0 [0] {[b] b,a, [] A P(Act)} b 0 A P(Act)} b 0 {[b] b,a,0 [0] A P(Act)} {[0] 0,A, [] A P(Act)} b 0 0 {[0] 0,A,0 [0] A P(Act)} Fig. 2. The opertionl semntics for ( +.b), where Act = {, b}. OR-sttes of the µ-utomton hve double-lined frmes, wheres BRANCH-sttes hve single-lined frmes. OR-trnsitions re drwn s double-line rrows, wheres BRANCH-trnsitions re drwn s lbeled single-line rrows. A stte described by set stnds for set of sttes, described by the elements of the set nd hving the sme incoming nd outgoing trnsitions s the stte lbeled with the set. the concretiztion. In the renming opertor, the next-step-underspecifiction is resolved by either fvoring the ction corresponding to the source lbel (s) or fvoring the ction corresponding to the destintion lbel (d) of the renming. We proceed with some comments on : The rules for [.B] nd P 1 +P 2 re stndrd. The left side of the prllel composition P 1 B3,A,B 4 P 2 cn execute if (i) the left side is fvored for by the scheduler ( / A) or (ii) the right side does not provide (P 2 ). Symmetric constrints hold for the execution of on the right side of P 1 B3,A,B 4 P 2. As lredy mentioned before, the next-step-underspecifiction resolution hs to be undone for the prllel component tht did not mke the execution. Therefore, process B 3, resp. B 4 replces the non-executed side. In P /b,v n ction c different from nd b cn be executed leding to B /b, whenever P cn execute c leding to B. This is stted in the first rule. Furthermore, P /b,v cn execute b, leding to process B /b, where B cn be obtined fter executing b in P, whenever v fvors the destintion lbel (v = d) or no ction is provided by P. Similrly, P /b,v cn execute b, leding to process B /b, where B cn be obtined fter executing in P, whenever v fvors the source lbel (v = s) or no ction b is provided by P. In ll these three cses, the scheduler is removed fter the execution. Note tht by definition, the trget processes of do not contin ny scheduling informtion. Definition 3.3 [Opertionl semntics] The opertionl semntics of process lgebr term B PA is the µ-utomton (PA,PA con,b,, ), where nd re given in Tble 1. We sy tht process lgebr term B from PA refines nother one B, written B B, if the opertionl semntics of B µ-refines the opertionl semntics of B. Furthermore, B is refinement equivlent to B, written B B, if B refines B nd B refines B. Exmple 3.4 The opertionl semntics for ( +.b) is illustrted in Figure 2. Exmple 3.5 We illustrte tht ssocitivity of the prllel composition does not hold, if the resolution of underspecifiction in the prllel composition rule of Tble 1 62

9 is not undone, i.e., if the originl process does not replce the current process in cse of non-execution. Under this ssumption, B1 =.b (.c) does not refine B 2 = (.b ).c: By definition B 1 [.b] Act ([] Act [.c]). Since ction c hs to be possible fterwrds, this process cn only be dequtely mtched by B 2 vi process tht is refinement equivlent to ([.b] {} []) {} [.c] or to ([.b] []) {} [.c]. Thus fter the execution of we would need tht.b ( c) refines ([.b] {} []) [c] or refines ([.b] []) [c]. Furthermore,.b ( c) cn be concretized such tht either b is possible fter the execution of or no b is possible fter the execution of. But only one of these concretiztions is possible in ([.b] {} []) [c] nd in ([.b] []) [c]. Hence, B1 does not refine B 2. Exmple 3.6 Process.(B 1 (.B 2 )) refines (.B 1 ) (.B 2 ), but not vice vers. This illustrtes tht refinement over PA does not yield n equivlence reltion. Theorem 3.7 Refinement is preserved under ll process lgebr opertors, i.e., if B 1 B 1 B 2 B 2 then.b 1.B 1 B 1 + B 2 B 1 + B 2 B 1 B 2 B 1 B 2 B 1 /b B 1 /b. Note tht the strightforwrd extension of to PA con is lso preserved under ll process lgebr opertors for PA con. 4 Axiomtic Semntics In this section, we present sound nd complete xiom system for the refinement over PA. 4.1 Process lgebr extension In order to define the xioms, further terms re introduced: The most interesting one is the resolvble nondeterminism opertor, which is lso of interest for modeling by itself. The intuition of resolvble nondeterminism B 1 B 2 is tht either B 1 or B 2 is implemented, but not both. Thus, B 1 + B 2 is in generl not n llowed implementtion. Further dded terms re: (i) A next step restriction process B \, where B my not execute ction s its next step. Note tht ction my be executed if n ction different from is executed before. (ii) A conditionl prefix term c.b 1 > B 2, which is equivlent to c.b 1 whenever B 2 cnnot execute ction in its next step nd it is equivlent to 0 if B 2 cn execute ction in its next step. (iii) A prllel composition B 1 B3,A,B 4 B 2 where the scheduler informtion for the next execution nd the replcing processes for non-execution re lredy given. (iv) A renming opertor B /b, v, where the scheduler informtion for the next execution is lredy present. Also some counterprts of these new expressions re dded to the process lgebr terms where the next-step-underspecifiction is resolved. Formlly, we define PA to be the set of ll process lgebr terms generted by B ::= 0.B B + B B B B /b B B B \ c.b > B B B,A,B B B /b, v nd we define PA con to be the set of ll process lgebr terms generted by 63

10 B P B \ P \ i {1,2} B i P B 1 B 2 P Fecher, Schmidt B 1 P 1 B 2 P 2 B 1 B3,A,B 4 B 2 P 1 B3,A,B 4 P 2 B 2 P 2 c.b 1 > B 2 c.b 1 > P 2 P 2 P B b c c.b 1 > P 2 B 1 P \ b B Tble 2 Additionl trnsition rules for the extended process lgebr. B P B /b,v P /b,v P ::= [0] [. B] P + P P bb,a, e B P P /b,v P \ c. B > P where,b,c Act, A Act, B, B PA nd v {d,s}. The previous trnsition rules (Tble 1) re extended by those from Tble 2. We give some comments on : the resolvble nondeterminism is resolved by choosing either the right or the left side nd resolving this term. In B 1 B3,A,B 4 B 2 only B 1 nd B 2 hve to be resolved, since no next step nlysis tkes plce in term B 3 nd B 4. By the sme rgument, only B 2 hs to be resolved in c.b 1 > B 2. Now some comments on : In c.b 1 > P 2 c-step to B 1 is possible iff the right hnd side cnnot execute. In P \ b ll executions of P tht differ from b cn tke plce s next step, in which cse \b is removed, since this restriction only holds for the next step execution. Remrk 4.1 For terms of PA, fter every -step the sme set of provided ctions is obtined. This does not hold for terms of PA, s, e.g., illustrted by 0. The opertionl semntics of terms in PA nd refinement (equivlence) over PA re defined s in Definition 3.3 except tht the extended concretiztion nd step trnsition reltions re used. 4.2 Equtions Before we present the xiom system, we discuss some of the (stndrd) xioms tht do not hold in generl, i.e., where refinement equivlence cnnot be gurnteed, which is denoted by : B+B B, since the left hnd side llows more kinds of resolution of underspecifiction. For exmple, ( b) + ( b) cn be resolved to [] + [b], which provides s well s b. On the other hnd, b cnnot be resolved such tht both ctions re provided. By similr rguments, (5) (B 1 B 2 ) + (B 1 B 3 ) B 1 (B 2 + B 3 ), since the underspecifiction in B 1 cn possibly be resolved in two different wys such tht it cnnot be mtched by single resolution of B 1. More precisely, fter, it is possible tht the left hnd side of (5) cn provide more ctions thn the right hnd side. In cse B 1 is next-step-underspecifiction-free, e.g., if B 1 is of form i I i.b i for some I, i, nd B i, we do not hve this problem. Predicte nuf on PA, which is formlly defined in Tble 3, collects those next step underspecifiction free processes. Resolution of next-step-underspecifiction yields unique term if nuf holds: 64

11 nuf(0) nuf(.b 1 ) nuf(b 2 ) nuf(c.b 1 > B 2 ) nuf(b 1 ) nuf(b 2 ) nuf(b 1 + B 2 ) nuf(b 1 ) nuf(b 2 ) nuf(b 1 B3,A,B 4 B 2 ) nuf(b) nuf(b \ ) nuf(b) nuf(b /b, v ) Tble 3 Definition of predicte nuf. Lemm 4.2 Suppose B PA nd Act. If nuf(b), then B hs unique trget w.r.t., i.e., nuf(b) {B} = 1. Nevertheless, the processes of (5) re not equivlent even if nuf(b 1 ) holds, since the resolvble nondeterminism of the prllel composition cn be resolved in different wys. For exmple, fter pplying on (.b) (.c + 0) there is exctly one trnsition t lbeled with nd either b or c is possible fterwrds. On the other hnd step from ((.b) (.c)) + ((.b) 0) exists where two trnsitions t 1, t 2 lbeled with re possible such tht b is possible fter t 1 nd c is possible fter t 2. We remedy this problem by resolving the resolvble nondeterminism of the prllel opertor before the prllel composition is expnded. This motivtes why we introduced the term B 1 B3,A,B 4 B 2 lredy in PA. In Tble 4 xioms for the refinement reltion over PA re presented, where we ssume for simplicity tht Act is finite. Theorem 4.3 The xioms from Tble 4 re sound nd complete, i.e., B 1,B 2 PA : B 1 B 2 B 1 B 2. Exmple 4.4 By using Axiom A32, we get.(b c) (.(b c)) (.b). Furthermore, by using Axiom A32 nd then Axiom A3 we get (.(b c)) (.b) (.(b c)) (.(b c)).(b c). Thus we hve shown tht.(b c) (.(b c)) (.b). Note tht this cnnot be shown by using only Axioms A1 A31, since the necessry removl of becomes impossible. This illustrtes tht Axiom A32 is lso essentil for the completeness of our Axiom system w.r.t.. How the prllel composition cn be expressed in terms of nondeterminism, known s the expnsion theorem [23,4], is one of the most importnt rules. In our setting the expnsion theorem is more complicted thn usully, since resolvble s well s inherent nondeterminism hs to be hndled. It is directly derived from our xiom system nd illustrted in the following, where 1 j=0 B j yields 0: Theorem 4.5 (Expnsion theorem) B B n n ( where A Act i=0 i =0 B = n i=0 ) i,j.(b i,j B ) + i,j.(b B i,j ) j J (A,i,i ) j J (A,i,i ) m(i) 1 j=0 i,j.b i,j, B = n m (i) 1 i=0 j=0 i,j.b i,j, J (A,i,i ) = {j < m (i) i,j A j < m (i ) : i,j i,j }, J (A,i,i ) = {j < m (i ) i,j / A j < m (i) : i,j i,j }. Here, (i) the scheduler (A Act) is determined by resolution of resolvble nondeterminism, (ii) ny combintion of resolutions of both sides is considered, 65

12 (A1) B 1 B 2 B 2 B 1 (A2) B 1 (B 2 B 3 ) (B 1 B 2 ) B 3 (A3) B B B (A4) B 1 + B 2 B 2 + B 1 (A5) B 1 + (B 2 + B 3 ) (B 1 + B 2 ) + B 3 (A6).B +.B.B (A7) B + 0 B (A8) B 1 + (B 2 B 3 ) (B 1 + B 2 ) (B 1 + B 3 ) (A9) B 1 B 2 A Act (B 1 B1,A,B 2 B 2 ) (A10) B 1 B4,A,B 5 B 2 B 2 B5,Act\A,B 4 B 1 (A11) B 1 B4,A,B 5 (B 2 B 3 ) (B 1 B4,A,B 5 B 2 ) (B 1 B4,A,B 5 B 3 ) (A12) B 1 B4,A,B 5 (B 2 +.B 3 ) ((B 1 \ ) B4,A,B 5 B 2 ) +.(B 4 B 3 ) if A (A13) B 1 B4,A,B 5 (B 2 +.B 3 ) (B 1 B4,A,B 5 B 2 ) + (.(B 4 B 3 ) > B 1 ) if / A nuf(b 1 ) (A14) 0 B4,A,B (A15) B /b B /b, d B /b, s (A16) (B 1 B 2 ) /b,v B 1 /b,v B 2 /b,v (A17) (B 1 + c.b 2 ) /b,v B 1 /b,v + c.(b 2 /b ) if c / {,b} (A18) (B 1 +.B 2 ) /b,d B 1 /b,d + (b.(b 2 /b ) > b B 1 ) if nuf(b 1 ) (A19) (B 1 + b.b 2 ) /b,d (B 1 \ ) /b,d + b.(b 2 /b ) (A20) (B 1 +.B 2 ) /b,s (B 1 \ b) /b,s + b.(b 2 /b ) (A21) (B 1 + b.b 2 ) /b,s B 1 /b,s + (b.(b 2 /b ) > B 1 ) if nuf(b 1 ) (A22) 0 /b,v 0 (A23) (B 1 B 2 ) \ (B 1 \ ) (B 2 \ ) (A24) (B 1 + B 2 ) \ (B 1 \ ) + (B 2 \ ) (A25) 0 \ 0 (A26) (.B) \ 0 (A27) (b.b) \ b.b if b (A28) c.b 1 > (B 2 B 3 ) (c.b 1 > B 2 ) (c.b 1 > B 3 ) (A29) c.b 1 > (B 2 +.B 3 ) 0 (A30) c.b 1 > (B 2 + b.b 3 ) c.b 1 > B 2 if b (A31) c.b > 0 c.b (A32) B 1 B 1 B 2 Tble 4 Axioms for, where =. Here, L i {j} B i is defined to be B j nd for I finite, L i I B i is defined to be B i ( L i I\{i } B i) where i I (by the ssocitivity nd commuttivity of the definition is independent of the chosen i ). Note tht we ssume tht Act is finite. Otherwise, more complex formuls hve to be used in order to remin in f PA. 66

13 nd (iii) the complete inherent nondeterminism of component for is tken if this component is fvored by the scheduler or if the current resolution of the other component cnnot provide. 5 Relted Work An overview on lgebric pproches to nondeterminism is given in [27]. Nondeterminism is often interpreted s ngelic (chosen positively w.r.t. to desired property) or demonic (chosen by n dversry). In [22], both nondeterminism interprettions re modeled in single setting. The ngelic/demonic view is orthogonl to our view, leding to the following four interprettions: (i) The tsk of resolving resolvble, ngelic nondeterminism is stisfibility check, i.e., n bstrction hs n implementtion stisfying the desired property if there is n ngelic resolution. (ii) On the other hnd, the tsk of resolving resolvble, demonic nondeterminism is stisfction check on the bstrct level: the property holds if demonic resolution stisfies it. (iii) Inherent, ngelic nondeterminism ensures the existence of step such tht the desired property holds, wheres (iv) inherent, demonic nondeterminism ensures tht ll possible next steps stisfy the property. In lternting-time temporl logic [1], interprettions (iii) nd (iv) re generlized to multiple ctors. In [3], both our choice opertors (inherent nd resolvble) re used in process lgebr nd n opertionl semntics in terms of µ-utomt s well s n xiomtic semntics is given. The difference to our work consists in the semntics of the prllel opertor, since the semntics of the prllel opertor in [3] is bsed on inherent insted of resolvble scheduling choice, i.e., schedulers behve rndomly lso t the concrete level, which is in most pplictions, like schedulers in operting systems, not the cse. If the scheduler cn prefer different prllel components per ction, we cnnot pply the usul pproch to split the prllel composition by using the left merge opertor, s it is lso mde in [3]. Therefore our xiom system becomes more complicted by using dditionl opertors nd by using predicte nuf. A further choice opertor is presented in [3]. The interprettion of this choice opertor is similr to our resolvble choice opertor, except tht the resolving cn be moved outwrds, e.g.,.(b c) is equivlent to.b.c, which is not the cse for. The choice opertor hs the sme expressiveness s w.r.t. the describble sets of concrete systems, i.e., replcing by, or vice vers, does not chnge the set of concrete systems tht refine the corresponding expressions. A difference rises in the refinement reltion between different bstrct levels, i.e., the refinement reltion between non-concrete systems is different. In [26] process lgebr hving our resolvble choice opertor together with choice opertor tht is only resolvble w.r.t. the sme ction, which hrmonizes with redy simultion, is presented. Thus full inherent nondeterminism is not hndled there. The semntics is given s possible worlds, i.e., sets of concrete systems. No prllel opertor is considered t ll. This process lgebr is extended by recursion in [21], but still no prllel composition is considered. Different kinds of choice opertors re considered in hybrid systems, see, e.g., [7], but those choice opertors concentrte on underspecifiction (i.e., resolvble nondeterminism) resulting from time spects. 67

14 Other bstrct models tht cn express inherent s well s resolvble nondeterminism re, e.g., (disjunctive) modl trnsition systems [18,19], hypermixed Kripke structures [11], generlized Kripke modl trnsition systems [24], modl utomt [9] nd ν-utomt [12]. These models re often used s bstrct models for trnsition systems in order to improve verifiction of full brnching time properties, s in [13,10]. In some settings the scheduler cn be restricted by further constrints, like priority or firness ssumptions. They cn be interpreted s refinement of n bstrct level where no constrint on the scheduler is enforced. This llownce to describe more detiled scheduler is orthogonl to the problem of hndling the interction of inherent nondeterminism with the resolvble nondeterminism of n underspecified scheduler. In probbilistic process lgebrs, see [20] for n overview, choice opertors re extended with distribution determining the wy the different sides re fvored. Rndomized choice opertors re specil kinds of inherent nondeterminism. Nevertheless, it is importnt to exmine inherent choice opertors, which do not contin distribution, for their own, since sometimes the distribution is not known nd sometimes it does not exist t ll (cf. Exmples 1.2 nd 1.3). Note tht pproches trying to embed pure inherent nondeterminism into probbilistic settings led to unnecessrily complex models nd thus unnecessrily increse the cost of verifiction. 6 Conclusion We hve presented the structurl opertionl semntics of process lgebr tht hndles choice opertors corresponding to inherent nondeterminism s well s resolvble nondeterminism obtined by bstrction from the scheduling of the prllel composition or the renming/hiding opertor. In prticulr, µ-utomt, which hve two kinds of trnsition reltions (one for ction execution nd one for resolution of resolvble nondeterminism), re used s underlying model for the structurl opertionl semntics. In order to void ny restriction on schedulers, the resolution of the resolvble nondeterminism hs to be mde undone if it ws not ffected by the previous execution step. A sound nd complete xiom system hs been presented, where in prticulr choice opertor representing resolvble nondeterminism is used. Note tht the incresed complexity of our semntics, compred to the stndrd semntics, is unvoidble if µ-clculus formuls should be preserved under refinement. Our opertionl semntics cn be strightforwrdly dpted to process lgebr hving prllel composition with CSP-bsed synchroniztion [15], sequentil composition, or recursion. The only problem rises for ungurded recursion, i.e., if there exists vrible tht is bound without being behind n ction prefix: There the definition of the concretiztion reltion yields problems, since infinite derivtion trees cn be generted. This is not very criticl, becuse usully process lgebrs without ungurded recursion re sufficient for pplictions. 68

15 References [1] R. Alur, T. A. Henzinger, nd O. Kupfermn. Alternting-time temporl logic. J. ACM, 49(5): , [2] J. C. M. Beten. A brief history of process lgebr. Theor. Comput. Sci., 335(2-3): , [3] J. C. M. Beten nd J. A. Bergstr. Process lgebr with prtil choice. In B. Jonsson nd J. Prrow, editors, CONCUR, volume 836 of LNCS, pges Springer, [4] J. A. Bergstr nd J. W. Klop. Algebr of communicting processes with bstrction. Theor. Comput. Sci., 37:77 121, [5] B. Bloom, S. Istril, nd A. Meyer. Bisimultion cn t be trced. J. ACM, 42(1): , [6] T. Bolognesi nd E. Brinksm. Introduction to the ISO specifiction lnguge LOTOS. Computer Networks nd ISDN Systems, 14:25 59, [7] S. Bornot nd J. Sifkis. On the composition of hybrid systems. In T. A. Henzinger nd S. Sstry, editors, HSCC, volume 1386 of LNCS, pges Springer, [8] R. Cousot, editor. Verifiction, Model Checking, nd Abstrct Interprettion, 6th Interntionl Conference, VMCAI 2005, Pris, Frnce, Jnury 17-19, 2005, Proceedings, volume 3385 of LNCS. Springer, [9] D. Dms nd K. S. Nmjoshi. Automt s bstrctions. In Cousot [8], pges [10] L. de Alfro, P. Godefroid, nd R. Jgdeesn. Three-vlued bstrctions of gmes: Uncertinty, but with precision. In LICS, pges IEEE Computer Society Press, [11] H. Fecher nd M. Huth. Rnked predicte bstrction for brnching time: Complete, incrementl, nd precise. In S. Grf nd W. Zhng, editors, ATVA, volume 4218 of LNCS, pges Springer, [12] H. Fecher, H. Schmidt, nd J. Schönborn. Refinement sensitive forml semntics of stte mchines hving inherent nondeterminism. In MODELS, Avilble t submitted for publiction. [13] O. Grumberg, M. Lnge, M. Leucker, nd S. Shohm. Don t know in the µ-clculus. In Cousot [8], pges [14] H. Hnsson nd B. Jonsson. A clculus for communicting systems with time nd probbilities. In Proc. 11th IEEE Rel-Time Systems Symposium (RTSS), Orlndo, Fl., Jnury [15] C. A. R. Hore. Communicting Sequentil Processes. Prentice Hll, [16] D. Jnin nd I. Wlukiewicz. Automt for the modl mu-clculus nd relted results. In J. Wiedermnn nd P. Hájek, editors, Mthemticl Foundtions of Computer Science, volume 969 of LNCS, pges Springer, [17] D. Kozen. Results on the propositionl µ-clculus. Theor. Comput. Sci., 27: , [18] K. G. Lrsen nd B. Thomsen. A modl process logic. In LICS, pges IEEE Computer Society Press, [19] K. G. Lrsen nd L. Xinxin. Eqution solving using modl trnsition systems. In LICS, pges IEEE Computer Society Press, [20] N. López nd M. Núñez. An overview of probbilistic process lgebrs nd their equivlences. In C. Bier, B. R. Hverkort, H. Hermnns, J.-P. Ktoen, nd M. Siegle, editors, Vlidtion of Stochstic Systems, volume 2925 of LNCS, pges Springer, [21] M. E. Mjster-Cederbum. Underspecifiction for simple process lgebr of recursive processes. Theor. Comput. Sci., 266: , [22] C. E. Mrtin, S. A. Curtis, nd I. Rewitzky. Modelling nondeterminism. In D. Kozen nd C. Shnklnd, editors, MPC, volume 3125 of LNCS, pges Springer, [23] R. Milner. A Clculus for Communicting Systems, volume 92 of LNCS. Springer-Verlg, [24] S. Shohm nd O. Grumberg. 3-vlued bstrction: More precision t less cost. In LICS, pges IEEE Computer Society Press, [25] B. Thomsen. An extended bisimultion induced by preorder on ctions. Mster s thesis, Alborg University Centre, [26] S. Veglioni nd R. De Nicol. Possible worlds for process lgebrs. In D. Sngiorgi nd R. de Simone, editors, CONCUR, volume 1466 of LNCS, pges Springer, [27] M. Wlicki nd S. Meldl. Algebric pproches to nondeterminism: An overview. ACM Comput. Surv., 29(1):30 81,

Bisimulation. R.J. van Glabbeek

Bisimulation. 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 information

Strong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation

Strong 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 information

Summer School Verification Technology, Systems & Applications

Summer 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 information

Handout: Natural deduction for first order logic

Handout: 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 information

Event Structures for Arbitrary Disruption

Event Structures for Arbitrary Disruption Fundment Informtice XX (2005) 1 28 1 IOS Press Event Structures for Arbitrry Disruption Hrld Fecher Christin Albrecht Universität zu Kiel Technische Fkultät, Institut für Informtik, Hermnn-Rodewldstr.

More information

Finite Automata. Informatics 2A: Lecture 3. John Longley. 22 September School of Informatics University of Edinburgh

Finite 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 information

1.4 Nonregular Languages

1.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 information

CS 275 Automata and Formal Language Theory

CS 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 information

1 Nondeterministic Finite Automata

1 Nondeterministic Finite Automata 1 Nondeterministic Finite Automt Suppose in life, whenever you hd choice, you could try oth possiilities nd live your life. At the end, you would go ck nd choose the one tht worked out the est. Then you

More information

CS 275 Automata and Formal Language Theory

CS 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 information

1.3 Regular Expressions

1.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 information

Refined interfaces for compositional verification

Refined 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 information

7.2 The Definite Integral

7.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 information

Global Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems

Global 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 information

Stuttering for Abstract Probabilistic Automata

Stuttering 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 information

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004

Advanced 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 information

New Expansion and Infinite Series

New 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 information

Duality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below.

Duality # 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 information

Global Session Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems

Global 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

Finite Automata. Informatics 2A: Lecture 3. Mary Cryan. 21 September School of Informatics University of Edinburgh

Finite 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 information

How to simulate Turing machines by invertible one-dimensional cellular automata

How 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 information

Conjunction on processes: Full abstraction via ready-tree semantics

Conjunction on processes: Full abstraction via ready-tree semantics Theoreticl Computer Science 373 (2007) 19 40 www.elsevier.com/locte/tcs Conjunction on processes: Full bstrction vi redy-tree semntics Gerld Lüttgen, Wlter Vogler b, Deprtment of Computer Science, University

More information

1.9 C 2 inner variations

1.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 information

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.

THE 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 information

Chapter 2 Finite Automata

Chapter 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

Nondeterminism and Nodeterministic Automata

Nondeterminism 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 information

Designing finite automata II

Designing finite automata II Designing finite utomt II Prolem: Design DFA A such tht L(A) consists of ll strings of nd which re of length 3n, for n = 0, 1, 2, (1) Determine wht to rememer out the input string Assign stte to ech of

More information

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

Finite 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 information

Centrum voor Wiskunde en Informatica REPORTRAPPORT. Supervisory control for nondeterministic systems

Centrum voor Wiskunde en Informatica REPORTRAPPORT. Supervisory control for nondeterministic systems Centrum voor Wiskunde en Informtic REPORTRAPPORT Supervisory control for nondeterministic systems A. Overkmp Deprtment of Opertions Reserch, Sttistics, nd System Theory BS-R9411 1994 Supervisory Control

More information

Chapter 4 Contravariance, Covariance, and Spacetime Diagrams

Chapter 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 information

Theoretical foundations of Gaussian quadrature

Theoretical 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 information

Semantic reachability for simple process algebras. Richard Mayr. Abstract

Semantic 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 information

Review of Calculus, cont d

Review 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 information

Bernoulli Numbers Jeff Morton

Bernoulli 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 information

COMPUTER SCIENCE TRIPOS

COMPUTER 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 information

Lecture 08: Feb. 08, 2019

Lecture 08: Feb. 08, 2019 4CS4-6:Theory of Computtion(Closure on Reg. Lngs., regex to NDFA, DFA to regex) Prof. K.R. Chowdhry Lecture 08: Fe. 08, 2019 : Professor of CS Disclimer: These notes hve not een sujected to the usul scrutiny

More information

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

Unit #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 information

MAA 4212 Improper Integrals

MAA 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 information

Infinite Geometric Series

Infinite Geometric Series Infinite Geometric Series Finite Geometric Series ( finite SUM) Let 0 < r < 1, nd let n be positive integer. Consider the finite sum It turns out there is simple lgebric expression tht is equivlent to

More information

The First Fundamental Theorem of Calculus. If f(x) is continuous on [a, b] and F (x) is any antiderivative. f(x) dx = F (b) F (a).

The First Fundamental Theorem of Calculus. If f(x) is continuous on [a, b] and F (x) is any antiderivative. f(x) dx = F (b) F (a). The Fundmentl Theorems of Clculus Mth 4, Section 0, Spring 009 We now know enough bout definite integrls to give precise formultions of the Fundmentl Theorems of Clculus. We will lso look t some bsic emples

More information

Real-time Concepts for a Formal Specification Language for Software / Hardware Systems

Real-time Concepts for a Formal Specification Language for Software / Hardware Systems 1 Rel-time Concepts for Forml Specifiction Lnguge for Softwre / Hrdwre Systems M.C.W. Geilen nd J.P.M. Voeten Abstrct Incresingly complex systems re being designed tht consist of concurrently operting

More information

Acceptance Sampling by Attributes

Acceptance 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 information

CS 188 Introduction to Artificial Intelligence Fall 2018 Note 7

CS 188 Introduction to Artificial Intelligence Fall 2018 Note 7 CS 188 Introduction to Artificil Intelligence Fll 2018 Note 7 These lecture notes re hevily bsed on notes originlly written by Nikhil Shrm. Decision Networks In the third note, we lerned bout gme trees

More information

20 MATHEMATICS POLYNOMIALS

20 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 information

Notes on specifying systems in EST

Notes on specifying systems in EST Robert Meolic, Ttjn Kpus: Notes on specifying systems in EST 1 Notes on specifying systems in EST Robert Meolic, Ttjn Kpus Fculty of EE & CS University of Mribor Robert Meolic, Ttjn Kpus: Notes on specifying

More information

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton

AUTOMATA 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 information

SUMMER KNOWHOW STUDY AND LEARNING CENTRE

SUMMER KNOWHOW STUDY AND LEARNING CENTRE SUMMER KNOWHOW STUDY AND LEARNING CENTRE Indices & Logrithms 2 Contents Indices.2 Frctionl Indices.4 Logrithms 6 Exponentil equtions. Simplifying Surds 13 Opertions on Surds..16 Scientific Nottion..18

More information

The Riemann-Lebesgue Lemma

The Riemann-Lebesgue Lemma Physics 215 Winter 218 The Riemnn-Lebesgue Lemm The Riemnn Lebesgue Lemm is one of the most importnt results of Fourier nlysis nd symptotic nlysis. It hs mny physics pplictions, especilly in studies of

More information

Process Algebra CSP A Technique to Model Concurrent Programs

Process 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 information

Equivalences on Observable Processes

Equivalences on Observable Processes Equivlences on Observble Processes Irek Ulidowski Deprtment of Computing Imperil College of Science, Technology nd Medicine 180 Queens Gte London SW7 2BZ. E-mil: iu@doc.ic.c.uk Abstrct The im of this pper

More information

New data structures to reduce data size and search time

New 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 information

Introduction to spefication and verification Lecture Notes, autumn 2011

Introduction to spefication and verification Lecture Notes, autumn 2011 Introduction to spefiction nd verifiction Lecture Notes, utumn 2011 Timo Krvi UNIVERSITY OF HELSINKI FINLAND Contents 1 Introduction 1 1.1 The strting point............................ 1 1.2 Globl stte

More information

Lecture 1. Functional series. Pointwise and uniform convergence.

Lecture 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 information

Formal Languages and Automata

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

More information

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1

Chapter 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 information

Convert the NFA into DFA

Convert 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 information

Improper Integrals, and Differential Equations

Improper Integrals, and Differential Equations Improper Integrls, nd Differentil Equtions October 22, 204 5.3 Improper Integrls Previously, we discussed how integrls correspond to res. More specificlly, we sid tht for function f(x), the region creted

More information

Here we study square linear systems and properties of their coefficient matrices as they relate to the solution set of the linear system.

Here 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 information

Hennessy-Milner Logic 1.

Hennessy-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 information

Semantic Reachability. Richard Mayr. Institut fur Informatik. Technische Universitat Munchen. Arcisstr. 21, D Munchen, Germany E. N. T. C. S.

Semantic 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 information

N 0 completions on partial matrices

N 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 information

A Survey of Modal Logics Characterising Behavioural Equivalences for Non-deterministic and Stochastic Systems

A 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 information

Introduction to Group Theory

Introduction 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 information

MATH34032: Green s Functions, Integral Equations and the Calculus of Variations 1

MATH34032: 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 information

KNOWLEDGE-BASED AGENTS INFERENCE

KNOWLEDGE-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 information

Math 1B, lecture 4: Error bounds for numerical methods

Math 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 information

3 Regular expressions

3 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 information

Chapter 14. Matrix Representations of Linear Transformations

Chapter 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 information

Coalgebra, Lecture 15: Equations for Deterministic Automata

Coalgebra, Lecture 15: Equations for Deterministic Automata Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined

More information

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations.

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations. Lecture 3 3 Solving liner equtions In this lecture we will discuss lgorithms for solving systems of liner equtions Multiplictive identity Let us restrict ourselves to considering squre mtrices since one

More information

Exercises with (Some) Solutions

Exercises 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 information

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014

CMPSCI 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 information

Student Activity 3: Single Factor ANOVA

Student 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 information

A New Grey-rough Set Model Based on Interval-Valued Grey Sets

A New Grey-rough Set Model Based on Interval-Valued Grey Sets Proceedings of the 009 IEEE Interntionl Conference on Systems Mn nd Cybernetics Sn ntonio TX US - October 009 New Grey-rough Set Model sed on Intervl-Vlued Grey Sets Wu Shunxing Deprtment of utomtion Ximen

More information

Characterising Testing Preorders for Finite Probabilistic Processes

Characterising Testing Preorders for Finite Probabilistic Processes Chrcterising Testing Preorders for Finite Probbilistic Processes Yuxin Deng Jio Tong University Shnghi, Chin Rob vn Glbbeek Ntionl ICT Austrli Sydney, Austrli School of CSE, University of New South Wles

More information

RELATIONAL MODEL.

RELATIONAL 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 information

The Regulated and Riemann Integrals

The 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 information

CHARACTERISING TESTING PREORDERS FOR FINITE PROBABILISTIC PROCESSES

CHARACTERISING TESTING PREORDERS FOR FINITE PROBABILISTIC PROCESSES CHARACTERISING TESTING PREORDERS FOR FINITE PROBABILISTIC PROCESSES YUXIN DENG, ROB VAN GLABBEEK, MATTHEW HENNESSY 3 & CARROLL MORGAN 4 Shnghi Jio Tong University, Chin Ntionl ICT Austrli, Austrli 3 Trinity

More information

UNIFORM 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 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 information

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives

Properties 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 information

Component Based Testing with ioco

Component Based Testing with ioco CTIT Technicl Report TR CTIT 03 34, University of Twente, 2003 Component Bsed Testing with ioco Mchiel vn der Bijl 1, Arend Rensink 1 nd Jn Tretmns 2 1 Softwre Engineering, Deprtment of Computer Science,

More information

Non Deterministic Automata. Linz: Nondeterministic Finite Accepters, page 51

Non Deterministic Automata. Linz: Nondeterministic Finite Accepters, page 51 Non Deterministic Automt Linz: Nondeterministic Finite Accepters, pge 51 1 Nondeterministic Finite Accepter (NFA) Alphbet ={} q 1 q2 q 0 q 3 2 Nondeterministic Finite Accepter (NFA) Alphbet ={} Two choices

More information

Generalized Fano and non-fano networks

Generalized 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 information

Recitation 3: More Applications of the Derivative

Recitation 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 information

Advanced Calculus: MATH 410 Uniform Convergence of Functions Professor David Levermore 11 December 2015

Advanced 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 information

Physics 116C Solution of inhomogeneous ordinary differential equations using Green s functions

Physics 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 information

Non-Deterministic Finite Automata. Fall 2018 Costas Busch - RPI 1

Non-Deterministic Finite Automata. Fall 2018 Costas Busch - RPI 1 Non-Deterministic Finite Automt Fll 2018 Costs Busch - RPI 1 Nondeterministic Finite Automton (NFA) Alphbet ={} q q2 1 q 0 q 3 Fll 2018 Costs Busch - RPI 2 Nondeterministic Finite Automton (NFA) Alphbet

More information

This lecture covers Chapter 8 of HMU: Properties of CFLs

This lecture covers Chapter 8 of HMU: Properties of CFLs This lecture covers Chpter 8 of HMU: Properties of CFLs Turing Mchine Extensions of Turing Mchines Restrictions of Turing Mchines Additionl Reding: Chpter 8 of HMU. Turing Mchine: Informl Definition B

More information

For convenience, we rewrite m2 s m2 = m m m ; where m is repeted m times. Since xyz = m m m nd jxyj»m, we hve tht the string y is substring of the fir

For convenience, we rewrite m2 s m2 = m m m ; where m is repeted m times. Since xyz = m m m nd jxyj»m, we hve tht the string y is substring of the fir CSCI 2400 Models of Computtion, Section 3 Solutions to Homework 4 Problem 1. ll the solutions below refer to the Pumping Lemm of Theorem 4.8, pge 119. () L = f n b l k : k n + lg Let's ssume for contrdiction

More information

1 Introduction. Abstract

1 Introduction. Abstract LANGUAGES FOR CONCURRENCY Ctusci Plmidessi INRIA nd LIX, École Polytechnique ctusci@lix.polytechnique.fr Frnk D. Vlenci CNRS nd LIX, École Polytechnique frnk.vlenci@lix.polytechnique.fr Abstrct This essy

More information

1 i n x i x i 1. Note that kqk kp k. In addition, if P and Q are partition of [a, b], P Q is finer than both P and Q.

1 i n x i x i 1. Note that kqk kp k. In addition, if P and Q are partition of [a, b], P Q is finer than both P and Q. Chpter 6 Integrtion In this chpter we define the integrl. Intuitively, it should be the re under curve. Not surprisingly, fter mny exmples, counter exmples, exceptions, generliztions, the concept of the

More information

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages

Assignment 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 information

CS 267: Automated Verification. Lecture 8: Automata Theoretic Model Checking. Instructor: Tevfik Bultan

CS 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 information

CS 330 Formal Methods and Models

CS 330 Formal Methods and Models CS 330 Forml Methods nd Models Dn Richrds, George Mson University, Spring 2017 Quiz Solutions Quiz 1, Propositionl Logic Dte: Ferury 2 1. Prove ((( p q) q) p) is tutology () (3pts) y truth tle. p q p q

More information

Goals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite

Goals: 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 information

Integral points on the rational curve

Integral 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 information

SYDE 112, LECTURES 3 & 4: The Fundamental Theorem of Calculus

SYDE 112, LECTURES 3 & 4: The Fundamental Theorem of Calculus SYDE 112, LECTURES & 4: The Fundmentl Theorem of Clculus So fr we hve introduced two new concepts in this course: ntidifferentition nd Riemnn sums. It turns out tht these quntities re relted, but it is

More information

Reinforcement learning II

Reinforcement learning II CS 1675 Introduction to Mchine Lerning Lecture 26 Reinforcement lerning II Milos Huskrecht milos@cs.pitt.edu 5329 Sennott Squre Reinforcement lerning Bsics: Input x Lerner Output Reinforcement r Critic

More information

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac

ARITHMETIC 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 information

Kleene Theorems for Free Choice Nets Labelled with Distributed Alphabets

Kleene 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 information