Procedure di Decisione Ibride per QBF Hybrid Evaluation Procedures for QBF

Size: px
Start display at page:

Download "Procedure di Decisione Ibride per QBF Hybrid Evaluation Procedures for QBF"

Transcription

1 Procedure di Decisione Ibride per QBF Hybrid Evlution Procedures for QBF Mrco Benedetti Istituto per l Ricerc Scientific e Tecnologic (IRST) Vi Sommrive 18, Povo, Trento, Itly benedetti@itc.it

2 Abstrct In questo lvoro viene presentto un sistem per l vlutzione e certificzione di formule proposizionli quntificte (QBFs) che si bs su un pproccio ibrido l problem. Vengono considerte questioni ttinenti ll integrzione di differenti filosofie di soluzione e il ruolo delle met-euristiche nell composizione del sistem complessivo. We present system designed to evlute nd certify Quntified Boolen Formuls (QBFs) by employing hybrid pproch to the problem. Issues in integrting different philosophies nd the usge of met-heuristics to compose the whole frmework re ddressed. Keywords: Propositionl Resoning, QBF, Hybrid lgorithms, Symbolic resoning. 1 Introduction We present n pproch to the hybridiztion of severl different evlution lgorithms for Quntified Boolen Formuls (QBFs). A QBF is propositionl formul in which toms cn be existentilly or universlly quntified. The evlution of QBF instnces is decidble, PSPACEcomplete problem, nd plenty of pplictions exist for this logic formlism: Every problem tht cn be stted s two-plyer finite gme cn be modeled in QBF. Mny rel-world pplictions re two-plyer gmes: Unbounded model checking for finite-stte systems [28] nd conformnt plnning [27] just to nme two relevnt exmples hve hndy QBF formultions. Hence, QBF is regrded s promising formlism, but substntil improvements in decision procedures re expected before its potentil cn be unleshed to pplictions [1, 21, 8]. Severl different prdigms hve been proposed nd implemented to evlute QBF formuls, ech one feturing specific strengths nd weknesses. No one domintes the others, nd ttempts to mix such inference styles with one nother hve not been undertken so fr. We now briefly describe the mjor pproches to QBF evlution, nd discuss some of their distinguishing fetures. DPLL-like solvers. Serch-bsed solvers extend the DPLL-pproch [12] to the quntified cse [10]. Models re serched for in the most nturl wy: Following the left-to-right order of the vribles in the prefix during topdown, depth-first visit of the semntic evlution tree of the formul. This is the most common pproch to QBF evlution. Exmples of solvers in this clss re Quffle[31], QuBE [16], nd semprop [22]. Resolution-bsed solvers. Rther thn serch for model, it is possible to solve the formul by pplying refuttionlly complete inference procedure (quntor [8], QMRES [26], QBDD [26]). Such strtegy ims to derive necessry consequences from the given formul, ending up with the empty cluse if nd only if the originl formul is unstisfible. These methods build upon generliztions of the resolution pproch to existentil stisfibility, such s q-resolution [19, 9]. Skolemiztion-bsed solvers. Skolemiztion-bsed solvers replce the originl QBF evlution problem with the vlidity problem of the skolemized instnce (existentil quntifiers re eliminted by replcing the vribles they bind with Skolem functions whose definition domins re ppositely chosen to preserve stisfibility.). Once skolemiztion is pplied, methods from F OL utomted theorem proving or d-hoc strtegies such s the ones presented in [2, 5] cn be employed. SAT-bsed solvers. The mening of QBF instnce cn be prtilly or totlly [2, 5] expnded into purely existentil SAT instnce, which is then ddressed by mens of stte-of-the-rt SAT solvers.

3 Symbolic solvers. Such solvers employ BDD-bsed or ZDD-bsed compressed representtion for cluse sets, in the spirit of [11], then pply either serch (ZQSAT[14]) or resolution (QMRES [26]). 2 Specific Fetures nd Issues in Integrtion DPLL-bsed solvers inherit the experience of decde of successful ppliction of similr techniques to the purely existentil cse (SAT solvers). Mny lookbck enhncements such us conflict nlysis, filure-driven ssertion, non-chronologicl bcktrcking, nd lerning nd lookhed enhncements such us forwrd checking, forwrd resoning nd heuristics choices hve been pplied over the yers (see [18, 13, 29, 30, 17, 23, 24] for exmples nd [4] for survey). In ddition to their long history, DPLL-like techniques re ttrctive s they gurntee to work in polynomil spce, which is relly good point when ll the other pproch fil. However, their brnching behvior integrtes hrdly with other techniques, nd it is often bsed on purposely designed dt structures (e.g.: wtched literls) with strong trdeoff between efficiency nd generlity. SAT-bsed QBF solvers fce difficult issue: By reducing PSPACE-complete problem to n NP-complete problem, we cuse in generl n exponentil blowup in the size of ech instnce. For rel-world problems, this mens 10 x, x > 100 cluses: Definitely unffordble instnces re thus generted. Nevertheless, the clss of lmost-existentil problems (very few universl quntifiers) comes out to be menble to n extremely efficient SAT-bsed solution. To minor extent, resolution-bsed solvers lso suffer from spce-explosion problems. Intermedite clusesets much lrger thn the originting instnce re possibly generted to solve the problem. Out-of-memory conditions re likely to occur, nd the solver hs to simply give up the solution process (provided it is ble to detect tht physicl memory is over: n OS trshing condition occurs otherwise). Integrtion is mde difficult by enormous oscilltions in the instnce size. On the positive side, resolution-bsed solvers pply somehow complementry pproch to QBF evlution w.r.t serch bsed solvers: The ltter consider quntifiers in outermost-to-innermost direction, the former employ the opposite strtegy, using q-resolution [19] for existentil quntifiers nd expnsion for universl ones. When combined with ( lot of) other mechnisms (equivlence resoning, subsumption control, estimtion of expnsion nd resolution costs, scheduling heuristics) resolution-bsed pproches yield the best solvers overll on lrge fmily of instnces [20]. The so-clled symbolic pproches show certin strength on specific clsses of instnces, but seem to be not competitive in generl [25] for the SAT cse. Things chnge lot in the QBF scenrio. The ide of compressed/symbolic representtions seem to be very promising [26, 8, 14] s fr s QBF is concerned. Possible resons for this symmetry discussed in the literture re (1) tht symbolic representtions mnge existentil nd universl quntifiers in n lmost-symmetric wy, wheres serch-bsed procedures hve hrd wy with the ltter ones, nd (2) tht QBF problems re more structured nd less combintoril in nture thn their propositionl counterprts. Skolemiztion-bsed solvers for QBF hve been implemented recently[5]. More thn in specific inference style, the successful feture of such solvers lys in their structurl bility to move the problem to different representtion spce: Those of the definbility of the skolem terms. Besides immeditely llowing for the ppliction of number of simplifiction techniques, the spce of the skolemized instnces seem to be suited for the ppliction of mny of the bove inference styles. This is the reson why the hybrid rchitecture we present hs skolemiztion t its hert. 3 A Hybrid System skizzo [2, 3] is softwre suite for deling with QBFs, minly imed t evluting prenex CNF formuls by mens of novel symbolic skolemistion technique[5] on top of which numerous inference styles re mixed. In ddition, it enbles the user to (A) experiment with quntifier trees[7], (B) certify the (un)stisfibility of formuls[6] nd (possibly) extrct unstisfible cores, nd (C) compute, mnge, nd query stnd-lone certifictes of stisfibility for QBFs. At the herth of skizzo stys new kind of symbolic representtion for cluses nd formuls, bsed on Binry Decision Digrms (BDDs). As opposed to previous BDD-bsed pproches to propositionl logic, skizzo s one employs two-level dt structure [2] designed to tke dvntge of the distinguishing fetures of QBFs. Besides llowing for novel style of (complete/incomplete) symbolic resoning, such representtion mkes it possible to unify within coherent frmework mny other pproches to QBF-stisfibility implemented so fr. 4 Representtion of QBF Instnces nd Dt Structures Three representtion spces for QBFs coexist within skizzo. They re interconnected by two stisfibilitypreserving trsformtions (pplied one-wy), s reported in the picture below. The first trnsformtion leverges outer skolemistion to mp ny (prenex CNF) instnce F QBF s onto symbolic formul F = SymbSk(F ), which is sid to be symbolic s it couples list-bsed nd BDD-bsed dt structures to compctly represent (possibly) exponentilly less succinct propositionl formul. The sentence F encodes the definbility of set of Skolem functions tht cpture model (if ny) of the originl instnce, ccording to the symbolic skolemistion technique

