March eq Implementing Additional Reasoning into an Efficient Look-Ahead SAT Solver

Size: px
Start display at page:

Download "March eq Implementing Additional Reasoning into an Efficient Look-Ahead SAT Solver"

Transcription

1 Mrh eq Implementing Additionl Resoning into n Effiient Look-Ahed SAT Solver Mrijn Heule, Mrk Dufour, Joris vn Zwieten nd Hns vn Mren Deprtment of Informtion Systems nd Algorithms, Fulty of Eletril Engineering, Mthemtis nd Computer Sienes, Delft University of Tehnology mrijn@heule.nl, m.dufour@student.tudelft.nl, zwieten@h.tudelft.nl, h.vnmren@its.tudelft.nl Astrt. This pper disusses severl tehniques to mke the lookhed rhiteture for stisfiility (St) solvers more ompetitive. Our ontriution onsists of redution of the omputtionl osts to perform look-hed nd hep integrtion of oth equivlene resoning nd lol lerning. Most proposed tehniques re illustrted with experimentl results of their implementtion in our solver mrh eq. 1 Introdution Look-hed St solvers usully onsist of simple DPLL lgorithm [5] nd more sophistited look-hed proedure to determine n effetive rnh vrile. The look-hed proedure mesures the effetiveness of vriles y performing look-hed on set of vriles nd evluting the redution of the formul. We refer to the look-hed on literl x s the Itertive Unit Propgtion (IUP) on the union of formul with the unit luse x (in short IUP(F {x})). The effetiveness of vrile x i is otined using look-hed evlution funtion (in short Diff), whih evlutes the differenes etween F nd the redued formul fter IUP(F {x i }) nd IUP(F { x i }). A widely used Diff ounts the newly reted inry luses. Besides the seletion of rnh vrile, the look-hed proedure my detet filed literls: if the look-hed on x results in onflit, x is fored to true. Detetion of filed literls n result in sustntil redution of the DPLL-tree. During the lst dede, severl enhnements hve een proposed to mke look-hed St solvers more powerful. In stz y Li [9] pre-seletion heuristis prop z re used, whih restrit the numer of vriles tht enter the look-hed Supported y the Duth Orgniztion for Sientifi Reserh (NWO) under grnt H.H. Hoos nd D.G. Mithell (Eds.): SAT 2004, LNCS 3542, pp , Springer-Verlg Berlin Heidelerg 2005

2 346 M. Heule et l. proedure. Espeilly on rndom instnes the pplition of these heuristis results in ler performne gin. However, the use of these heuristis is not ler from generl viewpoint. Experiments with our pre-seletion heuristis show tht different enhmrk fmilies require different numers of vriles entering the look-hed phse to perform optimlly. Sine muh resoning is lredy performed t eh node of the DPLL-tree, it is reltively hep to extend the look-hed with (some) dditionl resoning. For instne: integrtion of equivlene resoning in stz - implemented in eqstz [10] - mde it possile to solve vrious rfted nd rel-world prolems whih were eyond the reh of existing tehniques. However, the performne my drop signifintly on some prolems, due to the integrted equivlene resoning. Our vrint of equivlene resoning extends the set of prolems whih enefit from its integrtion nd ims to remove the disdvntges. Another form of dditionl resoning is implemented in the OKsolver 1 [8]: lol lerning. When performing look-hed on x, ny unit luse y i tht is found mens tht the inry luse x y i is implied y the formul, nd n e lerned, i.e. dded to the urrent formul. As with equivlene resoning, ddition of these lol lerned resolvents ould oth inrese nd derese the performne (depending on the formul). We propose prtil ddition of these resolvents whih results in speed-up prtilly everywhere. Generlly, look-hed St solvers re effetive on reltively smll, hrd formuls. Le Berre proposes [2] wide rnge of enhnements of the look-hed proedure. Most of them re implemented in mrh eq. Due to the high omputtionl osts of the n enhned look-hed proedure, elorte prolems re often solved more effiiently y other tehniques. Reduing these osts is essentil for mking look-hed tehniques more ompetitive on wider rnge of enhmrks prolems. In this pper, we suggest (1) severl tehniques to redue these osts nd (2) hep integrtion of dditionl resoning. Due to the ltter, enhmrks tht do not profit from dditionl resoning will not tke signifintly more time to solve. Most topis disussed in this pper re illustrted with experimentl results showing the performne gins y our proposed tehniques. The enhmrks rnge from uniform rndom 3-St ner the threshold [1], to ounded model heking (longmult [4], zrps [3]), ftoring prolems (pyhl run [12]) nd rfted prolems (stnion/hw [3], qusigroup [14]). Only unstisfile instnes were seleted to provide more stle overview. Comprison of the performne of mrh eq with performnes of stte-of-the-rt solvers is presented in [7], whih ppers in the sme volume. All tehniques hve een implemented into referene vrint of mrh eq, whih is essentilly slightly optimised version of mrh eq 100, the solver tht won two tegories of the St 2004 ompetition [11]. This vrint uses extly the sme tehniques s the winning vrint: full (100%) look-hed, ddition of ll onstrint resolvents, tree-sed look-hed, equivlene resoning, nd removl of intive luses. All these tehniques re disussed elow. 1 Version 1.2 t soliver/oksolver.html

3 Mrh eq Trnsltion to 3-St The trnsltion of the input formul to 3-St stems from n erly version of mrh eq, in whih it ws essentil to llow fst omputtion of the pre-seletion heuristis. Trnsltion is not required for the urrent pre-seletion heuristis, yet it is still used, euse it enles signifint optimistion of the internl dt strutures. The formul is pre-proessed to redue the mount of redundny introdued y strightforwrd 3-St trnsltion. Eh pir of literls tht ours more thn one together in luse in the formul is sustituted y single dummy vrile, strting with the most frequently ourring pir. Three luses re dded for eh dummy vrile to mke it logilly equivlent to the disjuntion of the pir of literls it sustitutes. In the following exmple x 2 x 4 is the most ourring literl pir nd is therefore repled with the dummy vrile d 1. x 1 x 2 x 3 x 4 x 5 x 1 x 2 x 3 x 4 x 6 x 1 x 2 x 3 x 4 x 6 x 1 x 2 x 4 x 5 x 6 x 1 d 1 x 3 x 5 x 1 d 1 x 3 x 6 x 1 d 1 x 3 x 6 x 1 d 1 x 5 x 6 d 1 x 2 d 1 x 4 d 1 x 2 x 4 It ppers tht to hieve good performne, inry luses otined from the originl ternry luses should e given more weight thn inry luses otined from ternry luses whih were generted y trnsltion. This is omplished y n pproprite look-hed evlution funtion, suh s the vrint of Diff proposed y Duois et l. [6], whih weighs ll newly reted inry luses. 3 Time Stmps Mrh eq uses time stmp dt struture, TimeAssignments (TA), whih redues ktrking during the look-hed phse to single integer ddition: inresing the CurrentTimeStmp (CTS). All the vriles tht re ssigned during look-hed on literl x re stmped: if vrile is ssigned the vlue true, it is stmped with the CTS; if it is ssigned the vlue flse, it is stmped with CTS + 1. Therefore, simply dding 2 to the CTS unssigns ll ssigned vriles. The tul truth vlue tht is ssigned to vrile is not stored in the dt struture, ut n e derived from the time stmp of the vrile: stmp < CTS unfixed TA[x] = stmp CTS nd stmp 0 (mod 2) true stmp CTS nd stmp 1 (mod 2) flse Vriles tht hve lredy een ssigned efore the strt of the look-hed phse, i.e. during the solving phse, hve een stmped with the Mximum- TimeStmp (MTS) or with MTS + 1. These vriles n e unssigned y

