Using Rules for the Visualization of Tableaux Proof Techniques for Propositional Logic
|
|
- Victor Watkins
- 5 years ago
- Views:
Transcription
1 Using Rules for the Visuliztion of Tbleux Proof Techniques for Propositionl Logic Nd Shrf, Slim Abdenndher Computer Science nd Engineering Deprtment The Germn University in Ciro Ciro, Egypt {nd.hmed, Thom Frühwirth Institute of Softwre Engineering nd Compiler Construction University of Ulm Ulm, Germny Abstrct This pper discusses rule-bsed pproch for visulizing proofs using tbleux techniques. Semntic Tbleu is usully used to prove by refuttion. In ddition, tbleux techniques re commonly studied in different courses. Visuliztion is n effective teching methodology. The vilbility of visuliztion methods tht could be used by instructors is thus importnt. Index Terms Tbleu Proof, Visuliztion, Constrint Hndling Rules I. INTRODUCTION Semntic tbleux is procedure used for checking stisfibility [1] in propositionl logic. Tbleux bsiclly tries to serch for model. If such stisfying interprettion ws found then the expression is mrked s stisfible. Semntic Tbleux could be pplied for first-order logic formuls s well s propositionl logic. In the pper, we focus on propositionl logic for the proof of the concept. In this cse, formuls could be checked for stisfibility. In cse the formul is stisfible, the tbleux would be ble to find model for it. For exmple formul b ( b) is unstisfible. In this cse, ll the brnches of the corresponding tbleu will be closed brnches indicting the lck of model. This methodology hs been used in different contexts nd logics [2] [3]. Due to the importnce of this proof technique, it is lso studied in different curricul. The existence of visuliztion methodologies hve proven to be effective in teching [4]. Throughout different studies, groups using lgorithm visulistion techniques hd better results thn groups with clssicl methodologies [5]. Such visuliztion pltforms could dditionlly be used by instructors in clsses nd office hours. The im of the presented work is to provide tool tht students nd instructors would benefit from in the context of tbleux proof techniques. With the new tool, the student could evlute ny expression. The tool would thus be helpful in lerning s students get to see in step-by-step mnner how the computtion is done. In other words, the tool incorportes the strength of visuliztion into studying tbleux proof techniques. Instructors cn lso use visuliztion to provide esy-to-follow exmples in the clssrooms. The tool uses rules to represent the tbleux proof technique. In ddition, the visuiztion detils re represented using the so-clled nnottion rules [6] [8]. This mkes the engine of the tool declrtive nd extensible. The pper is orgnized s follows: Section II introduces semntic tbleux in propositionl logic using exmples. Section III introduces Constrint Hndling Rules (CHR). Section IV shows how the Tbleux technique ws implemented using rules through the use of CHR. Section V shows how the tbleu proof technique ws visulized. The section gives some exmples s well. The pper finlly concludes with directions to future work. II. SEMANTIC TABLEAUX Semntic Tbleux tries to build bck the truth tble. Semntic tbleux is in mny cses used to prove by refuttion. In other words, in cse the sttement p is to be checked, we would try to prove tht p is flse. Tht wy, p must be true [1], [9]. With propositionl logic however, we cn use semntic tbleu to prove the stisfibility of n expression. Without loss of generlity, hving rules for, nd would produce sound nd complete results. The rules re given below: b b b An expression b mens tht nd b hve to be true. On the other hnd, the expression b mens tht if or if b is true, the expression holds. Tht is why brnching occurs since it could be tht one of the brnches fils but the expression still holds. Finlly, mens tht hs to be true. These rules re ble to hndle different types of expressions. A brnch tht contins contrdiction is closed brnch nd cn never led to solution. For exmple the expression: c (( d) (b c)) produces the tbleu: b
2 c ( d) (b c) d b c d b c In this cse, the first brnch is closed one due to the existence of nd in it. The lst brnch is lso closed becuse it contins c nd c. The other two open brnches represent two possible models to the expression. The first model is hving, c nd d s true sttements. The second model is to hve, c nd b s true sttements. III. CONSTRAINT HANDLING RULES This section introduces Constrint Hndling Rules (CHR) [10] [12]. CHR is declrtive rule-bsed lnguge. CHR ws introduced for writing constrint solvers. However, due to its declrtivity nd ese-of-use, it hs developed into generl purpose lnguge. The rules of CHR progrm ct on constrints in the constrint store. There re two types of constrints: CHR or user-defined constrints nd builtin constrints hndled by the host lnguge. A CHR rule consists of hed (H), body (B) nd n optionl gurd (G). The gurd is condition for pplying the rule. A rule could lso hve nme. A hed contins CHR constrints only. A gurd could only hve built-in constrints. The body, on the other side, could contin CHR or built-in constrints. A CHR progrm consists of set of simpgtion rules. A CHR rule is pplicble if the store contins constrints mtching the constrints in the hed of the rule nd if the gurd of the rule is stisfied [11]. A simpgtion rule hs the form: H K \ H R G B. A simpgtion rule hs two types of hed constrints: H K nd H R. H K re the kept hed constrints while H R re the removed ones. On pplying simpgtion rule, constrints mtching H R re removed from the constrint store while the ones mtching H K re kept in the store. There re two specil types of simpgtion rules: simplifiction nd propgtion rules. A simplifiction rule is simpgtion rule with empty H K while propgtion rule hs n empty H R. A simplifiction rule hs the form: H R G B. Simplifiction rules replce the hed constrints (H R ) with the body constrints (B). A propgtion rule hs the form: H K G B. If propgtion rule is pplied, it dds the body constrints (B) to the constrint store. No constrints re thus removed from the store [11]. A wide rnge of lgorithms were implemented through CHR. The following single-ruled progrm is ble to find the smllest number mong set of numbers. The numbers re represented by the constrint min/1. Every time the rule find_min is pplied, two numbers (A nd B) re compred ginst ech other. The gurd mkes sure tht A is less thn B. The smller number is kept in the constrint store nd the lrger number is removed from the store. On successive ppliction of this rule, only the smllest number survives. f i n d _ m i min (A) \ min (B) <=> A<B t rue. The following exmple shows the constrint store fter ech ppliction of the rule for the query min(6), min(5), min(4). The underlined constrints represent the ones tht mtched the hed of the rule. The first ppliction of the rule removes 6 nd keeps 5. The second ppliction removes 5 nd keeps only the constrint holding 4 in the constrint store. 4 is indeed the minimum number. min(6), min(5), min(4) min(5), min(4) min(4) IV. TABLEAUX WITH CONSTRAINT HANDLING RULES CHR could be used to implement Boolen constrint systems [13], [14]. To implement the Tbleux proof technique with CHR, different constrints were used. Ech brnch is lbeled with n identifier. Once brnch B is dded, it is ssumed to be successful brnch by utomticlly dding the constrint success(b). Ech component in brnch is represented by the constrint brnch/3. For exmple, the constrint, brnch(bnum,l,e), represents the existence of expression E in brnch BNum t level L. In ddition, the totl number of brnches is represented by the constrint brnchest(num). The constrint brnch/2 represents the number of nodes in brnch. brnch(2,1) mens tht the brnch identified by 2 hs one node only. A brnch fils once it contins n expression nd its negtion. This is represented by the CHR rule: b r n c h (BNum, Level1,A), b r n c h (BNum, Level2, not (A) ) ==> b F i l (BNum). In cse brnch hs disjunction, brnching hppens. The rule oring, hndles this cse. The rule is fired once brnch BNum hs disjunction t level (Level). In this cse, two new brnches re dded. The first brnch is identified by the number NumB. The second brnch is identified with NumB1. Using the constrint bances/2, the old brnch is mrked s n ncestor for the two new brnches. The rule is only executed if the disjunction occurs t so-fr successful brnch. Otherwise there is no need to continue processing the brnch. o r i n s u c c e s s (BNum), b r n c h (BNum, Mx ) \ b r nch (BNum, Level, or (A, B) ), brnchest (NumB) <=> NumB1 i s NumB + 1, NumB2 i s NumB + 2 b r n c h (NumB, 1 ), s u c c e s s (NumB), b r n c h (NumB, 0,A) bances (NumB,BNum)
3 , b r n c h (NumB1, 1 ), s u c c e s s (NumB1), b r n ch (NumB1, 0, B), bances (NumB1,BNum), brnchest (NumB2). The rule filsucc sets brnch to fil if one of its ncestors is filed brnch. f i l S u c b F i l (BNum), bances ( NewBrnch,BNum) ==> b F i l ( NewBrnch ). The rules brnchf2, nd brnchf3, hndle the cses where brnch nd its ncestor hve contrdicting nodes in this cse the child brnch fils. b r n c h (BNum1, Level1,A), b r n c h (BNum2, Level2, not (A) ), bances (BNum, BNum1) ==> b F i l (BNum). b r n c h (BNum1, Level1, not (A) ), b r n c h (BNum2, Level2,A), bances (BNum, BNum1) ==> b F i l (BNum). The rule newanc hndles the trnsitivity of the ncestor reltion. It sttes tht whenever B is n ncestor of A nd C is n ncestor of B then C is n ncestor for A. bances (A, B), bances (B, C) ==> bances (A, C). In cse the unstisfibility is to be checked for, the following rule is dded: f i n i s h \ s u c c e s s ( _ ) <=> f i l. The rule clenup mkes sure the progrm fils if there is brnch tht succeeds. An exmple of querying the progrm is s t r t, e x p r e s s i o n ( nd ( [, not ( ), or ( b, or ( c, d ) ) ] ) ), f i n i s h. In this cse the expression to be checked is () (b (c d)). As seen from the query the expression is embedded within the constrint expression. Two uxiliry constrints re lso dded: strt nd finish. The constrint strt/0 initilizes the procedure. It triggers the rule: r u l e S t r s t r t <=> brnchest ( 1 ), b r n c h ( 0, 0 ), s u c c e s s ( 0 ). The rule rulestrt dds the initil brnch identified with 0. The totl number of brnches re thus one. The totl number of nodes in brnch 0 is set to be zero. The rule expr hndles the initil expression entered through the query. The rule expr dds the conjuncts of the expression to the min brnch (brnch 0). e b r n c h ( 0,Num), e x p r e s s i o n ( nd ( [A B ] ) ) <=> Num1 i s Num + 1,N1 i s Num 1 b r n c h ( 0,Num1), b r n c h ( 0,Num,A), e x p r e s s i o n ( nd (B) ). V. VISUALIZATION OF TABLEAUX PROOFS The ide is to use the grph visuliztion methodology introduced in [15] in ddition to the nimtion procedure introduced in [6] to nimte the CHR implementtion of the proof technique. Fig. 1. Annotting brnch A. Annottion Rules for Animting CHR In [6], nnottion rules were used in CHRAnim to visulize the execution of CHR progrms. The ide ws to ssocite n occurrence of textsfchr constrint with visul object. Thus, whenever the constrint ws dded/removed, the corresponding visul objects gets dded/removed. By time, this would produce n nimtion of the lgorithm implemented by the progrm. The nnotted constrints in this cse re the interesting constrints whose occurrence ffect the dt structure mnipulted by the progrm. Users re provided wit n interfce through which they cn ssocite constrint with grphicl object s shown in Figure 1. Once the user choose the grphicl object, the node is populted with the corresponding prmeters. CHRAnim could be used with ny visuliztion pltform. The engine is ble to red the vilble objects file. On otherwords, CHRAnim outsources the ctul visuliztion to existing pltform to move the intelligence of the system to the nnottions insted. Ech prmeter cn hve different type of vlue including: 1) A constnt vlue e.g. green, ) The result of the function vlueof(arg) such tht Arg is one of the rguments of the nnotted constrint. The vlue could lso be n expression ht contins combintions of constnt vlues nd outputs of the vlueof function. The nnottion could lso hve precondition for ppliction. In ddition, rule could be nnotted to hve visul effect [6]. Due to spce constrints the detils of the rule nnottion re not given. In generl the ide, is tht the rule is nnotted with constrint tht is then given norml grphicl nnottions. This is lso done through the interfce. In this cse, once the rule is executed, visul effect hppen
4 independent of whether the constrints dded/removed re interesting nnotted constrints. B. Producing Animtions In our cse, the min im is to nnotte every brnch/3 constrint with grphicl node object. Ech brnch(bnum,level,e) is nnotted with node hving green bckground. The nme of the node is the result of conctenting the brnch number nd the level. The text inside the node is the expression E. The grphicl interfce through which the user cn do the nnottions is given in Figure 1. In ddition the rule oring is nnotted with two edge grphicl objects between the node contining the ored expression nd the two new nodes. In this cse the rule oring is nnottd with constrint e(oldnode,newnode) where OldNode nd newnode contin the two identifiers. The constrint e/2 is then nnotted with n edge object. An exmple of the visuliztion is given in Figure 2(). In Figure 2(c), different nnottion ws given. In this nnottion the constrint expression produces node with the remining conjuncts s long s there re more thn one. Since the brnch fils due to the existence of the two expressions nd (), the rest of the tree is not shown. Another nnottion exmple would ffect the result of the visuliztion. In this cse, the rule brnchf could be nnotted with the ction updtenode introduced in [15] to chnge the color of the two nodes tht cuse the brnch to fil to the color pink. In this cse, the new visulized tree is shown in Figure 2(b). Another exmple is given in Figure 3, in ddition to the bsic nnottions, the rules brnchf2 nd brnchf3 were similrly nnotted to highlight the contrdicting nodes in the sub-brnch only. As seen from the previous exmples, throughout chnging the nnottions, different visuliztions were produced. This could thus llow n instructor to djust the visuliztion in the wy they see suitble nd most fitting to the tught mteril. VI. CONCLUSIONS & FUTURE WORK The tool presented enbles students to see how expressions get evlution with the Tbleux techniques visully. The engine behind the pltform uses nnottions rules to bstrct the detils of the visuliztion nd the proof production. The nnottions could thus be pre-set for one time nd used by ll the students. Annottions could be lso provided through n interfce to eliminte the need of knowing ny of the detils. In the future, the pltform should be extended with First Order logic constructs. Vribles should be lso hndled nd different types of expressions re to be explored. [2] R. Hähnle nd B. Beckert, Proof confluent tbleu clculi, in Automted Resoning with Anlytic Tbleux nd Relted Methods, Interntionl Conference, TABLEAUX 99, Srtog Springs, NY, USA, June 7-11, 1999, Proceedings, ser. Lecture Notes in Computer Science, N. V. Murry, Ed., vol Springer, 1999, pp [Online]. Avilble: [3] B. Beckert nd R. Goré, Free-vrible tbleux for propositionl modl logics, Studi Logic, vol. 69, no. 1, pp , [Online]. Avilble: [4] P. R. C. P. Mrvic-Cisr Snj I, Rdosv Drgic, Effectiveness of progrm visuliztion in lerning jv: cse study with jeliot 3, Interntionl Journl of Computers Communictions & Control, vol. 6, no. 4, pp , [5] C. Hundhusen, S. Dougls, nd J. Stsko, A Met-Study of Algorithm Visuliztion Effectiveness, Journl of Visul Lnguges & Computing, vol. 13, no. 3, pp , [6] N. Shrf, S. Abdenndher, nd T. W. Frühwirth, Chrnimtion: An nimtion tool for constrint hndling rules, in Logic-Bsed Progrm Synthesis nd Trnsformtion - 24th Interntionl Symposium, LOPSTR 2014, Cnterbury, UK, September 9-11, Revised Selected Ppers, ser. Lecture Notes in Computer Science, M. Proietti nd H. Seki, Eds., vol Springer, 2014, pp [Online]. Avilble: [7], A rule-bsed pproch for nimting jv lgorithms, in 20th Interntionl Conference Informtion Visulistion, IV 2016, Lisbon, Portugl, July 19-22, 2016, E. Bnissi, M. W. M. Bnntyne, F. Bouli, R. Burkhrd, J. Counsell, U. Cvek, M. J. Eppler, G. G. Grinstein, W. Hung, S. Kernbch, C. Lin, F. Lin, F. T. Mrchese, C. M. Pun, M. Srfrz, M. Trutschl, A. Ursyn, G. Venturini, T. G. Wyeld, nd J. J. Zhng, Eds. IEEE Computer Society, 2016, pp [Online]. Avilble: [8], Using rules to nimte prolog progrms, in Proceedings of the Doctorl Consortium, Chllenge, Industry Trck, Tutorils nd RuleML+RR 2017 hosted by Interntionl Joint Conference on Rules nd Resoning 2017 (RuleML+RR 2017), London, UK, July 11-15, 2017., ser. CEUR Workshop Proceedings, N. Bssilides, A. Bikkis, S. Costntini, E. Frnconi, A. Giurc, R. Kontchkov, T. Ptkos, F. Sdri, nd W. V. Woensel, Eds., vol CEUR-WS.org, [Online]. Avilble: [9] M. D Agostino, D. M. Gbby, R. Hähnle, nd J. Posegg, Hndbook of tbleu methods. Springer Science & Business Medi, [10] T. W. Frühwirth, Theory nd prctice of constrint hndling rules, Journl of Logic Progrmming. Specil Issue on Constrint Logic Progrmming, vol. 37, no. 1âĂŞ-3, pp , [Online]. Avilble: [11] T. Frühwirth, Constrint Hndling Rules. Cmbridge University Press, August [Online]. Avilble: org [12] T. W. Frühwirth, Constrint Hndling Rules - Wht Else? in Rule Technologies: Foundtions, Tools, nd Applictions - 9th Interntionl Symposium, RuleML 2015, Proceedings, ser. Lecture Notes in Computer Science, N. Bssilides, G. Gottlob, F. Sdri, A. Pschke, nd D. Romn, Eds., vol Springer, 2015, pp [Online]. Avilble: [13] T. W. Frühwirth nd S. Abdenndher, Essentils of constrint progrmming, chpter 9, ser. Cognitive Technologies. Springer, [Online]. Avilble: [14], Principles of Constrint Systems nd Constrint Solvers, Archives of Control Sciences, vol. 16, no. 2, pp , [15] N. Shrf, S. Abdenndher, nd T. W. Frühwirth, Chr-grph: A pltform for nimting tree nd grph lgorithms, in 21st Interntionl Conference Informtion Visulistion, IV 2017, London, United Kingdom, July 11-14, IEEE Computer Society, 2017, pp [Online]. Avilble: REFERENCES [1] M. Ben-Ari, Propositionl Logic: Formuls, Models, Tbleux. London: Springer London, 2012, pp [Online]. Avilble:
5 () Output (b) Output with different nnottion Fig. 2. Exmple (c) Output with nother different nnottion () Exmple with Brnching (b) Filed sub-brnch (c) Another Filed sub-brnch Fig. 3. Another Exmple
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 informationImproper Integrals, and Differential Equations
Improper Integrls, nd Differentil Equtions October 22, 204 5.3 Improper Integrls Previously, we discussed how integrls correspond to res. More specificlly, we sid tht for function f(x), the region creted
More informationNew Expansion and Infinite Series
Interntionl Mthemticl Forum, Vol. 9, 204, no. 22, 06-073 HIKARI Ltd, www.m-hikri.com http://dx.doi.org/0.2988/imf.204.4502 New Expnsion nd Infinite Series Diyun Zhng College of Computer Nnjing University
More information7.2 The Definite Integral
7.2 The Definite Integrl the definite integrl In the previous section, it ws found tht if function f is continuous nd nonnegtive, then the re under the grph of f on [, b] is given by F (b) F (), where
More informationCS 275 Automata and Formal Language Theory
CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.5.: Properties of Context Free Grmmrs (14) Anton Setzer (Bsed on book drft by J. V. Tucker nd K. Stephenson)
More information19 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 informationNew 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 informationUnit #9 : Definite Integral Properties; Fundamental Theorem of Calculus
Unit #9 : Definite Integrl Properties; Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl
More informationProperties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives
Block #6: Properties of Integrls, Indefinite Integrls Gols: Definition of the Definite Integrl Integrl Clcultions using Antiderivtives Properties of Integrls The Indefinite Integrl 1 Riemnn Sums - 1 Riemnn
More information4.4 Areas, Integrals and Antiderivatives
. res, integrls nd ntiderivtives 333. Ares, Integrls nd Antiderivtives This section explores properties of functions defined s res nd exmines some connections mong res, integrls nd ntiderivtives. In order
More informationChapter 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 informationJim Lambers MAT 169 Fall Semester Lecture 4 Notes
Jim Lmbers MAT 169 Fll Semester 2009-10 Lecture 4 Notes These notes correspond to Section 8.2 in the text. Series Wht is Series? An infinte series, usully referred to simply s series, is n sum of ll of
More informationRiemann Sums and Riemann Integrals
Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 2013 Outline 1 Riemnn Sums 2 Riemnn Integrls 3 Properties
More informationAdvanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004
Advnced Clculus: MATH 410 Notes on Integrls nd Integrbility Professor Dvid Levermore 17 October 2004 1. Definite Integrls In this section we revisit the definite integrl tht you were introduced to when
More informationRiemann Sums and Riemann Integrals
Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 203 Outline Riemnn Sums Riemnn Integrls Properties Abstrct
More informationCMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014
CMPSCI 250: Introduction to Computtion Lecture #31: Wht DFA s Cn nd Cn t Do Dvid Mix Brrington 9 April 2014 Wht DFA s Cn nd Cn t Do Deterministic Finite Automt Forml Definition of DFA s Exmples of DFA
More informationChapter 0. What is the Lebesgue integral about?
Chpter 0. Wht is the Lebesgue integrl bout? The pln is to hve tutoril sheet ech week, most often on Fridy, (to be done during the clss) where you will try to get used to the ides introduced in the previous
More informationStudent Activity 3: Single Factor ANOVA
MATH 40 Student Activity 3: Single Fctor ANOVA Some Bsic Concepts In designed experiment, two or more tretments, or combintions of tretments, is pplied to experimentl units The number of tretments, whether
More information5.7 Improper Integrals
458 pplictions of definite integrls 5.7 Improper Integrls In Section 5.4, we computed the work required to lift pylod of mss m from the surfce of moon of mss nd rdius R to height H bove the surfce of the
More informationChapters 4 & 5 Integrals & Applications
Contents Chpters 4 & 5 Integrls & Applictions Motivtion to Chpters 4 & 5 2 Chpter 4 3 Ares nd Distnces 3. VIDEO - Ares Under Functions............................................ 3.2 VIDEO - Applictions
More informationParse 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 informationFinite Automata. Informatics 2A: Lecture 3. John Longley. 22 September School of Informatics University of Edinburgh
Lnguges nd Automt Finite Automt Informtics 2A: Lecture 3 John Longley School of Informtics University of Edinburgh jrl@inf.ed.c.uk 22 September 2017 1 / 30 Lnguges nd Automt 1 Lnguges nd Automt Wht is
More informationUNIT 1 FUNCTIONS AND THEIR INVERSES Lesson 1.4: Logarithmic Functions as Inverses Instruction
Lesson : Logrithmic Functions s Inverses Prerequisite Skills This lesson requires the use of the following skills: determining the dependent nd independent vribles in n exponentil function bsed on dt from
More information1.9 C 2 inner variations
46 CHAPTER 1. INDIRECT METHODS 1.9 C 2 inner vritions So fr, we hve restricted ttention to liner vritions. These re vritions of the form vx; ǫ = ux + ǫφx where φ is in some liner perturbtion clss P, for
More informationClosure Properties of Regular Languages
Closure Properties of Regulr Lnguges Regulr lnguges re closed under mny set opertions. Let L 1 nd L 2 e regulr lnguges. (1) L 1 L 2 (the union) is regulr. (2) L 1 L 2 (the conctention) is regulr. (3) L
More informationReview of Calculus, cont d
Jim Lmbers MAT 460 Fll Semester 2009-10 Lecture 3 Notes These notes correspond to Section 1.1 in the text. Review of Clculus, cont d Riemnn Sums nd the Definite Integrl There re mny cses in which some
More informationCS 275 Automata and Formal Language Theory
CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.6.: Push Down Automt Remrk: This mteril is no longer tught nd not directly exm relevnt Anton Setzer (Bsed
More informationHandout: Natural deduction for first order logic
MATH 457 Introduction to Mthemticl Logic Spring 2016 Dr Json Rute Hndout: Nturl deduction for first order logic We will extend our nturl deduction rules for sententil logic to first order logic These notes
More information1 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 informationNUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.
NUMERICAL INTEGRATION 1 Introduction The inverse process to differentition in clculus is integrtion. Mthemticlly, integrtion is represented by f(x) dx which stnds for the integrl of the function f(x) with
More informationBisimulation. R.J. van Glabbeek
Bisimultion R.J. vn Glbbeek NICTA, Sydney, Austrli. School of Computer Science nd Engineering, The University of New South Wles, Sydney, Austrli. Computer Science Deprtment, Stnford University, CA 94305-9045,
More informationDuality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below.
Dulity #. Second itertion for HW problem Recll our LP emple problem we hve been working on, in equlity form, is given below.,,,, 8 m F which, when written in slightly different form, is 8 F Recll tht we
More informationACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2019
ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS MATH00030 SEMESTER 208/209 DR. ANTHONY BROWN 7.. Introduction to Integrtion. 7. Integrl Clculus As ws the cse with the chpter on differentil
More information20 MATHEMATICS POLYNOMIALS
0 MATHEMATICS POLYNOMIALS.1 Introduction In Clss IX, you hve studied polynomils in one vrible nd their degrees. Recll tht if p(x) is polynomil in x, the highest power of x in p(x) is clled the degree of
More information1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.
York University CSE 2 Unit 3. DFA Clsses Converting etween DFA, NFA, Regulr Expressions, nd Extended Regulr Expressions Instructor: Jeff Edmonds Don t chet y looking t these nswers premturely.. For ech
More informationFinite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018
Finite Automt Theory nd Forml Lnguges TMV027/DIT321 LP4 2018 Lecture 10 An Bove April 23rd 2018 Recp: Regulr Lnguges We cn convert between FA nd RE; Hence both FA nd RE ccept/generte regulr lnguges; More
More informationGenetic 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 information1 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 informationIntermediate 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 informationRecitation 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 informationStrong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation
Strong Bisimultion Overview Actions Lbeled trnsition system Trnsition semntics Simultion Bisimultion References Robin Milner, Communiction nd Concurrency Robin Milner, Communicting nd Mobil Systems 32
More informationGoals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite
Unit #8 : The Integrl Gols: Determine how to clculte the re described by function. Define the definite integrl. Eplore the reltionship between the definite integrl nd re. Eplore wys to estimte the definite
More informationThe Predom module. Predom calculates and plots isothermal 1-, 2- and 3-metal predominance area diagrams. Predom accesses only compound databases.
Section 1 Section 2 The module clcultes nd plots isotherml 1-, 2- nd 3-metl predominnce re digrms. ccesses only compound dtbses. Tble of Contents Tble of Contents Opening the module Section 3 Stoichiometric
More informationVyacheslav Telnin. Search for New Numbers.
Vycheslv Telnin Serch for New Numbers. 1 CHAPTER I 2 I.1 Introduction. In 1984, in the first issue for tht yer of the Science nd Life mgzine, I red the rticle "Non-Stndrd Anlysis" by V. Uspensky, in which
More informationCS 314 Principles of Programming Languages
C 314 Principles of Progrmming Lnguges Lecture 6: LL(1) Prsing Zheng (Eddy) Zhng Rutgers University Ferury 5, 2018 Clss Informtion Homework 2 due tomorrow. Homework 3 will e posted erly next week. 2 Top
More informationSolution 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 informationNondeterminism and Nodeterministic Automata
Nondeterminism nd Nodeterministic Automt 61 Nondeterminism nd Nondeterministic Automt The computtionl mchine models tht we lerned in the clss re deterministic in the sense tht the next move is uniquely
More informationUsing QM for Windows. Using QM for Windows. Using QM for Windows LEARNING OBJECTIVES. Solving Flair Furniture s LP Problem
LEARNING OBJECTIVES Vlu%on nd pricing (November 5, 2013) Lecture 11 Liner Progrmming (prt 2) 10/8/16, 2:46 AM Olivier J. de Jong, LL.M., MM., MBA, CFD, CFFA, AA www.olivierdejong.com Solving Flir Furniture
More informationWe will see what is meant by standard form very shortly
THEOREM: For fesible liner progrm in its stndrd form, the optimum vlue of the objective over its nonempty fesible region is () either unbounded or (b) is chievble t lest t one extreme point of the fesible
More informationUNIFORM 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 informationThe First Fundamental Theorem of Calculus. If f(x) is continuous on [a, b] and F (x) is any antiderivative. f(x) dx = F (b) F (a).
The Fundmentl Theorems of Clculus Mth 4, Section 0, Spring 009 We now know enough bout definite integrls to give precise formultions of the Fundmentl Theorems of Clculus. We will lso look t some bsic emples
More informationReinforcement 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 informationGlobal 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 informationGlobal 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 informationEnergy Bands Energy Bands and Band Gap. Phys463.nb Phenomenon
Phys463.nb 49 7 Energy Bnds Ref: textbook, Chpter 7 Q: Why re there insultors nd conductors? Q: Wht will hppen when n electron moves in crystl? In the previous chpter, we discussed free electron gses,
More informationTaylor Polynomial Inequalities
Tylor Polynomil Inequlities Ben Glin September 17, 24 Abstrct There re instnces where we my wish to pproximte the vlue of complicted function round given point by constructing simpler function such s polynomil
More informationConcepts 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 informationThe steps of the hypothesis test
ttisticl Methods I (EXT 7005) Pge 78 Mosquito species Time of dy A B C Mid morning 0.0088 5.4900 5.5000 Mid Afternoon.3400 0.0300 0.8700 Dusk 0.600 5.400 3.000 The Chi squre test sttistic is the sum of
More informationWeek 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 informationNumerical 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 informationLecture 9: LTL and Büchi Automata
Lecture 9: LTL nd Büchi Automt 1 LTL Property Ptterns Quite often the requirements of system follow some simple ptterns. Sometimes we wnt to specify tht property should only hold in certin context, clled
More informationCS 330 Formal Methods and Models
CS 330 Forml Methods nd Models Dn Richrds, George Mson University, Spring 2017 Quiz Solutions Quiz 1, Propositionl Logic Dte: Ferury 2 1. Prove ((( p q) q) p) is tutology () (3pts) y truth tle. p q p q
More informationCS5371 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 informationModule 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 informationModule 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 informationWe partition C into n small arcs by forming a partition of [a, b] by picking s i as follows: a = s 0 < s 1 < < s n = b.
Mth 255 - Vector lculus II Notes 4.2 Pth nd Line Integrls We begin with discussion of pth integrls (the book clls them sclr line integrls). We will do this for function of two vribles, but these ides cn
More informationCSCI 340: Computational Models. Kleene s Theorem. Department of Computer Science
CSCI 340: Computtionl Models Kleene s Theorem Chpter 7 Deprtment of Computer Science Unifiction In 1954, Kleene presented (nd proved) theorem which (in our version) sttes tht if lnguge cn e defined y ny
More informationConvert 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 informationLecture Note 9: Orthogonal Reduction
MATH : Computtionl Methods of Liner Algebr 1 The Row Echelon Form Lecture Note 9: Orthogonl Reduction Our trget is to solve the norml eution: Xinyi Zeng Deprtment of Mthemticl Sciences, UTEP A t Ax = A
More informationCS 275 Automata and Formal Language Theory
CS 275 utomt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Prolem (II) Chpter II.5.: Properties of Context Free Grmmrs (14) nton Setzer (Bsed on ook drft y J. V. Tucker nd K. Stephenson)
More informationOperations with Polynomials
38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: How to identify the leding coefficients nd degrees of polynomils How to dd nd subtrct polynomils How to multiply polynomils
More informationChapter 4 Contravariance, Covariance, and Spacetime Diagrams
Chpter 4 Contrvrince, Covrince, nd Spcetime Digrms 4. The Components of Vector in Skewed Coordintes We hve seen in Chpter 3; figure 3.9, tht in order to show inertil motion tht is consistent with the Lorentz
More informationThe 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 informationBayesian 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 informationTravelling Profile Solutions For Nonlinear Degenerate Parabolic Equation And Contour Enhancement In Image Processing
Applied Mthemtics E-Notes 8(8) - c IN 67-5 Avilble free t mirror sites of http://www.mth.nthu.edu.tw/ men/ Trvelling Profile olutions For Nonliner Degenerte Prbolic Eqution And Contour Enhncement In Imge
More informationThe Fundamental Theorem of Calculus. The Total Change Theorem and the Area Under a Curve.
Clculus Li Vs The Fundmentl Theorem of Clculus. The Totl Chnge Theorem nd the Are Under Curve. Recll the following fct from Clculus course. If continuous function f(x) represents the rte of chnge of F
More informationBefore we can begin Ch. 3 on Radicals, we need to be familiar with perfect squares, cubes, etc. Try and do as many as you can without a calculator!!!
Nme: Algebr II Honors Pre-Chpter Homework Before we cn begin Ch on Rdicls, we need to be fmilir with perfect squres, cubes, etc Try nd do s mny s you cn without clcultor!!! n The nth root of n n Be ble
More informationHW3, Math 307. CSUF. Spring 2007.
HW, Mth 7. CSUF. Spring 7. Nsser M. Abbsi Spring 7 Compiled on November 5, 8 t 8:8m public Contents Section.6, problem Section.6, problem Section.6, problem 5 Section.6, problem 7 6 5 Section.6, problem
More information1B40 Practical Skills
B40 Prcticl Skills Comining uncertinties from severl quntities error propgtion We usully encounter situtions where the result of n experiment is given in terms of two (or more) quntities. We then need
More informationChapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1
Chpter Five: Nondeterministic Finite Automt Forml Lnguge, chpter 5, slide 1 1 A DFA hs exctly one trnsition from every stte on every symol in the lphet. By relxing this requirement we get relted ut more
More informationCS 330 Formal Methods and Models Dana Richards, George Mason University, Spring 2016 Quiz Solutions
CS 330 Forml Methods nd Models Dn Richrds, George Mson University, Spring 2016 Quiz Solutions Quiz 1, Propositionl Logic Dte: Ferury 9 1. (4pts) ((p q) (q r)) (p r), prove tutology using truth tles. p
More informationEquations and Inequalities
Equtions nd Inequlities Equtions nd Inequlities Curriculum Redy ACMNA: 4, 5, 6, 7, 40 www.mthletics.com Equtions EQUATIONS & Inequlities & INEQUALITIES Sometimes just writing vribles or pronumerls in
More informationMath 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 informationMathcad Lecture #1 In-class Worksheet Mathcad Basics
Mthcd Lecture #1 In-clss Worksheet Mthcd Bsics At the end of this lecture, you will be ble to: Evlute mthemticl epression numericlly Assign vrible nd use them in subsequent clcultions Distinguish between
More informationMore on automata. Michael George. March 24 April 7, 2014
More on utomt Michel George Mrch 24 April 7, 2014 1 Automt constructions Now tht we hve forml model of mchine, it is useful to mke some generl constructions. 1.1 DFA Union / Product construction Suppose
More informationNFAs and Regular Expressions. NFA-ε, continued. Recall. Last class: Today: Fun:
CMPU 240 Lnguge Theory nd Computtion Spring 2019 NFAs nd Regulr Expressions Lst clss: Introduced nondeterministic finite utomt with -trnsitions Tody: Prove n NFA- is no more powerful thn n NFA Introduce
More informationMinimal DFA. minimal DFA for L starting from any other
Miniml DFA Among the mny DFAs ccepting the sme regulr lnguge L, there is exctly one (up to renming of sttes) which hs the smllest possile numer of sttes. Moreover, it is possile to otin tht miniml DFA
More informationMatrix Solution to Linear Equations and Markov Chains
Trding Systems nd Methods, Fifth Edition By Perry J. Kufmn Copyright 2005, 2013 by Perry J. Kufmn APPENDIX 2 Mtrix Solution to Liner Equtions nd Mrkov Chins DIRECT SOLUTION AND CONVERGENCE METHOD Before
More informationState 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 informationLecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations.
Lecture 3 3 Solving liner equtions In this lecture we will discuss lgorithms for solving systems of liner equtions Multiplictive identity Let us restrict ourselves to considering squre mtrices since one
More informationChapter 14. Matrix Representations of Linear Transformations
Chpter 4 Mtrix Representtions of Liner Trnsformtions When considering the Het Stte Evolution, we found tht we could describe this process using multipliction by mtrix. This ws nice becuse computers cn
More informationCS 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 informationLecture 08: Feb. 08, 2019
4CS4-6:Theory of Computtion(Closure on Reg. Lngs., regex to NDFA, DFA to regex) Prof. K.R. Chowdhry Lecture 08: Fe. 08, 2019 : Professor of CS Disclimer: These notes hve not een sujected to the usul scrutiny
More informationCOMPUTER 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 informationCS375: Logic and Theory of Computing
CS375: Logic nd Theory of Computing Fuhu (Frnk) Cheng Deprtment of Computer Science University of Kentucky 1 Tble of Contents: Week 1: Preliminries (set lgebr, reltions, functions) (red Chpters 1-4) Weeks
More informationRiemann Integrals and the Fundamental Theorem of Calculus
Riemnn Integrls nd the Fundmentl Theorem of Clculus Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University September 16, 2013 Outline Grphing Riemnn Sums
More information4 7x =250; 5 3x =500; Read section 3.3, 3.4 Announcements: Bell Ringer: Use your calculator to solve
Dte: 3/14/13 Objective: SWBAT pply properties of exponentil functions nd will pply properties of rithms. Bell Ringer: Use your clcultor to solve 4 7x =250; 5 3x =500; HW Requests: Properties of Log Equtions
More informationMath Calculus with Analytic Geometry II
orem of definite Mth 5.0 with Anlytic Geometry II Jnury 4, 0 orem of definite If < b then b f (x) dx = ( under f bove x-xis) ( bove f under x-xis) Exmple 8 0 3 9 x dx = π 3 4 = 9π 4 orem of definite Problem
More informationMAA 4212 Improper Integrals
Notes by Dvid Groisser, Copyright c 1995; revised 2002, 2009, 2014 MAA 4212 Improper Integrls The Riemnn integrl, while perfectly well-defined, is too restrictive for mny purposes; there re functions which
More informationHow 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