4 presented in [5]. A forml semntics is ssocited to symbolic formuls in so s F st SymbSk(F ) for every F. The other trnsformtion clled groundistion trnsltes symbolic formul F into purely existentil CNF propositionl instnce P rop(f) ( SAT problem) such tht F st SymbSk(F ) st P rop(symbsk(f )). The role of these representtions is s follows: Plin QBFs re hndled in pre-processing phse. Then, skizzo moves to the symbolic representtion nd performs most of its work thereon. Zero or more CNF instnces re generted/solved during the whole process. Symbolic skolemistion (nd most of the processes described below) relies on the existence of quntifier tree stting which existentil vribles re in the scope of which universl vribles. Such tree-shped structures re extrcted out of the flt prenex input ccording to [7]. They replce liner prefixes so to more closely reflect the intrinsic dependencies in the mtrix. Prenex QBFs (CNF) symbolic skolemistion Symbolic Formuls groundistion Prop. CNF instnces A smple quntifier tree for the QBF b c d e f g h.( c) ( h) (c d g) ( b f) ( c e h) ( b f) ( c g) is depicted in Figure 1. The symbolic representtion is designed to llow for efficient forms of symbolic resoning (Section 2), where universl resoning is tken prt form existentil resoning (ROBDDs conveniently del with the former, list-bsed bf f [h] 0 1 c e [c, h] d e 0 1 Figure 1: A smple quntifier tree representtions with the ltter). A symbolic formul is mde up by symbolic cluses. During symbolic skolemistion, one symbolic cluse is extrcted out of ech QBF cluse. The two mjor components of symbolic cluse Γ I re list Γ of existentil literls nd n index-set I represented vi ROBDD whose support set is the set of universl vribles dominting the existentil node t which the cluse is ttched in the quntifier tree. For exmple, the symbolic cluses [h] {00,01} nd [c, h] {10} re extrcted out of h nd c e h respectively (see the picture). Ech symbolic cluse Γ I compctly represents set P rop(γ I ) (with crdinlity I ) of ground propositionl cluses, in such wy tht F is st iff P rop(f) is st. For exmple, P rop([c, g] {01,10} ) = {c 0 g 01, c 1 g 10 }. The symbolic size of F is F, its ground size is P rop(f) : The initil symbolic size of F is thus liner in F (see [5]). 5 Inference Strtegy The inference strtegy followed by skizzo chnges s the solution process goes on. Its evolution is described by finite stte mchine (Figure 2) whose inference sttes re S inf = {G, S, R, B, G}. Ech stte in S inf is ssocited to the ppliction of n inference style. Ech trnsition x y in Figure 2 (x, y S inf ) is lbeled by condition tht triggers the shift from the style x to y (possibly requiring stisfibility-preserving trnsformtion). We now briefly describe ech stte nd trnsition in turn. Q: Ground QBF Resoning. In the Q-stte skizzo works in the originl QBF spce, s represented below. The step Q 1 mounts to pply Q: Ground QBF Resoning the quntified form of three Q simple (incomplete) inference 1 : Normliztion rules: unit cluse propgtion, Q pure literl elimintion, nd 2 : Tree Reconstruction forll-reduction. The trnsition Q 1 Q 2 is triggered when ll Q 3 : Bounded Vr. these rules rech their fixpoint. Elimintion Bounded vrible elimintion (Q 3 ) pplies q-resolution to S eliminte selected existentilly quntified vrible v in the deepest existentil scope of some brnch of the quntifier tree. This is done by substituting ll the cluses contining v with the set of ll the resolvents over v. As repeted pplictions of vrible elimintion often led to n unmngeble explosion of the number of cluses, bounded form of elimintion is employed: Only vribles whose elimintion shrink the overll number of literls or cluses re eligible for elimintion. The trnsition Q 3 Q 1 is selected when t lest one vrible hs been eliminted during the lst round, Q 3 S is followed otherwise. S: Incomplete Symbolic Resoning. The instnce is ttcked by mens of set of (incomplete) symbolic in-

5 Q: Ground QBF Resoning symbolic skolemistion S: Incomplete Symbolic Resoning R: Complete Symbolic Resoning B: Symbolic Brnching Resoning groundistion G: SAT-bsed CNF Resoning Figure 2: Inference FSM ference rules, designed fter their ground counterprts to chieve in one single ppliction on symbolic cluses the sme result they would obtin if pplied to ech ground cluse seprtely. SUCP (Symbolic Unit Cluse Propgtion). This rule builds on top of the observtion tht ech symbolic unit cluse [γ] I in the formul represents set {γ i i I} of ground unit literls. All of them re symboliclly ssigned t once to void n immedite contrdiction. SPLE (Symbolic Pure Literl Elimintion). This rule computes symbolic representtion for the set of pure literls, then simplify the formul by ssigning ll of them t once. It comes in two flvors: monolitic (one vrible per step) nd n incrementl (one cluse per step) version. SSUB (Symbolic SUBsumption). This rules removes ll the symbolic cluses tht re subsumed by other cluses (forwrd subsumption). It employs scheduling heuristics, lzy computtions, nd signturebsed mechnism to minimize the overll effort. This rule complements the bckwrd subsumption mechnism which is pplied on-the-fly t ech cluse insertion. SHBR (Symbolic Hyper Binry Resolution). This rules enumertes ll the resolution chins of binry symbolic cluses in the formul, looking for contrdictions. Ech such contrdiction determines necessry consequence of the formul, compctly represented s unit symbolic cluse which is dded to the instnce (SUCP then drws ll the entiled consequences). SER (Symbolic Equivlency Resoning). This rules look for non-empty strongly connected components in the symbolic binry impliction grph[2] of the formul. Ech such component determines symbolic equivlence which is pplied to simplify the formul. A crefully designed ppliction schedule is necessry to profit from the bove set of rules s whole. skizzo implements dynmic scheduling policy which works s follows. 1. The inference process is divided into subsequent inference rounds. At ech round, the rules tht hve the rights to do so (see below) re sequentilly executed. 2. The rule currently working is monitored during its execution. When certin resource limits re exceeded (inference steps undertken, time elpsed, memory llocted, etc.), the rule is preemptively stopped (the rule s context is sved to re-strt working from the interruption point). 3. When ll the rules in the inference round hve been executed, they re rnked ccording to their reltive efficiency. The resource limits for the next rounds re re-distributed on meritocrtic bsis: the better rule hs proved to be, the lrger the resources it will be grnted next. 4. In ddition, rules filing to be effective loose the right to execute for number of inference steps tht enlrges with the number of rounds they hve been performing poorly. The longer they keep on being ineffective, the more springly they re given try. The ssessment of rules efficiency is mjor issue in the bove policy. As ll the rules reduce the ground size of the instnce t ech ppliction (conversely, the symbolic size might be enlrged), the ground-size-shrinkpercentge-per-resource-unit is ssumed s mesure of efficiency. This mesure needs itself resources to be computed. When BDD primitives nd lzy evlution do not suffice to keep the cost of ssessment within preestblished limits, skizzo resorts to pproximted mesures. The trnsition S G is triggered if the ground size of the current problem becomes ffordble vi SAT-bsed resoning (see the G-style), unless the symbolic resoning is behving so efficiently tht ground resoning is estimted not to py bck. The trnsition S R is ctivted when the rules dopted come out to be unble to solve the problem. This hppens under two circumstnces: (1) the overll fixpoint is reched but no decision is obtined, or (2) the rte t which the problem is being shrunk hs been stying below certin threshold since given number of inference rounds. R: Complete Symbolic Resoning. This stte is similr to S, with one mjor exception: refuttionlly complete rule is inserted in the pool of symbolic rules exercised t ech inference round. SDR (Symbolic Directionl Resolution). This rules elimintes one symbolic vrible per step by substituting