4 348 M. Heule et l. stmping them with the vlue zero, whih hppens while ktrking during the solving phse (i.e. not during the look-hed phse). The MTS equls the mximl even vlue of n (32-it) integer. One hs to ensure tht the CTS is lwys smller thn the MTS. This will usully e the se nd it n esily e heked t the strt of eh look-hed. 4 Constrint Resolvents As mentioned in the introdution, inry resolvent ould e dded for every unry luse tht is reted during the propgtion of look-hed literl - provided tht the inry luse does not lredy exist. A speil type of resolvent is reted from unry luse tht ws ternry luse prior to the look-hed. In this se we spek of onstrint resolvents. Constrint resolvents hve the property tht they nnot e found y lookhed on the omplement of the unry luse. Adding these onstrint resolvents results in more vigorous detetion of filed literls. An exmple: First, onsider only the originl luses of n exmple formul (figure 1 ()). A look-hed on r, IUP(F { r}), results in the unry luse x. Therefore, one ould dd the resolvent r x to the formul. Sine the unry luse x ws originlly ternry luse (efore the look-hed on r), this is onstrint resolvent. The unique property of onstrints resolvents is tht when they re dded to the formul, look-hed on the omplement of the unry luse results in the omplement of the look-hed-literl. Without this ddition this would not e the se. Applying this to the exmple: fter ddition of r x to the formul, IUP(F { x}) will result in unry luse r, while without this ddition it will not. IUP(F { r}) lso results in unry luse t. Therefore, resolvent r t ould e dded to the formul. Sine unry luse t ws originlly inry luse, r t is not onstrint resolvent. IUP(F {t}) would result in unry luse r. r s s t s t x u v u w v w x r u x } } r x u x x () () () Fig. 1. Detetion of filed literl y dding onstrint resolvents. () The originl luses, () onstrint resolvents nd () fored literl

5 Mrh eq 349 Tle 1. Performne of mrh eq on severl enhmrks with three different settings of ddition of resolvents during the look-hed phse no resolvents ll inry ll onstrint resolvents resolvents Benhmrks time(s) treesize time(s) treesize time(s) treesize rndom unst 250 (100) rndom unst 350 (100) stnion/hw-n stnion/hw-n stnion/hw-n longmult longmult longmult pyhl-unst pyhl-unst qusigroup qusigroup qusigroup zrps/rule dt > zrps/rule dt > > Constrint resolvent u x is deteted during IUP(F { u}). After the ddition of oth onstrint resolvents (figure 1 ()), the look-hed IUP(F { x}) results in onflit, mking x filed literl nd thus fores x. Oviously, IUP(F { x}) will not result in onflit if the onstrint resolvents r x nd u x were not dded oth. Tle 1 shows the usefulness of the onept of onstrint resolvents: in ll our experiments, the ddition of mere onstrint resolvents outperformed vrint with full lol lerning (dding ll inry resolvents). This ould e explined y the ove exmple: dding other resolvents thn onstrint resolvents will not inrese the numer of deteted filed literls. These resolvents merely inrese the omputtionl osts. This explntion is supported y the dt in the tle: the tree-size of oth vrints is omprle. When we look t zrps/rule dt, it ppers tht only dding onstrint resolvents is essentil to solve this enhmrk within 2000 seonds. The node-ount of zero mens tht the instne is found unstisfile during the first exeution of the look-hed proedure. 5 Implition Arrys Due to the 3-St trnsltion the dt struture of mrh eq only needs to ommodte inry nd ternry luses. We will use the following formul s n exmple: F exmple = ( ) ( d) ( d) ( d) ( d) ( )

6 350 M. Heule et l. d d d d d d d d d d (i) Fig. 2. The inry (i) nd ternry (ii) implition rrys tht represent the exmple formul F exmple (ii) # luse 0 1 d 2 d 3 d 4 d 5 d d (i) Fig. 3. A ommon luse dtse / vrile index dt struture. All luses re stored in luse dtse (i), nd for eh literl the vrile index lists the luses in whih it ours (ii) Binry nd ternry luses re stored seprtely in two implition rrys. A inry luse is stored s two implitions: is stored in the inry implition rry of nd is stored in the inry implition rry of. A ternry luse ( d) is stored s three implitions: d is stored in the ternry implition rry of nd the similr is done for nd d. Figure 2 shows the implition rrys tht represent the exmple formul F exmple. Storing inry luses in implition rrys requires only hlf the memory tht would e needed to store them in n ordinry luse dtse / vrile index dt struture. (See figure 3.) Sine mrh eq dds mny inry resolvents during the solving phse, the inry luses on verge outnumer the ternry luses. Therefore, storing these inry luses in implition rrys signifintly redues the totl mount of memory used y mrh eq. Furthermore, the implition rrys improve dt lolity. This often leds to speed-up due to etter usge of the he. Mrh eq uses vrint of itertive unit propgtion (IFIUP) tht propgtes inry implitions efore ternry implitions. The first step of this proedure is to ssign s mny vriles s possile using only the inry implition rrys. Then, if no onflit is found, the ternry implition rry of eh vrile tht ws ssigned in the first step is evluted. We will illustrte this seond step with n exmple. (ii)

7 Mrh eq 351 Suppose look-hed is performed on. The ternry implition rry of ontins ( ). Now there re five possiilities: 1. If the luse is lredy stisfied, i.e. hs lredy een ssigned the vlue flse or hs lredy een ssigned the vlue true, then nothing needs to e done. 2. If hs lredy een ssigned the vlue true, then is implied nd so is ssigned the vlue true. The first step of the proedure is lled to ssign s mny vriles implied y s possile. Also, the onstrint resolvent ( ) is dded s two inry implitions. 3. If hs lredy een ssigned the vlue flse, then is implied nd so is ssigned the vlue flse. The first step of the proedure is lled to ssign s mny vriles implied y s possile. Also, the onstrint resolvent ( ) is dded s two inry implitions. 4. If nd re unssigned, then we hve found new inry luse. 5. If hs lredy een ssigned the vlue true nd hs lredy een ssigned the vlue flse, then is filed literl. Thus is implied. The vrint of Diff used in mrh eq weighs new inry luses tht re produed during the look-hed phse. A ternry luse tht is redued to inry luse tht gets stisfied in the sme itertion of IFIUP, should not e inluded in this omputtion. However, in the urrent implementtion these luses re in ft inluded, whih uses noise in the Diff heuristis. The first step of the IFIUP proedure, omined with the ddition of onstrint resolvents, ensures tht the highest possile mount of vriles re ssigned efore the seond step of the IFIUP proedure. This redues the noise signifintly. An dvntge of IFIUP over generl IUP is tht it will detet onflits fster. Due to the ddition of onstrint resolvents, most onflits will e deteted in the first ll of the first step of IFIUP. In suh se, the seond step of IFIUP is never exeuted. Sine the seond step of IFIUP is onsiderly slower thn the first, n overll speed-up is expeted. Storge of ternry luses in implition rrys requires n equl mount of memory s the ommon lterntive. However, ternry implition rrys llow optimistion of the seond step of the IFIUP proedure. On the other hnd, ternry luses re no longer stored s suh: it is not possile to effiiently verify if they hve lredy een stisfied nd erly detetion of solution is negleted. One knows only tht solution exists if ll vriles hve een ssigned nd no onflit hs ourred. 6 Equivlene Resoning During the pre-proessing phse, mrh eq extrts the so-lled equivlene luses (l 1 l 2 l i ) from the formul nd ples them into seprte dt-struture lled the Conjuntion of Equivlenes (CoE). After extrtion, solution for the CoE is omputed s desried in [7, 13].

