Complexity of Query Answering in Logic. Databases with Complex Values. Evgeny Dantsin. Steklov Institute of Mathematics at St.
|
|
- Molly Oliver
- 5 years ago
- Views:
Transcription
1 UPMAIL Technicl Report No. 149 November 27, 1997 Revised Februry 16, 1998 ISSN Complexity of Query Answering in Logic Dtbses with Complex Vlues Evgeny Dntsin Steklov Institute of Mthemtics t St.Petersburg Fontnk 27, St.Petersburg Russi Andrei Voronkov y Computing Science Deprtment Uppsl University Box 311, S Uppsl Sweden emil: fdntsin,voronkovg@csd.uu.se Supported by grnts from the Swedish Royl Acdemy of Sciences, the Swedish Institute nd RFBR/INTAS. Author's emil ddress t St.Petersburg: dntsin@pdmi.rs.ru y Supported by TFR grnt.
2 Abstrct This pper chrcterizes the computtionl complexity of nonrecursive queries in logic dtbses with complex vlues. Queries re represented by Horn cluse logic progrms. Complex vlues re represented by terms in equtionl theories (nite sets nd multisets re exmples of such complex vlues). We show tht the problem of whether query hs nonempty nswer is NEXP-hrd for nonrecursive rnge-restricted queries. We lso show tht this problem is in NEXP if complex vlues stisfy the following condition: the solvbility problem for equtions in the corresponding equtionl theory is in NP. Since trees, nite sets nd multisets stisfy this condition, the query nswering problem for logic dtbses with trees, nite sets nd multisets is shown to be NEXP-complete. 2 2 Copyright c 1997, 1998 Evgeni Dntsin nd Andrei Voronkov. This technicl report nd other technicl reports in this series cn be obtined t or t ftp.csd.uu.se in the directory pub/ppers/reports. Some reports cn be updted, check one of these ddresses for the ltest version.
3 Contents 1 Introduction 1 2 Preliminries Complex vlues Logic progrms with complex vlues NEXP-hrdness 4 4 Inclusion in NEXP 7 1 Introduction Reltionl query lnguges typiclly del with tuples of tomic vlues like strings or integers. Applictions require to hndle more complex vlues, for exmple sets or multisets. Vrious kinds of complex vlues in dtbses nd logic progrmming hve been considered in mny ppers, including [2, 3, 15, 6, 22, 20, 16, 5, 1, 14, 13, 10, 9, 23]. Our pper studies complexity spects of dtbses with complex vlues. There re two min kinds of complexity in dtbses: (1) query evlution complexity tht mesures time or spce needed to evlute query, nd (2) descriptive complexity tht chrcterizes the expressive power of query lnguges. In turn, query evlution complexity is considered in three forms: dt complexity, progrm complexity nd combined complexity. The dt complexity is expressed s function of the size of dt (represented by ground toms) for xed query (represented by logic progrm nd gol). The progrm complexity mens tht query is vrible, while dt re xed. The combined complexity considers both dt nd query to be vrible. By the query nswering problem we men the problem of whether given gol succeeds with respect to given logic progrm. In terms of logic dtbses, this problem is formulted s follows: given dtbse instnce nd query, does the outputted reltion contin t lest one tuple? Thus, the query nswering complexity, i.e. the complexity of the bove problem, is vrint of the combined complexity, nmely the combined complexity of Boolen queries. This kind of complexity seems to be especilly relevnt to dtbses with complex vlues since in this cse n nswer cn be too lrge or even innite. For Horn cluse logic progrms, the query nswering problem cn be nturlly formlized s the decision problem for corresponding frgments of rst-order logic. For non-horn cluse logic progrms, decidbility nd complexity hve been minly considered in the context of non-monotonic semntics ([7]). As for logic progrms with complex vlues, no previous complexity results re known to us. This pper chrcterizes the query nswering complexity for nonrecursive Horn cluse logic progrms with complex vlues. Complex vlues re represented by terms in equtionl theories (see detils in Section 2). Trees, nite sets nd multisets re exmples of such complex vlues. We show tht this problem for nonrecursive rnge-restricted logic progrms is NEXP-hrd. We lso show tht the query nswering problem for nonrecursive logic progrms is in NEXP if complex vlues stisfy the following condition: the solvbility problem for equtions in the corresponding equtionl theory is in NP. Since trees, nite sets nd multisets stisfy this condition, the query nswering problem for logic dtbses with trees, nite sets nd multisets is shown to be NEXPcomplete.
4 This pper is structured s follows. In Section 2 we dene wht we men by complex vlues nd dene nottion for logic progrms with complex vlues. In Section 3 we prove NEXP-hrdness of the query nswering problem for nonrecursive rnge-restricted logic progrms. In Section 4 we prove the inclusion in NEXP for complex vlues stisfying the condition mentioned bove. 2 Preliminries 2.1 Complex vlues Equtionl theories. In order to dene wht we men by complex vlues, we rst dene the notion of n equtionl theory. Let F be set of function symbols. As usul, nonnegtive rity is ssigned to every function symbol. Constnts re function symbols of rity 0. We ssume tht F contins t lest one constnt. The notion of term is dened in the stndrd wy: constnt is term; vrible is term; if t 1 ; : : :; t n re terms nd f is function symbol of rity n then f(t 1 ; : : :; t n ) is term. (Some vritions re possible, for exmple vribles my hve sorts). A term without vribles is clled ground. By n eqution we men n expression s = t. An eqution is sid to be ground if s nd t re ground. An equtionl theory E over F is set of ground equtions closed under the logicl consequence reltion, i.e. such tht 1. E contins ll ground equtions of the form t = t. 2. If E contins s = t then E contins t = s. 3. If E contins r = s nd s = t then E contins r = t. 4. If E contins s 1 = t 1 ; : : :; s n = t n then E contins f(s 1 ; : : :; s n ) = f(t 1 ; : : :; t n ) for ech n-ry function symbol f 2 F. Bsiclly, ech equtionl theory E denes domin D E of complex vlues: the elements of D E re the equivlence clsses of ll ground terms over F with respect to the equlity reltion in E. Exmples of complex vlues. Trees cn be viewed s trivil exmple of complex vlues. Nmely, trees re vlues represented by ground terms, nd the equlity reltion on them is dened s identity. Thus, equtionl theories for trees consist of only equtions t = t. Lists re specil kind of trees. In logic progrmming, lists re constructed from the constnt [] (clled the empty list) by using the binry function symbol [s j t] (clled the list constructor). If term t represents list then term [s j t] represents the list obtined from the list t by dding the term s s the rst element. Equtionl theories for lists re the sme s for trees. Bgs (or nite multisets in nother terminology) re lists in which the order of elements is immteril. We denote bgs similr to lists, but using the empty bg hi insted of the empty list [], the bg constructor hs j ti insted of the list constructor [s j t] nd ht 1 ; : : :; t n i insted of [t 1 ; : : :; t n ]. Bgs cn be xiomtized by ground equtions hr j hs j tii = hs j hr j tii nd their logicl consequences. Sets cn be viewed s bgs in which the number of occurrences of n element is immteril. Similr to bgs, we use the empty set fg nd the set constructor fs j tg tht denotes the set obtined from the set t by dding s s n element. Sets cn be xiomtized s follows: (1) in the xioms for bgs, we replce the empty bg nd the bg constructor by the empty set nd the set
5 constructor respectively, nd (2) we dd ll ground equtions hs j ti = hs j hs j tii. Note tht we dened hereditrily nite sets, i.e. nite sets whose elements cn be other (hereditrily nite) sets. There re other wys of integrting nite sets into logic progrmming. For exmple, in [10] sets re represented by terms fs 1 ; : : :; s n j tg where t cn be ny term not necessrily representing set (the uthors cll such objects colored sets). Thus, set is chrcterized not only by its elements but lso by some \type" (color). Our pproch is more trditionl: every til subterm t in fs 1 ; : : :; s n j tg is required to represent some set. 2.2 Logic progrms with complex vlues Herbrnd interprettions. Let be signture consisting of set F of function symbols (dened s bove) nd set of predicte symbols. We ssume tht contins t lest one constnt nd does not contin the equlity symbol =. Atoms, substitutions, instnces, vrints etc. re dened in the stndrd wy (see, for exmple, [4]). The Herbrnd universe U for is dened s the set of ll ground terms over. The set of ll ground toms over is clled the Herbrnd bse B for. By Herbrnd interprettion I for we men ny subset of B (ll toms in I re considered to be true, ll other ground toms re considered to be flse). Let E be n equtionl theory. Let I B be Herbrnd interprettion such tht if I contins n tom p(s 1 ; : : :; s n ) nd E contins equtions s 1 = t 1 ; : : :; s n = t n ; then I contins p(t 1 ; : : :; t n ). In this cse we cll I Herbrnd interprettion with respect to the equtionl theory E. Logic progrms. We x signture nd ssume tht ll terms nd toms below re terms nd toms over. A cluse is ny formul of the form A 1 ^ : : : ^ A n A, where A 1 ; : : :; A n ; A re toms nd n 0. Such cluse is usully written s A :- A 1 ; : : :; A n : nd simply s A when n = 0. The tom A is clled the hed, nd the sequence A 1 ; : : :; A n is clled the body of this cluse. By the length of the body we men the number n. A logic progrm is nite set of cluses. A gol is conjunction A 1 ^ : : :^ A n of toms, written s A 1 ; : : :; A n where n 0. When n = 0, it is clled the empty gol nd denoted by 2. By logic progrm with complex vlues we men pir (P; E) where P is logic progrm nd E is n equtionl theory. We lso cll such pir logic progrm over n equtionl theory. In prticulr, we sy tht logic progrm P over n equtionl theory E is logic progrm with sets if E is the equtionl theory of sets over F. Similrly, we use the terms logic progrms with bgs, trees, etc. Semntics. The semntics of logic progrms over equtionl theories cn be dened in mny wys by dpting the stndrd logic progrmming semntics [4, 17, 12] for the corresponding equtionl theory. For exmple, one cn use the lest xpoint semntics or generliztion of SLD-resolution. We dene the semntics by using the lest Herbrnd model. Let A :- A 1 ; : : :; A n be cluse without vribles. This cluse is sid to be true in Herbrnd interprettion I if A belongs to I whenever A 1 ; : : :; A n belong to I. We sy tht I is Herbrnd model for logic progrm P if ll ground instnces of ll cluses of P re true in I. If, in ddition,
6 I is Herbrnd interprettion with respect to n equtionl theory E then we cll I Herbrnd model for P over E. Like the cse of ordinry logic progrms, Herbrnd models for logic progrms over equtionl theories hve the following property: the intersection of Herbrnd models for P over E is gin Herbrnd model for P over E. This property llows us to dene the lest Herbrnd model for logic progrm with complex vlues: it is the smllest Herbrnd model for P over E (with respect to the subset reltion ). Let P be logic progrm over n equtionl theory E nd G be gol. We sy tht G succeeds with respect to P over E if there exists ground instnce A 1 ; : : :; A n of G such tht ll A 1 ; : : :; A n belong to the lest Herbrnd model of P over E. In other words, the formul 9(A 1 ^ : : : ^ A n ) is true in the lest Herbrnd model of P over E. Nonrecursive progrms. A logic progrm P is sid to be nonrecursive if ll predicte symbols in P cn be numbered so tht the following condition is stised for every cluse in P: the number of the predicte in the hed is greter thn the number of ech predicte in the body. Rnge-restricted logic progrms. A logic progrm P is clled rnge-restricted if every cluse A :- A 1 ; : : :; A n in P hs the property: ll vribles of A occur in A 1 ; : : :; A n. Rnge-restricted queries ply n importnt role in dtbses becuse they re domin independent (see [21] for exmple). The query nswering problem. Consider set C of logic progrms over E. By the query nswering problem for C we men the following decision problem: given progrm P 2 C nd gol G, does G succeed with respect to P over E? Note tht the complexity with respect to the combined size of the progrm nd the gol is equivlent to the complexity with respect to the size of the progrm. Let P be progrm, A 1 ; : : :; A n be gol, nd yes be nullry predicte symbol foreign to. Consider the progrm P 0 = P [ fyes :- A 1 ; : : :; A n g. Evidently, G succeeds with respect to P if nd only if the gol consisting of yes succeeds with respect to P 0. This trnsformtion of P into P 0 preserves the clsses C of logic progrms considered in this pper (nonrecursive nd/or rnge-restricted progrms). 3 NEXP-hrdness Theorem 3.1 The query nswering problem for the clss of nonrecursive rnge-restricted logic progrms with lists is NEXP-hrd. Proof. We reduce the TILING problem, which is known to be NEXP-complete (see for exmple [19], pge 501), to the query nswering problem for nonrecursive rnge-restricted logic progrms with lists. Informlly, TILING is the problem of tiling the squre of size 2 n 2 n by tiles (squres of size 1 1). More precisely, there is nite set ft 0 ; : : :; t k g of tiles nd there re two binry reltions on nd to dened on the tiles. Tiles t i nd t j re sid to be verticlly comptible if on(t i ; t j ) holds nd, similrly, horizontlly comptible if to(t i ; t j ) holds. A tiling of the squre of size 2 n 2 n is function f from f1; : : :; 2 n g f1; : : :; 2 n g into ft 0 ; : : :; t k g such tht 1. f(i; j) nd f(i + 1; j) re verticlly comptible, for ll 1 i < 2 n nd 1 j 2 n ; 2. f(i; j) nd f(i; j + 1) re horizontlly comptible, for ll 1 i 2 n nd 1 j < 2 n.
7 We lso sy tht such f is tiling with t i t the top left corner if f(1; 1) is t i. The TILING problem is dened s follows. Suppose tht we re given set ft 0 ; : : :; t k g of tiles, comptibility reltions on nd to, nd number n (written in unry nottion). The question we sk is whether there is tiling of the squre of size 2 n 2 n with t 0 t the top left corner. The reduction we describe is polynomil-time lgorithm tht trnsforms every instnce I of the TILING problem into logic progrm P nd gol G such tht I hs tiling if nd only if G succeeds with respect to P. We think of tiles t 0 ; : : :; t k in I s constnts of the progrm P. The comptibility reltions on nd to re represented in P by the corresponding predictes: nmely, P contins cluses on(t i ; t j ): to(t l ; t m ): for ll pirs of comptible tiles. To proceed the construction of P nd G, we generlize tiles in nturl wy. A hypertile of rnk i is dened by induction s squre of size 2 i 2 i consisting of tiles. A hypertile of rnk 0 is ny tile of the set ft 0 ; : : :; t k g. Let H 1 ; H 2 ; H 3 nd H 4 be hypertiles of rnk i, then the qudruple (H 1 ; H 2 ; H 3 ; H 4 ) is hypertile of rnk i + 1. We think of this hypertile s the squre H 1 H 2 H 3 H 4 nd we represent it in P by the list [H 1 ; H 2 ; H 3 ; H 4 ] where H 1 ; H 2 ; H 3 nd H 4 re lists tht represent the corresponding hypertiles of rnk i. Here is n exmple of hypertile of rnk 2 (formed from tiles ; b nd c) nd its representtion by list: b c c c b b [[b,,c,],[c,,b,b],[c,,b,b],[,,,c]] b b c Clerly, we cn identify hypertiles of rnk i with functions from f1; : : :; 2 i g f1; : : :; 2 i g into ft 0 ; : : :; t k g. We cll hypertile tiling if the corresponding function is tiling. In ddition to the predictes on nd to, the progrm P denes n binry predictes tiling 1,..., tiling n. A sttement tiling i (H; T 0 ) is intended to hold if nd only if (i) H is hypertile of rnk i; (ii) H is tiling with the tile T 0 t the top left corner. Thus, the gol G consisting of one tom tiling n (H; t 0 ) will succeed with respect to P if nd only if there is tiling for given ft 0 ; : : :; t k g, on, to nd n. The predicte tiling 1 is dened in the following obvious wy:
8 X 1 X 2 X 3 X 4 tiling 1 ([X 1 ; X 2 ; X 3 ; X 4 ]; X 1 ) :- on(x 1 ; X 3 ); on(x 2 ; X 4 ); to(x 1 ; X 2 ); to(x 3 ; X 4 ): To dene tiling i+1, we use the following observtion. Consider hypertile H [[X 1 ; X 2 ; X 3 ; X 4 ],[Y 1 ; Y 2 ; Y 3 ; Y 4 ], [Z 1 ; Z 2 ; Z 3 ; Z 4 ],[U 1 ; U 2 ; U 3 ; U 4 ] ] of rnk i + 1 nd 9 its subsqures, hypertiles of rnk i, shown below X 1 X 2 X 2 Y 1 Y 1 Y 2 X 3 X 4 X 4 Y 3 Y 3 Y 4 X 1 X 2 Y 1 Y 2 X 3 X 4 Y 3 Y 4 X 3 X 4 X 4 Y 3 Y 3 Y 4 Z 1 Z 2 U 1 U 2 Z 1 Z 2 Z 2 U 1 U 1 U 2 Z 3 Z 4 U 3 U 4 Z 1 Z 2 Z 2 U 1 U 1 U 2 Z 3 Z 4 Z 4 U 3 U 3 U 4 It is esy to see tht H is tiling if nd only if these 9 hypertiles re tilings too. Thus, tiling i+1 cn be dened s follows: tiling i+1 ([[X 1 ; X 2 ; X 3 ; X 4 ]; [Y 1 ; Y 2 ; Y 3 ; Y 4 ]; [Z 1 ; Z 2 ; Z 3 ; Z 4 ]; [U 1 ; U 2 ; U 3 ; U 4 ]]; T 0 ) :- tiling i ([X 1 ; X 2 ; X 3 ; X 4 ]; T 0 ); tiling i ([X 2 ; Y 1 ; X 4 ; Y 3 ]; ); tiling i ([Y 1 ; Y 2 ; Y 3 ; Y 4 ]; ); tiling i ([X 3 ; X 4 ; Z 1 ; Z 2 ]; ); tiling i ([X 4 ; Y 3 ; Z 2 ; U 1 ]; ); tiling i ([Y 3 ; Y 4 ; U 1 ; U 2 ]; ); tiling i ([Z 1 ; Z 2 ; Z 3 ; Z 4 ]; ); tiling i ([Z 2 ; U 1 ; Z 4 ; U 3 ]; ); tiling i ([U 1 ; U 2 ; U 3 ; U 4 ]; ): The progrm P described bove is nonrecursive nd rnge-restricted. Clerly, P nd the gol G re constructed from the instnce I of TILING in polynomil time. 2 Theorem 3.2 The query nswering problem is NEXP-hrd for the following clsses of nonrecursive rnge-restricted logic progrms:
9 logic progrms with trees in ny signture with t lest one function symbol of rity 2; logic progrms with bgs; logic progrms with sets; logic progrms with ny combintion of the bove types of complex vlues (for exmple, logic progrms with trees nd bgs). Proof. The progrm P from the proof of Theorem 3.1 contins the list constructor, but insted we could hve used ny function symbol of rity 2 if this symbol is dierent from the bg nd set constructors. Thus, NEXP-hrdness holds for nonrecursive logic progrms with trees. How to construct P in the cse when contins only the bg constructor nd/or the set constructor? We cn simulte lists [s 1 ; s 2 ; s 3 ; s 4 ] by mens of bgs or sets, i.e. we cn use bgs nd sets to dene predictes equivlent to the predictes of P. For exmple, list [s 1 ; s 2 ; s 3 ; s 4 ] cn be represented by the set of pirs (s 1 ; 1); : : :; (s 4 ; 4) where 1; : : :; 4 re, in turn, represented by sets of crdinlities 1; : : :; Inclusion in NEXP Let E be n equtionl theory. We sy tht n eqution s = t hs solution in E if is substitution such tht the eqution s = t belongs to E (where t nd s denote the results of ppliction of to s nd t respectively). A system of equtions is nite set of equtions. A system of equtions is sid to be solvble in E if there exists substitution such tht is solution for ech eqution in the system. By the solvbility problem for E we men the following decision problem: given system of equtions, is the system solvble in E? Theorem 4.1 Let E be n equtionl theory such tht the solvbility problem for E is in NP. Then the query nswering problem for nonrecursive logic progrms over E is in NEXP. Proof. Let P be logic progrm over E. We dene binry reltion! on pirs (G; E), where G is gol nd E is system of equtions. Nmely, we hve if the following conditions re stised: 1. G contins n tom p(t 1 ; : : :; t n ). (G; E)! (G 0 ; E 0 ) 2. Some cluse in P hs vrint p(s 1 ; : : :; s n ) :- B 1 ; : : :; B m whose vribles re disjoint with the vribles of (G; E). 3. G 0 is (G n fp(t 1 ; : : :; t n )g) [ fb 1 ; : : :; B m g; 4. E 0 is E [ fs 1 = t 1 ; : : :; s n = t n g. By n constrint SLD-derivtion we men sequence of pirs (G 1 ; E 1 ); : : :; (G N ; E N ) (1)
10 such tht (G i ; E i )! (G i+1 ; E i+1 ) holds for ll 1 i N? 1. By the stndrd technique (see for exmple [18, 11]) one cn prove tht gol G succeeds with respect P if nd only if there is constrint SLD-derivtion (1) such tht (1) G 1 = G; (2) E 1 = ;; (3) G N = 2; nd (4) E N is solvble in E. It is esy to dene nondeterministic Turing mchine M tht decides the query nswering problem by generting constrint SLD-derivtions for every input P nd G. Nmely, this mchine nondeterministiclly mkes trnsitions from (G i ; E i ) to (G i+1 ; E i+1 ) (connected by the reltion!). When G i is not empty nd it is impossible to pply this step, M rejects the input. When G i is empty, M should check whether E i is solvble in E. By the theorem condition, this cn be done in nondeterministic polynomil time (in the size of E i ). If E i is solvble then M ccepts the input, otherwise the input is rejected. We show tht M works within time 2 no(1) where n is the combined size of P nd G. Since P is nonrecursive, by denition there is numbering p 1 ; : : :; p r of ll predictes in P such tht for every cluse, if p i occurs in the hed nd p j occurs in the body then i > j. Let m be the mximum length of cluse bodies in P. We dene the weight of n tom p i (t 1 ; : : :; t k ) s the number (m + 1) i+1. The weight of gol is the sum of weights of its toms. Consider ny constrint SLD-derivtion generted by M. Evidently, the weight of the initil gol G is exponentil in n. For ech trnsition (G i ; E i )! (G i+1 ; E i+1 ), the weight of G i+1 is less thn the weight of G i. Therefore, the totl size of ll gols nd the totl size of ll systems of equtions is exponentil in n. The running time of M consists of the time of generting constrint SLD-derivtion nd the time of checking solvbility of the nl system of eqution. Since the size of the constrint SLD-derivtion is exponentil in n, the time of generting is exponentil too. The time of checking solvbility is 2 no(1) becuse the nl system of equtions hs the size of the sme order s the constrint SLD-derivtion, i.e. exponentil size, nd the solvbility problem for E is in NP by the condition of the theorem. 2 Theorem 4.2 The query nswering problem is NEXP-complete for the following clsses of nonrecursive logic progrms: logic progrms with trees in ny signture with t lest one function symbol of rity 2; logic progrms with bgs; logic progrms with sets; logic progrms with ny combintion of the bove types of complex vlues. Proof. NEXP-hrdness ws proved in Theorem 3.2. The pper [8] describes nondeterministic polynomil-time uniction lgorithm for terms representing ny combintion of trees, bgs nd sets. Thereby, the solvbility problem for corresponding equtionl theories is in NP. Therefore, the inclusion in NEXP immeditely follows from Theorem 4.1 bove nd [8]. 2 References [1] S. Abiteboul nd C. Beeri. The power of lnguges for the mnipultion of complex vlues. VLDB Journl, 4:727{794, 1995.
11 [2] S. Abiteboul nd S. Grumbch. Col: A logic-bsed lnguge for complex objects. In J. Schmidt, S. Ceri, nd M. Missiko, editors, Advnces in Dtbse Technology - EDBT'88. Proceedings of the Interntionl Conference on Extending Dtbse Technology, volume 303 of Lecture Notes in Computer Science, pges 271{293, Venice, Itly, Mrch Springer Verlg. [3] S. Abiteboul nd S. Grumbch. A rule-bsed lnguge with functions nd sets. ACM Trnsctions on Dtbse Systems, 16(1):1{30, [4] K.R. Apt. Logic progrmming. In J. Vn Leeuwen, editor, Hndbook of Theoreticl Computer Science, volume B: Forml Methods nd Semntics, chpter 10, pges 493{574. Elsevier Science, Amsterdm, [5] C. Beeri nd Y. Korntzky. A logicl query lnguge for hypermedi systems. Informtion Sciences, 77:1{38, [6] C. Beeri, S. Nqvi, O. Schmueli, nd S. Tsur. Set constructors in logic dtbse lnguge. Journl of Logic Progrmming, 10:181{232, [7] E. Dntsin, T. Eiter, G. Gottlob, nd A. Voronkov. Complexity nd expressive power of logic progrmming. In Proceedings Twelfth Annul IEEE Conference on Computtionl Complexity, pges 82{101, Ulm, Germny, June [8] E. Dntsin nd A. Voronkov. Bg nd set uniction. UPMAIL Technicl Report 150, Uppsl University, Computing Science Deprtment, September [9] E. Dntsin nd A. Voronkov. Complexity of query nswering in logic dtbses with complex vlues. In S. Adin nd A. Nerode, editors, Logicl Foundtions of Computer Science. 4th Interntionl Symposium, LFCS'97, volume 1234 of Lecture Notes in Computer Science, pges 56{66, Yroslvl, Russi, July [10] A. Dovier, E.G. Omodeo, E. Pontelli, nd G. Rossi. flogg: A lnguge for progrmming in logic with nite sets. Journl of Logic Progrmming, 28(1):1{44, [11] M. Gbbrielli, G.M. Dore, nd G. Levi. Observble semntics for constrint logic progrms. Journl of Logic nd Computtion, 5(2):133{171, [12] J.H. Gllier nd S. Rtz. Extending SLD-resolution to equtionl Horn cluses using E- uniction. Journl of Logic Progrmming, 6(3):3{44, [13] S. Grumbch nd V. Vinu. Trctble query lnguges for complex object dtbses. Journl of Computer nd System Sciences, 51(2):149{167, [14] P. Knellkis, G.M. Kuper, nd P.Z. Revesz. Constrint query lnguges. Journl of Computer nd System Sciences, 51:26{52, [15] G.M. Kuper. Logic progrmming with sets. Journl of Computer nd System Sciences, 41:44{ 64, [16] N. Leone nd P. Rullo. Ordered logic progrmming with sets. Journl of Logic nd Computtion, 3(6):621{642, [17] J.W. Lloyd. Foundtions of Logic Progrmming (2nd edition). Springer Verlg, 1987.
12 [18] M.J. Mher. A CLP view of logic progrmming. In Proc. Conf. on Algebric nd Logic Progrmming, volume 632 of Lecture Notes in Computer Science, pges 364{383, October [19] C.H. Ppdimitriou. Computtionl Complexity. Addison-Wesley, [20] O. Shmueli, S. Tsur, nd C. Zniolo. Compiltion of set terms in the logic dt lnguge (LDL). Journl of Logic Progrmming, 12(1):89{119, [21] R.W. Topor. Domin independent formuls nd dtbses. Theoreticl Computer Science, 52(3):281{306, [22] K. Vdprty. On the power of rule-bsed lnguges with sets. In ACM SIGACT-SIGMOD- SIGART Symposium on Principles of Dtbse Systems, pges 26{36, [23] A. Voronkov. Logic progrmming with bounded quntiers. In A. Voronkov, editor, Logic Progrmming, volume 592 of Lecture Notes in Articil Intelligence, pges 486{514. Springer Verlg, 1992.
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 informationHandout: Natural deduction for first order logic
MATH 457 Introduction to Mthemticl Logic Spring 2016 Dr Json Rute Hndout: Nturl deduction for first order logic We will extend our nturl deduction rules for sententil logic to first order logic These notes
More informationNondeterminism and Nodeterministic Automata
Nondeterminism nd Nodeterministic Automt 61 Nondeterminism nd Nondeterministic Automt The computtionl mchine models tht we lerned in the clss re deterministic in the sense tht the next move is uniquely
More informationReview of Calculus, cont d
Jim Lmbers MAT 460 Fll Semester 2009-10 Lecture 3 Notes These notes correspond to Section 1.1 in the text. Review of Clculus, cont d Riemnn Sums nd the Definite Integrl There re mny cses in which some
More informationNew Expansion and Infinite Series
Interntionl Mthemticl Forum, Vol. 9, 204, no. 22, 06-073 HIKARI Ltd, www.m-hikri.com http://dx.doi.org/0.2988/imf.204.4502 New Expnsion nd Infinite Series Diyun Zhng College of Computer Nnjing University
More informationAdvanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004
Advnced Clculus: MATH 410 Notes on Integrls nd Integrbility Professor Dvid Levermore 17 October 2004 1. Definite Integrls In this section we revisit the definite integrl tht you were introduced to when
More informationLecture 1. Functional series. Pointwise and uniform convergence.
1 Introduction. Lecture 1. Functionl series. Pointwise nd uniform convergence. In this course we study mongst other things Fourier series. The Fourier series for periodic function f(x) with period 2π is
More informationBefore we can begin Ch. 3 on Radicals, we need to be familiar with perfect squares, cubes, etc. Try and do as many as you can without a calculator!!!
Nme: Algebr II Honors Pre-Chpter Homework Before we cn begin Ch on Rdicls, we need to be fmilir with perfect squres, cubes, etc Try nd do s mny s you cn without clcultor!!! n The nth root of n n Be ble
More informationFinite Automata. Informatics 2A: Lecture 3. John Longley. 22 September School of Informatics University of Edinburgh
Lnguges nd Automt Finite Automt Informtics 2A: Lecture 3 John Longley School of Informtics University of Edinburgh jrl@inf.ed.c.uk 22 September 2017 1 / 30 Lnguges nd Automt 1 Lnguges nd Automt Wht is
More informationA REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H. Thomas Shores Department of Mathematics University of Nebraska Spring 2007
A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H Thoms Shores Deprtment of Mthemtics University of Nebrsk Spring 2007 Contents Rtes of Chnge nd Derivtives 1 Dierentils 4 Are nd Integrls 5 Multivrite Clculus
More informationThe 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 informationImproper 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 informationC. C^mpenu, K. Slom, S. Yu upper boun of mn. So our result is tight only for incomplete DF's. For restricte vlues of m n n we present exmples of DF's
Journl of utomt, Lnguges n Combintorics u (v) w, x{y c OttovonGuerickeUniversitt Mgeburg Tight lower boun for the stte complexity of shue of regulr lnguges Cezr C^mpenu, Ki Slom Computing n Informtion
More informationCSCI FOUNDATIONS OF COMPUTER SCIENCE
1 CSCI- 2200 FOUNDATIONS OF COMPUTER SCIENCE Spring 2015 My 7, 2015 2 Announcements Homework 9 is due now. Some finl exm review problems will be posted on the web site tody. These re prcqce problems not
More informationJim 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 informationChapter 4 Contravariance, Covariance, and Spacetime Diagrams
Chpter 4 Contrvrince, Covrince, nd Spcetime Digrms 4. The Components of Vector in Skewed Coordintes We hve seen in Chpter 3; figure 3.9, tht in order to show inertil motion tht is consistent with the Lorentz
More informationNatural examples of rings are the ring of integers, a ring of polynomials in one variable, the ring
More generlly, we define ring to be non-empty set R hving two binry opertions (we ll think of these s ddition nd multipliction) which is n Abelin group under + (we ll denote the dditive identity by 0),
More informationMAA 4212 Improper Integrals
Notes by Dvid Groisser, Copyright c 1995; revised 2002, 2009, 2014 MAA 4212 Improper Integrls The Riemnn integrl, while perfectly well-defined, is too restrictive for mny purposes; there re functions which
More informationRiemann 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 informationOperations with Polynomials
38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: How to identify the leding coefficients nd degrees of polynomils How to dd nd subtrct polynomils How to multiply polynomils
More informationCoalgebra, Lecture 15: Equations for Deterministic Automata
Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined
More information20 MATHEMATICS POLYNOMIALS
0 MATHEMATICS POLYNOMIALS.1 Introduction In Clss IX, you hve studied polynomils in one vrible nd their degrees. Recll tht if p(x) is polynomil in x, the highest power of x in p(x) is clled the degree of
More informationDuality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below.
Dulity #. Second itertion for HW problem Recll our LP emple problem we hve been working on, in equlity form, is given below.,,,, 8 m F which, when written in slightly different form, is 8 F Recll tht we
More informationCS 275 Automata and Formal Language Theory
CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.5.: Properties of Context Free Grmmrs (14) Anton Setzer (Bsed on book drft by J. V. Tucker nd K. Stephenson)
More informationReview of Gaussian Quadrature method
Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge
More informationW. We shall do so one by one, starting with I 1, and we shall do it greedily, trying
Vitli covers 1 Definition. A Vitli cover of set E R is set V of closed intervls with positive length so tht, for every δ > 0 nd every x E, there is some I V with λ(i ) < δ nd x I. 2 Lemm (Vitli covering)
More informationCS 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 informationHere we study square linear systems and properties of their coefficient matrices as they relate to the solution set of the linear system.
Section 24 Nonsingulr Liner Systems Here we study squre liner systems nd properties of their coefficient mtrices s they relte to the solution set of the liner system Let A be n n Then we know from previous
More informationIntuitionistic Fuzzy Lattices and Intuitionistic Fuzzy Boolean Algebras
Intuitionistic Fuzzy Lttices nd Intuitionistic Fuzzy oolen Algebrs.K. Tripthy #1, M.K. Stpthy *2 nd P.K.Choudhury ##3 # School of Computing Science nd Engineering VIT University Vellore-632014, TN, Indi
More informationRiemann 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 informationFinite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018
Finite Automt Theory nd Forml Lnguges TMV027/DIT321 LP4 2018 Lecture 10 An Bove April 23rd 2018 Recp: Regulr Lnguges We cn convert between FA nd RE; Hence both FA nd RE ccept/generte regulr lnguges; More
More informationReview of basic calculus
Review of bsic clculus This brief review reclls some of the most importnt concepts, definitions, nd theorems from bsic clculus. It is not intended to tech bsic clculus from scrtch. If ny of the items below
More informationand that at t = 0 the object is at position 5. Find the position of the object at t = 2.
7.2 The Fundmentl Theorem of Clculus 49 re mny, mny problems tht pper much different on the surfce but tht turn out to be the sme s these problems, in the sense tht when we try to pproimte solutions we
More informationBisimulation. R.J. van Glabbeek
Bisimultion R.J. vn Glbbeek NICTA, Sydney, Austrli. School of Computer Science nd Engineering, The University of New South Wles, Sydney, Austrli. Computer Science Deprtment, Stnford University, CA 94305-9045,
More informationBernoulli Numbers Jeff Morton
Bernoulli Numbers Jeff Morton. We re interested in the opertor e t k d k t k, which is to sy k tk. Applying this to some function f E to get e t f d k k tk d k f f + d k k tk dk f, we note tht since f
More informationFarey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University
U.U.D.M. Project Report 07:4 Frey Frctions Rickrd Fernström Exmensrete i mtemtik, 5 hp Hledre: Andres Strömergsson Exmintor: Jörgen Östensson Juni 07 Deprtment of Mthemtics Uppsl University Frey Frctions
More informationPart 5 out of 5. Automata & languages. A primer on the Theory of Computation. Last week was all about. a superset of Regular Languages
Automt & lnguges A primer on the Theory of Computtion Lurent Vnbever www.vnbever.eu Prt 5 out of 5 ETH Zürich (D-ITET) October, 19 2017 Lst week ws ll bout Context-Free Lnguges Context-Free Lnguges superset
More informationAnatomy of a Deterministic Finite Automaton. Deterministic Finite Automata. A machine so simple that you can understand it in less than one minute
Victor Admchik Dnny Sletor Gret Theoreticl Ides In Computer Science CS 5-25 Spring 2 Lecture 2 Mr 3, 2 Crnegie Mellon University Deterministic Finite Automt Finite Automt A mchine so simple tht you cn
More informationMath 1B, lecture 4: Error bounds for numerical methods
Mth B, lecture 4: Error bounds for numericl methods Nthn Pflueger 4 September 0 Introduction The five numericl methods descried in the previous lecture ll operte by the sme principle: they pproximte the
More informationNUMERICAL 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 informationTHE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.
THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS RADON ROSBOROUGH https://intuitiveexplntionscom/picrd-lindelof-theorem/ This document is proof of the existence-uniqueness theorem
More informationProperties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives
Block #6: Properties of Integrls, Indefinite Integrls Gols: Definition of the Definite Integrl Integrl Clcultions using Antiderivtives Properties of Integrls The Indefinite Integrl 1 Riemnn Sums - 1 Riemnn
More informationAUTOMATED REASONING. Agostino Dovier. Udine, November Università di Udine CLPLAB
AUTOMATED REASONING Agostino Dovier Università di Udine CLPLAB Udine, Novemer 2017 AGOSTINO DOVIER (CLPLAB) AUTOMATED REASONING UDINE, NOVEMBER 2017 1 / 15 Semntics of Logic Progrms AGOSTINO DOVIER (CLPLAB)
More informationThe practical version
Roerto s Notes on Integrl Clculus Chpter 4: Definite integrls nd the FTC Section 7 The Fundmentl Theorem of Clculus: The prcticl version Wht you need to know lredy: The theoreticl version of the FTC. Wht
More informationUnit #9 : Definite Integral Properties; Fundamental Theorem of Calculus
Unit #9 : Definite Integrl Properties; Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl
More informationRevision Sheet. (a) Give a regular expression for each of the following languages:
Theoreticl Computer Science (Bridging Course) Dr. G. D. Tipldi F. Bonirdi Winter Semester 2014/2015 Revision Sheet University of Freiurg Deprtment of Computer Science Question 1 (Finite Automt, 8 + 6 points)
More information7.2 The Definite Integral
7.2 The Definite Integrl the definite integrl In the previous section, it ws found tht if function f is continuous nd nonnegtive, then the re under the grph of f on [, b] is given by F (b) F (), where
More informationGeneralized Fano and non-fano networks
Generlized Fno nd non-fno networks Nildri Ds nd Brijesh Kumr Ri Deprtment of Electronics nd Electricl Engineering Indin Institute of Technology Guwhti, Guwhti, Assm, Indi Emil: {d.nildri, bkri}@iitg.ernet.in
More informationARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac
REVIEW OF ALGEBRA Here we review the bsic rules nd procedures of lgebr tht you need to know in order to be successful in clculus. ARITHMETIC OPERATIONS The rel numbers hve the following properties: b b
More informationIntroduction to Group Theory
Introduction to Group Theory Let G be n rbitrry set of elements, typiclly denoted s, b, c,, tht is, let G = {, b, c, }. A binry opertion in G is rule tht ssocites with ech ordered pir (,b) of elements
More informationTheoretical foundations of Gaussian quadrature
Theoreticl foundtions of Gussin qudrture 1 Inner product vector spce Definition 1. A vector spce (or liner spce) is set V = {u, v, w,...} in which the following two opertions re defined: (A) Addition of
More informationLecture 3: Equivalence Relations
Mthcmp Crsh Course Instructor: Pdric Brtlett Lecture 3: Equivlence Reltions Week 1 Mthcmp 2014 In our lst three tlks of this clss, we shift the focus of our tlks from proof techniques to proof concepts
More informationRELATIONAL MODEL.
RELATIONAL MODEL Structure of Reltionl Dtbses Reltionl Algebr Tuple Reltionl Clculus Domin Reltionl Clculus Extended Reltionl-Algebr- Opertions Modifiction of the Dtbse Views EXAMPLE OF A RELATION BASIC
More informationLecture 09: Myhill-Nerode Theorem
CS 373: Theory of Computtion Mdhusudn Prthsrthy Lecture 09: Myhill-Nerode Theorem 16 Ferury 2010 In this lecture, we will see tht every lnguge hs unique miniml DFA We will see this fct from two perspectives
More informationMore on automata. Michael George. March 24 April 7, 2014
More on utomt Michel George Mrch 24 April 7, 2014 1 Automt constructions Now tht we hve forml model of mchine, it is useful to mke some generl constructions. 1.1 DFA Union / Product construction Suppose
More informationarxiv: v1 [math.ra] 1 Nov 2014
CLASSIFICATION OF COMPLEX CYCLIC LEIBNIZ ALGEBRAS DANIEL SCOFIELD AND S MCKAY SULLIVAN rxiv:14110170v1 [mthra] 1 Nov 2014 Abstrct Since Leibniz lgebrs were introduced by Lody s generliztion of Lie lgebrs,
More informationSUMMER 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 informationPhysics 116C Solution of inhomogeneous ordinary differential equations using Green s functions
Physics 6C Solution of inhomogeneous ordinry differentil equtions using Green s functions Peter Young November 5, 29 Homogeneous Equtions We hve studied, especilly in long HW problem, second order liner
More informationAbstract inner product spaces
WEEK 4 Abstrct inner product spces Definition An inner product spce is vector spce V over the rel field R equipped with rule for multiplying vectors, such tht the product of two vectors is sclr, nd the
More informationMath 360: A primitive integral and elementary functions
Mth 360: A primitive integrl nd elementry functions D. DeTurck University of Pennsylvni October 16, 2017 D. DeTurck Mth 360 001 2017C: Integrl/functions 1 / 32 Setup for the integrl prtitions Definition:
More informationSemantic reachability for simple process algebras. Richard Mayr. Abstract
Semntic rechbility for simple process lgebrs Richrd Myr Abstrct This pper is n pproch to combine the rechbility problem with semntic notions like bisimultion equivlence. It dels with questions of the following
More informationAMATH 731: Applied Functional Analysis Fall Some basics of integral equations
AMATH 731: Applied Functionl Anlysis Fll 2009 1 Introduction Some bsics of integrl equtions An integrl eqution is n eqution in which the unknown function u(t) ppers under n integrl sign, e.g., K(t, s)u(s)
More informationRiemann is the Mann! (But Lebesgue may besgue to differ.)
Riemnn is the Mnn! (But Lebesgue my besgue to differ.) Leo Livshits My 2, 2008 1 For finite intervls in R We hve seen in clss tht every continuous function f : [, b] R hs the property tht for every ɛ >
More informationKNOWLEDGE-BASED AGENTS INFERENCE
AGENTS THAT REASON LOGICALLY KNOWLEDGE-BASED AGENTS Two components: knowledge bse, nd n inference engine. Declrtive pproch to building n gent. We tell it wht it needs to know, nd It cn sk itself wht to
More information4 7x =250; 5 3x =500; Read section 3.3, 3.4 Announcements: Bell Ringer: Use your calculator to solve
Dte: 3/14/13 Objective: SWBAT pply properties of exponentil functions nd will pply properties of rithms. Bell Ringer: Use your clcultor to solve 4 7x =250; 5 3x =500; HW Requests: Properties of Log Equtions
More information1.9 C 2 inner variations
46 CHAPTER 1. INDIRECT METHODS 1.9 C 2 inner vritions So fr, we hve restricted ttention to liner vritions. These re vritions of the form vx; ǫ = ux + ǫφx where φ is in some liner perturbtion clss P, for
More information1B40 Practical Skills
B40 Prcticl Skills Comining uncertinties from severl quntities error propgtion We usully encounter situtions where the result of n experiment is given in terms of two (or more) quntities. We then need
More informationUniversitaireWiskundeCompetitie. 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 informationGoals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite
Unit #8 : The Integrl Gols: Determine how to clculte the re described by function. Define the definite integrl. Eplore the reltionship between the definite integrl nd re. Eplore wys to estimte the definite
More informationCMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014
CMPSCI 250: Introduction to Computtion Lecture #31: Wht DFA s Cn nd Cn t Do Dvid Mix Brrington 9 April 2014 Wht DFA s Cn nd Cn t Do Deterministic Finite Automt Forml Definition of DFA s Exmples of DFA
More informationN 0 completions on partial matrices
N 0 completions on prtil mtrices C. Jordán C. Mendes Arújo Jun R. Torregros Instituto de Mtemátic Multidisciplinr / Centro de Mtemátic Universidd Politécnic de Vlenci / Universidde do Minho Cmino de Ver
More informationChapter 0. What is the Lebesgue integral about?
Chpter 0. Wht is the Lebesgue integrl bout? The pln is to hve tutoril sheet ech week, most often on Fridy, (to be done during the clss) where you will try to get used to the ides introduced in the previous
More informationWe will see what is meant by standard form very shortly
THEOREM: For fesible liner progrm in its stndrd form, the optimum vlue of the objective over its nonempty fesible region is () either unbounded or (b) is chievble t lest t one extreme point of the fesible
More information12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2014
CS125 Lecture 12 Fll 2014 12.1 Nondeterminism The ide of nondeterministic computtions is to llow our lgorithms to mke guesses, nd only require tht they ccept when the guesses re correct. For exmple, simple
More informationDefinite integral. Mathematics FRDIS MENDELU
Definite integrl Mthemtics FRDIS MENDELU Simon Fišnrová Brno 1 Motivtion - re under curve Suppose, for simplicity, tht y = f(x) is nonnegtive nd continuous function defined on [, b]. Wht is the re of the
More informationAQA Further Pure 1. Complex Numbers. Section 1: Introduction to Complex Numbers. The number system
Complex Numbers Section 1: Introduction to Complex Numbers Notes nd Exmples These notes contin subsections on The number system Adding nd subtrcting complex numbers Multiplying complex numbers Complex
More information1 Probability Density Functions
Lis Yn CS 9 Continuous Distributions Lecture Notes #9 July 6, 28 Bsed on chpter by Chris Piech So fr, ll rndom vribles we hve seen hve been discrete. In ll the cses we hve seen in CS 9, this ment tht our
More informationCSE : Exam 3-ANSWERS, Spring 2011 Time: 50 minutes
CSE 260-002: Exm 3-ANSWERS, Spring 20 ime: 50 minutes Nme: his exm hs 4 pges nd 0 prolems totling 00 points. his exm is closed ook nd closed notes.. Wrshll s lgorithm for trnsitive closure computtion is
More informationNotes on length and conformal metrics
Notes on length nd conforml metrics We recll how to mesure the Eucliden distnce of n rc in the plne. Let α : [, b] R 2 be smooth (C ) rc. Tht is α(t) (x(t), y(t)) where x(t) nd y(t) re smooth rel vlued
More informationStrong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation
Strong Bisimultion Overview Actions Lbeled trnsition system Trnsition semntics Simultion Bisimultion References Robin Milner, Communiction nd Concurrency Robin Milner, Communicting nd Mobil Systems 32
More informationCMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature
CMDA 4604: Intermedite Topics in Mthemticl Modeling Lecture 19: Interpoltion nd Qudrture In this lecture we mke brief diversion into the res of interpoltion nd qudrture. Given function f C[, b], we sy
More informationContinuous Random Variables
STAT/MATH 395 A - PROBABILITY II UW Winter Qurter 217 Néhémy Lim Continuous Rndom Vribles Nottion. The indictor function of set S is rel-vlued function defined by : { 1 if x S 1 S (x) if x S Suppose tht
More informationDually 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 informationSemantic Reachability. Richard Mayr. Institut fur Informatik. Technische Universitat Munchen. Arcisstr. 21, D Munchen, Germany E. N. T. C. S.
URL: http://www.elsevier.nl/locte/entcs/volume6.html?? pges Semntic Rechbility Richrd Myr Institut fur Informtik Technische Universitt Munchen Arcisstr. 21, D-80290 Munchen, Germny e-mil: myrri@informtik.tu-muenchen.de
More informationBoolean 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 informationReview of Riemann Integral
1 Review of Riemnn Integrl In this chpter we review the definition of Riemnn integrl of bounded function f : [, b] R, nd point out its limittions so s to be convinced of the necessity of more generl integrl.
More informationDefinite integral. Mathematics FRDIS MENDELU. Simona Fišnarová (Mendel University) Definite integral MENDELU 1 / 30
Definite integrl Mthemtics FRDIS MENDELU Simon Fišnrová (Mendel University) Definite integrl MENDELU / Motivtion - re under curve Suppose, for simplicity, tht y = f(x) is nonnegtive nd continuous function
More informationFinite Automata. Informatics 2A: Lecture 3. Mary Cryan. 21 September School of Informatics University of Edinburgh
Finite Automt Informtics 2A: Lecture 3 Mry Cryn School of Informtics University of Edinburgh mcryn@inf.ed.c.uk 21 September 2018 1 / 30 Lnguges nd Automt Wht is lnguge? Finite utomt: recp Some forml definitions
More informationConvex Sets and Functions
B Convex Sets nd Functions Definition B1 Let L, +, ) be rel liner spce nd let C be subset of L The set C is convex if, for ll x,y C nd ll [, 1], we hve 1 )x+y C In other words, every point on the line
More informationRead section 3.3, 3.4 Announcements:
Dte: 3/1/13 Objective: SWBAT pply properties of exponentil functions nd will pply properties of rithms. Bell Ringer: 1. f x = 3x 6, find the inverse, f 1 x., Using your grphing clcultor, Grph 1. f x,f
More informationCS 301. Lecture 04 Regular Expressions. Stephen Checkoway. January 29, 2018
CS 301 Lecture 04 Regulr Expressions Stephen Checkowy Jnury 29, 2018 1 / 35 Review from lst time NFA N = (Q, Σ, δ, q 0, F ) where δ Q Σ P (Q) mps stte nd n lphet symol (or ) to set of sttes We run n NFA
More informationChapter 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 informationDISCRETE MATHEMATICS HOMEWORK 3 SOLUTIONS
DISCRETE MATHEMATICS 21228 HOMEWORK 3 SOLUTIONS JC Due in clss Wednesdy September 17. You my collborte but must write up your solutions by yourself. Lte homework will not be ccepted. Homework must either
More informationTheory of Computation Regular Languages
Theory of Computtion Regulr Lnguges Bow-Yw Wng Acdemi Sinic Spring 2012 Bow-Yw Wng (Acdemi Sinic) Regulr Lnguges Spring 2012 1 / 38 Schemtic of Finite Automt control 0 0 1 0 1 1 1 0 Figure: Schemtic of
More informationCS375: Logic and Theory of Computing
CS375: Logic nd Theory of Computing Fuhu (Frnk) Cheng Deprtment of Computer Science University of Kentucky 1 Tble of Contents: Week 1: Preliminries (set lgebr, reltions, functions) (red Chpters 1-4) Weeks
More information1.2. Linear Variable Coefficient Equations. y + b "! = a y + b " Remark: The case b = 0 and a non-constant can be solved with the same idea as above.
1 12 Liner Vrible Coefficient Equtions Section Objective(s): Review: Constnt Coefficient Equtions Solving Vrible Coefficient Equtions The Integrting Fctor Method The Bernoulli Eqution 121 Review: Constnt
More informationQuadratic Forms. Quadratic Forms
Qudrtic Forms Recll the Simon & Blume excerpt from n erlier lecture which sid tht the min tsk of clculus is to pproximte nonliner functions with liner functions. It s ctully more ccurte to sy tht we pproximte
More information5.7 Improper Integrals
458 pplictions of definite integrls 5.7 Improper Integrls In Section 5.4, we computed the work required to lift pylod of mss m from the surfce of moon of mss nd rdius R to height H bove the surfce of the
More informationLecture 3 ( ) (translated and slightly adapted from lecture notes by Martin Klazar)
Lecture 3 (5.3.2018) (trnslted nd slightly dpted from lecture notes by Mrtin Klzr) Riemnn integrl Now we define precisely the concept of the re, in prticulr, the re of figure U(, b, f) under the grph of
More informationMapping the delta function and other Radon measures
Mpping the delt function nd other Rdon mesures Notes for Mth583A, Fll 2008 November 25, 2008 Rdon mesures Consider continuous function f on the rel line with sclr vlues. It is sid to hve bounded support
More information