6 the set of resolving cluses with the set of their symboliclly computed resolvents. Efficiency s size-shrinking mesurement is unfir for SDR. This rule my need to pss through intermedite cluse-sets tht re much lrger thn the originting instnce to come to solution. So, SDR is given the chnge to consume more nd more resources regrdless of the size of the formul it is constructing. The other rules re still pplied/evluted in round robin wy (SSUB is especilly useful here to reduce the redundncy SDR genertes). Two outcomes re possible: (1) the lrgest intermedite result fits within the physicl memory of the mchine on which skizzo is running so the instnce is solved, or (2) n out-of-memory condition occurs. As skizzo keeps on monitoring its own resource consumption, it is ble to detect the ltter occurrence nd give up resolution-bsed resoning. The trnsition R B is triggered. As usul, the trnsition R G is followed if (nd s soon s) the current problem becomes ffordble vi SAT-bsed resoning (see the G-style). A protection mechnism is implemented ginst the unlucky possibilities tht (A) no consistent formul representtion exists when mem-out occurs, or (B) the formul yielded by SDR (or other rules) is so lrger thn the input formul tht we would prefer to restrt working on the originl version. To fce these issues, skizzo implements checkpointing mechnism: Symbolic formuls hve to be explicitly committed or rolled-bck depending on their eventul chrcteristics. This ensures tht blow-up phenomen do not negtively ffect the rest of the inference process. B: Brnching Resoning. In this sttus, serch-bsed brnching decision procedure extending the DPLL pproch to the quntified cse is pplied. Models re serched following the left-to-right prefix order of vribles during depth-first visit of the semntic evlution tree of the formul. Existentil vribles generte or nodes tht disjunctively split the brnch, universl quntifiers re ssocited to nd nodes tht split brnches conjunctively. Distinguishing fetures of skizzo: Both universl nd existentil splits re performed symboliclly. The prtil order induced by the internl structure of the quntifier tree is substituted for the left-to-right order of vribles in the prefix. The min dvntge is tht nodes with more thn one child induce sets of disjoint sub-instnces tht re solved in isoltion of one nother. After ech existentil split, the cofctored mtrix undergoes further incomplete symbolic normliztion (trnsition B S nd bck). This mechnism extends the unit-cluse-propgtion bsed form of lookhed used in purely brnching solvers. The bse cse of the recursion does not del with trivil sub-formuls. Well in dvnce, either symbolic resoning (trnsition B S, whenever the current instnce flls within its deductive power) or ground resoning (trnsition B G, whenever the ground version of the problem is ffordble) decide every sub-instnce, cting s powerful look-hed tools. Mny enhncements to the bsic DPLL procedure re implemented. A conflict-nlysis mchinery is employed in the event of inconsistent prtil ssignment to isolte the brnching steps responsible for the contrdiction to rise. This informtion is used to perform conflict-directed bckjumping. As contrdictions follow in generl from mix of brnching steps, symbolic resoning, nd SATbsed resoning, the three of these inference styles shre common conflict-nlysis engine. A symbolic lerning mechnism extrcts symbolic cluses out of contrdictions (useful to prune the rest of the serch). Size-bounded nd relevnce-bounded heuristics re used to constrint the required mount of memory. Brnching heuristics re lso enrolled: MOMS nd VSDIS re implemented. G: SAT-bsed Ground Resoning. In the G-stte we explicitly construct P rop(symbsk(f )) nd solve it vi stte-of-the-rt SAT solvers (they come out to be very efficient on such instnces). This mounts to (1) build n encoding from the structured nmespce of symbolic literls/cluses onto flt propositionl spce, (2) generte ll the necessry cluses, (3) mke the SAT solver hndle the resulting instnce: Quite some lmost-existentil fmilies of instnces re successfully delt with in the G sttus (hsh-tble bsed mechnism re implemented to mke the trnsltion fst). A trnsition x G, x {S, R, B}, is triggered s soon s the groundistion of the current formul becomes ffordble. At the beginning, this notion is simply given in terms of memory requirements: The ground version of the instnce fits into the memory nd leves enough spce for the SAT solver to work. By construction, the trnsitions x G, x {S, R} re triggered t most once, yielding n instnce SAT-equivlent to the originl QBF problem. Conversely, B genertes (possibly) long chin of SAT instnces, ech one encoding the outcome of the explortion of n entire sub-tree of the QBF semntic evlution tree. Along this chin, the notion of ffordbility is djusted by lerning lgorithm tht tries to guess the optiml switch size between B nd G. Furthermore, for the G-stte to ctively prticipte in conflict nlysis, we mp unstisfible ground cores (extrcted by nlyzing the ground inference trce) onto symbolic cores, then onto brnching choices. 6 Certifiction skizzo implements mechnism to certify its clims of (un)stisfibility. Evlution nd certifiction re completely decoupled, with lmost no overhed for the former.

