Hybrid Logics and NP Graph Properties

Size: px
Start display at page:

Download "Hybrid Logics and NP Graph Properties"

Transcription

1 Hybrid Logics ad NP Graph Properties Fracicleber Martis Ferreira 1, Cibele Matos Freire 1, Mario R. F. Beevides 2, L. Measché Schechter 3 ad Aa Teresa Martis 1 1 Uiversidade Federal do Ceará, Departameto de Computação 2 Uiversidade Federal do Rio de Jaeiro, COPPE/Sistemas 3 Uiversidade Federal do Rio de Jaeiro, CCMN {fra, cibelemf, aa}@lia.ufc.br; mario@cos.ufrj.br; luisms@dcc.ufrj.br Jauary 15, 2011 Abstract We show that for each property of graphs G i NP there is a sequece φ 1, φ 2,... of formulas of the full hybrid logic which are satisfied exactly by the frames i G. Moreover, the size of φ is bouded by a polyomial. We also show that the same holds for each graph property i the polyomial hierarchy. These results lead to the defiitio of sytactically defied fragmets of hybrid logic whose model checkig problem is complete for each degree i the polyomial hierarchy. 1 Itroductio The use of graphs as a mathematical abstractio of objects ad structures makes it oe of the most used cocepts i computer sciece. Several typical problems i computer sciece have their iputs modeled by graphs, ad such problems commoly ivolve evaluatig some graph property. To metio a well-kow example, decidig whether a map ca be colored with a certai umber of colors is related to a similar problem o plaar graphs [HAK89, RSST97]. The applicatios of graphs i computer sciece are ot restricted to modellig the iput of problems. Graphs ca be used i the theoretical framework i which some braches of computer sciece are formalized. This is the case, for example, i distributed systems, i which the model of computatio is built o top of a graph [Bar96, Ly96]. Agai, properties of graphs ca be exploited i order to obtai results about such models of computatio. We ca use logic to express properties of structures like graphs. From the sematical stadpoit, a logic ca be regarded as a pair L = (L, =), where L, the laguage of L, is a set of elemets called formulas, ad = is a biary satisfactio relatio betwee some set of objects or structures ad formulas. Such set of structures ca be a set of relatioal structures, for example, the 1

2 class of graphs. A setece φ of L ca be used to express some property of structures, hece oe could check whether a structure A has some property by evaluatig whether A = φ holds or ot. The problem of checkig whether a give model satisfies a give formula is called model checkig. I the last few decades, modal logics have attracted the attetio of computer scietists workig with logic ad computatio [BDRV02]. Amog the reasos is the fact that modal logics ofte have iterestig computer theoretical properties, like decidability [Var96, Grä01]. This is due to a lack of expressive power i compariso with other logics such as first-order logics ad its extesios. May modal logics preset also good logical properties, like iterpolatio, defiability, ad so o. Research i modal logic icludes augmetig the expressive power of the logic usig resources as fixed-poit operators [BS07] or hybrid laguages [AtC07, ABM01]. Modal logics are particularly suitable to deal with graphs because the models of most modal logics are built up from structures called frames, which are essetially graphs. I [BS09], hybrid logics are used to express graph properties, like beig coected, hamiltoia or euleria. Several hybrid logics ad fragmets were studied to defie graph properties through the cocept of validity i a frame (see Defiitio 5 below). Some graph properties, like beig hamiltoia, require a high expressive power ad caot be expressed by a sigle setece i traditioal hybrid logics. There are, however, seteces φ which ca express such properties for frames of size. We are iterested i expressig graph properties i NP usig hybrid logics. Hybrid Modal logics have low expressive power, hece we do ot aim to associate to each graph property a sigle formula. Istead, we preset, to each graph property, a sequece of hybrid seteces φ 1, φ 2,..., such that a graph of size has the desired property iff φ is valid i the graph, regarded as a frame. I Sectio 2, we defie the hybrid logic which we will study ad defie a preex form for such logic. I Sectio 3, we show that, for ay graph property, there is a sequece of seteces φ 1, φ 2,... of the fragmet of hybrid logic with omials ad operator such that a graph of size has the property iff φ is valid i the correspodig frame. However, the size of φ obtaied is expoetial o. I Sectio 4, we show that, for graph properties i NP, ad more geerally i the polyomial hierarchy, there is such a sequece, but the size of the seteces is bouded by a polyomial o. I Sectio 5, we show how to obtai the results of the previous sectio for the fragmet of hybrid logic without the global modality E ad without omials, provided that graphs are coected. I Sectio 6, we show fragmets of hybrid logic whose model-checkig problem is complete for each degree of the polyomial hierarchy based o the results of the other sectios. This gives a alterative proof for the NP-hardess of the model-checkig problems for the fragmet FHL\ of full hybrid logic give i [tcf05]. The proofs of the mai theorems appears i Appedix A. 2

3 2 Hybrid Logic I this sectio, we preset the hybrid logic ad its fragmets which we will use. Hybrid modal logics exted classical modal logics by addig omials ad state variables to the laguage. Nomials ad state variables behave like propositioal atoms which are true i exactly oe world. Other extesios iclude the operators (bider) The allows oe to assig the curret state to a state variable. This ca be used to keep a record of the visited states. operator allows oe to evaluate a formula i the state assiged to a certai omial or state variable. Defiitio 1. The laguage of the hybrid graph logic with the bider is a hybrid laguage cosistig of a set P ROP of coutably may propositio symbols p 1, p 2,..., a set NOM of coutably may omials i 1, i 2,..., a set S of coutably may state-variables x 1, x 2,..., such that P ROP, NOM ad S are pairwise disjoit, the boolea coectives ad ad the modal i, for each omial x, for each state-variable x,, 1 ad. The laguage L F HL of the (Full) Hybrid Logic ca be defied by the followig BNF rule: α := p t α α α α 1 α t α x.α, where t is either a omial or a state variable. For each C {@,, 1, E}, we defie HL(C) to be the correspodig fragmet. I particular, we defie FHL = HL(@,, 1, E). We also use HL(C)\NOM ad HL(C)\PROP to refer to the fragmets of HL(C) without omials ad propositioal symbols respectively. The stadard boolea abbreviatios,, ad ca be used with the stadard meaig as well as the abbreviatios of the dual modal operators: φ := φ, 1 φ := 1 φ ad Aφ := E φ. Formulas of hybrid modal logics are evaluated i hybrid Kripke structures (or hybrid models). These structures are build from frames. Defiitio 2. A frame is a graph F = (W, R), where W is a o-empty set (fiite or ot) of vertices ad R is a biary relatio over W, i.e., R W W. Defiitio 3. A (hybrid) model for the hybrid logic is a pair M = (F, V), where F is a frame ad V : P ROP NOM P(W ) is a valuatio fuctio mappig propositio symbols ito subsets of W, ad mappig omials ito sigleto subsets of W, i.e, if i is a omial the V(i) = {v} for some v W. I order to deal with the state-variables, we eed to itroduce the otio of assigmets. Defiitio 4. A assigmet is a fuctio g that maps state-variables to vertices of the model, g : S W. We use the otatio g = g[v 1 /x 1,..., v /x ] to deote a assigmet such that g (x) = g(x) if x / {x 1,..., x } ad g (x i ) = v i, otherwise. The sematical otio of satisfactio is defied as follows: 3

4 Defiitio 5. Let M = (F, V) be a model. The otio of satisfactio of a formula ϕ i a model M at a vertex v with assigmet g, otatio M, g, v ϕ, ca be iductively defied as follows: M, g, v p iff v V(p); M, g, v always; M, g, v ϕ iff M, g, v ϕ; M, g, v ϕ 1 ϕ 2 iff M, g, v ϕ 1 ad M, g, v ϕ 2 ; M, g, v ϕ iff there is a w W such that vrw ad M, g, w ϕ; M, g, v 1 ϕ iff there is a w W such that wrv ad M, g, w ϕ; M, g, v i iff v V(i); M, g, i ϕ iff M, g, d i ϕ, where d i V(i); M, g, v x iff g(x) = v; M, g, x φ iff M, g, d φ, where d = g(x); M, g, v x.φ iff M, g[v/x], v φ. For each omial i, the i ϕ meas that if V(i) = {v} the ϕ is satisfied at v. If M, g, v ϕ for every vertex v, we say that ϕ is globally satisfied i the model M with assigmet g (M, g ϕ) ad if ϕ is globally satisfied i all models M ad assigmets of a frame F, we say that ϕ is valid i F (F ϕ). The ext lemma follows directly from the defiitio of satisfactio. Lemma 1. The followig equivaleces hold i HL: ( α β) x. x β), (Aα β) x β); ( α β) x. x β), (Aα β) x β); ( α β) x. x β), (Eα β) x β); ( α β) x. x β), (Eα β) x β); ( 1 α β) x. 1 x β), ( 1 α β) x. 1 x β); (( x.α) β) x.(α β), (( x.α) β) x.(α β). I the followig, we defie a preex form for formulas i FHL ad show that ay formula i FHL has a equivalet i preex form. We use this form to defie classes of formulas whose model-checkig problem is complete for the degrees of the polyomial hierarchy (see Sectio 6). Defiitio 6 (Preex Form). A formula φ i FHL is i preex form iff φ = q 1... q ψ where each q i is, 1,, 1, E, A or x., for some x, ad ψ has o ocurrece of modalities or. It follows from Lemma 1 that each formula of FHL ca be put i this preex form. Lemma 2. If φ FHL, the there is ψ FHL i preex form which is equivalet to φ. This preex form ca be stregtheed with the followig lemma: Lemma 3. x. y.φ(x, y) x.φ(x, x), if x does ot occur boud i φ. 4