8 352 M. Heule et l. In [7] - ppering in the sme volume - we propose new look-hed evlution funtion for enhmrks ontining equivlene luses: let eq n e weight for redued equivlene luse of new length n, C(x) the set of ll redued equivlene luses (Q i ) during look-hed on x, nd B(x) the set of ll newly reted inry luses during the look-hed on x. Using oth sets, the lookhed evlution n e lulted s in eqution (2). Vrile x i with the highest Diff eq (x i ) Diff eq ( x i ) is seleted for rnhing. eq n = n (1) Diff eq = B + Q iǫc eq Qi (2) Besides the look-hed evlution nd the pre-seletion heuristis (disussed in setion 7), the intensity of ommunition etween the CoE- nd CNF-prt of the formul is kept rther low (see figure 4). Nturlly, ll unry luses in ll phses of the solver re exhnged etween oth prts. However, during the solving phse, ll inry equivlenes re removed from the CoE nd trnsformed to the four equivlent inry implitions whih in turn re dded to the implition rrys. The reson for this is twofold: (1) the inry implition struture is fster during the look-hed phse thn the CoE-struture, nd (2) for ll unry luses y i tht re reted in the CoE during IUP(F {x}), onstrint resolvent x y i n e dded to the formul without hving to hek the originl length. We exmined other forms of ommunition, ut only smll gins were notied on only some prolems. Mostly, performne deresed due to higher om- unry luses inry equivlenes CoE pre-seletion heuristis CNF look-hed evlution ommunition during the pre-proessing phse ommunition during the solving phse ommunition during the look-hed phse Fig. 4. Vrious forms of ommunition in mrh eq

9 Mrh eq 353 Tle 2. Performne of mrh eq on severl enhmrks with nd without equivlene resoning without equivlene resoning with equivlene resoning Benhmrks time(s) treesize time(s) treesize speed-up rndom unst 250 (100) rndom unst 350 (100) stnion/hw-n % stnion/hw-n % stnion/hw-n % longmult % longmult % longmult % pyhl-unst % pyhl-unst % qusigroup qusigroup qusigroup zrps/rule dt % zrps/rule dt % munition osts. For instne: ommunition of inry equivlenes from the CNF- to the CoE-prt mkes it possile to sustitute those inry equivlenes in order to redue the totl length of the equivlene luses. This rrely resulted in n overll speed-up. We tried to integrte the equivlene resoning in suh mnner tht it would only e pplied when the performne would enefit from it. Therefore, mrh eq does not perform ny equivlene resoning if no equivlene luses re deteted during the pre-proessing phse (if no CoE exists), mking mrh eq equivlent to its older rother mrh. Tle 2 shows tht the integrtion of equivlene resoning in mrh rrely results in loss of performne: on some enhmrks like the rndom unst nd the qusigroup fmily no performne differene is notied, sine no equivlene luses were deteted. Most fmilies ontining equivlene luses re solved fster due to the integrtion. However, there re some exeptions, like the longmult fmily in the tle. If we ompre the integrtion of equivlene resoning in mrh (whih resulted in mrh eq) with the integrtion in stz (whih resulted in eqstz), we note tht eqstz is muh slower thn stz on enhmrks tht ontin no equivlene luses. While stz 2 solves 100 rndom unst 350 enhmrks ner the treshold on verge in seonds using nodes, eqstz 3 requires on 2 Version t li/englishpge.html 3 Version 2.0 t li/englishpge.html

10 354 M. Heule et l. verge seonds nd nodes to solve the sme set. Note tht no slowdown ours for mrh eq. 7 Pre-seletion Heuristis Overll performne n e gined or lost y performing look-hed on suset of the free vriles in node: gins re hieved y the redution of omputtionl osts, while losses re the result of either the inility of the pre-seletion heuristis (heuristis tht determine the set of vriles to enter the look-hed phse) to selet effetive rnhing vriles or the lk of deteted filed literls. When look-hed is performed on only suset of the vriles, only suset of the filed literls is most likely deteted. Depending on the formul, this ould inrese the size of the DPLL-tree. During our experiments, we used pre-seletion heuristis whih re n pproximtion of our omined look-hed evlution funtion (Ae) [7]. These pre-seletion heuristis re ostly, ut euse they provide ler disrimintion etween the vriles, smll suset of vriles ould e seleted. Experiments with fixed numer of vriles entering the look-hed proedure is shown in % 20% 40% 60% 80% 100% 210 0% 20% 40% 60% 80% 100% () % 20% 40% 60% 80% 100% 50 0% 20% 40% 60% 80% 100% () Fig. 5. Runtime(s) vs. perentge look-hed vriles on single instnes: () rndom unst 350; () longmult10; () pyhl-run-unst ; nd (d) qusigroup () (d)

11 Mrh eq 355 figure 5. The fixed numer is sed on perentge of the originl numer of vriles nd the est vriles (with the highest pre-seletion rnking) re seleted. The plots in this figure do not offer ny indition of whih perentge is required to hieve optiml generl performne: while for some instnes 100% look-hed ppers optiml, others re solved fster using muh smller perentge. Two vrints of mrh eq hve een sumitted to the St 2004 ompetition [11]: one whih selets in every node the est 10 % vriles (mrh eq 010) nd one with full (100%) look-hed (mrh eq 100). Although during our experiments the first vrint solved the most enhmrks, t the ompetition oth vrints solved the sme numer of enhmrks, leit different ones. Figure 5 illustrtes the influene of the numer of vriles entering the look-hed proedure on the overll performne. 8 Tree-Bsed Look-Ahed The struture of our look-hed proedure is sed on the oservtion tht different literls, often entil ertin shred implitions, nd tht we n form shring trees from these reltions, whih in turn my e used to redue the numer of times these implitions hve to e propgted during look-hed. Suppose tht two look-hed literls shre ertin implition. In this simple se, we ould propgte the shred implition first, followed y propgtion of one of the look-hed literls, ktrk the ltter, then propgte the other look-hed literl nd only in the end ktrk to the initil stte. This wy, the shred implition hs een propgted only one. Figure 6 shows this exmple grphilly. The implitions mong, nd form smll tree. Some thought revels tht this proess, when pplied reursively, ould work for ritrry trees. Bsed on this ide, our solver extrts - prior to look-hed - trees from the implitions mong the literls seleted for look-hed, in suh wy tht eh literl ours in extly one tree. The look- 3 4 implition tion propgte 2 propgte 3 ktrk propgte 5 ktrk F 6 ktrk Fig. 6. Grphil form of n implition tree with orresponding tions.

