Towards a Mathematical Operational Semantics

Size: px
Start display at page:

Download "Towards a Mathematical Operational Semantics"

Transcription

1 Towrds Mthemticl Opertionl Semntics Dniele Turi Gordon Plotkin Deprtment of Computer Science Lbortory for Foundtions of Computer Science University of Edinburgh, The King s Buildings Edinburgh EH9 3JZ, Scotlnd Abstrct We present ctegoricl theory of well-behved opertionl semntics which ims t complementing the estblished theory of domins nd denottionl semntics to form coherent whole. It is shown tht, if the opertionl rules of progrmming lnguge cn be modelled s nturl trnsformtion of suitble generl form, depending on functoril notions of syntx nd behviour, then one gets the following for free: n opertionl model stisfying the rules nd cnonicl, internlly fully bstrct denottionl model which stisfies the opertionl rules. The theory is bsed on distributive lws nd bilgebrs; it specilises to the known clsses of well-behved rules for structurl opertionl semntics, such s GSOS. Introduction Opertionl semntics, fundmentl tool in lnguge design nd verifiction, provides forml description of the behviour of progrms. It is often defined in terms of tomic, elementry trnsitions, describing locl behviour. Mthemticlly, these trnsitions cn be modelled s the elements of reltion, the intended opertionl model of the lnguge. A convenient wy of specifying such trnsition reltion is by induction on the structure of the progrms, strting from suitble opertionl rules for the bsic constructs of the lnguge [21]. Trditionlly, opertionl semntics is contrsted with the mthemticl interprettion of progrms clled denottionl semntics, where progrms re Reserch supported by EuroFOCS. Reserch supported by n EPSRC Senior Fellowship. mpped into suitble semntic domin endowed with n opertion for ech construct of the lnguge. Both opertionl nd denottionl semntics re necessry for complete description of progrmming lnguge: the former for specifying the execution of the progrms nd the ltter for resoning bout them in terms of bstrct, mthemticl entities. It is therefore fundmentl tht denottionl semntics be dequte, ie tht it determines the opertionl behviour of progrms [24]. For lnguges without vrible binding, but possibly multi-sorted, denottionl model cn be seen s Σ-lgebr, where Σ is the signture of the lnguge corresponding to the bsic constructs. The progrms themselves form the initil such Σ-lgebr nd the corresponding unique homomorphism from the progrms to the denottionl model is clled initil lgebr semntics [12]. The semntic domin, ie the crrier of the denottionl model, cn often be regrded s the finl solution of domin eqution X = B(X), for suitble behviour functor B. In other words, the semntic domin is the finl B-colgebr. The trnsition reltions my lso be seen s B-colgebrs nd, therefore, so cn the intended opertionl model of lnguge. The corresponding unique colgebr homomorphism, given by finlity, from the intended opertionl model to the semntic domin is clled finl colgebr semntics [2, 23]; under suitble ssumptions on B, it is fully bstrct with respect to behviourl equivlence. When initil lgebr nd finl colgebr semntics coincide, one hs n dequte denottionl semntics [23]. Adequcy proofs cn be quite demnding, hence generl criteri ensuring dequcy re of interest. For process lgebrs, s used for specifying nondeterministic nd concurrent progrms [17, 5], there exist syntctic restrictions on the formt of the oper-