7 c + () c - () e + (,b,d) e - (,b,d) f + (,b,d) f - (,b,d) b d 1 Figure 3: An exmple of st-certificte The two meshes of the chin re connected through n inference log, produced by the solver nd red by n externl certifier. The log contins informtion bout (1) the context switches between inference styles, (2) the sequence of the (symbolic) instntitions of inference rules undertken (resolutions, substitutions, ssignments), (3) entries for rollbck/commit points nd other control informtion. By reding the log forwrd, the certifier is ble to reproduce the derivtion of the empty cluse (unst instnces) nd its grph of dependencies, thus extrcting n unstisfible core. On st instnces, the certifier pplies n inductive model reconstruction[6] procedure while prsing the log bckwrd. It constructs stnd-lone, BDD-bsed st-certificte encoding QBF model. As n exmple, Figure 3 depicts the st-certificte produced for b c d e f. ( b e f) ( c f) ( d e) ( b d e) ( b c) ( c f) ( d e) ( d e) ( e f). It is possible to verify tht model is indeed encoded: By ssigning the existentil vrible e (similrly for c nd f) to TRUE when e + (, b, d) = 1 nd to FALSE when e (, b, d) = 1 the mtrix is lwys stisfied. 7 Implementtion nd experimenttion skizzo is 60k-line piece of code written in C using n object-oriented progrmming style. It hs been developed on PowerPC/McOS X pltform, then migrted onto i386/linux. It relies on the CUDD pckge, version 2.4.0, for BDD mnipultions, nd on zchff, version , for SAT solving. Among the other things, commnd-line options llow the user to individully (de)ctivte inference rules, nd to construct solving personlities by forbidding the visit of some sttes of the inference FSM. Reconstructed syntctic trees, CNF instnces nd certifictes my be dumped to secondry memory for lter nlysis. The experimentl evlution of our suite is complex tsk, involving () the ssessment of the reltive strengths of different solving personlities, (b) wide comprison with other stte-of-the-rt solvers, (c) benchmrk-centric performnce nlysis, nd (d) n nlysis of how certifiction performnces relte to solving performnces. We re crrying on ll such experiments. The reders my find updted results t [3]. Here we limit our presenttion to performnce comprison between skizzo nd b the best publiclly vilble stte-of-the-rt QBF solvers, mong which we find the three top-rted solvers ccording to most of the results presented in [20]. We consider two groups of fmilies extrcted from the QBFLIB s rchive [15]: Biere s benchmrks [8], mde up of 64 instnces divided into 4 fmilies, where the n-th instnce in ech fmily refers to model checking problem on n-bit counter, nd Ayri s benchmrks [1], mde up of 72 instnces divided into 5 fmilies, obtined from relworld verifiction problems on circuits nd protocol descriptions. None of these two benchmrks hs ever been completely solved: Their biggest instnces re quite chllenging for current solvers. The solvers we compre to re (A) QuBE-LRN [15], version 1.3, serch-bsed solver feturing lzy dt structures for unit cluse nd pure literl propgtion, plus conflict nd solution lerning; (B) Quntor [8], version , solution-bsed solver employing q-resolution nd expnsion to eliminte quntifiers, plus number of other fetures to improve efficiency; (C) SEMPROP [22], version , serch-bsed solver feturing directed bcktrcking nd lemm/model cching; (D) yquffle [31], version , serchbsed solver feturing multiple conflict-driven lerning, inversion of quntifiers nd solution-bsed bcktrcking. In Figure 4, the number of solved instnces (Y xis) is plotted ginst the (non-cumultive) logrithmic time tken to solve such instnces (X xis). skizzo is shown to outperform the other solvers on the considered benchmrks. In ddition, some of the instnces solved by skizzo hve never been solved before. 8 Conclusions The trdeoff between speciliztion nd generlity mkes the construction of hybrid lgorithms difficult tsk. Generlity (of dt structures nd mnipultion thereof) is necessry condition for different inference strtegies to cooperte. At the sme time, speciliztion is wht ech strtegy requires to work t its best. Higher-level difficulties lso exist: one inference strtegy (e.g. resolution) might trnsform instnces in so s they becomes more difficult for nother strtegy (e.g. serch). Conversely, the time tken to pply expressive forms of resoning (e.g. symbolic equivlency or hyperbinry resolution) might interfere with the tke-it-fst-ndsimple philosophy of nother policy (e.g. brnching). An idel lgorithm should be ble to tune its own inference policies. We hve obtined form of utodjustment by employing met-heuristics (wired in the inference stte-mchine), lerning (of optiml switch points mong strtegies), nd dynmic distribution (of computtionl resources ccording to n on-the-fly ssessment of rules effectiveness). Further work on the uto-djustment cpbilities of our solver is going on. References [1] A. Ayri nd D. Bsin. Bounded Model Construction for Mondic Secondorder Logics. In Proc. of CAV 00, 2000.

8 skizzo quntor semprop yquffle qube Ayri s benchmrks skizzo quntor yquffle semprop qube Biere s benchmrks Number of solved instnces Running Time (sec) Running Time (sec) Figure 4: Comprison with other solvers over two groups of fmilies [2] M. Benedetti. skizzo: QBF Decision Procedure bsed on Propositionl Skolemiztion nd Symbolic Resoning, Tech.Rep , ITCirst, [3] M. Benedetti. skizzo s web site, sr.itc.it/ people/benedetti/skizzo, [4] M. Benedetti. Bridging Refuttion nd Serch in Propositionl Stisfibility. PhD thesis, Diprtimento Informtic e Sistemistic, Università L Spienz", Rom, [5] M. Benedetti. Evluting QBFs vi Symbolic Skolemiztion. In Proc. of the 11th Interntionl Conference on Logic for Progrmming, Artificil Intelligence, nd Resoning (LPAR04), number 3452 in LNCS. Springer, [6] M. Benedetti. Extrcting Certifictes from Quntified Boolen Formuls. In Proc. of IJCAI05, [7] M. Benedetti. Quntifier Trees for QBFs. In (submitted to SAT05), [8] A. Biere. Resolve nd Expnd. In Proc. of SAT 04, pges , [9] H. K. Büning nd T. Lettmnn. Propositionl Logic: Deduction nd Algorithms. Cmbridge University Press, [10] M. Cdoli, A. Giovnrdi, nd M. Scherf. An Algorithm to Evlute Quntified Boolen Formule. In Proceedings of the fifteenth ntionl/tenth conference on Artificil intelligence/innovtive pplictions of rtificil intelligence, pges Americn Assocition for Artificil Intelligence, [11] P. Chtlic nd L. Simon. Multi-Resolution on compressed sets of cluses. In Proceedings of the Twelfth Interntionl Conference on Tools with Artificil Intelligence (ICTAI 00), [12] M. Dvis, G. Logemnn, nd D. Lovelnd. A mchine progrm for theorem proving. Journl of the ACM, 5: , [13] J.W. Freemn. Improvements to Propositionl Stisfibility Serch Algorithms. PhD thesis, The University of Pennsylvni, [14] M. GhsemZdeh, V. Klotz, nd C. Meinel. ZQSAT: A QSAT Solver bsed on Zero-suppressed Binry Decision Digrms, vilble t bdd-reserch/zqst/zqst.html, [15] E. Giunchigli, M. Nrizzno, nd A. Tcchell. QuBE: A system for deciding Quntified Boolen Formuls Stisfibility. In Proc. of the Interntionl Joint Conference on Automted Resoning (IJCAR 2001), [16] E. Giunchigli, M. Nrizzno, nd A. Tcchell. QuBE++: n Efficient QBF Solver. In Proc. of the 5th Int. Conf. on Forml Methods in Computer-Aided Design (FMCAD), [17] Jn Friso Groote nd Joost P. Wrners. The propositionl formul checker heerhugo. JAR, 24: , [18] M. Stickel H. Zhng. Implementing Dvis-Putnm s method by tries. Technicl report, The University of Iow, [19] H. Kleine-Buning, M. Krpinski, nd A. Flogel. Resolution for quntified Boolen formuls. Informtion nd Computtion, 117(1):12 18, [20] D. Le Berre, M. Nrizzno, L. Simon, nd A. Tcchell. Second QBF solvers evlution, vlible on-line t [21] D. Le Berre, L. Simon, nd A. Tcchell. Chllenges in the QBF ren: the SAT 03 evlution of QBF solvers, vlible on-line t [22] R. Letz. Advnces in Decision Procedures for Quntified Boolen Formuls. In Proceedings of the First Interntionl Workshop on Quntified Boolen Formule (QBF 01), pges 55 64, [23] Chu-Min Li. Integrting equivlency resoning into Dvis-Putnm procedure. In proceedings of AAAI-2000, pges , [24] M. W. Moskewicz, C. F. Mdign, Y. Zho, L. Zhng, nd S. Mlik. Chff: Engineering n Efficient SAT Solver. In proceedings of the 38th Design Automtion Conference, [25] G. Pn nd M.Y. Vrdi. Serch vs. Symbolic Techniques in Stisfibility Solving. In Proceedings of SAT 2004, [26] G. Pn nd M.Y. Vrdi. Symbolic Decision Procedures for QBF. In Proceedings of the Tenth Interntionl Conference on Principles nd Prctice of Constrint Progrmming (CP04), [27] J. Rintnen. Construction Conditionl Plns by Theorem-prover. Journl of A. I. Reserch, pges , [28] J. Rintnen. Prtil implicit unfolding in the dvis-putnm procedure for quntified boolen formule. In Proceedings of the Interntionl Conference on Logic for Progrmming, Artificil Intelligence nd Resoning (LPAR 01), [29] J. P. Silv nd K. A. Skllh. Grsp: new serch lgorithm for stisfibility. Proc. IEEE/ACM Interntionl Conference on Computer-Aided Design, pges , [30] H. Zhng. Sto: An efficient propositionl prover. Proceedings of 14th Interntionl Conference on Automted Deduction, pges , [31] L. Zhng nd S. Mlik. Towrds Symmetric Tretment of Conflicts And Stisfction in Quntified Boolen Stisfibility Solver. In Proc. of CP 02, 2002.