5 Lemma 4. If φ F HL, the there is ψ F HL without modalities or biders ad a prefix q = q 1... q where each q i is, 1,, 1, E, A or x. for some x, ad there is o cosecutive applicatio of biders i q. Based o Lemma 4, we defie the followig classes of formulas: Defiitio 7. Let EX = {, 1, E} ad UN = {, 1, A}. We recursively defie the classes of formulas σ i ad π i i preex form as: σ 0 = π 0 = {φ HL φ has o modalities}; σ i+1 = {φ HL φ = q 1... q ψ, ψ π i, q j EX { x.}, for some x}; π i+1 = {φ HL φ = q 1... q ψ, ψ σ i, q j UN { x.}, for some x}. We say that a formula is σ i (resp. π i ) if it is equivalet to a formula i σ i (resp. π i ). From Lemma 2 it follows that each formula i HL is π i or σ i for some i. 3 Properties of Graphs i HL I [BS09], it was show that there is a formula φ of FHL such that a graph of size is Hamiltoia iff it globally satisfies φ. The mai questio which uderlies this ivestigatio is whether there is a sequece of formulas (φ ) N for each graph property G i NP such that a graph G of size is i G iff G, as a frame, globally satisfies φ. Actually, we ca show that such sequece exists for each graph property. Let G = (V, E) be a graph of cardiality. Let us cosider that the set V of vertices coicides with the set {1,..., } of omials. Cosider the formula: ψ G i i j. (i,j) E (i,j) E Let G be ay property of graphs. We defie the formulas ψg = ψ G, θ i j ad φ G = θ ψg. G G, G = i,j {1,...,},i j Lemma 5. Let G be a graph of cardiality ad G a property of graphs. The G G iff G φ G. Sice there are 2 2 graphs with vertices i {1,..., }, we have that the size of φ G is O(22 ) for ay graph property G. Obviously, there is o hope for that sequece of formulas to be always computable. We ca show, however, that, for problems i the polyomial hierarchy, such sequece is recursive ad, moreover, there is a polyomial boud i the size of formulas. 5

6 4 Traslatio I this sectio, we show that for each graph property G i the polyomial hierarchy there is a sequece (φ ) N of formulas such that a graph G of size is i G iff G φ ad such that φ is bouded from above by a polyomial o. We will use the well-kow characterizatio of problems i PH ad classes of fiite models defiable i secod-order logic (SO) from descriptive complexity theory [Imm99]. To this ed, we defie a traslatio from formulas i SO to formulas i FHL which are equivalet with respect to frames of size, for some N. Such traslatio will give us formulas whose size is bouded by a polyomial o. Moreover, the formulas obtaied by the traslatio do ot use propositioal symbols, omials or free state variables, which meas that, for these formulas, the complexity of model-checkig ad frame-checkig coicides. We use the well kow defiitios ad cocepts related to first-order logic (FO) ad secod-order logic which ca be fouded i most textbooks (see, for istace, [EFT94]). Defiitio 8 (Traslatio from FO to HL). Let φ be a first-order formula i the vocabulary S = {E, R 1,..., R m } where E is biary, a atural umber ad f a fuctio from the set of first-order variables ito {1,..., }. Let t, z 1,..., z be state variables ad for each R {R 1,..., R m } of arity h, let yj R 1,...,j h be a state variable, with j i {1,..., }, 1 i h. We defie the fuctio tr f : L S F O L F HL as: tr(x f 1 x 2 ) z zf(x1 ) f(x 2); tr(e(x f 1, x 2 )) z zf(x1 ) f(x 2); tr(r(x f 1,..., x k )) t yf(x R 1 ),...,f(x k ), for each R {R 1,..., R m }; tr(γ f θ) = tr(γ) f tr(θ); f tr( γ) f = tr(γ); f tr( xγ) f = x i=1 trf i (γ); tr( xγ) f = (γ). x i=1 trf i I the traslatio above, t is iteded to represet a state v such that, if zj R 1,...,j h is assiged to v ad z j1,..., z jh are assiged to v 1,..., v h, the (v 1,..., v h ) belogs to the iterpretatio of R. Note that if φ is a setece, the tr(φ) f = tr f (φ). Hece we write tr (φ) istead of tr(φ) f for a setece φ. Example 1. We give a example of applicatio of the traslatio above. Let φ ψ (exclusive or ) be a abbreviatio for (φ ψ) (φ ψ). Cosider the followig first-order setece: φ := x ( R(x) G(x) B(x) ) x y ( (E(x, y) x y) ( (R(x) R(y)) (G(x) G(y)) (B(x) B(y))) ). The setece above says that each elemet belogs to oe of the sets R, G ad B, each adjacet pair does ot belog to the same set, ad o elemet 6

7 belogs to more tha oe set. This setece is true iff the sets R, G ad B forms a 3-colorig of a graph with edges i E. Below we traslate φ ito a formula of hybrid logic usig the traslatio give above ad settig = 3: 3 ( tr (φ) yi t yi t yi B ) 3 [ 3 ( (@zi z zi z j ) i=1 i=1 j=1 ((@ t y R t y R j ) (@ t y G t y G j ) (@ t y B t y B j )) )]. Lemma 6. tr 3 (φ) has polyomial size i, that is, tr (φ) O( k ) for some 0 k. Proof. By iductio o φ oe ca see that tr (φ) is O( k ), where k is the quatifier rak of φ, that is, the maximum umber of ested quatifiers. Lemma 7. Let G = (V, E G ) be a graph of cardiality, R 1,..., R m relatios o V with arities r 1,..., r m, g a assigmet of state variables, β a assigmet of first-order variables, S = {E, R 1,..., R m } a vocabulary ad f a fuctio from the set of first-order variables to {1,..., } such that: (i) g assigs to each variable z i a differet elemet i V ; (ii) g(y R i 1,...,i k ) = g(t) iff (g(z i1 ),..., g(z ik )) R for each R {R 1,..., R m }; (iii) β(x) = g(z f(x) ) for each first-order variable x. If φ is a first-order formula i the vocabulary S, the (G, R 1,..., R m, β) = φ iff for all w V, (G, g, w) tr f (φ). Defiitio 9 (Traslatio from SO to FHL). Let φ = Q 1 X 1... Q l X l ψ be a SO formula where Q i {, } ad ψ is a first-order setece. We defie T (φ) = 1 y X y X1.... l y X l l y X l tr (ψ), where i = E if Q i = ad A otherwise. Example 2. Cosider the setece φ of Example 1. Let ψ be the followig secod-order setece: ψ := R G B(φ). The setece ψ above states that there are three sets R, G ad B which forms a 3-colorig of elemets i the domai of a structure. Hece, φ is satisfied i a graph with edges i E iff such graph is 3-colorable. Decidig whether a graph is 3-colorable is a NP-complete problem [Pap03]. We apply the traslatio T for = 3 below. Let ˆQ := E y R 1.E y R 2.E y R 3.E y G 1.E y G 2.E y G 3.E y B 1.E y B 2.E y B 3.. We have T 3 (ψ) := ˆQtr 3 (φ). That is, ( 3 T 3 ( (φ) := yi t yi t yi B i=1 [ ) 3 3 ( (@zi z zi z j ) i=1 j=1 ((@ t y R t y R j ) (@ t y G t y G j ) (@ t y B t y B j )) )]). 7