12 356 M. Heule et l. Tle 3. Performne of mrh eq on severl enhmrks with nd without the use of tree-sed look-hed norml look-hed tree-sed look-hed Benhmrks time(s) treesize time(s) treesize speed-up rndom unst 250 (100) % rndom unst 350 (100) % stnion/hw-n % stnion/hw-n % stnion/hw-n % longmult % longmult % longmult % pyhl-unst % pyhl-unst % qusigroup % qusigroup % qusigroup % zrps/rule dt % zrps/rule dt % hed proedure is improved y reursively visiting these trees. Of ourse, the more dense the implition grph, the more possiilities re ville for forming trees, so lol lerning will in mny ses e n importnt tlyst for the effetiveness of this method. Unfortuntely, there re mny wys of extrting trees from grph, so tht eh vertex ours in extly one tree. Lrge trees re oviously desirle, s they imply more shring, s does hving literls with the most impt on the formul ner the root of tree. To this end, we hve developed simple heuristi. More involved methods would proly produe etter results, lthough optimlity in this re ould esily men solving NP-omplete prolems gin. We onsider this n interesting diretion for future reserh. Our heuristi requires list of preditions to e ville, of the reltive mount of propgtions tht eh look-hed literl implies, to e le to onstrut trees tht shre s muh of these s possile. In the se of mrh eq, the pre-seletion heuristi provides us with suh list. The heuristi now trvels this list one, in order of deresing predition, while onstruting trees out of the orresponding literls. It does this y determining for eh literl, if ville, one other look-hed literl tht will eome its prent in some tree. When literl is ssigned prent, this reltionship remins fixed. On the outset, s muh trees re reted s there re look-hed literls, eh onsisting of just the orresponding literl. More speifilly, for eh literl tht it enounters, the heuristi heks whether this literl is implied y ny other look-hed literls tht re the root of some tree. If so, these re lelled hild nodes of the node orresponding to the implied literl. If not lredy enountered, these hild nodes re now reursively

13 Mrh eq 357 d e f g (i) d e f g (ii) d d d f f e f g e g g e (iii) (iv) Fig. 7. Five steps of uilding implition trees (v) heked in the sme mnner. At the sme time, we remove the orresponding elements from the list, so tht eh literl will e heked extly one, nd will reeive position within extly one tree. As n exmple, we show the proess for smll set of look-hed literls. A gry ox denotes the urrent position: Beuse of the order in whih the list is trvelled, literls whih hve reeived higher preditions re lelled s prent nodes s erly s possile. This is importnt, euse it is often possile to extrt mny different trees from n implition grph, nd euse every literl should our in extly one tree. Avilility of implition trees opens up severl possiilities of going eyond resolution. One suh possiility is to detet implied literls. Whenever node hs desendnts tht re omplementry, lerly the orresponding literl is implied. By pproximtion, we detet this for the most importnt literls, s these should hve ended up ner the roots of lrger trees y the ove heuristi. For solvers unle to dedue suh implitions y themselves, we suggest simple, linertime lgorithm tht sns the trees. Some intriguing ides for further reserh hve ourred to us during the development our tree-sed look-hed proedure, ut whih, we hve not een le to pursue due to time onstrints. One possile extension would e to dd vriles tht oth positively nd negtively imply some look-hed literl s full-fledged look-hed vriles. This wy we my disover importnt, ut previously undeteted vriles to perform look-hed on nd possily rnh upon. Beuse of the inherent shring, the overhed will e smller thn without tree-sed look-hed.

14 358 M. Heule et l. Also, one trees hve een reted, we ould inlude non-look-hed literls in the shring, s well s in the heking of implied literls. As for the first, suppose tht literls nd imply some literl. In this se we ould shre not just the propgtion of, ut lso tht of ny other shred implitions of nd. Shring mong tree roots ould e exploited in the sme mnner, with the differene tht in the se of mny shred implitions, we would hve to determine whih trees ould est shre implitions with eh other. In generl, it might e good ide to fous in detil on possiilities of shring. 9 Removl of Intive Cluses The presene of intive luses inreses the omputtionl osts of the proedures performed during the look-hed phse. Two importnt uses n e ppointed: first, the lrger the numer of luses onsidered during the lookhed, the poorer the performne of the he. Seond, if oth tive nd intive luses our in the tive dt-struture during the look-hed, hek is neessry to determine the sttus of every luse. Removl of intive luses from the tive dt-struture prevents these unfvourle effets. When vrile x is ssigned to ertin truth vlue during the solving phse, ll the ternry luses in whih it ours eome intive in the ternry implition rrys: the luses in whih x ours positively eome stisfied, while those luses in wih it ours negtively re redued to inry luses. These inry luses re moved to the inry implition rrys. Tle 4. Performne of mrh eq on severl enhmrks with nd without the removl of intive luses on the hosen pth without removl with removl Benhmrks time(s) treesize time(s) treesize speed-up rndom unst 250 (100) % rndom unst 350 (100) % stnion/hw-n % stnion/hw-n % stnion/hw-n % longmult % longmult % longmult % pyhl-unst % pyhl-unst % qusigroup % qusigroup % qusigroup % zrps/rule dt % zrps/rule dt %

15 Mrh eq 359 Tle 4 shows tht the removl of intive luses during the solving phse is useful on ll kinds of enhmrks. Although the speed-up is only smll on uniform rndom enhmrks, lrger gins re hieved on more strutured instnes. 10 Conlusion Severl tehniques hve een disussed to inrese the solving pilities of look-hed St solver. Some re essentil for solving vrious speifi enhmrks: rnge of fmilies n only e solved using equivlene resoning, nd s we hve seen, mrh eq is le to solve lrge zrps enhmrk y dding only onstrint resolvents. Other proposed tehniques generlly result in performne oost. However, the usefulness of our pre-seletion heuristis is s yet undoutedly sujet to improvement nd will e sujet of future reserh. Referenes 1. D. Mithel, B. Selmon nd H. Levesque, Hrd nd esy distriutions of SAT prolems. Proeedings of AIII-1992 (1992), D. Le Berre, Exploiting the Rel Power of Unit Propgtion Lookhed. In LICS Workshop on Theory nd Applitions of Stisfiility Testing (2001). 3. D. Le Berre nd L. Simon, The essentils of the SAT 03 Competition. Springer- Verlg, Leture Notes in Comput. Si (2004), A. Biere, A. Cimtti, E.M. Clrke, Y. Zhu, Symoli model heking without BDDs. in Pro. Int. Conf. Tools nd Algorithms for the Constrution nd Anlysis of Systems, Springer-Verlg, Leture Notes in Comput. Si (1999), M. Dvis, G. Logemnn, nd D. Lovelnd, A mhine progrm for theorem proving. Communitions of the ACM 5 (1962), O. Duois nd G. Dequen, A kone-serh heuristi for effiient solving of hrd3-st formule. Interntionl Joint Conferene on Artifiil Intelligene (2001), M.J.H. Heule nd H. vn Mren, Aligning CNF- nd Equivlene-Resoning. Appering in the sme volume. 8. O. Kullmnn, Investigting the ehviour of SAT solver on rndom formuls. Sumitted to Annls of Mthemtis nd Artifiil Intelligene (2002). 9. C.M. Li nd Anulgn, Look-Ahed versus Look-Bk for Stisfiility Prolems. Springer-Verlg, Leture Notes in Comput. Si (1997), C.M. Li, Equivlent literl propgtion in the DLL proedure. The Renesse issue on stisfiility (2000). Disrete Appl. Mth. 130 (2003), no. 2, L. Simon, St 04 ompetition homepge. simon/ontest/results/ 12. L. Simon, D. Le Berre, nd E. Hirsh, The SAT 2002 ompetition. Aepted for pulition in Annls of Mthemtis nd Artifiil Intelligene (AMAI) 43 (2005), J.P. Wrners, H. vn Mren, A two phse lgorithm for solving lss of hrd stisfiility prolems. Oper. Res. Lett. 23 (1998), no. 3-5, H. Zhng nd M.E. Stikel, Implementing the Dvis-Putnm Method. SAT2000 (2000),

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Project 6: Minigoals Towards Simplifying and Rewriting Expressions MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy

More information

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. 1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the

More information

Chapter 4 State-Space Planning

Chapter 4 State-Space Planning Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different

More information

Introduction to Olympiad Inequalities

Introduction to Olympiad Inequalities Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................

More information

CS 573 Automata Theory and Formal Languages

CS 573 Automata Theory and Formal Languages Non-determinism Automt Theory nd Forml Lnguges Professor Leslie Lnder Leture # 3 Septemer 6, 2 To hieve our gol, we need the onept of Non-deterministi Finite Automton with -moves (NFA) An NFA is tuple

More information

Lecture Notes No. 10

Lecture Notes No. 10 2.6 System Identifition, Estimtion, nd Lerning Leture otes o. Mrh 3, 26 6 Model Struture of Liner ime Invrint Systems 6. Model Struture In representing dynmil system, the first step is to find n pproprite

More information

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points:

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points: Eidgenössishe Tehnishe Hohshule Zürih Eole polytehnique fédérle de Zurih Politenio federle di Zurigo Federl Institute of Tehnology t Zurih Deprtement of Computer Siene. Novemer 0 Mrkus Püshel, Dvid Steurer

More information

NON-DETERMINISTIC FSA

NON-DETERMINISTIC FSA Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is

More information

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution Tehnishe Universität Münhen Winter term 29/ I7 Prof. J. Esprz / J. Křetínský / M. Luttenerger. Ferur 2 Solution Automt nd Forml Lnguges Homework 2 Due 5..29. Exerise 2. Let A e the following finite utomton:

More information

Engr354: Digital Logic Circuits

Engr354: Digital Logic Circuits Engr354: Digitl Logi Ciruits Chpter 4: Logi Optimiztion Curtis Nelson Logi Optimiztion In hpter 4 you will lern out: Synthesis of logi funtions; Anlysis of logi iruits; Tehniques for deriving minimum-ost

More information

Lecture 6: Coding theory

Lecture 6: Coding theory Leture 6: Coing theory Biology 429 Crl Bergstrom Ferury 4, 2008 Soures: This leture loosely follows Cover n Thoms Chpter 5 n Yeung Chpter 3. As usul, some of the text n equtions re tken iretly from those

More information

CS 491G Combinatorial Optimization Lecture Notes

CS 491G Combinatorial Optimization Lecture Notes CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,

More information

Generalization of 2-Corner Frequency Source Models Used in SMSIM

Generalization of 2-Corner Frequency Source Models Used in SMSIM Generliztion o 2-Corner Frequeny Soure Models Used in SMSIM Dvid M. Boore 26 Mrh 213, orreted Figure 1 nd 2 legends on 5 April 213, dditionl smll orretions on 29 My 213 Mny o the soure spetr models ville

More information

ANALYSIS AND MODELLING OF RAINFALL EVENTS

ANALYSIS AND MODELLING OF RAINFALL EVENTS Proeedings of the 14 th Interntionl Conferene on Environmentl Siene nd Tehnology Athens, Greee, 3-5 Septemer 215 ANALYSIS AND MODELLING OF RAINFALL EVENTS IOANNIDIS K., KARAGRIGORIOU A. nd LEKKAS D.F.

More information

Discrete Structures Lecture 11

Discrete Structures Lecture 11 Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.

More information

Nondeterministic Automata vs Deterministic Automata

Nondeterministic Automata vs Deterministic Automata Nondeterministi Automt vs Deterministi Automt We lerned tht NFA is onvenient model for showing the reltionships mong regulr grmmrs, FA, nd regulr expressions, nd designing them. However, we know tht n

More information

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem.

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem. 27 Lesson 2: The Pythgoren Theorem nd Similr Tringles A Brief Review of the Pythgoren Theorem. Rell tht n ngle whih mesures 90º is lled right ngle. If one of the ngles of tringle is right ngle, then we

More information

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of: 22: Union Fin CS 473u - Algorithms - Spring 2005 April 14, 2005 1 Union-Fin We wnt to mintin olletion of sets, uner the opertions of: 1. MkeSet(x) - rete set tht ontins the single element x. 2. Fin(x)

More information

Finite State Automata and Determinisation

Finite State Automata and Determinisation Finite Stte Automt nd Deterministion Tim Dworn Jnury, 2016 Lnguges fs nf re df Deterministion 2 Outline 1 Lnguges 2 Finite Stte Automt (fs) 3 Non-deterministi Finite Stte Automt (nf) 4 Regulr Expressions

More information

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES PAIR OF LINEAR EQUATIONS IN TWO VARIABLES. Two liner equtions in the sme two vriles re lled pir of liner equtions in two vriles. The most generl form of pir of liner equtions is x + y + 0 x + y + 0 where,,,,,,

More information

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths Intermedite Mth Cirles Wednesdy 17 Otoer 01 Geometry II: Side Lengths Lst week we disussed vrious ngle properties. As we progressed through the evening, we proved mny results. This week, we will look t

More information

Parse trees, ambiguity, and Chomsky normal form

Parse trees, ambiguity, and Chomsky normal form Prse trees, miguity, nd Chomsky norml form In this lecture we will discuss few importnt notions connected with contextfree grmmrs, including prse trees, miguity, nd specil form for context-free grmmrs

More information

12.4 Similarity in Right Triangles

12.4 Similarity in Right Triangles Nme lss Dte 12.4 Similrit in Right Tringles Essentil Question: How does the ltitude to the hpotenuse of right tringle help ou use similr right tringles to solve prolems? Eplore Identifing Similrit in Right

More information

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6 CS311 Computtionl Strutures Regulr Lnguges nd Regulr Grmmrs Leture 6 1 Wht we know so fr: RLs re losed under produt, union nd * Every RL n e written s RE, nd every RE represents RL Every RL n e reognized

More information

= state, a = reading and q j