2 tionl rules which ensure tht bisimultion [17] is congruence. Among the rules in these formts, GSOS rules [8] re the best known nd (negtive) tree rules [11] re the most generl. In [22], the processes s terms method, bsed on such congruence result, is presented which llows for the systemtic derivtion of dequte denottionl models from tyft rules [13], clss of rules equivlent to tree rules. We present here ctegoricl reformultion nd generlistion of the bove dequcy met-results. First, we show tht certin sets R of GSOS rules cn be modelled s nturl trnsformtions [[R] depending on the functoril notions of signture Σ nd behviour B. Next, it is shown tht the mpping R [[R]] is n essentilly 1-1 correspondence. The nturlity of [[R]] ccounts for the syntctic restrictions on the occurrences of met-vribles in GSOS rules nd provides ctegoricl explntion of their good behviour. The first dvntge of the bove pproch is tht the GSOS rules cn be modelled not only in Set, but lso in every ctegory with enough structure such s the ctegory of cpos nd continuous functions used in denottionl semntics. This is step towrds bridging the gp between opertionl nd domin theory. A second dvntge is tht the mthemticl modelling of the rules is useful semntic tool in the investigtion of syntctic formts. For instnce, in Set the dul of the type of nturl trnsformtion corresponding to GSOS lso corresponds to n interesting formt, nmely the sfe tree rules: these form nturl subclss of (negtive) tree rules which lwys possess stisfying trnsition reltion. Interestingly, the filure to fit the clss of (simple negtive) tree rules in the present pproch brought to light slight inccurcy in the literture nd, eventully, led to the discovery of the sfe tree rules. A third dvntge is tht by vrying Σ nd B wide vriety of notions of progrm constructs nd behviour cn be ccommodted. (See lso [30].) Further, one cn study bstrct notions of opertionl rules ρ, such s bstrct GSOS nd bstrct tree rules, pplicble to lnguges other thn process lgebrs nd whose properties cn be studied in generl. In this theory we ssume tht Σ freely genertes mond T which is thought of s corresponding to the syntx of the lnguge. The first result is tht such bstrct opertionl rules ρ induce n opertionl mond T ρ lifting the mond T to the B-colgebrs, ie to the opertionl models, in the sense tht its ction on the crriers is the sme s the mond T. If ρ is of bstrct tree rules form rther thn bstrct GSOS, then, by dulity, one first coinductively derives denottionl comond D ρ. The ssumption here is tht the functor B cofreely genertes comond D which should correspond to the globl behviours of the lnguge. The comond D ρ is lifting of this comond D to the Σ-lgebrs, ie to the denottionl models. However, one cn still spek of the opertionl mond defined by some bstrct tree rules becuse generl theorem shows tht liftings of D to the Σ-lgebrs nd liftings of T to the B-colgebrs re in 1-1 correspondence. In fct, these liftings re lso in 1-1 correspondence with the distributive lws λ of the mond T over the comond D., which generlise both bstrct GSOS nd bstrct tree rules. One is led now to consider the bilgebrs of such distributive lws. When λ corresponds to some bstrct opertionl rules ρ, the λ-bilgebrs cn be seen s combintions of opertionl nd denottionl models which stisfy the rules. Henceforth they re clled ρ-models; they specilise to the GSOS models of [25] nd to models of tree rules (with n pproprite definition). The primry fct bout ρ-models is tht, from results in [15], it esily follows tht the forgetful functors to ech of the ctegories of denottionl nd opertionl models hve djoints. One djunction implies tht there exists n initil ρ-model the intended opertionl model T ρ (0) for the initil lgebr of progrms. By the definition of morphism of ρ-models, this lso implies tht every ρ-model is dequte with respect to the intended opertionl model in the sense tht the behviour of the progrms cn be determined from ny ρ-model up to generlised, colgebric notion [4, 16] of bisimultion. The other djunction implies tht there exists finl ρ-model the cnonicl denottionl model D ρ (1) over the finl colgebr of bstrct, globl behviours. It is necessrily dequte; further, it is internlly fully bstrct with respect to colgebric bisimultion. The derivtion of this finl model specilises to the bove mentioned processes-s-terms method. The unique homomorphism from the initil to the finl ρ-model is both the initil lgebr nd finl colgebr semntics for the bstrct rules ρ. It is clled here universl semntics; it is the most bstrct compositionl interprettion of progrms preserving behviourl distinctions. Moreover, if the behviour functor B stisfies certin mild condition, every ρ-model hs gretest (generlised) bisimultion which, moreover, is (generlised) congruence. This specilises to the fct tht bisimultion is congruence for GSOS nd for tree rules. The generlised, colgebric notion of bisimultion considered here is to be understood s the behviourl equivlence corresponding to the functor B under con-

3 sidertion. It might tke forms quite different from ordinry (strong) bisimultion. For instnce, for the behviour functor in [14] it specilises to the much corser (complete) trce equivlence. As corollry, one hs n bstrct formt of rules ensuring tht trce equivlence is congruence [30]. To some extent, one cn lso del with wek bisimultion in this setting. As shown, eg in [13], wek bisimultion for given set of rules cn be reduced to strong bisimultion by dding three specil rules for the τ- ction. (See lso [3].) These rules re in the tyft/tyxt formt, but they cn be compiled into sfe tree rules, hence the present theory cn be pplied. This wy of deling with wek bisimultion is quite indirect, but tht just reflects the bsence of n estblished denottionl model for it. A more direct tretment of wek bisimultion might rise following [9]. 1 The Motivting Exmple: GSOS Consider the lnguge with signture Σ consisting of constnt symbol nil, set of unry ction prefixing opertors indexed by finite set A of ctions rnged over by, nd binry prllel composition opertor. This signture freely genertes, for every set X of vribles x, the set T X of terms t given by the bstrct grmmr t ::= x nil.t t t This set T X is the crrier of the free Σ-lgebr over X, where, in generl, Σ-lgebr is given by (crrier) set Y nd function h mpping ech opertor σ of rity n in the signture to function of type Y n Y. More concisely, the function h cn be written s h : σ Σ Y rity(σ) Y (1) using the disjoint union functor (coproduct in Set) to glue the interprettion of the vrious opertors together. Next, let the opertionl rules R inductively defining the (lbelled) trnsitions performble by the progrms of the bove lnguge be.x x x x x y x y y y x y x y For instnce, the simple progrm (.nil) (.nil) cn either perform the ction becoming nil (.nil) or perform becoming (.nil) nil. The (locl) behviour of this progrm cn be modelled s the function from A to finite subsets of terms mpping to the set {(.nil) nil, (.nil) nil} nd ll other ctions to the empty set. In generl, the type B of the behviour of the bove lnguge is BX = (P fi X) A (2) the (covrint) functor mpping set X to the set of functions from A to finite subsets of X. Let x nd y rnge over X, β rnge over (P fi X) A, nd let us write {x 1,..., x n } for the function from A to P fi X mpping to {x 1,..., x n } nd ll other elements of A to the empty set. Then, for ech opertor σ of the signture, the corresponding rules cn be modelled s function s follows. [σ]] : (X (P fi X) A ) rity(σ) (P fi T X) A [[nil]] = [.]](x, β) = {x} (x, β)[[ ]](y, β ) = {x y x β()} {x y y β ()} Using the universl property of coproducts, these functions cn then be glued into single function, sy [[R]] X : 1 ( A (X BX)) (X BX)2 BT X Note one hs function [[R] X for ech set X of vribles. In fct, one should think of the vribles in the rules s being met-vribles. Most importntly, the bove definition of [[R] X is nturl in X: for every renming of the vribles (possibly involving equting some of the vribles), first renming nd then pplying the rules is the sme s first pplying the rules nd then renming. As shown in 5 nd 7 the nturlity of [[R]] explins the good behviour of R. More generlly, let A i nd B i rnge over subsets of A nd let R be set of rules of the form {x i yij Ai }1 i n, 1 j m i σ(x 1,..., x n ) b {x i } 1 i n c t b B i (3) which is imge finite in the sense tht there re finitely mny rules for ech opertor σ in Σ nd ction c in A. For every set X, one cn ssocite to R function [[R]] X : σ Σ(X (P fi X) A ) rity(σ) (P fi T X) A (4) s follows. For ll t in T X, c in A, x i in X, nd β i in (P fi X) A, put t [[R]] X (σ((x 1, β 1 ),..., (x n, β n )))(c) if nd only if the following condition holds.

4 Condition 1.1 There exists (possibly renmed) rule (3) in R such tht {yi1,..., y im } is subset of β i i (), for in A i, nd β i (b) is empty, for b in B i. Note the function [[R]] X does not need to be nturl in the set X. Definition 1.1 (GSOS [8]) A GSOS rule is rule of type (3) such tht the x i nd yij re ll distinct nd, moreover, these re the only vribles which cn occur in the term t. Two sets of rules re clled equivlent if they prove the sme rules in the sense of [11, Def. 2.5]. Theorem 1.1 (GSOS is nturl) There is correspondence between nturl trnsformtions of type (X (P fi X) A ) rity(σ) (P fi T X) A (5) σ Σ nd imge finite sets of GSOS rules for signture Σ (over fixed denumerbly infinite set of vribles V ). Moreover, this correspondence is 1-1 up to equivlence of sets of rules. Proof. We just describe the correspondence. One direction is given by the bove mpping R [[R]]. As for nturlity, let us introduce some useful bbrevition first: for every function f : X X, write f for the function (P fi f) A, Γ for the set [R]] X (σ((x 1, β 1 ),..., (x n, β n )))(c), nd Γ for the set [[R]] X (σ((fx 1, f β 1 ),..., (fx n, f β n )))(c). Then the clim is tht nd, conversely, 1. t Γ, t Γ, t = (T f)(t) 2. t Γ, t Γ, t = (T f)(t) Consider the first cluse. If t is in Γ then Condition 1.1 holds. Clerly, β i (b) = if nd only if (f β i )(b) =, nd {yi1,..., y im } β i i () implies {fyi1,..., fy im } (f β i i )(), therefore (T f)(t) is in Γ, becuse the x i nd yim re the only vribles occurring in the rule. For the second cluse, one lso uses i the fct tht the x i nd the yim in GSOS rule re ll i distinct, hence the vlue of Γ does not depend on ny of the possible identifictions mde by the renming function f. In the converse direction, given nturl trnsformtion ρ X of type (5), one cn define set of rules s follows. Let V be x 1, x 2,... nd let x {y 1,..., y k } be n bbrevition for x y 1,..., x y k. Choose β i () = {y ij j = 1,..., m i } so tht the x i nd y ij re ll distinct. Then write rule {x i β i ()} 1 i n A i A {x i σ(x 1,..., x n ) c t b } 1 i n b A\A i (6) whenever t ρ X (σ((x 1, β 1 ),..., (x n, β n )))(c) nd A i = { A β i () }. Nturlity ensures this is GSOS rule. It cn be further shown tht nturlity nd the finiteness of A ensure tht the resulting set of rules is imge finite. We do not understnd this sitution for infinite A, lthough the bove definition of [[R]] still works. 2 GSOS is Ctegoricl In this section, let C be distributive ctegory with infinite coproducts nd commuttive free semi-lttice mond P f. The clim is tht GSOS rules cn be modelled in every such ctegory. Note, first, tht to every signture Σ one cn ssocite n endofunctor on Set with the sme nme: ΣX = σ Σ X rity(σ) Clerly, this definition lso mkes sense in C. Next, rewrite BX = (P fi X) A s BX = (1 + P f X) A, which, gin, mkes sense in C: the power Y A is the product A Y, P f is the free semi-lttice mond which in Set is the relevnt prt of the endofunctor P fi obtined by removing the empty set, nd + is just nother nottion for the binry coproduct. It remins to generlise T. For this, let Σ be n rbitrry endofunctor on C nd let Σ-Alg be the corresponding ctegory of Σ-lgebrs: objects re pirs X, h, where the crrier X is n object nd the structure h : ΣX X is morphism of C; the homomorphisms f : X, h X, h re the morphisms f : X X between the crriers such tht f h = h (Σf). If the forgetful functor U Σ : Σ-Alg C X, h X mpping Σ-lgebrs to their crriers, hs left djoint F Σ, then the corresponding mond T = U Σ F Σ (7) is the mond freely generted by Σ. For finitry endofunctors Σ s the one bove, it suffices tht C hs ω-colimits for the djunction F Σ U Σ to hold nd T to be defined. Thus one cn tke T to be the mond freely generted by the endofunctor

5 ΣX = σ Σ Xrity(σ). In Set, its vlue T X t set X is the set of terms corresponding to the opertors σ of the signture nd with vribles x in X; the unit η X : X T X is the insertion-of-vribles function which mps vrible x in X to the sme vrible but seen s term; nd the multipliction µ X : T 2 X T X is the opertion which llows one to plug terms into contexts. Theorem 2.1 For ny imge finite set R of GSOS rules, nturl trnsformtion [R]] : (X (1 + P f X) A ) rity(σ) (1 + P f T X) A σ Σ cn be defined in the internl lnguge of distributive ctegories with infinite coproducts nd commuttive free semi-lttice mond P f. In the cse of Set it specilises to the trnsformtion (4). Proof. The trnsformtion [[R]] in (4) cn be defined ctegoriclly using: projections nd injections, piring nd copiring, nd the ssocitivity, symmetry, unit, nd distributive lws for products nd coproducts; the unique mp to the finl object 1; the unit nd the free structure of the mond T ; the join of free semi-lttices; the unit nd the strength of the commuttive mond P f. (The use of the strength depends on the ssumption tht, becuse R is imge finite nd A is finite, for ech opertor the set of rules is finite.) The chrcteristion of GSOS given by the bove theorem llows one, for instnce, to relise GSOS rules in the ctegory of cpos nd continuous functions s used in domin theory, rther thn in Set. 3 Abstrct GSOS In generl, given crtesin ctegory C nd rbitrry functoril notions of progrm constructs Σ nd behviour B on C, with Σ freely generting the syntx T, one cn define corresponding bstrct notion of opertionl rules s the nturl trnsformtions ρ of type Σ(Id B) BT (8) We shll need the following chrcteristion. Proposition 3.1 There is 1-1 correspondence between nturl trnsformtions of type Σ(Id B) BT nd those of type Σ(T BT ) BT. Proof. One direction of the correspondence is given by the mpping ρ ϱ = Bµ ρ T : Σ(T BT ) BT, for ρ : Σ(Id B) BT. In the converse direction, simply precompose ϱ : Σ(T BT ) BT with Σ(η Bη). Severl exmples illustrting the use of the generlity of (8) re given in [30]. Here is brief summry thereof. Firstly, the opertionl rules of deterministic progrms with exceptions nd side-effects cn be modelled instntiting (8) with the behviour endofunctor BX = (S (1 + X)) S, where S Y is the copower S Y. As shown below, the behviourl equivlence corresponding to BX = (P fi X) A is bisimultion; corser equivlence, nmely trce equivlence, cn be obtined by considering the endofunctor BX = 1 + A X on the ctegory SL(C) of semi-lttices in ctegory C. (This is simplified version of the behviour in [14].) The progrm construct endofunctor to be considered then is Σ : SL(C) SL(C), monoidl generlistion of the endofunctor Σ on crtesin ctegories. For instnce, for the lnguge of 1, Σ X = 1 + A X + (X X), where is the tensor product of semi-lttices. Note tht (8) cn be instntited to rules not only for single-sorted lnguges but lso for multi-sorted ones; it suffices to work with signtures (nd behviours) over power ctegories. Finlly, we briefly consider recursion. GSOS stnds for SOS for non-deterministic progrms with gurded recursion, becuse the full definition lso llows for definitions of progrms by gurded recursion. In [30], functoril notion of gurd is given which llows one to generlise the definitions by gurded recursion to bstrct rules of type (8). Moreover, one cn lso tret ungurded recursion by relising the bstrct rules, for instnce, in the ctegory of cpos nd prtil continuous functions nd exploiting lgebric compctness. This involves precomposing the endofunctor Σ with the lifting endofunctor, so tht one freely genertes not only finite but lso prtil nd infinite terms, the ltter being used to unfold recursive definitions of progrms. 4 Colgebrs The intended opertionl model of set of concrete GSOS rules is the lest reltion R T A T which stisfies the rules, where x x stnds for x,, x R. In generl, reltion of type X A X is clled lbelled trnsition system [21] with set of sttes X nd set of lbels A. For imge finite sets of GSOS rules it suffices to consider imge finite trnsition systems, where, for ech stte nd ech ction, the imge of the trnsition reltion is finite set. These re in 1-1 correspondence with functions k : X (P fi X) A s follows. x x x k(x)() (9) If, s considered here, the set A is finite, then imge finite trnsition systems cut down to finitely brnch-