8 Lemma 8. Let G = (V, E G ) be a graph of cardiality, R 1,..., R m relatios o V with arities r 1,..., r m, g a assigmet of state variables, β a assigmet of first-order variables, S = {E, R 1,..., R m } a vocabulary ad f a fuctio from the set of first-order variables to {1,..., } such that: (i) g assigs to each variable z i a differet elemet i V ; (ii) g(y R i 1,...,i k ) = g(t) iff (g(z i1 ),..., g(z ik )) R for each R {R 1,..., R m }; (iii) β(x) = g(z f(x) ) for each first-order variable x. If φ = Q 1 X 1... Q l X l ψ is a secod-order formula i the symbol set S, the (G, R 1,..., R m, β) = φ iff for all w V, (G, g, w) T (φ). We have the followig: Theorem 1. Let φ be a secod-order setece ad G a graph of cardiality. The G = φ iff G t.e z E zi z j T (φ). A well kow result of descriptive complexity is the correspodece betwee the polyomial hierarchy ad the alteratio hierarchy of secod-order logic (with respect to fiite models) [Imm99, Fag74]. There are several ways to defie this hierarchy, for example usig alteratig Turig machies [Imm99]. I this paper we assume the defiitio preseted i [Pap03], which uses Turig machies with oracles to defie PH. A Turig machie with a oracle is a machie that has the special ability of guessig some specific questios. Whe a Turig machie has a oracle for a decisio problem B, durig its executio it ca ask for the oracle if some istace of problem B is positive or egative. This is doe i costat time, regardless the size of the istace. We use the otatio M B to defie a Turig machie M with a oracle for a problem B. I a similar way, we defie C B, where C ad B are complexity classes, as the class of problems solved by a Turig machie i C with a oracle i B. Defiitio 10. Cosider the followig sequece of complexity classes. First, p 0 = Σp 0 = Πp 0 = PTIME ad, for all i 0, 1. p i+1 = PΣp i 2. Σ p i+1 = NPΣp i 3. Π p i+1 = conpσp i. We defie the Polyomial Time Hierarchy as the class PH = Σ p i. I particular we have: Theorem 2 ([Imm99]). Let G be a graph property i the polyomial hierarchy. The there is a secod-order setece φ i the laguage of graphs such that G G iff G = φ. The followig is the mai theorem of this sectio: i 0 8

9 Theorem 3. Let G be a graph property i the polyomial hierarchy. The there is a set of seteces Φ = {φ 1, φ 2,...} of FHL, such that: (1) G G iff G Φ iff G φ G, ad (2) φ m is O( k ) for some costat k depedig oly o G. Corollary 1. If φ SO, the existecial fragmet of SO, the T is i HL(@,, E)\{, P ROP }, that is, the fragmet of HL(@,, E) without propositioal symbols ad the patter. 5 Coected Frames with Loops Let FHL\{E, NOM} be the fragmet of full hybrid logic without the modality E ad without omials. Its is ot difficult to show that: Lemma 9. Frame validity ad model (global) satisfactio for seteces from FHL\{E, N OM} are ivariat uder disjoit uio. Thus a aalogous to Theorem 3 does ot hold for FHL\{E, NOM}. Corollary 2. There are graph properties i PTIME for which there is o set Φ = {φ 1, φ2,...} from seteces i FHL\{E, NOM} which satisfies coditios (1) ad (2) from Theorem 3 above. Proof. Coectivity is oe such a property. However, Theorem 3 still hold if we restrict ourselves to coected, frames with loops. Cosider the followig traslatio from SO to FHL\{E, N OM}: Defiitio 11. Let φ = Q 1 X 1... Q l X l ψ be a secod-order formula where Q i {, } ad ψ is a first-order setece. We defie ˆT (φ) = 1 y X y X l y X l l y X l tr (ψ), where i = ( 1 ) if Q i = ad ( 1 ) otherwise. Lemma 10. Let G = (V, E G ) be a coected graph with loops o each vertex, R 1,..., R m relatios o V with arities r 1,..., r m, g a assigmet of state variables, β a assigmet of first-order variables, S = {E, R 1,..., R m } a vocabulary ad f a fuctio from the set of first-order variables to {1,..., } such that: (i) g assigs to each variable z i a differet elemet i V ; (ii) g(yi R 1,...,i k ) = g(t) iff (g(z i1 ),..., g(z ik )) R for each R {R 1,..., R m }; (iii) β(x) = g(z f(x) ) for each first-order variable x. If φ = Q 1 X 1... Q l X l ψ is a secod-order formula i the symbol set S, the (G, R 1,..., R m, β) = φ iff for all w V, (G, g, w) ˆT (φ). Proof. Aalogous to the proof of Lemma 8 9

10 Theorem 4. Let φ be a secod-order setece ad G a coected graph of cardiality with loops. The G = φ iff G t.( 1 ) z ( 1 ) zi z j ˆT (φ). Proof. Aalogous to the proof of Theorem 1 Theorem 5. Let G be a property of coected graphs with loops i the polyomial hierarchy. There is a set of seteces Φ = {φ 1, φ 2,...} of the fragmet FHL\{E, NOM}, such that: (1)for all coected graphs G with loops, G G iff G Φ iff G φ G, ad (2) φ m is O( k ) for some costat k depedig oly o G. 6 Polyomial Hierarchy I [tcf05], it is proved that the model checkig for the FHL\ fragmet is NP-complete. The traslatio give i Sectio 4 above ca be used to produce hybrid formulas of polyomial size usig formulas of secod-order logic. This leads to a alterative proof that the model checkig problem for the fragmet FHL\ is hard for NP, sice there is a polyomial reductio for ay istace of a NP problem to the model checkig of FHL\. Theorem 6 ([tcf05]). The model checkig problem for σ 1 FHL\ is NP-hard. Actually, for each degree of the polyomial hierarchy, there is a sytactically defied fragmet of HL whose model checkig problem is hard. Theorem 7. The model checkig problem for σ i (resp. π i ) is Σ p i -hard (resp. Π p i -hard). Also, the model checkig for σ i ad π i are i Σ p i ad Πp i, respectively. Theorem 8. The model checkig problem for σ i (resp. π i ) is i Σ p i (resp. Πp i ). Corollary 3. Let Φ = {φ 1, φ 2,...} be such that each φ i ca be costructed i time polyomial o i ad each φ i is i π j (resp. σ j ). The the graph property G defied as: G G iff G φ G is i Π p j (resp. Σp j ). From Theorems 7 ad 8 we have: Corollary 4. The model checkig problem for σ i (resp. (resp. Π i -complete). π i ) is Σ p i -complete Corollary 5. The frame checkig problem for seteces i σ i \{P ROP, NOM} (resp. π i \{P ROP, NOM}) is Σ p i -complete (resp. Πi -complete). 10

11 Refereces [ABM01] [AtC07] [Bar96] C. Areces, P. Blackbur, ad M. Marx. Hybrid logics: Characterizatio, iterpolatio ad complexity. Joural of Symbolic Logic, 66(3): , C. Areces ad B. te Cate. Hybrid logics. I P. Blackbur, J. va Bethem, ad F. Wolter, editors, Hadbook of modal logic, volume 3, pages Elsevier Sciece Ltd, V.C. Barbosa. A itroductio to distributed algorithms. The MIT Press, [BDRV02] P. Blackbur, M. De Rijke, ad Y. Veema. Modal logic. Cambridge Uiv Pr, [BS07] [BS09] J. Bradfield ad C. Stirlig. Modal mu-calculi. Hadbook of Modal Logic, 3: , M.R.F. Beevides ad L.M. Schechter. Usig modal logics to express ad check global graph properties. Logic Joural of IGPL, 17(5):559, [EFT94] H.D. Ebbighaus, J. Flum, ad W. Thomas. Mathematical logic. Spriger, [Fag74] Roald Fagi. Geeralized first-order spectra ad polyomial-time recogizable sets. I R.Karp, editor, Complexity of Computatio, volume 7 of SIAM-AMS Proceedigs, pages AMS, [Grä01] Erich Grädel. Why are modal logics so robustly decidable? I G. Pau, G. Rozeberg, ad A. Salomaa, editors, Curret Treds i Theoretical Computer Sciece. Eterig the 21st Cetury, pages World Scietific, [HAK89] W. Hake, K. Appel, ad J. Koch. Every plaar map is four colorable, volume 98 of Cotemporary Mathematics. America Mathematical Society, [Imm99] N. Immerma. Descriptive complexity. Spriger Verlag, [Ly96] N.A. Lych. Distributed algorithms. Morga Kaufma, [Pap03] C.H. Papadimitriou. Computatioal complexity. Joh Wiley ad Sos Ltd., [RSST97] Neil Robertso, Daiel Saders, Paul Seymour, ad Robi Thomas. The four-colour theorem. Joural of Combiatorial Theory, Series B, 70(1):2 44,