= state, a = reading and q j 4 Finite Automt CHAPTER 2 Finite Automt (FA) (i) Derterministi Finite Automt (DFA) A DFA, M Q, q,, F, Where, Q = set of sttes (finite) q Q = the strt/initil stte = input lphet (finite) (use only those

More information

A Study on the Properties of Rational Triangles

A Study on the Properties of Rational Triangles Interntionl Journl of Mthemtis Reserh. ISSN 0976-5840 Volume 6, Numer (04), pp. 8-9 Interntionl Reserh Pulition House http://www.irphouse.om Study on the Properties of Rtionl Tringles M. Q. lm, M.R. Hssn

More information

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals AP Clulus BC Chpter 8: Integrtion Tehniques, L Hopitl s Rule nd Improper Integrls 8. Bsi Integrtion Rules In this setion we will review vrious integrtion strtegies. Strtegies: I. Seprte the integrnd into

More information

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4 Am Blnk Leture 13 Winter 2016 CSE 332 CSE 332: Dt Astrtions Sorting Dt Astrtions QuikSort Cutoff 1 Where We Are 2 For smll n, the reursion is wste. The onstnts on quik/merge sort re higher thn the ones

More information

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b CS 294-2 9/11/04 Quntum Ciruit Model, Solovy-Kitev Theorem, BQP Fll 2004 Leture 4 1 Quntum Ciruit Model 1.1 Clssil Ciruits - Universl Gte Sets A lssil iruit implements multi-output oolen funtion f : {0,1}

More information

6.5 Improper integrals

6.5 Improper integrals Eerpt from "Clulus" 3 AoPS In. www.rtofprolemsolving.om 6.5. IMPROPER INTEGRALS 6.5 Improper integrls As we ve seen, we use the definite integrl R f to ompute the re of the region under the grph of y =

More information

System Validation (IN4387) November 2, 2012, 14:00-17:00

System Validation (IN4387) November 2, 2012, 14:00-17:00 System Vlidtion (IN4387) Novemer 2, 2012, 14:00-17:00 Importnt Notes. The exmintion omprises 5 question in 4 pges. Give omplete explntion nd do not onfine yourself to giving the finl nswer. Good luk! Exerise

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Voting Prdoxes Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Voting Prdoxes Properties Arrow s Theorem Leture Overview 1 Rep

More information

THE PYTHAGOREAN THEOREM

THE PYTHAGOREAN THEOREM THE PYTHAGOREAN THEOREM The Pythgoren Theorem is one of the most well-known nd widely used theorems in mthemtis. We will first look t n informl investigtion of the Pythgoren Theorem, nd then pply this

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,

More information

Dorf, R.C., Wan, Z. T- Equivalent Networks The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000

Dorf, R.C., Wan, Z. T- Equivalent Networks The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000 orf, R.C., Wn,. T- Equivlent Networks The Eletril Engineering Hndook Ed. Rihrd C. orf Bo Rton: CRC Press LLC, 000 9 T P Equivlent Networks hen Wn University of Cliforni, vis Rihrd C. orf University of

More information

Learning Partially Observable Markov Models from First Passage Times

Learning Partially Observable Markov Models from First Passage Times Lerning Prtilly Oservle Mrkov s from First Pssge s Jérôme Cllut nd Pierre Dupont Europen Conferene on Mhine Lerning (ECML) 8 Septemer 7 Outline. FPT in models nd sequenes. Prtilly Oservle Mrkov s (POMMs).

More information

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS The University of ottinghm SCHOOL OF COMPUTR SCIC A LVL 2 MODUL, SPRIG SMSTR 2015 2016 MACHIS AD THIR LAGUAGS ASWRS Time llowed TWO hours Cndidtes my omplete the front over of their nswer ook nd sign their

More information

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version A Lower Bound for the Length of Prtil Trnsversl in Ltin Squre, Revised Version Pooy Htmi nd Peter W. Shor Deprtment of Mthemtil Sienes, Shrif University of Tehnology, P.O.Bo 11365-9415, Tehrn, Irn Deprtment

More information

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3 2 The Prllel Circuit Electric Circuits: Figure 2- elow show ttery nd multiple resistors rrnged in prllel. Ech resistor receives portion of the current from the ttery sed on its resistnce. The split is

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Fun Gme Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Fun Gme Properties Arrow s Theorem Leture Overview 1 Rep 2 Fun Gme 3 Properties

More information

Spacetime and the Quantum World Questions Fall 2010

Spacetime and the Quantum World Questions Fall 2010 Spetime nd the Quntum World Questions Fll 2010 1. Cliker Questions from Clss: (1) In toss of two die, wht is the proility tht the sum of the outomes is 6? () P (x 1 + x 2 = 6) = 1 36 - out 3% () P (x 1

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 22 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

THE INFLUENCE OF MODEL RESOLUTION ON AN EXPRESSION OF THE ATMOSPHERIC BOUNDARY LAYER IN A SINGLE-COLUMN MODEL

THE INFLUENCE OF MODEL RESOLUTION ON AN EXPRESSION OF THE ATMOSPHERIC BOUNDARY LAYER IN A SINGLE-COLUMN MODEL THE INFLUENCE OF MODEL RESOLUTION ON AN EXPRESSION OF THE ATMOSPHERIC BOUNDARY LAYER IN A SINGLE-COLUMN MODEL P3.1 Kot Iwmur*, Hiroto Kitgw Jpn Meteorologil Ageny 1. INTRODUCTION Jpn Meteorologil Ageny

More information

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2 BOOLEAN METHODS Giovnni De Miheli Stnford University Boolen methods Exploit Boolen properties. { Don't re onditions. Minimiztion of the lol funtions. Slower lgorithms, etter qulity results. Externl don't

More information

Hardware Verification 2IMF20

Hardware Verification 2IMF20 Hrdwre Verifition 2IMF20 Julien Shmltz Leture 02: Boolen Funtions, ST, CEC Course ontent - Forml tools Temporl Logis (LTL, CTL) Domin Properties System Verilog ssertions demi & Industrils Proessors Networks

More information

Section 1.3 Triangles

Section 1.3 Triangles Se 1.3 Tringles 21 Setion 1.3 Tringles LELING TRINGLE The line segments tht form tringle re lled the sides of the tringle. Eh pir of sides forms n ngle, lled n interior ngle, nd eh tringle hs three interior

More information

TOPIC: LINEAR ALGEBRA MATRICES

TOPIC: LINEAR ALGEBRA MATRICES Interntionl Blurete LECTUE NOTES for FUTHE MATHEMATICS Dr TOPIC: LINEA ALGEBA MATICES. DEFINITION OF A MATIX MATIX OPEATIONS.. THE DETEMINANT deta THE INVESE A -... SYSTEMS OF LINEA EQUATIONS. 8. THE AUGMENTED

More information

, g. Exercise 1. Generator polynomials of a convolutional code, given in binary form, are g. Solution 1.

, g. Exercise 1. Generator polynomials of a convolutional code, given in binary form, are g. Solution 1. Exerise Genertor polynomils of onvolutionl ode, given in binry form, re g, g j g. ) Sketh the enoding iruit. b) Sketh the stte digrm. ) Find the trnsfer funtion T. d) Wht is the minimum free distne of

More information

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches.

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches. Propositionl models Historil models of omputtion Steven Lindell Hverford College USA 1/22/2010 ISLA 2010 1 Strt with fixed numer of oolen vriles lled the voulry: e.g.,,. Eh oolen vrile represents proposition,

More information

Compiler Design. Spring Lexical Analysis. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Spring Lexical Analysis. Sample Exercises and Solutions. Prof. Pedro C. Diniz University of Southern Cliforni Computer Siene Deprtment Compiler Design Spring 7 Lexil Anlysis Smple Exerises nd Solutions Prof. Pedro C. Diniz USC / Informtion Sienes Institute 47 Admirlty Wy, Suite

More information

Outline. Theory-based Bayesian framework for property induction Causal structure induction

Outline. Theory-based Bayesian framework for property induction Causal structure induction Outline Theory-sed Byesin frmework for property indution Cusl struture indution Constrint-sed (ottom-up) lerning Theory-sed Byesin lerning The origins of usl knowledge Question: how do people relily ome

More information

Refutation-Complete Binary Decision Diagrams

Refutation-Complete Binary Decision Diagrams Refuttion-Complete Binry Deision Digrms Sott P. Snner Deprtment of Computer Siene University of oronto oronto, ON M5S 3G4 ssnner@s.toronto.edu Astrt Binry deision digrms (BDDs) re n pproh to enoding nd

More information

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix tries Definition of tri mtri is regulr rry of numers enlosed inside rkets SCHOOL OF ENGINEERING & UIL ENVIRONEN Emple he following re ll mtries: ), ) 9, themtis ), d) tries Definition of tri Size of tri

More information

Symmetrical Components 1

Symmetrical Components 1 Symmetril Components. Introdution These notes should e red together with Setion. of your text. When performing stedy-stte nlysis of high voltge trnsmission systems, we mke use of the per-phse equivlent