6 ing trnsition systems, where for ech stte, the set of outgoing trnsitions is finite. A function k : X (P fi X) A is colgebr of the endofunctor BX = (P fi X) A on Set. Formlly, given n endofunctor B : C C, B-colgebr is pir X, k, where the crrier X is n object nd the structure k : X BX is morphism of C. One often identifies colgebr X, k with its structure k. The B-colgebrs form ctegory B-Colg, with homomorphisms f : X, k X, k the morphisms k X BX f Bf X k BX f : X X between the crriers such tht k f = (Bf) k. Note the forgetful functor U B : B-Colg C X, k X mpping colgebrs to their crriers. For BX = (P fi X) A, the colgebr homomorphisms re, up to the correspondence (9), the sme s the P- open morphisms of [16], where P is suitble ctegory of finite sequences of ctions. (Thus, for this choice of B, B-Colg is proper subctegory of the stndrd ctegory of trnsition systems [31].) As consequence, two trnsition systems re (strongly) bisimilr [17] if nd only if there is spn of colgebr homomorphisms between them. This leds to the following colgebric notion of bisimultion, mild generlistion of the one in [4]. Let B be n endofunctor on ctegory C with kernel pirs nd let the internl equlity of colgebr X, k be the kernel pir (in the underlying ctegory C) of the identity on its crrier X. One cn esily prove tht: Proposition 4.1 (Strong Extensionlity) Internl equlity is the finl B-bisimultion of the finl B-colgebr. In generl, finl colgebrs need not exist, but if C hs finl object 1, nd the forgetful functor U B hs right djoint G B : C B-Colg, then G B 1 is the finl B-colgebr. For the endofunctor BX = (P fi X) A on Set, such right djoint G B exists [6]. It follows [29, 13] tht the finl colgebr G B 1 is the set of rooted, imge finite trees, with brnches lbelled by A, quotiented by (ordinry) bisimultion. This is the set of bstrct globl behviours, ie the (bstrct) nondeterministic processes. Semnticlly, the bove strong extensionlity result specilises then to the fct tht such finl colgebr is internlly fully-bstrct [1] with respect to bisimultion, ie its lrgest bisimultion is the equlity, hence bisimilr elements re indistinguishble. 5 Opertionl Monds Definition 5.1 Let T nd B be endofunctors on the sme ctegory C. An endofunctor T on the ctegory of B-colgebrs lifts the endofunctor T to the B- colgebrs if U B T = T UB, ie the digrm Definition 4.1 (Colgebric Bisimultion) A B- bisimultion between two colgebrs X 1, k 1 nd X 2, k 2 of n endofunctor B is triple X, f 1, f 2 such tht such tht there exists colgebr structure k : X BX mking X, k, f 1, f 2 spn X, k B-Colg U B C T T B-Colg C U B f 1 X 1, k 2 f 2 X 2, k 2 of colgebr homomorphisms f 1,f 2. One cn form the ctegory of B-bisimultions between two colgebrs X 1, k 1 nd X 2, k 2 of n endofunctor B on ctegory C: the morphisms g : X, f 1, f 2 X, f 1, f 2 re those g : X X in C (thus not necessrily colgebr homomorphisms) such tht f i = f i g, for i = 1, 2. commutes. (Cf [15].) When both T nd T re monds, T lifts the mond T to the B-colgebrs if the forgetful functor U B : B-Colg C (together with the identity nturl trnsformtion) is mond morphism [27] from T to T. Remrk 5.1 A mond T lifts mond T = T, η, µ to the B-colgebrs if nd only if U B T = T UB nd, for