Nenofex: Expanding NNF for QBF Solving

Nenofex: Expanding NNF for QBF Solving Institute for Forml Models nd Verifiction (FMV) Johnnes Kepler University, Linz, Austri Nenofex Negtion Norml Form Expnsion Solver for Quntified Boolen Formule (QBF) propositionl formul + quntified vribles

More information

KNOWLEDGE-BASED AGENTS INFERENCE

KNOWLEDGE-BASED AGENTS INFERENCE AGENTS THAT REASON LOGICALLY KNOWLEDGE-BASED AGENTS Two components: knowledge bse, nd n inference engine. Declrtive pproch to building n gent. We tell it wht it needs to know, nd It cn sk itself wht to

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Lerning Tom Mitchell, Mchine Lerning, chpter 13 Outline Introduction Comprison with inductive lerning Mrkov Decision Processes: the model Optiml policy: The tsk Q Lerning: Q function Algorithm

More information

CS 188: Artificial Intelligence Spring 2007

CS 188: Artificial Intelligence Spring 2007 CS 188: Artificil Intelligence Spring 2007 Lecture 3: Queue-Bsed Serch 1/23/2007 Srini Nrynn UC Berkeley Mny slides over the course dpted from Dn Klein, Sturt Russell or Andrew Moore Announcements Assignment

More information

Handout: Natural deduction for first order logic

Handout: Natural deduction for first order logic MATH 457 Introduction to Mthemticl Logic Spring 2016 Dr Json Rute Hndout: Nturl deduction for first order logic We will extend our nturl deduction rules for sententil logic to first order logic These notes

More information

Learning Moore Machines from Input-Output Traces

Learning Moore Machines from Input-Output Traces Lerning Moore Mchines from Input-Output Trces Georgios Gintmidis 1 nd Stvros Tripkis 1,2 1 Alto University, Finlnd 2 UC Berkeley, USA Motivtion: lerning models from blck boxes Inputs? Lerner Forml Model

More information

New Expansion and Infinite Series

New Expansion and Infinite Series Interntionl Mthemticl Forum, Vol. 9, 204, no. 22, 06-073 HIKARI Ltd, www.m-hikri.com http://dx.doi.org/0.2988/imf.204.4502 New Expnsion nd Infinite Series Diyun Zhng College of Computer Nnjing University

More information

Reinforcement learning II

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

More information

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

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives Block #6: Properties of Integrls, Indefinite Integrls Gols: Definition of the Definite Integrl Integrl Clcultions using Antiderivtives Properties of Integrls The Indefinite Integrl 1 Riemnn Sums - 1 Riemnn

More information

MAA 4212 Improper Integrals

MAA 4212 Improper Integrals Notes by Dvid Groisser, Copyright c 1995; revised 2002, 2009, 2014 MAA 4212 Improper Integrls The Riemnn integrl, while perfectly well-defined, is too restrictive for mny purposes; there re functions which

More information

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies Stte spce systems nlysis (continued) Stbility A. Definitions A system is sid to be Asymptoticlly Stble (AS) when it stisfies ut () = 0, t > 0 lim xt () 0. t A system is AS if nd only if the impulse response

More information

Convert the NFA into DFA

Convert the NFA into DFA Convert the NF into F For ech NF we cn find F ccepting the sme lnguge. The numer of sttes of the F could e exponentil in the numer of sttes of the NF, ut in prctice this worst cse occurs rrely. lgorithm:

More information

19 Optimal behavior: Game theory