More information

ILLUSTRATING THE EXTENSION OF A SPECIAL PROPERTY OF CUBIC POLYNOMIALS TO NTH DEGREE POLYNOMIALS

ILLUSTRATING THE EXTENSION OF A SPECIAL PROPERTY OF CUBIC POLYNOMIALS TO NTH DEGREE POLYNOMIALS ILLUSTRATING THE EXTENSION OF A SPECIAL PROPERTY OF CUBIC POLYNOMIALS TO NTH DEGREE POLYNOMIALS Dvid Miller West Virgini University P.O. BOX 6310 30 Armstrong Hll Morgntown, WV 6506 millerd@mth.wvu.edu

More information

Linear Algebra Introduction

Linear Algebra Introduction Introdution Wht is Liner Alger out? Liner Alger is rnh of mthemtis whih emerged yers k nd ws one of the pioneer rnhes of mthemtis Though, initilly it strted with solving of the simple liner eqution x +

More information

Alpha Algorithm: Limitations

Alpha Algorithm: Limitations Proess Mining: Dt Siene in Ation Alph Algorithm: Limittions prof.dr.ir. Wil vn der Alst www.proessmining.org Let L e n event log over T. α(l) is defined s follows. 1. T L = { t T σ L t σ}, 2. T I = { t

More information

CSC2542 State-Space Planning

CSC2542 State-Space Planning CSC2542 Stte-Spe Plnning Sheil MIlrith Deprtment of Computer Siene University of Toronto Fll 2010 1 Aknowlegements Some the slies use in this ourse re moifitions of Dn Nu s leture slies for the textook

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 2010 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 )

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 ) Neessry n suient onitions for some two vrile orthogonl esigns in orer 44 C. Koukouvinos, M. Mitrouli y, n Jennifer Seerry z Deite to Professor Anne Penfol Street Astrt We give new lgorithm whih llows us