7 every B-colgebr k : X BX, the digrm T ϱ (k) : T X BT X to be the unique mp k X η X T (k) T X µ X T 2 X T 2 (k) X k η X BX T X T ϱ(k) ψ X ΣT X Σ id, T ϱ(k) BX Bη X BT X Bµ X BT 2 X Bη X BT X ϱ X Σ(T X BT X) commutes. given by the bove theorem. Consider now T to be the mond freely generted by n endofunctor Σ. The djunction F Σ U Σ gives well-known structurl recursion theorem which specilises to the ordinry recursion (or itertion) theorem for nturl numbers, covering the simplest form of primitive recursive functions, but not others such ddition, multipliction, exponentition, etc, which need prmeters nd ccumultors. (By structurl recursion we men definition by structurl induction.) Here we shll need the following folklore structurl recursion theorem [20] with ccumultors, ie with terms s prmeters of the recursive definition. Theorem 5.1 (Structurl Recursion) Let T be mond freely generted by n endofunctor Σ on crtesin ctegory C nd let ψ X : ΣT X T X be the structure of the free Σ-lgebr over n object X of C. For ll morphisms f : X Y nd h : Σ(T X Y ) Y in C there exists unique morphism f : T X Y in C such tht commutes. X f η X T X Y f h ψ X ΣT X Σ id, f Σ(T X Y ) Proof. Turn h into the Σ-lgebr structure ψ X Σπ 1, h : Σ(T X Y ) T X Y over the product T X Y nd then pply the ordinry structurl recursion theorem to it nd η X, f : X T X Y. Recll Proposition 3.1. For every mp ϱ X : Σ(T X BT X) BT X (10) nd every colgebr k : X BX, define the colgebr Proposition 5.1 If the morphism ϱ X is nturl in X, then the bove construction k T ϱ (k) extends to mond T ϱ lifting T to the B-colgebrs. Proof. First one needs to prove tht, for every colgebr homomorphism f : X, k X, k, T f is colgebr homomorphism, ie T ϱ (k ) T f = BT f T ϱ (k) so tht one cn define T ϱ f to be T f. For this, simply note tht both composites T R (k ) T f nd BT f T R (k) fit s the unique morphism f X X k η X BX Bη X T X! BT X ϱ X ψ X ΣT X Σ id,! Σ(T X BT X ) Σ T f, id Σ(T X BT X ) given by Theorem 5.1, hence they must be equl. (The nturlity of ϱ is essentil here!) Next, one hs to verify tht the endofunctor T ϱ lifts the opertions of the mond T. From Remrk 5.1, it suffices to show tht, for every colgebr structure k : X BX, T ϱ (k) η X = Bη X k nd T ϱ (k) µ X = Bµ X Tϱ 2 (k), ie the unit nd the multipliction of T re colgebr homomorphisms. For the unit, this is immedite by definition of the functor T ϱ, while for the multipliction one lso needs to use the nturlity of ρ nd the fct tht µ is defined by (ordinry) structurl recursion on the free lgebr structure. Definition 5.2 The opertionl mond induced by some bstrct opertionl rules ρ : Σ(Id B) BT, is the mond T ϱ corresponding to the composite nturl trnsformtion ϱ = Bµ ρ T : Σ(T BT ) BT. We write T ρ for this mond.

8 Let us try nd understnd the opertionl mond T ρ when ρ = [[R]], for R set of concrete GSOS rules. Firstly, pplying ρ to T X mounts to instntiting the met-vribles of the rules with the terms in T X. Formlly, in this wy the term t in GSOS rule (3) might contin terms s vribles: one needs to pply to it the multipliction of the term mond T in order to unbrcket it nd obtin n elementry term. This is chieved here by composing ρ T X with Bµ X. Next, recll the correspondence (9) between colgebrs k : X BX = (P fi X) A nd imge finite trnsition systems. By regrding X s set of constnts rther thn s set of sttes, the correspondence (9) cn lso be seen s being between colgebrs nd sets of δ-rules [8], ie xiom rules. Up to these two correspondences, one cn then check tht k T ρ (k) is the usul construction of trnsition system for finite set of GSOS rules R nd possibly infinite (but imge finite) set k of δ-rules. In prticulr, if X is the empty set, hence k is the trivil colgebr 0 : B nd T X = T is the set of closed terms, this construction gives the intended opertionl model for the rules. These remrks hold for rbitrry rules of type (3) nd, correspondingly, to possibly non-nturl functions [[R]] X. The nturlity of GSOS ensures tht T ρ is n opertionl mond, which is essentil for pplying the theory in 7. 6 Dulising GSOS: Tree Rules The dulity between lgebrs nd colgebrs cn be exploited to find formt of rules dul to bstrct GSOS s follows. Let Σ nd B be two endofunctors on cocrtesin ctegory C nd let D = D, ε, δ be the cofree comond generted by B, tht is, the forgetful functor U B hs right djoint G B : C B-Colg nd D = U B G B (11) By the dul of Theorem 5.1 nd Definition 5.1, every nturl trnsformtion ϱ : ΣD B(D + ΣD) coinductively defines lifting D ρ of the comond D to the Σ-lgebrs: Σ-Alg U Σ C D ϱ D Σ-Alg C U Σ In prticulr, such lifting cn be obtined from nturl trnsformtions ρ : ΣD B(Id + Σ) (12) by dulising Proposition 3.1 nd putting ϱ = ρ D Σδ : ΣD B(D + ΣD). This is the denottionl comond D ρ coinduced by ρ. Let Σ freely generte mond T. In the next section, Theorem 7.1 shows tht liftings of the comond D to the Σ-lgebrs re in 1-1 correspondence with liftings of the mond T to the B-colgebrs. Therefore, if Σ corresponds to some progrm constructs nd B to some behviour, every nturl trnsformtion ρ s in (12) defines lso n opertionl mond, sy T ρ (with slight buse of nottion). As mentioned in 4, for the endofunctor BX = (P fi X) A on Set the djunction U B G B exists. The vlue of the corresponding cofree comond D = U B G B t set X is the set of globl behviours with sttes x in X. Formlly, it is quotient of the set of rooted, imge finite trees, with brnches lbelled by A, nd nodes lbelled by x X; the quotient is tken with respect to form of bisimultion tking into ccount the nme of the nodes [29, 13]. The counit ε : D Id is the opertion which extrcts the root from tree nd the comultipliction δ : D D 2 is the opertion which replces the nme of every node in tree by the subtree strting t tht node. Next, consider rules of type {z i i yi } i I {w j c σ(x 1,..., x n ) t b j }j J (13) where the x k, y i, z i, nd w j re ll vribles, nd I nd J re countble, possibly infinite index sets. It is convenient to consider the dependency grph [13] of such rule, nmely the directed grph hving the vribles of the rule s nodes, z i i yi, for i in I s positive b j edges, nd w j s negtive, trgetless edges. A rule of type (13) is well-founded if ll bckwrds chins of edges in its dependency grph re finite [13]. Definition 6.1 (Tree rules [10, 11]) A (simple negtive) tree rule is well-founded rule of type (13) such tht the x k nd the y i re ll distinct vribles nd re the only vribles occurring in the rule (ie the z i nd w j re ll occurrences of the x k nd y i ). A tree rule is sfe if the term t either is vrible x or is of the form σ (x 1,..., x m) for some opertor σ of the signture nd some (not necessrily distinct) vribles x 1,..., x m. Tree rules re more generl thn GSOS: they llow for lookhed, in tht one cn look not only t the