19 Optimal behavior: Game theory Intro. to Artificil Intelligence: Dle Schuurmns, Relu Ptrscu 1 19 Optiml behvior: Gme theory Adversril stte dynmics hve to ccount for worst cse Compute policy π : S A tht mximizes minimum rewrd Let S (,

More information

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

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

More information

COMPUTER SCIENCE TRIPOS

COMPUTER SCIENCE TRIPOS CST.2011.2.1 COMPUTER SCIENCE TRIPOS Prt IA Tuesdy 7 June 2011 1.30 to 4.30 COMPUTER SCIENCE Pper 2 Answer one question from ech of Sections A, B nd C, nd two questions from Section D. Submit the nswers

More information

Good-for-Games Automata versus Deterministic Automata.

Good-for-Games Automata versus Deterministic Automata. Good-for-Gmes Automt versus Deterministic Automt. Denis Kuperberg 1,2 Mich l Skrzypczk 1 1 University of Wrsw 2 IRIT/ONERA (Toulouse) Séminire MoVe 12/02/2015 LIF, Luminy Introduction Deterministic utomt

More information

Nondeterminism and Nodeterministic Automata

Nondeterminism and Nodeterministic Automata Nondeterminism nd Nodeterministic Automt 61 Nondeterminism nd Nondeterministic Automt The computtionl mchine models tht we lerned in the clss re deterministic in the sense tht the next move is uniquely

More information

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

Duality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below. Dulity #. Second itertion for HW problem Recll our LP emple problem we hve been working on, in equlity form, is given below.,,,, 8 m F which, when written in slightly different form, is 8 F Recll tht we

More information

1 Online Learning and Regret Minimization

1 Online Learning and Regret Minimization 2.997 Decision-Mking in Lrge-Scle Systems My 10 MIT, Spring 2004 Hndout #29 Lecture Note 24 1 Online Lerning nd Regret Minimiztion In this lecture, we consider the problem of sequentil decision mking in

More information

Reasoning with Bayesian Networks

Reasoning with Bayesian Networks Complexity of Probbilistic Inference Compiling Byesin Networks Resoning with Byesin Networks Lecture 5: Complexity of Probbilistic Inference, Compiling Byesin Networks Jinbo Hung NICTA nd ANU Jinbo Hung

More information

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

Math 1B, lecture 4: Error bounds for numerical methods Mth B, lecture 4: Error bounds for numericl methods Nthn Pflueger 4 September 0 Introduction The five numericl methods descried in the previous lecture ll operte by the sme principle: they pproximte the

More information

DATA Search I 魏忠钰. 复旦大学大数据学院 School of Data Science, Fudan University. March 7 th, 2018

DATA Search I 魏忠钰. 复旦大学大数据学院 School of Data Science, Fudan University. March 7 th, 2018 DATA620006 魏忠钰 Serch I Mrch 7 th, 2018 Outline Serch Problems Uninformed Serch Depth-First Serch Bredth-First Serch Uniform-Cost Serch Rel world tsk - Pc-mn Serch problems A serch problem consists of:

More information

CS 275 Automata and Formal Language Theory

CS 275 Automata and Formal Language Theory CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.5.: Properties of Context Free Grmmrs (14) Anton Setzer (Bsed on book drft by J. V. Tucker nd K. Stephenson)

More information

Chapter 0. What is the Lebesgue integral about?

Chapter 0. What is the Lebesgue integral about? Chpter 0. Wht is the Lebesgue integrl bout? The pln is to hve tutoril sheet ech week, most often on Fridy, (to be done during the clss) where you will try to get used to the ides introduced in the previous

More information

1.9 C 2 inner variations

1.9 C 2 inner variations 46 CHAPTER 1. INDIRECT METHODS 1.9 C 2 inner vritions So fr, we hve restricted ttention to liner vritions. These re vritions of the form vx; ǫ = ux + ǫφx where φ is in some liner perturbtion clss P, for

More information

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

More information

Review of basic calculus

Review of basic calculus Review of bsic clculus This brief review reclls some of the most importnt concepts, definitions, nd theorems from bsic clculus. It is not intended to tech bsic clculus from scrtch. If ny of the items below

More information

CS 275 Automata and Formal Language Theory

CS 275 Automata and Formal Language Theory CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.6.: Push Down Automt Remrk: This mteril is no longer tught nd not directly exm relevnt Anton Setzer (Bsed

More information

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Finite Automt Theory nd Forml Lnguges TMV027/DIT321 LP4 2018 Lecture 10 An Bove April 23rd 2018 Recp: Regulr Lnguges We cn convert between FA nd RE; Hence both FA nd RE ccept/generte regulr lnguges; More

More information

SUMMER KNOWHOW STUDY AND LEARNING CENTRE

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

More information

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

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus Unit #9 : Definite Integrl Properties; Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl

More information

Module 9: Tries and String Matching

Module 9: Tries and String Matching Module 9: Tries nd String Mtching CS 240 - Dt Structures nd Dt Mngement Sjed Hque Veronik Irvine Tylor Smith Bsed on lecture notes by mny previous cs240 instructors Dvid R. Cheriton School of Computer

More information

Module 9: Tries and String Matching

Module 9: Tries and String Matching Module 9: Tries nd String Mtching CS 240 - Dt Structures nd Dt Mngement Sjed Hque Veronik Irvine Tylor Smith Bsed on lecture notes by mny previous cs240 instructors Dvid R. Cheriton School of Computer

More information

Review of Calculus, cont d

Review of Calculus, cont d Jim Lmbers MAT 460 Fll Semester 2009-10 Lecture 3 Notes These notes correspond to Section 1.1 in the text. Review of Clculus, cont d Riemnn Sums nd the Definite Integrl There re mny cses in which some

More information

Bernoulli Numbers Jeff Morton

Bernoulli Numbers Jeff Morton Bernoulli Numbers Jeff Morton. We re interested in the opertor e t k d k t k, which is to sy k tk. Applying this to some function f E to get e t f d k k tk d k f f + d k k tk dk f, we note tht since f

More information

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata CS103B ndout 18 Winter 2007 Ferury 28, 2007 Finite Automt Initil text y Mggie Johnson. Introduction Severl childrens gmes fit the following description: Pieces re set up on plying ord; dice re thrown or

More information

Uninformed Search Lecture 4

Uninformed Search Lecture 4 Lecture 4 Wht re common serch strtegies tht operte given only serch problem? How do they compre? 1 Agend A quick refresher DFS, BFS, ID-DFS, UCS Unifiction! 2 Serch Problem Formlism Defined vi the following

More information

Driving Cycle Construction of City Road for Hybrid Bus Based on Markov Process Deng Pan1, a, Fengchun Sun1,b*, Hongwen He1, c, Jiankun Peng1, d

Driving Cycle Construction of City Road for Hybrid Bus Based on Markov Process Deng Pan1, a, Fengchun Sun1,b*, Hongwen He1, c, Jiankun Peng1, d Interntionl Industril Informtics nd Computer Engineering Conference (IIICEC 15) Driving Cycle Construction of City Rod for Hybrid Bus Bsed on Mrkov Process Deng Pn1,, Fengchun Sun1,b*, Hongwen He1, c,

More information

The Regulated and Riemann Integrals

The Regulated and Riemann Integrals Chpter 1 The Regulted nd Riemnn Integrls 1.1 Introduction We will consider severl different pproches to defining the definite integrl f(x) dx of function f(x). These definitions will ll ssign the sme vlue

More information

Jin-Fu Li. Department of Electrical Engineering National Central University Jhongli, Taiwan

Jin-Fu Li. Department of Electrical Engineering National Central University Jhongli, Taiwan Trnsprent BIST for RAMs Jin-Fu Li Advnced d Relible Systems (ARES) Lb. Deprtment of Electricl Engineering Ntionl Centrl University Jhongli, Tiwn Outline Introduction Concept of Trnsprent Test Trnsprent

More information

Decision Networks. CS 188: Artificial Intelligence Fall Example: Decision Networks. Decision Networks. Decisions as Outcome Trees

Decision Networks. CS 188: Artificial Intelligence Fall Example: Decision Networks. Decision Networks. Decisions as Outcome Trees CS 188: Artificil Intelligence Fll 2011 Decision Networks ME: choose the ction which mximizes the expected utility given the evidence mbrell Lecture 17: Decision Digrms 10/27/2011 Cn directly opertionlize

More information

Improper Integrals, and Differential Equations

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

More information

Recitation 3: More Applications of the Derivative

Recitation 3: More Applications of the Derivative Mth 1c TA: Pdric Brtlett Recittion 3: More Applictions of the Derivtive Week 3 Cltech 2012 1 Rndom Question Question 1 A grph consists of the following: A set V of vertices. A set E of edges where ech

More information

Math Lecture 23

Math Lecture 23 Mth 8 - Lecture 3 Dyln Zwick Fll 3 In our lst lecture we delt with solutions to the system: x = Ax where A is n n n mtrix with n distinct eigenvlues. As promised, tody we will del with the question of

More information

CS 188 Introduction to Artificial Intelligence Fall 2018 Note 7

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

More information

Acceptance Sampling by Attributes

Acceptance Sampling by Attributes Introduction Acceptnce Smpling by Attributes Acceptnce smpling is concerned with inspection nd decision mking regrding products. Three spects of smpling re importnt: o Involves rndom smpling of n entire

More information

Concepts of Concurrent Computation Spring 2015 Lecture 9: Petri Nets

Concepts of Concurrent Computation Spring 2015 Lecture 9: Petri Nets Concepts of Concurrent Computtion Spring 205 Lecture 9: Petri Nets Sebstin Nnz Chris Poskitt Chir of Softwre Engineering Petri nets Petri nets re mthemticl models for describing systems with concurrency

More information

How can we approximate the area of a region in the plane? What is an interpretation of the area under the graph of a velocity function?

How can we approximate the area of a region in the plane? What is an interpretation of the area under the graph of a velocity function? Mth 125 Summry Here re some thoughts I ws hving while considering wht to put on the first midterm. The core of your studying should be the ssigned homework problems: mke sure you relly understnd those

More information

Chapter 3 Polynomials

Chapter 3 Polynomials Dr M DRAIEF As described in the introduction of Chpter 1, pplictions of solving liner equtions rise in number of different settings In prticulr, we will in this chpter focus on the problem of modelling

More information

Riemann Sums and Riemann Integrals

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

More information

7.2 The Definite Integral

7.2 The Definite Integral 7.2 The Definite Integrl the definite integrl In the previous section, it ws found tht if function f is continuous nd nonnegtive, then the re under the grph of f on [, b] is given by F (b) F (), where

More information

DIRECT CURRENT CIRCUITS

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

More information

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

Strong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation Strong Bisimultion Overview Actions Lbeled trnsition system Trnsition semntics Simultion Bisimultion References Robin Milner, Communiction nd Concurrency Robin Milner, Communicting nd Mobil Systems 32

More information

Numerical Integration

Numerical Integration Chpter 5 Numericl Integrtion Numericl integrtion is the study of how the numericl vlue of n integrl cn be found. Methods of function pproximtion discussed in Chpter??, i.e., function pproximtion vi the

More information

A Tableau Prover for Hybrid Logic. Daniel Götzmann Graduate Seminar Programming Systems Lab Advisor: Mark Kaminski

A Tableau Prover for Hybrid Logic. Daniel Götzmann Graduate Seminar Programming Systems Lab Advisor: Mark Kaminski A Tbleu Prover for Hybrid Logic Dniel Götzmnn Grdute Seminr Progrmming Systems Lb 2008-07-14 Advisor: Mrk Kminski Bsic Modl Logic s ::= p s s s s s propositionl logic Bsic Modl Logic s ::= p s s s s s

More information

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

Global Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems Globl Types for Dynmic Checking of Protocol Conformnce of Multi-Agent Systems (Extended Abstrct) Dvide Ancon, Mtteo Brbieri, nd Vivin Mscrdi DIBRIS, University of Genov, Itly emil: dvide@disi.unige.it,

More information

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

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages Deprtment of Computer Science, Austrlin Ntionl University COMP2600 Forml Methods for Softwre Engineering Semester 2, 206 Assignment Automt, Lnguges, nd Computility Smple Solutions Finite Stte Automt nd

More information

Riemann Sums and Riemann Integrals

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

More information

Math 8 Winter 2015 Applications of Integration

Math 8 Winter 2015 Applications of Integration Mth 8 Winter 205 Applictions of Integrtion Here re few importnt pplictions of integrtion. The pplictions you my see on n exm in this course include only the Net Chnge Theorem (which is relly just the Fundmentl

More information

A recursive construction of efficiently decodable list-disjunct matrices

A recursive construction of efficiently decodable list-disjunct matrices CSE 709: Compressed Sensing nd Group Testing. Prt I Lecturers: Hung Q. Ngo nd Atri Rudr SUNY t Bufflo, Fll 2011 Lst updte: October 13, 2011 A recursive construction of efficiently decodble list-disjunct

More information

Lecture 14: Quadrature

Lecture 14: Quadrature Lecture 14: Qudrture This lecture is concerned with the evlution of integrls fx)dx 1) over finite intervl [, b] The integrnd fx) is ssumed to be rel-vlues nd smooth The pproximtion of n integrl by numericl