More information

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α Disrete Strutures, Test 2 Mondy, Mrh 28, 2016 SOLUTIONS, VERSION α α 1. (18 pts) Short nswer. Put your nswer in the ox. No prtil redit. () Consider the reltion R on {,,, d with mtrix digrph of R.. Drw

More information

1B40 Practical Skills

1B40 Practical Skills B40 Prcticl Skills Comining uncertinties from severl quntities error propgtion We usully encounter situtions where the result of n experiment is given in terms of two (or more) quntities. We then need

More information

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point GCSE C Emple 7 Work out 9 Give your nswer in its simplest form Numers n inies Reiprote mens invert or turn upsie own The reiprol of is 9 9 Mke sure you only invert the frtion you re iviing y 7 You multiply

More information

Suffix Trays and Suffix Trists: Structures for Faster Text Indexing

Suffix Trays and Suffix Trists: Structures for Faster Text Indexing Suffix Trys nd Suffix Trists: Strutures for Fster Text Indexing Rihrd Cole Tsvi Kopelowitz Moshe Lewenstein rxiv:1311.1762v1 [s.ds] 7 Nov 2013 Astrt Suffix trees nd suffix rrys re two of the most widely

More information

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09 Metodologie di progetto HW Tehnology Mpping Lst updte: 19/03/09 Tehnology Mpping 2 Tehnology Mpping Exmple: t 1 = + b; t 2 = d + e; t 3 = b + d; t 4 = t 1 t 2 + fg; t 5 = t 4 h + t 2 t 3 ; F = t 5 ; t

More information

6.3.2 Spectroscopy. N Goalby chemrevise.org 1 NO 2 H 3 CH3 C. NMR spectroscopy. Different types of NMR

6.3.2 Spectroscopy. N Goalby chemrevise.org 1 NO 2 H 3 CH3 C. NMR spectroscopy. Different types of NMR 6.. Spetrosopy NMR spetrosopy Different types of NMR NMR spetrosopy involves intertion of mterils with the lowenergy rdiowve region of the eletromgneti spetrum NMR spetrosopy is the sme tehnology s tht

More information

Probability. b a b. a b 32.

Probability. b a b. a b 32. Proility If n event n hppen in '' wys nd fil in '' wys, nd eh of these wys is eqully likely, then proility or the hne, or its hppening is, nd tht of its filing is eg, If in lottery there re prizes nd lnks,

More information

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014 S 224 DIGITAL LOGI & STATE MAHINE DESIGN SPRING 214 DUE : Mrh 27, 214 HOMEWORK III READ : Relte portions of hpters VII n VIII ASSIGNMENT : There re three questions. Solve ll homework n exm prolems s shown

More information

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs Isomorphism of Grphs Definition The simple grphs G 1 = (V 1, E 1 ) n G = (V, E ) re isomorphi if there is ijetion (n oneto-one n onto funtion) f from V 1 to V with the property tht n re jent in G 1 if

More information

6.3.2 Spectroscopy. N Goalby chemrevise.org 1 NO 2 CH 3. CH 3 C a. NMR spectroscopy. Different types of NMR

6.3.2 Spectroscopy. N Goalby chemrevise.org 1 NO 2 CH 3. CH 3 C a. NMR spectroscopy. Different types of NMR 6.. Spetrosopy NMR spetrosopy Different types of NMR NMR spetrosopy involves intertion of mterils with the lowenergy rdiowve region of the eletromgneti spetrum NMR spetrosopy is the sme tehnology s tht

More information

Chapter 8 Roots and Radicals

Chapter 8 Roots and Radicals Chpter 8 Roots nd Rdils 7 ROOTS AND RADICALS 8 Figure 8. Grphene is n inredily strong nd flexile mteril mde from ron. It n lso ondut eletriity. Notie the hexgonl grid pttern. (redit: AlexnderAIUS / Wikimedi

More information

Nondeterministic Finite Automata

Nondeterministic Finite Automata Nondeterministi Finite utomt The Power of Guessing Tuesdy, Otoer 4, 2 Reding: Sipser.2 (first prt); Stoughton 3.3 3.5 S235 Lnguges nd utomt eprtment of omputer Siene Wellesley ollege Finite utomton (F)

More information

Exercise 3 Logic Control

Exercise 3 Logic Control Exerise 3 Logi Control OBJECTIVE The ojetive of this exerise is giving n introdution to pplition of Logi Control System (LCS). Tody, LCS is implemented through Progrmmle Logi Controller (PLC) whih is lled

More information

Now we must transform the original model so we can use the new parameters. = S max. Recruits

Now we must transform the original model so we can use the new parameters. = S max. Recruits MODEL FOR VARIABLE RECRUITMENT (ontinue) Alterntive Prmeteriztions of the pwner-reruit Moels We n write ny moel in numerous ifferent ut equivlent forms. Uner ertin irumstnes it is onvenient to work with

More information

Unit 4. Combinational Circuits

Unit 4. Combinational Circuits Unit 4. Comintionl Ciruits Digitl Eletroni Ciruits (Ciruitos Eletrónios Digitles) E.T.S.I. Informáti Universidd de Sevill 5/10/2012 Jorge Jun 2010, 2011, 2012 You re free to opy, distriute

More information

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18 Computt onl Biology Leture 18 Genome Rerrngements Finding preserved genes We hve seen before how to rerrnge genome to obtin nother one bsed on: Reversls Knowledge of preserved bloks (or genes) Now we re

More information

Review Topic 14: Relationships between two numerical variables

Review Topic 14: Relationships between two numerical variables Review Topi 14: Reltionships etween two numeril vriles Multiple hoie 1. Whih of the following stterplots est demonstrtes line of est fit? A B C D E 2. The regression line eqution for the following grph

More information

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras Glol Journl of Mthemtil Sienes: Theory nd Prtil. ISSN 974-32 Volume 9, Numer 3 (27), pp. 387-397 Interntionl Reserh Pulition House http://www.irphouse.om On Implitive nd Strong Implitive Filters of Lttie

More information

TIME AND STATE IN DISTRIBUTED SYSTEMS

TIME AND STATE IN DISTRIBUTED SYSTEMS Distriuted Systems Fö 5-1 Distriuted Systems Fö 5-2 TIME ND STTE IN DISTRIUTED SYSTEMS 1. Time in Distriuted Systems Time in Distriuted Systems euse eh mhine in distriuted system hs its own lok there is

More information

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions MEP: Demonstrtion Projet UNIT 4: Trigonometry UNIT 4 Trigonometry tivities tivities 4. Pythgors' Theorem 4.2 Spirls 4.3 linometers 4.4 Rdr 4.5 Posting Prels 4.6 Interloking Pipes 4.7 Sine Rule Notes nd

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

IN RECENT YEARS, the number of publications on evolutionary

IN RECENT YEARS, the number of publications on evolutionary IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, VOL. 13, NO. 3, JUNE 2009 591 On the Effets of Adding Ojetives to Plteu Funtions Dimo Brokhoff, Tois Friedrih, Nils Heinghus, Christin Klein,

More information

expression simply by forming an OR of the ANDs of all input variables for which the output is

expression simply by forming an OR of the ANDs of all input variables for which the output is 2.4 Logic Minimiztion nd Krnugh Mps As we found ove, given truth tle, it is lwys possile to write down correct logic expression simply y forming n OR of the ANDs of ll input vriles for which the output

More information

Ling 3701H / Psych 3371H: Lecture Notes 9 Hierarchic Sequential Prediction

Ling 3701H / Psych 3371H: Lecture Notes 9 Hierarchic Sequential Prediction Ling 3701H / Psyh 3371H: Leture Notes 9 Hierrhi Sequentil Predition Contents 9.1 Complex events.................................... 1 9.2 Reognition of omplex events using event frgments................

More information

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic Chpter 3 Vetor Spes In Chpter 2, we sw tht the set of imges possessed numer of onvenient properties. It turns out tht ny set tht possesses similr onvenient properties n e nlyzed in similr wy. In liner

More information

Electromagnetism Notes, NYU Spring 2018

Electromagnetism Notes, NYU Spring 2018 Eletromgnetism Notes, NYU Spring 208 April 2, 208 Ation formultion of EM. Free field desription Let us first onsider the free EM field, i.e. in the bsene of ny hrges or urrents. To tret this s mehnil system

More information

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then Slrs-7.2-ADV-.7 Improper Definite Integrls 27.. D.dox Pge of Improper Definite Integrls Before we strt the min topi we present relevnt lger nd it review. See Appendix J for more lger review. Inequlities:

More information

SECTION A STUDENT MATERIAL. Part 1. What and Why.?

SECTION A STUDENT MATERIAL. Part 1. What and Why.? SECTION A STUDENT MATERIAL Prt Wht nd Wh.? Student Mteril Prt Prolem n > 0 n > 0 Is the onverse true? Prolem If n is even then n is even. If n is even then n is even. Wht nd Wh? Eploring Pure Mths Are

More information

University of Sioux Falls. MAT204/205 Calculus I/II

University of Sioux Falls. MAT204/205 Calculus I/II University of Sioux Flls MAT204/205 Clulus I/II Conepts ddressed: Clulus Textook: Thoms Clulus, 11 th ed., Weir, Hss, Giordno 1. Use stndrd differentition nd integrtion tehniques. Differentition tehniques

More information

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P.

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P. Chpter 7: The Riemnn Integrl When the derivtive is introdued, it is not hrd to see tht the it of the differene quotient should be equl to the slope of the tngent line, or when the horizontl xis is time

More information

Section 6: Area, Volume, and Average Value

Section 6: Area, Volume, and Average Value Chpter The Integrl Applied Clculus Section 6: Are, Volume, nd Averge Vlue Are We hve lredy used integrls to find the re etween the grph of function nd the horizontl xis. Integrls cn lso e used to find

More information

Maintaining Mathematical Proficiency

Maintaining Mathematical Proficiency Nme Dte hpter 9 Mintining Mthemtil Profiieny Simplify the epression. 1. 500. 189 3. 5 4. 4 3 5. 11 5 6. 8 Solve the proportion. 9 3 14 7. = 8. = 9. 1 7 5 4 = 4 10. 0 6 = 11. 7 4 10 = 1. 5 9 15 3 = 5 +

More information

Computing the Cyclic Edit Distance for Pattern Classification by Ranking Edit Paths

Computing the Cyclic Edit Distance for Pattern Classification by Ranking Edit Paths Computing the Cyli Edit Distne for Pttern Clssifition y Rnking Edit Pths Vítor M. Jiménez, Andrés Mrzl, Viente Plzón, nd Guillermo Peris DLSI, Universitt Jume I, 27 Cstellón, Spin {vjimenez,mrzl,plzon,peris}@uji.es

More information

5. Every rational number have either terminating or repeating (recurring) decimal representation.

5. Every rational number have either terminating or repeating (recurring) decimal representation. CHAPTER NUMBER SYSTEMS Points to Rememer :. Numer used for ounting,,,,... re known s Nturl numers.. All nturl numers together with zero i.e. 0,,,,,... re known s whole numers.. All nturl numers, zero nd

More information

Dynamic Template Matching with Mixed-polarity Toffoli Gates

Dynamic Template Matching with Mixed-polarity Toffoli Gates Dynmi Templte Mthing with Mixed-polrity Toffoli Gtes Md Mzder Rhmn 1, Mthis Soeken 2,3, nd Gerhrd W. Duek 1 1 Fulty of Computer Siene, University of New Brunswik, Cnd 2 Deprtment of Mthemtis nd Computer

More information

NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE

NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE V.S. Gordeev, G.A. Myskov Russin Federl Nuler Center All-Russi Sientifi Reserh Institute of Experimentl Physis (RFNC-VNIIEF)

More information

Comparing the Pre-image and Image of a Dilation

Comparing the Pre-image and Image of a Dilation hpter Summry Key Terms Postultes nd Theorems similr tringles (.1) inluded ngle (.2) inluded side (.2) geometri men (.) indiret mesurement (.6) ngle-ngle Similrity Theorem (.2) Side-Side-Side Similrity

More information

2.4 Linear Inequalities and Interval Notation

2.4 Linear Inequalities and Interval Notation .4 Liner Inequlities nd Intervl Nottion We wnt to solve equtions tht hve n inequlity symol insted of n equl sign. There re four inequlity symols tht we will look t: Less thn , Less thn or

More information

PYTHAGORAS THEOREM WHAT S IN CHAPTER 1? IN THIS CHAPTER YOU WILL:

PYTHAGORAS THEOREM WHAT S IN CHAPTER 1? IN THIS CHAPTER YOU WILL: PYTHAGORAS THEOREM 1 WHAT S IN CHAPTER 1? 1 01 Squres, squre roots nd surds 1 02 Pythgors theorem 1 03 Finding the hypotenuse 1 04 Finding shorter side 1 05 Mixed prolems 1 06 Testing for right-ngled tringles

More information