9 locl behviour ( single trnsition x y) of the sttes like in GSOS, but lso t the globl one, s in x b y y. (See [13] for some exmples.) The sfety restriction does not ffect the expressive power of the rules, provided one is llowed to dd sufficiently mny uxiliry opertors to the signture. A tree rule (13) hs the property tht its dependency grph is equl to the grph rechble from the nodes x 1,..., x n. Moreover, the subgrph rechble from node x k is tree the dependency tree with root x k. Let us cll set of tree rules llowed if it is n imge finite set (in the sense of 1) of tree rules whose dependency trees re imge finite. Then, n llowed set R of tree rules defines, for every X, function [[R] X : ΣDX (P fi T X) A (14) s follows. For ll t in T X, c in A, nd d k in DX, put t [[R]] X (σ(d 1,..., d n ))(c) if nd only if there exists (possibly renmed) rule (13) in R such tht the root of d k is x k, for 1 k n, nd the dependency trees of the rule cn be embedded in the d k (where the convention is tht tree with b j negtive edge w j cn be embedded into dk only if the vrible in d k corresponding to w j does not hve n outgoing edge lbelled by b j ). Theorem 6.1 (Tree rules re nturl) Let D be the comond cofreely generted by the endofunctor BX = (P fi X) A on Set. For every llowed set ρ of tree rules the function [[R]] X in (14) is nturl in X. Proof. Similr to the proof of nturlity in Theorem 1.1. Note the well-foundedness of tree rules is needed. For instnce, the non-well-founded rule with premise x x nd conclusion.x nil is not nturl becuse: first pplying [[.]] to (x y) nd then renming y s x yields {x}, while the sme opertions but in the reverse order yield {x, nil}, which fct violtes nturlity. In prticulr, if the rules in R re sfe, the nturl trnsformtion [[R]] is of type ΣD (P fi (Id + Σ)) A Therefore, for every llowed set R of sfe tree rules there exists trnsition system which stisfies the rules, nmely T ρ (0), where ρ = [[R]] nd T ρ is the corresponding opertionl mond. Contrrily to wht is stted in [11], this fils for (simple negtive) tree rules, s the filure to fit these ltter rules in the present theory brought to light. In fct, the sfe tree rules themselves hve been suggested to us by Rob vn Glbbeek s nturl subclss of (negtive) tree rules possessing stisfying trnsition system. 7 Combining Opertionl nd Denottionl Models When T is the mond freely generted by n endofunctor Σ on ctegory C, then one cn esily see tht the ctegory Σ-Alg of lgebrs of the endofunctor Σ is isomorphic to the ctegory T -Alg of lgebrs of the mond T = T, η, µ, with objects those morphisms h : T X X in C such tht h η X = id nd h T h = h µ X. Dully, the ctegory B-Colg of B- colgebrs is isomorphic to the ctegory D-Colg of colgebrs of the comond D cofreely generted by B [29, 7]. The results in this section should be red up to these two isomorphisms of ctegories Σ-Alg = T -Alg 7.1 Distributive Lws B-Colg = D-Colg Given mond T = T, η, µ nd comond D = D, ε, δ on ctegory C, distributive lw [7] of the mond T over the comond D is nturl trnsformtion λ : T D DT stisfying the lws λ η D = Dη nd their dul T ε = ε T λ λ µ D = Dµ λ T T λ Dλ λ D T δ = δ T λ The following theorem my well be folklore. Theorem 7.1 For mond T nd comond D on the sme ctegory, the following notions re mutully equivlent. Distributive lws λ of T over D. Liftings T of T to the D-colgebrs. Liftings D of D to the T -lgebrs. Proof. Given distributive lw λ, one cn define the corresponding liftings s follows. T λ (k) = λ X T k D λ (h) = Dh λ X Conversely, consider lifting T of the comond D to the T -lgebrs, hence U D T = T UD. By Lemm 1 in [15], this determines distributive

10 lw λ of the mond T over the endofunctor D s follows: first tke the nturl trnsformtion T ε : U D T GD = T U D G D = T D T, then trnspose it cross the djunction U D G D obtining λ : T G D G D T, nd finlly define λ to be U D λ : U D T GD = T D DT. It is esy to prove tht λ ctully is distributive lw over the whole comond D. Dully, given lifting D, tke η D : D DT = DU T F T = U T DF T, trnspose it cross F T U T obtining λ : F T D DF T, nd define λ to be U T λ : U T F T D = T D DT = U T DF T. The constructions re esily seen to be mutully inverse. When T is syntx nd D is (globl) behviour, the type of the distributive lw λ might thought of s the most generl type of well-behved rules. Note one cn lso consider monds T corresponding to lgebric theories, with equtions between the derived opertors. (See [29, 10] for n elementry exmple.) 7.2 Bilgebrs s Models Given distributive lw λ : T D DT, one cn consider the ctegory λ-bilg of λ-bilgebrs. Its objects re pirs T X h X k DX of T -lgebrs nd D- colgebrs with common crrier X which stisfy the following pentgonl lw : k h = Dh λ X T k (Cf [28].) This lw mkes h colgebr homomorphism nd k n lgebr homomorphism. The morphisms f : X, h, k X, h, k of λ-bilg re those morphisms f : X X between the crriers which re both T -lgebr nd D-colgebr homomorphisms. Remrk 7.1 The λ-bilgebrs re the sme s the lgebrs of the mond T λ of Theorem 7.1, nd, dully, the sme s the colgebrs of the comond D λ : T λ -Alg = λ-bilg = D λ -Colg Remrk 7.2 When λ is the distributive lw induced by finite set of concrete GSOS rules, the λ-bilgebrs re the GSOS-models of [25]. Given Σ-lgebr h : ΣX X, let h : T X X be its inductive extension to T -lgebr. When λ is induced by some bstrct opertionl rules ρ, no mtter whether of type (8) or the dul (12), λ-bilgebrs re equivlent to pirs ΣX h X k BX such tht k h = B(h ) ρ X Σ id, k (15) The lgebr structure cn be thought of s denottionl model, the colgebr structure s n opertionl model, nd the pentgonl lw (15) sys tht the combintion of the two models stisfies the rules ρ. Henceforth such bilgebrs re clled ρ-models. 7.3 Adequcy Met-Results Consider the forgetful functor U λ : λ-bilg D-Colg X, h, k X, k which forgets the lgebr structure of λ-bilgebr. Theorem 7.2 U λ hs left djoint, nmely: (X k DX) F λ (T 2 X µ X T X T λ(k) DT X) Proof. Dulise Theorem 4 of [15] nd pply it to D-Colg U D C U λ U T D λ -Colg T -Alg U Dλ where λ-bilg = D λ -Colg by Remrk 7.1. Corollry 7.1 The ctegory of λ-bilgebrs hs n initil object, nmely F λ 0, where 0 is the trivil initil D-colgebr. In prticulr, there exists n initil ρ-model, which cn be regrded s the intended opertionl model over the initil lgebr of progrms T 0. This implies tht every ρ-model M is dequte with respect to the intended opertionl model of ρ. Indeed, the unique ρ-model homomorphism to M given by initility is denottionl interprettion which preserves the behviourl distinctions of the intended opertionl model. This mkes M dequte. Now, consider the dul of U λ, nmely the functor U λ : λ-bilg T -Alg X, h, k X, h which forgets the D-colgebr structure of λ- bilgebr. Correspondingly, the following is dul to Theorem 7.2. Theorem 7.3 U λ hs right djoint, nmely: (T X h X) G λ (T DX D λ(h) DX δ X D 2 X) Corollry 7.2 The ctegory of λ-bilgebrs hs finl object, nmely G λ 1, where 1 is the trivil finl T -lgebr.

11 In prticulr, there exists finl ρ-model which is the cnonicl denottionl model for ρ; it hs the finl D-colgebr s crrier which, s mentioned in 4, is internlly fully bstrct with respect to B-bisimultion. The construction 1 G ϱ 1 = D1, D ϱ (1), δ 1 generlises the processes s terms construction of [22], which is systemtic method for deriving dequte denottionl models from tyft rules [13] ( clss of rules equivlent to the tree rules without negtive premises [10]). For more detils, see [30]. Corollry 7.3 The unique (both by initility nd finlity) homomorphism from the initil to the finl ρ- model is both the initil lgebr semntics nd the finl colgebr semntics for ρ. The bove, sy, universl semntics for ρ is thus compositionl interprettion of the progrms which preserves their behviourl distinctions. In Set, the ltter mens tht two progrms with the sme universl semntics re B-bisimilr. One cn esily see tht, under the dditionl hypothesis tht B preserves wek pullbcks, the converse lso holds: two progrms hve the sme universl semntics if nd only if they re B-bisimilr. In other words: Corollry 7.4 If B preserves wek pullbcks, the universl semntics ssocited to some bstrct rules ρ is fully bstrct with respect to B-bisimultion. Next, recll Definition 4.1: by replcing spns of colgebr homomorphisms with spns of T -lgebr homomorphisms, one hs corresponding notion of T - congruence which specilises to the ordinry notion of congruence. Similrly, by considering spns of λ- bilgebr homomorphisms one hs notion of, sy, λ- bicongruence nd corresponding ctegory. We cn sk then whether there exists finl bicongruence for λ-bilgebr. Now, if pullbcks of cospns of crriers of B-colgebrs re B-bisimultions, then, by the universl property of pullbcks, finl B-bisimultion between two colgebrs exists: it is the pullbck of the respective unique colgebr homomorphisms to the finl colgebr. This is T -congruence s well, becuse the forgetful functor U T : T -Alg C cretes limits. Therefore, by definition of finl bilgebr: Corollry 7.5 If B preserves wek pullbcks, then every λ-bilgebr hs finl bicongruence. In prticulr, the behviourl endofunctor B in (2) preserves wek pullbcks, hence the bove corollry specilises to the well-known fct tht (strong) bisimultion is congruence for GSOS nd tree rules. Future Work The mjor chllenge hed is the opertionl semntics of the lnguges with vrible binders, such s the π-clculus nd the λ-clculus. (At the moment, by working in suitble functor ctegory, we re ble to give functoril description of syntx with vrible binders, but it is not yet cler whether this fits our purposes.) We would lso like to obtin dequcy results when working in ctegories of prtil mps. There is n obvious question bout Moggi s computtionl monds [19] nd our behviour functors which remins to be investigted. In different direction, we would like to understnd the reltionship between the trnsitionl pproch considered here nd others, such s the the reductionl one rising in the λ-clculus nd term-rewriting in generl. Further developments of the present theory could led to pplictions in modulr compiler development technology. Perhps there will be useful theory of the combintion of opertionl semntics of different lnguges (cf [18]). Agin, perhps one cn relte the opertionl semntics of lnguge with tht of its trnsltion into nother trget lnguge (cf [26]). Acknowledgements. Thnks to Mrcelo Fiore nd Alex Simpson for discussions. Prt of this study is bsed on the first uthor s thesis; he wishes to thnk Jco de Bkker nd Brt Jcobs for their guidnce. References [1] S. Abrmsky. A domin eqution for bisimultion. Informtion nd Computtion, 92: , [2] P. Aczel. Non-well-founded sets. Number 14 in Lecture Notes. CSLI, [3] P. Aczel. Finl universes of processes. In Mthemticl Foundtions of Progrmming Semntics, Proc. 9th Int. Conf., volume 802 of LNCS, pges Springer-Verlg, [4] P. Aczel nd N. Mendler. A finl colgebr theorem. In D.H. Pitt et l., editors, Proc. ctegory theory nd computer science, volume 389 of LNCS, pges Springer-Verlg, [5] J.C.M. Beten nd W.P. Weijlnd. Process Algebr. Cmbridge University Press, [6] M. Brr. Terminl colgebrs in well-founded set theory. Theoreticl Computer Science, 144(2): , 1993.

12 [7] Jon Beck. Distributive lws. In B. Eckmnn, editor, Seminr on Triples nd Ctegoricl Homology Theory, volume 80 of Lecture Notes in Mthemtics, pges Springer-Verlg, [8] B. Bloom, S. Istril, nd A.R. Meyer. Bisimultion cn t be trced. Journl of the ACM, 42(1): , jn A preliminry report ppered in Proc. 3rd LICS, pges , [9] J.R.B. Cockett nd D.A. Spooner. Ctegories for synchrony nd synchrony. Electronic Notes in Theoreticl Computer Science, 1, [10] W. Fokkink. The tyft/tyxt formt reduces to tree rules. In M. Hgiy nd J.C. Mitchell, editors, Proc. TACS94, number 789 in LNCS, pges Springer-Verlg, [11] W. Fokkink nd R. vn Glbbeek. Ntyft/ntyxt rules reduce to ntree rules. Informtion nd Computtion, 126(1):1 10, [12] J.A. Goguen, J.W. Thtcher, nd E.G. Wgner. An initil lgebr pproch to the specifiction, correctness nd implementtion of bstrct dt types. In R.T. Yeh, editor, Current Trends in Progrmming Methodology, volume IV, pges Prentice Hll, [13] J.F. Groote nd F. Vndrger. Structured opertionl semntics nd bisimultion s congruence. Informtion nd Computtion, 100(2): , [14] M.C.B. Hennessy nd G.D. Plotkin. Full bstrction for simple prllel progrmming lnguge. In J. Bečvář, editor, Proc. 8th MFCS, volume 74 of LNCS, pges Springer-Verlg, [15] P.T. Johnstone. Adjoint lifting theorems for ctegories of lgebrs. Bull. London Mth. Soc., 7: , [16] A. Joyl, M. Nielsen, nd G. Winskel. Bisimultion nd open mps. In Proc. Eighth IEEE Symp. on Logic In Computer Science, pges , [17] R. Milner. A Clculus of Communicting Systems, volume 92 of LNCS. Springer-Verlg, [18] E. Moggi. A ctegory-theoretic ccount of progrm modules. Mthemticl Structures in Computer Science, 1, [19] E. Moggi. Notions of computtion nd monds. Informtion nd Computtion, 93:55 92, [20] A. M. Pitts. Ctegoricl logic. Technicl Report 367, University of Cmbridge Computer Lbortory, My [21] G.D. Plotkin. A structurl pproch to opertionl semntics. Technicl Report DAIMI FN- 19, Computer Science Deprtment, Arhus University, [22] J. Rutten. Processes s terms: non-well-founded models for bisimultion. Mthemticl Structures in Computer Science, 2: , [23] J. Rutten nd D. Turi. Initil lgebr nd finl colgebr semntics for concurrency. In J. de Bkker et l., editors, Proc. of the REX workshop A Decde of Concurrency Reflections nd Perspectives, volume 803 of LNCS, pges Springer-Verlg, [24] D. Scott. Outline of mthemticl theory of computtion. In Proc. 4th Annul Princeton Conference on Inf. Sciences nd Systems, pges , [25] A.K. Simpson. Compositionlity vi cutelimintion: Hennessy-Milner logic for n rbitrry GSOS. In Proc. Tenth IEEE Symp. on Logic In Computer Science, [26] C. Stone nd R. Hrper. A type-theoretic ccount of Stndrd ML Technicl Report CMU-CS , Computer Science Deprtment, Crnegie- Mellon University, [27] R. Street. The forml theory of monds. Journl of Pure nd Applied Algebr, 2: , [28] M.E. Sweedler. Hopf Algebrs. W.A. Benjmin Inc., New York, [29] D. Turi. Functoril Opertionl Semntics nd its Denottionl Dul. PhD thesis, Free University, Amsterdm, June Accessible from < [30] D. Turi. Ctegoricl modelling of structurl opertionl rules: cse studies. Preprint, ccessible from < Mrch [31] G. Winskel nd M. Nielsen. Models for concurrency. In S. Abrmsky et l., editors, Hndbook of logic in computer science, volume 4. Clrendon Press, Oxford, 1995.

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

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

Categorical approaches to bisimilarity

Categorical approaches to bisimilarity Ctegoricl pproches to bisimilrity PPS seminr, IRIF, Pris 7 Jérémy Dubut Ntionl Institute of Informtics Jpnese-French Lbortory for Informtics April 2nd Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity

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

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

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

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

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

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

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

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

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

Universal coalgebra: a theory of systems

Universal coalgebra: a theory of systems Theoreticl Computer cience 249 (2000) 3 80 www.elsevier.com/locte/tcs Fundmentl tudy Universl colgebr: theory of systems J.J.M.M. Rutten CWI, P.O. Box 94079, 1090 GB Amsterdm, Netherlnds Communicted by

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

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

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

Intuitionistic Fuzzy Lattices and Intuitionistic Fuzzy Boolean Algebras

Intuitionistic 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 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

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

A PROOF OF THE FUNDAMENTAL THEOREM OF CALCULUS USING HAUSDORFF MEASURES

A PROOF OF THE FUNDAMENTAL THEOREM OF CALCULUS USING HAUSDORFF MEASURES INROADS Rel Anlysis Exchnge Vol. 26(1), 2000/2001, pp. 381 390 Constntin Volintiru, Deprtment of Mthemtics, University of Buchrest, Buchrest, Romni. e-mil: cosv@mt.cs.unibuc.ro A PROOF OF THE FUNDAMENTAL

More 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

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

Pseudo-distributive Laws

Pseudo-distributive Laws Pseudo-distributive Lws Eugeni Cheng, Mrtin Hylnd nd John Power b, Dept of Pure Mthemtics nd Mthemticl Sttistics, University of Cmbridge, Wilberforce Rod, Cmbridge, Englnd b Lbortory for the Foundtions

More information

An Introduction to Bisimulation and Coinduction

An Introduction to Bisimulation and Coinduction An Introduction to Bisimultion nd Coinduction Dvide Sngiorgi Focus Tem, INRIA (Frnce)/University of Bologn (Itly) Emil: Dvide.Sngiorgi@cs.unibo.it http://www.cs.unibo.it/ sngio/ Microsoft Reserch Summer

More information

Riemann Sums and Riemann Integrals

Riemann Sums and Riemann Integrals Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 2013 Outline 1 Riemnn Sums 2 Riemnn Integrls 3 Properties

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

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying

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

Rule formats for bounded nondeterminism in structural operational semantics

Rule formats for bounded nondeterminism in structural operational semantics Rule formts for bounded nondeterminism in structurl opertionl semntics Luc Aceto, Álvro Grcí-Pérez, nd Ann Ingólfsdóttir ICE-TCS, School of Computer Science, Reykjvík University, Menntvegur 1, IS-101,

More information

Riemann Sums and Riemann Integrals

Riemann Sums and Riemann Integrals Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 203 Outline Riemnn Sums Riemnn Integrls Properties Abstrct

More information

Dually quasi-de Morgan Stone semi-heyting algebras II. Regularity

Dually quasi-de Morgan Stone semi-heyting algebras II. Regularity Volume 2, Number, July 204, 65-82 ISSN Print: 2345-5853 Online: 2345-586 Dully qusi-de Morgn Stone semi-heyting lgebrs II. Regulrity Hnmntgoud P. Snkppnvr Abstrct. This pper is the second of two prt series.

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

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

Equality and Inequality in the Dataflow Algebra. A. J. Cowling

Equality and Inequality in the Dataflow Algebra. A. J. Cowling Verifiction nd Testing Reserch Group, Deprtment of Computer Science, University of Sheffield, Regent Court, 211, Portobello Street, Sheffield, S1 4DP, United Kingdom Emil: A.Cowling @ dcs.shef.c.uk Telephone:

More information

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1 Exm, Mthemtics 471, Section ETY6 6:5 pm 7:4 pm, Mrch 1, 16, IH-115 Instructor: Attil Máté 1 17 copies 1. ) Stte the usul sufficient condition for the fixed-point itertion to converge when solving the eqution