More information

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3 UNIFORM CONVERGENCE Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3 Suppose f n : Ω R or f n : Ω C is sequence of rel or complex functions, nd f n f s n in some sense. Furthermore,

More information

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

CMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature CMDA 4604: Intermedite Topics in Mthemticl Modeling Lecture 19: Interpoltion nd Qudrture In this lecture we mke brief diversion into the res of interpoltion nd qudrture. Given function f C[, b], we sy

More information

1.4 Nonregular Languages

1.4 Nonregular Languages 74 1.4 Nonregulr Lnguges The number of forml lnguges over ny lphbet (= decision/recognition problems) is uncountble On the other hnd, the number of regulr expressions (= strings) is countble Hence, ll

More information

CSC 473 Automata, Grammars & Languages 11/9/10

CSC 473 Automata, Grammars & Languages 11/9/10 CSC 473 utomt, Grmmrs & Lnguges 11/9/10 utomt, Grmmrs nd Lnguges Discourse 06 Decidbility nd Undecidbility Decidble Problems for Regulr Lnguges Theorem 4.1: (embership/cceptnce Prob. for DFs) = {, w is

More information

Administrivia CSE 190: Reinforcement Learning: An Introduction

Administrivia CSE 190: Reinforcement Learning: An Introduction Administrivi CSE 190: Reinforcement Lerning: An Introduction Any emil sent to me bout the course should hve CSE 190 in the subject line! Chpter 4: Dynmic Progrmming Acknowledgment: A good number of these

More information

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

Global Session Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems Globl Session Types for Dynmic Checking of Protocol Conformnce of Multi-Agent Systems (Extended Abstrct) Dvide Ancon, Mtteo Brbieri, nd Vivin Mscrdi DIBRIS, University of Genov, Itly emil: dvide@disi.unige.it,

More information

Designing Information Devices and Systems I Spring 2018 Homework 7

Designing Information Devices and Systems I Spring 2018 Homework 7 EECS 16A Designing Informtion Devices nd Systems I Spring 2018 omework 7 This homework is due Mrch 12, 2018, t 23:59. Self-grdes re due Mrch 15, 2018, t 23:59. Sumission Formt Your homework sumission should

More information

Riemann is the Mann! (But Lebesgue may besgue to differ.)

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

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

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

More information

1 Nondeterministic Finite Automata

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

More information

Solution for Assignment 1 : Intro to Probability and Statistics, PAC learning

Solution for Assignment 1 : Intro to Probability and Statistics, PAC learning Solution for Assignment 1 : Intro to Probbility nd Sttistics, PAC lerning 10-701/15-781: Mchine Lerning (Fll 004) Due: Sept. 30th 004, Thursdy, Strt of clss Question 1. Bsic Probbility ( 18 pts) 1.1 (

More information

Revision Sheet. (a) Give a regular expression for each of the following languages:

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

Math 520 Final Exam Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Math 520 Final Exam Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008 Mth 520 Finl Exm Topic Outline Sections 1 3 (Xio/Dums/Liw) Spring 2008 The finl exm will be held on Tuesdy, My 13, 2-5pm in 117 McMilln Wht will be covered The finl exm will cover the mteril from ll of

More information

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

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004 Advnced Clculus: MATH 410 Notes on Integrls nd Integrbility Professor Dvid Levermore 17 October 2004 1. Definite Integrls In this section we revisit the definite integrl tht you were introduced to when

More information

CS5371 Theory of Computation. Lecture 20: Complexity V (Polynomial-Time Reducibility)

CS5371 Theory of Computation. Lecture 20: Complexity V (Polynomial-Time Reducibility) CS5371 Theory of Computtion Lecture 20: Complexity V (Polynomil-Time Reducibility) Objectives Polynomil Time Reducibility Prove Cook-Levin Theorem Polynomil Time Reducibility Previously, we lernt tht if

More information

Math 270A: Numerical Linear Algebra

Math 270A: Numerical Linear Algebra Mth 70A: Numericl Liner Algebr Instructor: Michel Holst Fll Qurter 014 Homework Assignment #3 Due Give to TA t lest few dys before finl if you wnt feedbck. Exercise 3.1. (The Bsic Liner Method for Liner

More information

5.5 The Substitution Rule

5.5 The Substitution Rule 5.5 The Substitution Rule Given the usefulness of the Fundmentl Theorem, we wnt some helpful methods for finding ntiderivtives. At the moment, if n nti-derivtive is not esily recognizble, then we re in

More information

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

CS 267: Automated Verification. Lecture 8: Automata Theoretic Model Checking. Instructor: Tevfik Bultan CS 267: Automted Verifiction Lecture 8: Automt Theoretic Model Checking Instructor: Tevfik Bultn LTL Properties Büchi utomt [Vrdi nd Wolper LICS 86] Büchi utomt: Finite stte utomt tht ccept infinite strings

More information

Week 10: Line Integrals

Week 10: Line Integrals Week 10: Line Integrls Introduction In this finl week we return to prmetrised curves nd consider integrtion long such curves. We lredy sw this in Week 2 when we integrted long curve to find its length.

More information

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

Here we study square linear systems and properties of their coefficient matrices as they relate to the solution set of the linear system. Section 24 Nonsingulr Liner Systems Here we study squre liner systems nd properties of their coefficient mtrices s they relte to the solution set of the liner system Let A be n n Then we know from previous

More information

Bisimulation. R.J. van Glabbeek

Bisimulation. R.J. van Glabbeek Bisimultion R.J. vn Glbbeek NICTA, Sydney, Austrli. School of Computer Science nd Engineering, The University of New South Wles, Sydney, Austrli. Computer Science Deprtment, Stnford University, CA 94305-9045,

More information

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique? XII. LINEAR ALGEBRA: SOLVING SYSTEMS OF EQUATIONS Tody we re going to tlk bout solving systems of liner equtions. These re problems tht give couple of equtions with couple of unknowns, like: 6 2 3 7 4

More information

2D1431 Machine Learning Lab 3: Reinforcement Learning

2D1431 Machine Learning Lab 3: Reinforcement Learning 2D1431 Mchine Lerning Lb 3: Reinforcement Lerning Frnk Hoffmnn modified by Örjn Ekeberg December 7, 2004 1 Introduction In this lb you will lern bout dynmic progrmming nd reinforcement lerning. It is ssumed

More information

Chapter 2 Finite Automata

Chapter 2 Finite Automata Chpter 2 Finite Automt 28 2.1 Introduction Finite utomt: first model of the notion of effective procedure. (They lso hve mny other pplictions). The concept of finite utomton cn e derived y exmining wht

More information

Bayesian Networks: Approximate Inference

Bayesian Networks: Approximate Inference pproches to inference yesin Networks: pproximte Inference xct inference Vrillimintion Join tree lgorithm pproximte inference Simplify the structure of the network to mkxct inferencfficient (vritionl methods,

More information

New data structures to reduce data size and search time

New data structures to reduce data size and search time New dt structures to reduce dt size nd serch time Tsuneo Kuwbr Deprtment of Informtion Sciences, Fculty of Science, Kngw University, Hirtsuk-shi, Jpn FIT2018 1D-1, No2, pp1-4 Copyright (c)2018 by The Institute

More information

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4 Intermedite Mth Circles Wednesdy, Novemer 14, 2018 Finite Automt II Nickols Rollick nrollick@uwterloo.c Regulr Lnguges Lst time, we were introduced to the ide of DFA (deterministic finite utomton), one

More information

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

How to simulate Turing machines by invertible one-dimensional cellular automata How to simulte Turing mchines by invertible one-dimensionl cellulr utomt Jen-Christophe Dubcq Déprtement de Mthémtiques et d Informtique, École Normle Supérieure de Lyon, 46, llée d Itlie, 69364 Lyon Cedex

More information

This lecture covers Chapter 8 of HMU: Properties of CFLs

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

More information

Designing finite automata II

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

More information

Review of Gaussian Quadrature method

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

Genetic Programming. Outline. Evolutionary Strategies. Evolutionary strategies Genetic programming Summary

Genetic Programming. Outline. Evolutionary Strategies. Evolutionary strategies Genetic programming Summary Outline Genetic Progrmming Evolutionry strtegies Genetic progrmming Summry Bsed on the mteril provided y Professor Michel Negnevitsky Evolutionry Strtegies An pproch simulting nturl evolution ws proposed

More information

Lecture 1. Functional series. Pointwise and uniform convergence.

Lecture 1. Functional series. Pointwise and uniform convergence. 1 Introduction. Lecture 1. Functionl series. Pointwise nd uniform convergence. In this course we study mongst other things Fourier series. The Fourier series for periodic function f(x) with period 2π is

More information

Trace Compaction using SAT-based Reachability Analysis

Trace Compaction using SAT-based Reachability Analysis Trce Compction using SAT-bsed Rechbility Anlysis Sen Sfrpour, Andres Veneris, Hrtch Mngssrin Deprtment of Electricl nd Computer Engineering University of Toronto, Toronto, Cnd {sen, veneris, hrtch}@eecg.toronto.edu

More information

CMSC 330: Organization of Programming Languages

CMSC 330: Organization of Programming Languages CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 CMSC 330 1 Types of Finite Automt Deterministic Finite Automt (DFA) Exctly one sequence of steps for ech string All exmples so fr Nondeterministic

More information

ECO 317 Economics of Uncertainty Fall Term 2007 Notes for lectures 4. Stochastic Dominance

ECO 317 Economics of Uncertainty Fall Term 2007 Notes for lectures 4. Stochastic Dominance Generl structure ECO 37 Economics of Uncertinty Fll Term 007 Notes for lectures 4. Stochstic Dominnce Here we suppose tht the consequences re welth mounts denoted by W, which cn tke on ny vlue between

More information

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2014

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

On Odd and Even Cycles in Normal Logic Programs

On Odd and Even Cycles in Normal Logic Programs On Odd nd Even Cycles in Norml Logic Progrms Fngzhen Lin Deprtment of Computer Science Hong Kong University of Science nd Technology Cler Wter By, Kowloon, Hong Kong flin@cs.hst.hk Xishun Zho Institute

More information

5. (±±) Λ = fw j w is string of even lengthg [ 00 = f11,00g 7. (11 [ 00)± Λ = fw j w egins with either 11 or 00g 8. (0 [ ffl)1 Λ = 01 Λ [ 1 Λ 9.

5. (±±) Λ = fw j w is string of even lengthg [ 00 = f11,00g 7. (11 [ 00)± Λ = fw j w egins with either 11 or 00g 8. (0 [ ffl)1 Λ = 01 Λ [ 1 Λ 9. Regulr Expressions, Pumping Lemm, Right Liner Grmmrs Ling 106 Mrch 25, 2002 1 Regulr Expressions A regulr expression descries or genertes lnguge: it is kind of shorthnd for listing the memers of lnguge.

More information