12 [tcf05] [Var96] Balder te Cate ad Massimo Fraceschet. O the complexity of hybrid logics with biders. I L. Og, editor, Proceedigs of Computer Sciece Logic 2005, volume 3634 of Lecture Notes i Computer Sciece, pages Spriger Verlag, M.Y. Vardi. Why is modal logic so robustly decidable. I Neil Immerma ad Phokio G. Kolaitis, editors, Descriptive complexity ad fiite models, volume 31 of Series i Discrete Mathematics ad Theoretical Computer Sciece, pages America Mathematical Society, A Proofs of Mai Theorems Proof of Lemma 7. We proceed by iductio o φ. φ is atomic: I this case φ = x y, φ = E(x, y) or φ = R i (x 1,..., x ). If φ = x y, the (G, R 1,..., R m, β) = φ iff β(x) = β(y) iff, by (iii), g(z f(x) ) = g(z f(y) ) iff (G, g, zf(x) z f(y) = tr f (φ). If φ = E(x, y), the (G, R 1,..., R m, β) = φ iff (β(x), β(y)) E G iff, by (iii), (g(z f(x) ), g(z f(y) ) E G iff (G, g, zf(x1 ) z f(x 2 ) = tr f (φ). If φ = R i (x 1,..., x h ), the (G, R 1,..., R m, β) = φ iff (β(x 1 ),..., β(x )) R i iff, by (iii), (g(z f(x1)),..., g(z f(x))) R i iff, by (ii), g(y R f(x 1),...,f(x k ) ) = g(t) iff (G, g, t y R f(x 1),...,f(x k ) = trf (φ). φ = γ θ or φ = γ: These cases follow directly from the defiitio of tr f ad the iductive hypothesis. φ = xγ: I this case, (G, R 1,..., R m, β) = φ iff there is a v V such that (G, R 1,..., R m, β x v ) = γ. By (i), there is a j be such that v = z j. Hece we have β x v (y) = g(z f x j (y) ) for each first-order variable y. By iductive hypothesis we have, (G, R 1,..., R m, β x v ) = γ iff (G, g, w) x trf j (γ) iff (G, g, w) (γ) = tr(φ). f x i=1 trf i φ = xγ: I this case, (G, R 1,..., R m, β) = φ iff, for each v V, (G, R 1,..., R m, β x v ) = γ. By (i), for each v V there is a j such that v = z j. Hece we have β x v (y) = g(z f x j (y) ) for each first-order variable y. By iductive hypothesis we have, for each v V, (G, R 1,..., R m, β x v ) = γ iff, for each j {1,..., }, (G, g, w) tr f x j tr(φ). f (γ) iff (G, g, w) i=1 trf x i (γ) = Proof of Lemma 8. Let v V such that v g(t). For each X 1 o V, let = g(t) if (g(z i1 ),..., g(z ih )) ad v otherwise. The, for each X 1 o V v X1 i 1,...,i h 12

13 there is a assigmet g X 1 defied as g X 1 = g yx 1 1,...,1... yx 1 i 1,...,i h... y X 1,..., v X 1 1,...,1... vx 1 i 1,...,i h... v X. 1,..., O the cotrary, give a assigmet g we ca fid X 1 such that g = g X1. The assigmet g X1 ca be described as: g(t), if s = y X 1 i 1,...,i h ad (i 1,..., i h ) X 1 ; g X1 (s) = v, for some v g(t), if s = y X1 i 1,...,i h ad (i 1,..., i h ) X 1 ; g(s), otherwise; It follows that g X 1 ad X 1 satisfies (i) ad (iii) ad (ii ) g X1 (y R i 1,...,i k ) = g X1 (t) iff (g X1 (z i1 ),..., g X1 (z ik )) R for each R {R 1,..., R m, X 1 }. Now, we proceed by iductio o the size l of the prefix Q 1 X 1... Q l X l. If l = 0, the φ is first-order ad the result follows immediately from Lemma 7. Suppose that l > 0. If φ = X 1... Q l X l ψ, the (G, R 1,..., R m, β) = φ iff there is X 1 V r1 such that (G, R 1,..., R m, X 1, β) = Q 2 X 2... Q l X l ψ iff, by the iductive hypothesis, there is g X 1 such that iff iff (G, g X 1, w) T (Q 2 X 2... Q l X l ψ) (G, g yx 1 1,...,1... yx 1 i 1,...,i h... y,..., X1 v X 1 1,...,1... vx 1 i 1,...,i h... v X, w) T (Q 1 2 X 2... Q l X l ψ),..., (G, g, w) E y X1.... E 1 yx1.t (Q 2 X 2... Q l X l ψ) = T (φ). If φ = X 1... Q l X l ψ, the iff, for all X 1 V r 1, (G, R 1,..., R m, β) = φ (G, R 1,..., R m, X 1, β) = Q 2 X 2... Q l X l ψ iff, by the iductive hypothesis, for all g X 1, iff, for all v X 1 1,...,1... vx 1 i 1,...,i h... v X1,...,, (G, g X 1, w) T (Q 2 X 2... Q l X l ψ),..., (G, g yx1 1,...,1... yx1 i 1,...,i h... y X 1 v X 1 1,...,1... vx 1 i 1,...,i h... v X 1,...,, w) T (Q 2 X 2... Q l X l ψ) iff (G, g, w) A y X A 1 yx 1.T (Q 2 X 2... Q l X l ψ) = T (φ). 13

14 Proof of Theorem 1. iff (G, g, w) t.e z E z. (G, g t w, w) E z E z. iff there are v 1,..., v V such that (G, g tz 1... z wv 1... v, w) iff there are v 1... v V such that iff, by Lemma 8, G φ. (G, g tz 1... z wv 1... v, w) T zi z j T zi z j T zi z j T (φ) Proof of Theorem 3. Let ψ be a secod-order formula expressig G. Let θ = A z A zi z j A zi z. 1 i The setece θ says that there are at most vertices i the frame. We defie φ as: φ = θ t.e z E zi z j T (ψ). Let G G. Let g be ay assigmet of state variables ad w be ay poit i G. If G θ, the G φ. It follows that G φ for each G. Hece, G Φ iff G φ G. Let G =. The (G, g, w) φ iff (G, g, w) t.e z E z. iff, by Theorem 1, G zi z j T (ψ) Proof of Theorem 5. Let ψ be a secod-order formula expressig G. Let Q be the prefix ( 1 ) z ( 1 ) z. ad let 14

15 θ = zi z j ( 1 ) z. ψ = t.( 1 ) z ( 1 ) z. 1 zi z, zi z j T (ψ). Let φ = θ ψ. The remaiig of the proof is similar to the proof of Theorem 2. Proof of Theorem 6. Let G be a NP-complete graph property. Let φ be a SO setece which express G. By Fagi s Theorem [Fag74], such setece exists. Let G be a graph. Let T G (φ) as defied i Defiitio 9. It is easy to see that T G (φ) ca be costructed from φ i time polyomial i G. Now, (G, T G (φ)) is a istace of the model checkig for FHL\. By Theorem 3, the model checker returs true for (G, T G (φ)) iff G G. Hece, the model checkig for FHL\ is hard for NP. Proof of Theorem 7. Aalogous to the proof of Theorem 6 above, sice for each graph property i Σ p i (resp. Πp i ) ca be expressed by a SO setece i Σ1 i (resp. Π 1 i ), ad T (φ) ca always be costructed i time polyomial i, for a fixed φ SO. Proof of Theorem 8. We proceed by iductio o i. I [tcf05], it is show that the model checkig for FHL\, which cotais σ 1, is i NP. It follows that π 1 is i co-np. Now, let qφ be a setece i σ i+1, where φ is i π i. For the sake of simplicity, we discosider the modalities 1 ad E, but the proof is aalogous. It follows that q has the form q = k 1 x 1. k 2 x k m x m. k m+1. Let M be a fiite model, g be a assigmet of state variables ad w a poit i W. By iductive hypothesis, suppose that the model checkig problem for π i is i Π p i. We ca use o-determiistic Turig machie to existetially guess values v j for x j amog the poits i W which are reachable i j i=1 k i steps from w, with respect to the accessibility relatio R, i polyomial o-determiistic time, ad we ca existetially guess poits w reachable i m+1 i=1 k i steps from w i polyomial o-determiistic time also. Fially, we ca use a oracle for the model checkig of π i with the iput (M, g v 1... v m x 1... x m, w ), φ). By iductive hypothesis, such a oracle is i Π p i. As the existetial guesses iitially performed ca be made i (existetial) o-determiistic polyomial time, the model checkig for σ i+1 is i Σ p i+1. The proof is aalogous for the model checkig of π i+1. 15

In nite Sequences. Dr. Philippe B. Laval Kennesaw State University. October 9, 2008

In nite Sequences. Dr. Philippe B. Laval Kennesaw State University. October 9, 2008 I ite Sequeces Dr. Philippe B. Laval Keesaw State Uiversity October 9, 2008 Abstract This had out is a itroductio to i ite sequeces. mai de itios ad presets some elemetary results. It gives the I ite Sequeces

More information

Asymptotic Growth of Functions

Asymptotic Growth of Functions CMPS Itroductio to Aalysis of Algorithms Fall 3 Asymptotic Growth of Fuctios We itroduce several types of asymptotic otatio which are used to compare the performace ad efficiecy of algorithms As we ll

More information

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 13

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 13 EECS 70 Discrete Mathematics ad Probability Theory Sprig 2014 Aat Sahai Note 13 Itroductio At this poit, we have see eough examples that it is worth just takig stock of our model of probability ad may

More information

Infinite Sequences and Series

Infinite Sequences and Series CHAPTER 4 Ifiite Sequeces ad Series 4.1. Sequeces A sequece is a ifiite ordered list of umbers, for example the sequece of odd positive itegers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29...

More information

Department of Computer Science, University of Otago

Department of Computer Science, University of Otago Departmet of Computer Sciece, Uiversity of Otago Techical Report OUCS-2006-09 Permutatios Cotaiig May Patters Authors: M.H. Albert Departmet of Computer Sciece, Uiversity of Otago Micah Colema, Rya Fly

More information

A Faster Clause-Shortening Algorithm for SAT with No Restriction on Clause Length

A Faster Clause-Shortening Algorithm for SAT with No Restriction on Clause Length Joural o Satisfiability, Boolea Modelig ad Computatio 1 2005) 49-60 A Faster Clause-Shorteig Algorithm for SAT with No Restrictio o Clause Legth Evgey Datsi Alexader Wolpert Departmet of Computer Sciece

More information

5 Boolean Decision Trees (February 11)

5 Boolean Decision Trees (February 11) 5 Boolea Decisio Trees (February 11) 5.1 Graph Coectivity Suppose we are give a udirected graph G, represeted as a boolea adjacecy matrix = (a ij ), where a ij = 1 if ad oly if vertices i ad j are coected

More information

Irreducible polynomials with consecutive zero coefficients

Irreducible polynomials with consecutive zero coefficients Irreducible polyomials with cosecutive zero coefficiets Theodoulos Garefalakis Departmet of Mathematics, Uiversity of Crete, 71409 Heraklio, Greece Abstract Let q be a prime power. We cosider the problem

More information

Soving Recurrence Relations

Soving Recurrence Relations Sovig Recurrece Relatios Part 1. Homogeeous liear 2d degree relatios with costat coefficiets. Cosider the recurrece relatio ( ) T () + at ( 1) + bt ( 2) = 0 This is called a homogeeous liear 2d degree

More information

Lecture 13. Lecturer: Jonathan Kelner Scribe: Jonathan Pines (2009)

Lecture 13. Lecturer: Jonathan Kelner Scribe: Jonathan Pines (2009) 18.409 A Algorithmist s Toolkit October 27, 2009 Lecture 13 Lecturer: Joatha Keler Scribe: Joatha Pies (2009) 1 Outlie Last time, we proved the Bru-Mikowski iequality for boxes. Today we ll go over the

More information

Notes on exponential generating functions and structures.

Notes on exponential generating functions and structures. Notes o expoetial geeratig fuctios ad structures. 1. The cocept of a structure. Cosider the followig coutig problems: (1) to fid for each the umber of partitios of a -elemet set, (2) to fid for each the

More information

Chapter 6: Variance, the law of large numbers and the Monte-Carlo method

Chapter 6: Variance, the law of large numbers and the Monte-Carlo method Chapter 6: Variace, the law of large umbers ad the Mote-Carlo method Expected value, variace, ad Chebyshev iequality. If X is a radom variable recall that the expected value of X, E[X] is the average value

More information

SAMPLE QUESTIONS FOR FINAL EXAM. (1) (2) (3) (4) Find the following using the definition of the Riemann integral: (2x + 1)dx

SAMPLE QUESTIONS FOR FINAL EXAM. (1) (2) (3) (4) Find the following using the definition of the Riemann integral: (2x + 1)dx SAMPLE QUESTIONS FOR FINAL EXAM REAL ANALYSIS I FALL 006 3 4 Fid the followig usig the defiitio of the Riema itegral: a 0 x + dx 3 Cosider the partitio P x 0 3, x 3 +, x 3 +,......, x 3 3 + 3 of the iterval

More information

THE HEIGHT OF q-binary SEARCH TREES

THE HEIGHT OF q-binary SEARCH TREES THE HEIGHT OF q-binary SEARCH TREES MICHAEL DRMOTA AND HELMUT PRODINGER Abstract. q biary search trees are obtaied from words, equipped with the geometric distributio istead of permutatios. The average

More information

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES Read Sectio 1.5 (pages 5 9) Overview I Sectio 1.5 we lear to work with summatio otatio ad formulas. We will also itroduce a brief overview of sequeces,

More information

Chapter 5: Inner Product Spaces

Chapter 5: Inner Product Spaces Chapter 5: Ier Product Spaces Chapter 5: Ier Product Spaces SECION A Itroductio to Ier Product Spaces By the ed of this sectio you will be able to uderstad what is meat by a ier product space give examples

More information

I. Chi-squared Distributions

I. Chi-squared Distributions 1 M 358K Supplemet to Chapter 23: CHI-SQUARED DISTRIBUTIONS, T-DISTRIBUTIONS, AND DEGREES OF FREEDOM To uderstad t-distributios, we first eed to look at aother family of distributios, the chi-squared distributios.

More information

THE ABRACADABRA PROBLEM

THE ABRACADABRA PROBLEM THE ABRACADABRA PROBLEM FRANCESCO CARAVENNA Abstract. We preset a detailed solutio of Exercise E0.6 i [Wil9]: i a radom sequece of letters, draw idepedetly ad uiformly from the Eglish alphabet, the expected

More information

Incremental calculation of weighted mean and variance

Incremental calculation of weighted mean and variance Icremetal calculatio of weighted mea ad variace Toy Fich faf@cam.ac.uk dot@dotat.at Uiversity of Cambridge Computig Service February 009 Abstract I these otes I eplai how to derive formulae for umerically

More information

Convexity, Inequalities, and Norms

Convexity, Inequalities, and Norms Covexity, Iequalities, ad Norms Covex Fuctios You are probably familiar with the otio of cocavity of fuctios. Give a twicedifferetiable fuctio ϕ: R R, We say that ϕ is covex (or cocave up) if ϕ (x) 0 for

More information

A probabilistic proof of a binomial identity

A probabilistic proof of a binomial identity A probabilistic proof of a biomial idetity Joatho Peterso Abstract We give a elemetary probabilistic proof of a biomial idetity. The proof is obtaied by computig the probability of a certai evet i two

More information

where: T = number of years of cash flow in investment's life n = the year in which the cash flow X n i = IRR = the internal rate of return

where: T = number of years of cash flow in investment's life n = the year in which the cash flow X n i = IRR = the internal rate of return EVALUATING ALTERNATIVE CAPITAL INVESTMENT PROGRAMS By Ke D. Duft, Extesio Ecoomist I the March 98 issue of this publicatio we reviewed the procedure by which a capital ivestmet project was assessed. The

More information

Permutations, the Parity Theorem, and Determinants

Permutations, the Parity Theorem, and Determinants 1 Permutatios, the Parity Theorem, ad Determiats Joh A. Guber Departmet of Electrical ad Computer Egieerig Uiversity of Wiscosi Madiso Cotets 1 What is a Permutatio 1 2 Cycles 2 2.1 Traspositios 4 3 Orbits

More information

Annuities Under Random Rates of Interest II By Abraham Zaks. Technion I.I.T. Haifa ISRAEL and Haifa University Haifa ISRAEL.

Annuities Under Random Rates of Interest II By Abraham Zaks. Technion I.I.T. Haifa ISRAEL and Haifa University Haifa ISRAEL. Auities Uder Radom Rates of Iterest II By Abraham Zas Techio I.I.T. Haifa ISRAEL ad Haifa Uiversity Haifa ISRAEL Departmet of Mathematics, Techio - Israel Istitute of Techology, 3000, Haifa, Israel I memory

More information

Class Meeting # 16: The Fourier Transform on R n

Class Meeting # 16: The Fourier Transform on R n MATH 18.152 COUSE NOTES - CLASS MEETING # 16 18.152 Itroductio to PDEs, Fall 2011 Professor: Jared Speck Class Meetig # 16: The Fourier Trasform o 1. Itroductio to the Fourier Trasform Earlier i the course,

More information

Factors of sums of powers of binomial coefficients

Factors of sums of powers of binomial coefficients ACTA ARITHMETICA LXXXVI.1 (1998) Factors of sums of powers of biomial coefficiets by Neil J. Cali (Clemso, S.C.) Dedicated to the memory of Paul Erdős 1. Itroductio. It is well ow that if ( ) a f,a = the

More information

On the L p -conjecture for locally compact groups

On the L p -conjecture for locally compact groups Arch. Math. 89 (2007), 237 242 c 2007 Birkhäuser Verlag Basel/Switzerlad 0003/889X/030237-6, ublished olie 2007-08-0 DOI 0.007/s0003-007-993-x Archiv der Mathematik O the L -cojecture for locally comact

More information

Chapter 7 Methods of Finding Estimators

Chapter 7 Methods of Finding Estimators Chapter 7 for BST 695: Special Topics i Statistical Theory. Kui Zhag, 011 Chapter 7 Methods of Fidig Estimators Sectio 7.1 Itroductio Defiitio 7.1.1 A poit estimator is ay fuctio W( X) W( X1, X,, X ) of

More information

Properties of MLE: consistency, asymptotic normality. Fisher information.

Properties of MLE: consistency, asymptotic normality. Fisher information. Lecture 3 Properties of MLE: cosistecy, asymptotic ormality. Fisher iformatio. I this sectio we will try to uderstad why MLEs are good. Let us recall two facts from probability that we be used ofte throughout

More information

Section 11.3: The Integral Test

Section 11.3: The Integral Test Sectio.3: The Itegral Test Most of the series we have looked at have either diverged or have coverged ad we have bee able to fid what they coverge to. I geeral however, the problem is much more difficult

More information

Theorems About Power Series

Theorems About Power Series Physics 6A Witer 20 Theorems About Power Series Cosider a power series, f(x) = a x, () where the a are real coefficiets ad x is a real variable. There exists a real o-egative umber R, called the radius

More information

Entropy of bi-capacities

Entropy of bi-capacities Etropy of bi-capacities Iva Kojadiovic LINA CNRS FRE 2729 Site école polytechique de l uiv. de Nates Rue Christia Pauc 44306 Nates, Frace iva.kojadiovic@uiv-ates.fr Jea-Luc Marichal Applied Mathematics

More information

Lecture 3. denote the orthogonal complement of S k. Then. 1 x S k. n. 2 x T Ax = ( ) λ x. with x = 1, we have. i = λ k x 2 = λ k.

Lecture 3. denote the orthogonal complement of S k. Then. 1 x S k. n. 2 x T Ax = ( ) λ x. with x = 1, we have. i = λ k x 2 = λ k. 18.409 A Algorithmist s Toolkit September 17, 009 Lecture 3 Lecturer: Joatha Keler Scribe: Adre Wibisoo 1 Outlie Today s lecture covers three mai parts: Courat-Fischer formula ad Rayleigh quotiets The

More information

FIBONACCI NUMBERS: AN APPLICATION OF LINEAR ALGEBRA. 1. Powers of a matrix

FIBONACCI NUMBERS: AN APPLICATION OF LINEAR ALGEBRA. 1. Powers of a matrix FIBONACCI NUMBERS: AN APPLICATION OF LINEAR ALGEBRA. Powers of a matrix We begi with a propositio which illustrates the usefuless of the diagoalizatio. Recall that a square matrix A is diogaalizable if

More information

Sequences and Series

Sequences and Series CHAPTER 9 Sequeces ad Series 9.. Covergece: Defiitio ad Examples Sequeces The purpose of this chapter is to itroduce a particular way of geeratig algorithms for fidig the values of fuctios defied by their

More information

Statistical inference: example 1. Inferential Statistics

Statistical inference: example 1. Inferential Statistics Statistical iferece: example 1 Iferetial Statistics POPULATION SAMPLE A clothig store chai regularly buys from a supplier large quatities of a certai piece of clothig. Each item ca be classified either

More information

Week 3 Conditional probabilities, Bayes formula, WEEK 3 page 1 Expected value of a random variable

Week 3 Conditional probabilities, Bayes formula, WEEK 3 page 1 Expected value of a random variable Week 3 Coditioal probabilities, Bayes formula, WEEK 3 page 1 Expected value of a radom variable We recall our discussio of 5 card poker hads. Example 13 : a) What is the probability of evet A that a 5

More information

Elementary Theory of Russian Roulette

Elementary Theory of Russian Roulette Elemetary Theory of Russia Roulette -iterestig patters of fractios- Satoshi Hashiba Daisuke Miematsu Ryohei Miyadera Itroductio. Today we are goig to study mathematical theory of Russia roulette. If some

More information

.04. This means $1000 is multiplied by 1.02 five times, once for each of the remaining sixmonth

.04. This means $1000 is multiplied by 1.02 five times, once for each of the remaining sixmonth Questio 1: What is a ordiary auity? Let s look at a ordiary auity that is certai ad simple. By this, we mea a auity over a fixed term whose paymet period matches the iterest coversio period. Additioally,

More information

PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY AN ALTERNATIVE MODEL FOR BONUS-MALUS SYSTEM

PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY AN ALTERNATIVE MODEL FOR BONUS-MALUS SYSTEM PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY Physical ad Mathematical Scieces 2015, 1, p. 15 19 M a t h e m a t i c s AN ALTERNATIVE MODEL FOR BONUS-MALUS SYSTEM A. G. GULYAN Chair of Actuarial Mathematics

More information

Taking DCOP to the Real World: Efficient Complete Solutions for Distributed Multi-Event Scheduling

Taking DCOP to the Real World: Efficient Complete Solutions for Distributed Multi-Event Scheduling Taig DCOP to the Real World: Efficiet Complete Solutios for Distributed Multi-Evet Schedulig Rajiv T. Maheswara, Milid Tambe, Emma Bowrig, Joatha P. Pearce, ad Pradeep araatham Uiversity of Souther Califoria

More information

Lecture 4: Cheeger s Inequality

Lecture 4: Cheeger s Inequality Spectral Graph Theory ad Applicatios WS 0/0 Lecture 4: Cheeger s Iequality Lecturer: Thomas Sauerwald & He Su Statemet of Cheeger s Iequality I this lecture we assume for simplicity that G is a d-regular

More information

4. Trees. 4.1 Basics. Definition: A graph having no cycles is said to be acyclic. A forest is an acyclic graph.

4. Trees. 4.1 Basics. Definition: A graph having no cycles is said to be acyclic. A forest is an acyclic graph. 4. Trees Oe of the importat classes of graphs is the trees. The importace of trees is evidet from their applicatios i various areas, especially theoretical computer sciece ad molecular evolutio. 4.1 Basics

More information

Analysis Notes (only a draft, and the first one!)

Analysis Notes (only a draft, and the first one!) Aalysis Notes (oly a draft, ad the first oe!) Ali Nesi Mathematics Departmet Istabul Bilgi Uiversity Kuştepe Şişli Istabul Turkey aesi@bilgi.edu.tr Jue 22, 2004 2 Cotets 1 Prelimiaries 9 1.1 Biary Operatio...........................

More information

CS103X: Discrete Structures Homework 4 Solutions

CS103X: Discrete Structures Homework 4 Solutions CS103X: Discrete Structures Homewor 4 Solutios Due February 22, 2008 Exercise 1 10 poits. Silico Valley questios: a How may possible six-figure salaries i whole dollar amouts are there that cotai at least

More information

MARTINGALES AND A BASIC APPLICATION

MARTINGALES AND A BASIC APPLICATION MARTINGALES AND A BASIC APPLICATION TURNER SMITH Abstract. This paper will develop the measure-theoretic approach to probability i order to preset the defiitio of martigales. From there we will apply this

More information

Hypothesis testing. Null and alternative hypotheses

Hypothesis testing. Null and alternative hypotheses Hypothesis testig Aother importat use of samplig distributios is to test hypotheses about populatio parameters, e.g. mea, proportio, regressio coefficiets, etc. For example, it is possible to stipulate

More information

Lecture 2: Karger s Min Cut Algorithm

Lecture 2: Karger s Min Cut Algorithm priceto uiv. F 3 cos 5: Advaced Algorithm Desig Lecture : Karger s Mi Cut Algorithm Lecturer: Sajeev Arora Scribe:Sajeev Today s topic is simple but gorgeous: Karger s mi cut algorithm ad its extesio.

More information

1. MATHEMATICAL INDUCTION

1. MATHEMATICAL INDUCTION 1. MATHEMATICAL INDUCTION EXAMPLE 1: Prove that for ay iteger 1. Proof: 1 + 2 + 3 +... + ( + 1 2 (1.1 STEP 1: For 1 (1.1 is true, sice 1 1(1 + 1. 2 STEP 2: Suppose (1.1 is true for some k 1, that is 1

More information

ON AN INTEGRAL OPERATOR WHICH PRESERVE THE UNIVALENCE

ON AN INTEGRAL OPERATOR WHICH PRESERVE THE UNIVALENCE Proceedigs of the Iteratioal Coferece o Theory ad Applicatios of Mathematics ad Iformatics ICTAMI 3, Alba Iulia ON AN INTEGRAL OPERATOR WHICH PRESERVE THE UNIVALENCE by Maria E Gageoea ad Silvia Moldoveau

More information

Your organization has a Class B IP address of 166.144.0.0 Before you implement subnetting, the Network ID and Host ID are divided as follows:

Your organization has a Class B IP address of 166.144.0.0 Before you implement subnetting, the Network ID and Host ID are divided as follows: Subettig Subettig is used to subdivide a sigle class of etwork i to multiple smaller etworks. Example: Your orgaizatio has a Class B IP address of 166.144.0.0 Before you implemet subettig, the Network

More information

Maximum Likelihood Estimators.

Maximum Likelihood Estimators. Lecture 2 Maximum Likelihood Estimators. Matlab example. As a motivatio, let us look at oe Matlab example. Let us geerate a radom sample of size 00 from beta distributio Beta(5, 2). We will lear the defiitio

More information

Example 2 Find the square root of 0. The only square root of 0 is 0 (since 0 is not positive or negative, so those choices don t exist here).

Example 2 Find the square root of 0. The only square root of 0 is 0 (since 0 is not positive or negative, so those choices don t exist here). BEGINNING ALGEBRA Roots ad Radicals (revised summer, 00 Olso) Packet to Supplemet the Curret Textbook - Part Review of Square Roots & Irratioals (This portio ca be ay time before Part ad should mostly

More information

CS85: You Can t Do That (Lower Bounds in Computer Science) Lecture Notes, Spring 2008. Amit Chakrabarti Dartmouth College

CS85: You Can t Do That (Lower Bounds in Computer Science) Lecture Notes, Spring 2008. Amit Chakrabarti Dartmouth College CS85: You Ca t Do That () Lecture Notes, Sprig 2008 Amit Chakrabarti Dartmouth College Latest Update: May 9, 2008 Lecture 1 Compariso Trees: Sortig ad Selectio Scribe: William Che 1.1 Sortig Defiitio 1.1.1

More information

Modified Line Search Method for Global Optimization

Modified Line Search Method for Global Optimization Modified Lie Search Method for Global Optimizatio Cria Grosa ad Ajith Abraham Ceter of Excellece for Quatifiable Quality of Service Norwegia Uiversity of Sciece ad Techology Trodheim, Norway {cria, ajith}@q2s.tu.o

More information

Concept: Types of algorithms

Concept: Types of algorithms Discrete Math for Bioiformatics WS 10/11:, by A. Bockmayr/K. Reiert, 18. Oktober 2010, 21:22 1001 Cocept: Types of algorithms The expositio is based o the followig sources, which are all required readig:

More information

Listing terms of a finite sequence List all of the terms of each finite sequence. a) a n n 2 for 1 n 5 1 b) a n for 1 n 4 n 2

Listing terms of a finite sequence List all of the terms of each finite sequence. a) a n n 2 for 1 n 5 1 b) a n for 1 n 4 n 2 74 (4 ) Chapter 4 Sequeces ad Series 4. SEQUENCES I this sectio Defiitio Fidig a Formula for the th Term The word sequece is a familiar word. We may speak of a sequece of evets or say that somethig is

More information

Approximating Area under a curve with rectangles. To find the area under a curve we approximate the area using rectangles and then use limits to find

Approximating Area under a curve with rectangles. To find the area under a curve we approximate the area using rectangles and then use limits to find 1.8 Approximatig Area uder a curve with rectagles 1.6 To fid the area uder a curve we approximate the area usig rectagles ad the use limits to fid 1.4 the area. Example 1 Suppose we wat to estimate 1.

More information

0.7 0.6 0.2 0 0 96 96.5 97 97.5 98 98.5 99 99.5 100 100.5 96.5 97 97.5 98 98.5 99 99.5 100 100.5

0.7 0.6 0.2 0 0 96 96.5 97 97.5 98 98.5 99 99.5 100 100.5 96.5 97 97.5 98 98.5 99 99.5 100 100.5 Sectio 13 Kolmogorov-Smirov test. Suppose that we have a i.i.d. sample X 1,..., X with some ukow distributio P ad we would like to test the hypothesis that P is equal to a particular distributio P 0, i.e.

More information

How To Solve The Homewor Problem Beautifully

How To Solve The Homewor Problem Beautifully Egieerig 33 eautiful Homewor et 3 of 7 Kuszmar roblem.5.5 large departmet store sells sport shirts i three sizes small, medium, ad large, three patters plaid, prit, ad stripe, ad two sleeve legths log

More information

BENEFIT-COST ANALYSIS Financial and Economic Appraisal using Spreadsheets

BENEFIT-COST ANALYSIS Financial and Economic Appraisal using Spreadsheets BENEIT-CST ANALYSIS iacial ad Ecoomic Appraisal usig Spreadsheets Ch. 2: Ivestmet Appraisal - Priciples Harry Campbell & Richard Brow School of Ecoomics The Uiversity of Queeslad Review of basic cocepts

More information

1 Computing the Standard Deviation of Sample Means

1 Computing the Standard Deviation of Sample Means Computig the Stadard Deviatio of Sample Meas Quality cotrol charts are based o sample meas ot o idividual values withi a sample. A sample is a group of items, which are cosidered all together for our aalysis.

More information

Chapter 5 O A Cojecture Of Erdíos Proceedigs NCUR VIII è1994è, Vol II, pp 794í798 Jeærey F Gold Departmet of Mathematics, Departmet of Physics Uiversity of Utah Do H Tucker Departmet of Mathematics Uiversity

More information

Output Analysis (2, Chapters 10 &11 Law)

Output Analysis (2, Chapters 10 &11 Law) B. Maddah ENMG 6 Simulatio 05/0/07 Output Aalysis (, Chapters 10 &11 Law) Comparig alterative system cofiguratio Sice the output of a simulatio is radom, the comparig differet systems via simulatio should

More information

CS103A Handout 23 Winter 2002 February 22, 2002 Solving Recurrence Relations

CS103A Handout 23 Winter 2002 February 22, 2002 Solving Recurrence Relations CS3A Hadout 3 Witer 00 February, 00 Solvig Recurrece Relatios Itroductio A wide variety of recurrece problems occur i models. Some of these recurrece relatios ca be solved usig iteratio or some other ad

More information

WHEN IS THE (CO)SINE OF A RATIONAL ANGLE EQUAL TO A RATIONAL NUMBER?

WHEN IS THE (CO)SINE OF A RATIONAL ANGLE EQUAL TO A RATIONAL NUMBER? WHEN IS THE (CO)SINE OF A RATIONAL ANGLE EQUAL TO A RATIONAL NUMBER? JÖRG JAHNEL 1. My Motivatio Some Sort of a Itroductio Last term I tought Topological Groups at the Göttige Georg August Uiversity. This

More information

Our aim is to show that under reasonable assumptions a given 2π-periodic function f can be represented as convergent series

Our aim is to show that under reasonable assumptions a given 2π-periodic function f can be represented as convergent series 8 Fourier Series Our aim is to show that uder reasoable assumptios a give -periodic fuctio f ca be represeted as coverget series f(x) = a + (a cos x + b si x). (8.) By defiitio, the covergece of the series

More information

The Power of Free Branching in a General Model of Backtracking and Dynamic Programming Algorithms

The Power of Free Branching in a General Model of Backtracking and Dynamic Programming Algorithms The Power of Free Brachig i a Geeral Model of Backtrackig ad Dyamic Programmig Algorithms SASHKA DAVIS IDA/Ceter for Computig Scieces Bowie, MD sashka.davis@gmail.com RUSSELL IMPAGLIAZZO Dept. of Computer

More information

Lecture 4: Cauchy sequences, Bolzano-Weierstrass, and the Squeeze theorem

Lecture 4: Cauchy sequences, Bolzano-Weierstrass, and the Squeeze theorem Lecture 4: Cauchy sequeces, Bolzao-Weierstrass, ad the Squeeze theorem The purpose of this lecture is more modest tha the previous oes. It is to state certai coditios uder which we are guarateed that limits

More information

Confidence Intervals for One Mean

Confidence Intervals for One Mean Chapter 420 Cofidece Itervals for Oe Mea Itroductio This routie calculates the sample size ecessary to achieve a specified distace from the mea to the cofidece limit(s) at a stated cofidece level for a

More information

SEQUENCES AND SERIES

SEQUENCES AND SERIES Chapter 9 SEQUENCES AND SERIES Natural umbers are the product of huma spirit. DEDEKIND 9.1 Itroductio I mathematics, the word, sequece is used i much the same way as it is i ordiary Eglish. Whe we say

More information

CHAPTER 3 THE TIME VALUE OF MONEY

CHAPTER 3 THE TIME VALUE OF MONEY CHAPTER 3 THE TIME VALUE OF MONEY OVERVIEW A dollar i the had today is worth more tha a dollar to be received i the future because, if you had it ow, you could ivest that dollar ad ear iterest. Of all

More information

Measures of Spread and Boxplots Discrete Math, Section 9.4

Measures of Spread and Boxplots Discrete Math, Section 9.4 Measures of Spread ad Boxplots Discrete Math, Sectio 9.4 We start with a example: Example 1: Comparig Mea ad Media Compute the mea ad media of each data set: S 1 = {4, 6, 8, 10, 1, 14, 16} S = {4, 7, 9,

More information

INFINITE SERIES KEITH CONRAD

INFINITE SERIES KEITH CONRAD INFINITE SERIES KEITH CONRAD. Itroductio The two basic cocepts of calculus, differetiatio ad itegratio, are defied i terms of limits (Newto quotiets ad Riema sums). I additio to these is a third fudametal

More information

Basic Elements of Arithmetic Sequences and Series

Basic Elements of Arithmetic Sequences and Series MA40S PRE-CALCULUS UNIT G GEOMETRIC SEQUENCES CLASS NOTES (COMPLETED NO NEED TO COPY NOTES FROM OVERHEAD) Basic Elemets of Arithmetic Sequeces ad Series Objective: To establish basic elemets of arithmetic

More information

5: Introduction to Estimation

5: Introduction to Estimation 5: Itroductio to Estimatio Cotets Acroyms ad symbols... 1 Statistical iferece... Estimatig µ with cofidece... 3 Samplig distributio of the mea... 3 Cofidece Iterval for μ whe σ is kow before had... 4 Sample

More information

4.3. The Integral and Comparison Tests

4.3. The Integral and Comparison Tests 4.3. THE INTEGRAL AND COMPARISON TESTS 9 4.3. The Itegral ad Compariso Tests 4.3.. The Itegral Test. Suppose f is a cotiuous, positive, decreasig fuctio o [, ), ad let a = f(). The the covergece or divergece

More information

Sampling Distribution And Central Limit Theorem

Sampling Distribution And Central Limit Theorem () Samplig Distributio & Cetral Limit Samplig Distributio Ad Cetral Limit Samplig distributio of the sample mea If we sample a umber of samples (say k samples where k is very large umber) each of size,

More information

A PRESENTATION THEOREM FOR CONTINUOUS LOGIC AND METRIC ABSTRACT ELEMENTARY CLASSES

A PRESENTATION THEOREM FOR CONTINUOUS LOGIC AND METRIC ABSTRACT ELEMENTARY CLASSES A PRESENTATION THEOREM FOR CONTINUOUS LOGIC AND METRIC ABSTRACT ELEMENTARY CLASSES WILL BONEY Cotets 1. Itroductio 1 2. Models ad Theories 3 3. Elemetary Substructure 11 4. Types ad Saturatio 13 5. T dese

More information

Determining the sample size

Determining the sample size Determiig the sample size Oe of the most commo questios ay statisticia gets asked is How large a sample size do I eed? Researchers are ofte surprised to fid out that the aswer depeds o a umber of factors

More information

Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed. This documet was writte ad copyrighted by Paul Dawkis. Use of this documet ad its olie versio is govered by the Terms ad Coditios of Use located at http://tutorial.math.lamar.edu/terms.asp. The olie versio

More information

Efficient tree methods for pricing digital barrier options

Efficient tree methods for pricing digital barrier options Efficiet tree methods for pricig digital barrier optios arxiv:1401.900v [q-fi.cp] 7 Ja 014 Elisa Appolloi Sapieza Uiversità di Roma MEMOTEF elisa.appolloi@uiroma1.it Abstract Adrea igori Uiversità di Roma

More information

A Recursive Formula for Moments of a Binomial Distribution

A Recursive Formula for Moments of a Binomial Distribution A Recursive Formula for Momets of a Biomial Distributio Árpád Béyi beyi@mathumassedu, Uiversity of Massachusetts, Amherst, MA 01003 ad Saverio M Maago smmaago@psavymil Naval Postgraduate School, Moterey,

More information

Definition. A variable X that takes on values X 1, X 2, X 3,...X k with respective frequencies f 1, f 2, f 3,...f k has mean

Definition. A variable X that takes on values X 1, X 2, X 3,...X k with respective frequencies f 1, f 2, f 3,...f k has mean 1 Social Studies 201 October 13, 2004 Note: The examples i these otes may be differet tha used i class. However, the examples are similar ad the methods used are idetical to what was preseted i class.

More information

Metric, Normed, and Topological Spaces

Metric, Normed, and Topological Spaces Chapter 13 Metric, Normed, ad Topological Spaces A metric space is a set X that has a otio of the distace d(x, y) betwee every pair of poits x, y X. A fudametal example is R with the absolute-value metric

More information

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies ( 3.1.1) Limitations of Experiments. Pseudocode ( 3.1.2) Theoretical Analysis

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies ( 3.1.1) Limitations of Experiments. Pseudocode ( 3.1.2) Theoretical Analysis Ruig Time ( 3.) Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects.

More information

Part - I. Mathematics

Part - I. Mathematics Part - I Mathematics CHAPTER Set Theory. Objectives. Itroductio. Set Cocept.. Sets ad Elemets. Subset.. Proper ad Improper Subsets.. Equality of Sets.. Trasitivity of Set Iclusio.4 Uiversal Set.5 Complemet

More information

THIN SEQUENCES AND THE GRAM MATRIX PAMELA GORKIN, JOHN E. MCCARTHY, SANDRA POTT, AND BRETT D. WICK

THIN SEQUENCES AND THE GRAM MATRIX PAMELA GORKIN, JOHN E. MCCARTHY, SANDRA POTT, AND BRETT D. WICK THIN SEQUENCES AND THE GRAM MATRIX PAMELA GORKIN, JOHN E MCCARTHY, SANDRA POTT, AND BRETT D WICK Abstract We provide a ew proof of Volberg s Theorem characterizig thi iterpolatig sequeces as those for

More information

CHAPTER 3 DIGITAL CODING OF SIGNALS

CHAPTER 3 DIGITAL CODING OF SIGNALS CHAPTER 3 DIGITAL CODING OF SIGNALS Computers are ofte used to automate the recordig of measuremets. The trasducers ad sigal coditioig circuits produce a voltage sigal that is proportioal to a quatity

More information

ODBC. Getting Started With Sage Timberline Office ODBC

ODBC. Getting Started With Sage Timberline Office ODBC ODBC Gettig Started With Sage Timberlie Office ODBC NOTICE This documet ad the Sage Timberlie Office software may be used oly i accordace with the accompayig Sage Timberlie Office Ed User Licese Agreemet.

More information

CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 8

CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 8 CME 30: NUMERICAL LINEAR ALGEBRA FALL 005/06 LECTURE 8 GENE H GOLUB 1 Positive Defiite Matrices A matrix A is positive defiite if x Ax > 0 for all ozero x A positive defiite matrix has real ad positive

More information

Designing Incentives for Online Question and Answer Forums

Designing Incentives for Online Question and Answer Forums Desigig Icetives for Olie Questio ad Aswer Forums Shaili Jai School of Egieerig ad Applied Scieces Harvard Uiversity Cambridge, MA 0238 USA shailij@eecs.harvard.edu Yilig Che School of Egieerig ad Applied

More information

The Role of Latin Square in Cipher Systems: A Matrix Approach to Model Encryption Modes of Operation

The Role of Latin Square in Cipher Systems: A Matrix Approach to Model Encryption Modes of Operation UCLA COPUTR SCINC DPARTNT TCHNICAL RPORT 030038 1 The Role of Lati Square i Cipher Systems: A atrix Approach to odel cryptio odes of Operatio Jieju og Computer Sciece Departmet Uiversity of Califoria,

More information

A Constant-Factor Approximation Algorithm for the Link Building Problem

A Constant-Factor Approximation Algorithm for the Link Building Problem A Costat-Factor Approximatio Algorithm for the Lik Buildig Problem Marti Olse 1, Aastasios Viglas 2, ad Ilia Zvedeiouk 2 1 Ceter for Iovatio ad Busiess Developmet, Istitute of Busiess ad Techology, Aarhus

More information

Project Deliverables. CS 361, Lecture 28. Outline. Project Deliverables. Administrative. Project Comments

Project Deliverables. CS 361, Lecture 28. Outline. Project Deliverables. Administrative. Project Comments Project Deliverables CS 361, Lecture 28 Jared Saia Uiversity of New Mexico Each Group should tur i oe group project cosistig of: About 6-12 pages of text (ca be loger with appedix) 6-12 figures (please

More information

Exploratory Data Analysis

Exploratory Data Analysis 1 Exploratory Data Aalysis Exploratory data aalysis is ofte the rst step i a statistical aalysis, for it helps uderstadig the mai features of the particular sample that a aalyst is usig. Itelliget descriptios

More information

Automatic Tuning for FOREX Trading System Using Fuzzy Time Series

Automatic Tuning for FOREX Trading System Using Fuzzy Time Series utomatic Tuig for FOREX Tradig System Usig Fuzzy Time Series Kraimo Maeesilp ad Pitihate Soorasa bstract Efficiecy of the automatic currecy tradig system is time depedet due to usig fixed parameters which

More information

The following example will help us understand The Sampling Distribution of the Mean. C1 C2 C3 C4 C5 50 miles 84 miles 38 miles 120 miles 48 miles

The following example will help us understand The Sampling Distribution of the Mean. C1 C2 C3 C4 C5 50 miles 84 miles 38 miles 120 miles 48 miles The followig eample will help us uderstad The Samplig Distributio of the Mea Review: The populatio is the etire collectio of all idividuals or objects of iterest The sample is the portio of the populatio

More information

2. Degree Sequences. 2.1 Degree Sequences

2. Degree Sequences. 2.1 Degree Sequences 2. Degree Sequeces The cocept of degrees i graphs has provided a framewor for the study of various structural properties of graphs ad has therefore attracted the attetio of may graph theorists. Here we

More information

Review: Classification Outline

Review: Classification Outline Data Miig CS 341, Sprig 2007 Decisio Trees Neural etworks Review: Lecture 6: Classificatio issues, regressio, bayesia classificatio Pretice Hall 2 Data Miig Core Techiques Classificatio Clusterig Associatio

More information