More information

Frobenius numbers of generalized Fibonacci semigroups

Frobenius numbers of generalized Fibonacci semigroups Frobenius numbers of generlized Fiboncci semigroups Gretchen L. Mtthews 1 Deprtment of Mthemticl Sciences, Clemson University, Clemson, SC 29634-0975, USA gmtthe@clemson.edu Received:, Accepted:, Published:

More information

Review of basic calculus

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

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

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

and that at t = 0 the object is at position 5. Find the position of the object at t = 2.

and 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 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

Math 61CM - Solutions to homework 9

Math 61CM - Solutions to homework 9 Mth 61CM - Solutions to homework 9 Cédric De Groote November 30 th, 2018 Problem 1: Recll tht the left limit of function f t point c is defined s follows: lim f(x) = l x c if for ny > 0 there exists δ

More information

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

THE QUADRATIC RECIPROCITY LAW OF DUKE-HOPKINS. Circa 1870, G. Zolotarev observed that the Legendre symbol ( a p

THE QUADRATIC RECIPROCITY LAW OF DUKE-HOPKINS. Circa 1870, G. Zolotarev observed that the Legendre symbol ( a p THE QUADRATIC RECIPROCITY LAW OF DUKE-HOPKINS PETE L CLARK Circ 1870, Zolotrev observed tht the Legendre symbol ( p ) cn be interpreted s the sign of multipliction by viewed s permuttion of the set Z/pZ

More 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

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

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

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

f(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

f(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 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 Basic Functional 2 1

The Basic Functional 2 1 2 The Bsic Functionl 2 1 Chpter 2: THE BASIC FUNCTIONAL TABLE OF CONTENTS Pge 2.1 Introduction..................... 2 3 2.2 The First Vrition.................. 2 3 2.3 The Euler Eqution..................

More information

Chapter 3. Vector Spaces

Chapter 3. Vector Spaces 3.4 Liner Trnsformtions 1 Chpter 3. Vector Spces 3.4 Liner Trnsformtions Note. We hve lredy studied liner trnsformtions from R n into R m. Now we look t liner trnsformtions from one generl vector spce

More information

arxiv: v1 [math.ra] 1 Nov 2014

arxiv: 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 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

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

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

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

Math 360: A primitive integral and elementary functions

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

Chapter 0. What is the Lebesgue integral about?

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

MATH 101A: ALGEBRA I PART B: RINGS AND MODULES 35

MATH 101A: ALGEBRA I PART B: RINGS AND MODULES 35 MATH 101A: ALGEBRA I PART B: RINGS AND MODULES 35 9. Modules over PID This week we re proving the fundmentl theorem for finitely generted modules over PID, nmely tht they re ll direct sums of cyclic modules.

More information

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by. NUMERICAL INTEGRATION 1 Introduction The inverse process to differentition in clculus is integrtion. Mthemticlly, integrtion is represented by f(x) dx which stnds for the integrl of the function f(x) with

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

Closure Properties of Regular Languages

Closure Properties of Regular Languages Closure Properties of Regulr Lnguges Regulr lnguges re closed under mny set opertions. Let L 1 nd L 2 e regulr lnguges. (1) L 1 L 2 (the union) is regulr. (2) L 1 L 2 (the conctention) is regulr. (3) L

More information

Stuff You Need to Know From Calculus

Stuff You Need to Know From Calculus Stuff You Need to Know From Clculus For the first time in the semester, the stuff we re doing is finlly going to look like clculus (with vector slnt, of course). This mens tht in order to succeed, you

More information

Dually quasi-de Morgan Stone semi-heyting algebras I. Regularity

Dually quasi-de Morgan Stone semi-heyting algebras I. Regularity Volume 2, Number, July 204, 47-64 ISSN Print: 2345-5853 Online: 2345-586 Dully qusi-de Morgn Stone semi-heyting lgebrs I. Regulrity Hnmntgoud P. Snkppnvr Abstrct. This pper is the first of two prt series.

More information

Linearity, linear operators, and self adjoint eigenvalue problems

Linearity, linear operators, and self adjoint eigenvalue problems Linerity, liner opertors, nd self djoint eigenvlue problems 1 Elements of liner lgebr The study of liner prtil differentil equtions utilizes, unsurprisingly, mny concepts from liner lgebr nd liner ordinry

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

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

Linearly Similar Polynomials

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

Module 6: LINEAR TRANSFORMATIONS

Module 6: LINEAR TRANSFORMATIONS Module 6: LINEAR TRANSFORMATIONS. Trnsformtions nd mtrices Trnsformtions re generliztions of functions. A vector x in some set S n is mpped into m nother vector y T( x). A trnsformtion is liner if, for

More information

Introduction to the Calculus of Variations

Introduction to the Calculus of Variations Introduction to the Clculus of Vritions Jim Fischer Mrch 20, 1999 Abstrct This is self-contined pper which introduces fundmentl problem in the clculus of vritions, the problem of finding extreme vlues

More information

The Algebra (al-jabr) of Matrices

The Algebra (al-jabr) of Matrices Section : Mtri lgebr nd Clculus Wshkewicz College of Engineering he lgebr (l-jbr) of Mtrices lgebr s brnch of mthemtics is much broder thn elementry lgebr ll of us studied in our high school dys. In sense

More information

p-adic Egyptian Fractions

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

Conservation Law. Chapter Goal. 5.2 Theory

Conservation Law. Chapter Goal. 5.2 Theory Chpter 5 Conservtion Lw 5.1 Gol Our long term gol is to understnd how mny mthemticl models re derived. We study how certin quntity chnges with time in given region (sptil domin). We first derive the very

More 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

Notes on length and conformal metrics

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

Math Advanced Calculus II

Math Advanced Calculus II Mth 452 - Advnced Clculus II Line Integrls nd Green s Theorem The min gol of this chpter is to prove Stoke s theorem, which is the multivrible version of the fundmentl theorem of clculus. We will be focused

More information

440-2 Geometry/Topology: Differentiable Manifolds Northwestern University Solutions of Practice Problems for Final Exam

440-2 Geometry/Topology: Differentiable Manifolds Northwestern University Solutions of Practice Problems for Final Exam 440-2 Geometry/Topology: Differentible Mnifolds Northwestern University Solutions of Prctice Problems for Finl Exm 1) Using the cnonicl covering of RP n by {U α } 0 α n, where U α = {[x 0 : : x n ] RP

More information

Euler, Ioachimescu and the trapezium rule. G.J.O. Jameson (Math. Gazette 96 (2012), )

Euler, 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 information

Boolean Algebra. Boolean Algebras

Boolean Algebra. Boolean Algebras Boolen Algebr Boolen Algebrs A Boolen lgebr is set B of vlues together with: - two binry opertions, commonly denoted by + nd, - unry opertion, usully denoted by or ~ or, - two elements usully clled zero

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

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

Review of Riemann Integral

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

Draft. Draft. Introduction to Coalgebra. Towards Mathematics of States and Observations. Bart Jacobs. Draft Copy.

Draft. Draft. Introduction to Coalgebra. Towards Mathematics of States and Observations. Bart Jacobs. Draft Copy. 1 Introduction to Colgebr. Towrds Mthemtics of Sttes nd Observtions Brt Jcobs Institute for Computing nd Informtion Sciences, Rdboud University Nijmegen, P.O. Box 9010, 6500 GL Nijmegen, The Netherlnds.

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

On the Continuous Dependence of Solutions of Boundary Value Problems for Delay Differential Equations

On the Continuous Dependence of Solutions of Boundary Value Problems for Delay Differential Equations Journl of Computtions & Modelling, vol.3, no.4, 2013, 1-10 ISSN: 1792-7625 (print), 1792-8850 (online) Scienpress Ltd, 2013 On the Continuous Dependence of Solutions of Boundry Vlue Problems for Dely Differentil

More information

TREE AUTOMATA AND TREE GRAMMARS

TREE AUTOMATA AND TREE GRAMMARS TREE AUTOMATA AND TREE GRAMMARS rxiv:1510.02036v1 [cs.fl] 7 Oct 2015 by Joost Engelfriet DAIMI FN-10 April 1975 Institute of Mthemtics, University of Arhus DEPARTMENT OF COMPUTER SCIENCE Ny Munkegde, 8000

More information

Variational Techniques for Sturm-Liouville Eigenvalue Problems

Variational Techniques for Sturm-Liouville Eigenvalue Problems Vritionl Techniques for Sturm-Liouville Eigenvlue Problems Vlerie Cormni Deprtment of Mthemtics nd Sttistics University of Nebrsk, Lincoln Lincoln, NE 68588 Emil: vcormni@mth.unl.edu Rolf Ryhm Deprtment

More information

DIRECT CURRENT CIRCUITS

DIRECT CURRENT CIRCUITS DRECT CURRENT CUTS ELECTRC POWER Consider the circuit shown in the Figure where bttery is connected to resistor R. A positive chrge dq will gin potentil energy s it moves from point to point b through

More information

Natural examples of rings are the ring of integers, a ring of polynomials in one variable, the ring

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

CMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature

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

Math 4310 Solutions to homework 1 Due 9/1/16

Math 4310 Solutions to homework 1 Due 9/1/16 Mth 4310 Solutions to homework 1 Due 9/1/16 1. Use the Eucliden lgorithm to find the following gretest common divisors. () gcd(252, 180) = 36 (b) gcd(513, 187) = 1 (c) gcd(7684, 4148) = 68 252 = 180 1

More information

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes Jim Lmbers MAT 169 Fll Semester 2009-10 Lecture 4 Notes These notes correspond to Section 8.2 in the text. Series Wht is Series? An infinte series, usully referred to simply s series, is n sum of ll of

More information

(e) if x = y + z and a divides any two of the integers x, y, or z, then a divides the remaining integer

(e) if x = y + z and a divides any two of the integers x, y, or z, then a divides the remaining integer Divisibility In this note we introduce the notion of divisibility for two integers nd b then we discuss the division lgorithm. First we give forml definition nd note some properties of the division opertion.

More 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

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

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

UniversitaireWiskundeCompetitie. Problem 2005/4-A We have k=1. Show that for every q Q satisfying 0 < q < 1, there exists a finite subset K N so that

UniversitaireWiskundeCompetitie. Problem 2005/4-A We have k=1. Show that for every q Q satisfying 0 < q < 1, there exists a finite subset K N so that Problemen/UWC NAW 5/7 nr juni 006 47 Problemen/UWC UniversitireWiskundeCompetitie Edition 005/4 For Session 005/4 we received submissions from Peter Vndendriessche, Vldislv Frnk, Arne Smeets, Jn vn de

More information