CS344: Introduction to Artificial Intelligence

Size: px
Start display at page:

Download "CS344: Introduction to Artificial Intelligence"

Transcription

1 CS344: Introduction to Artiicil Intelligence Lecture: Herbrnd s Theorem roving stisibilit o logic ormule using semntic trees rom Smbolic logic nd mechnicl theorem proving B Runk ilni Under the guidnce o ro.. Bhttchr

2 Bsic Deinitions Interprettion: Assignment o mening to the smbols o lnguge Interprettions o redicte logic requires deining: Domin O Discourse D which is set o individuls tht the quntiiers will rnge over Mppings or ever cons stnt n-r unction nd n-r predicte to elements n-r unctions D n D nd n- r reltions on D respe ectivel

3 Bsic Deinitions c contd. Stisibilit Consistenc A ormul G is stisibl e i there eists n interprettion I such tht G is evluted to T True in I I is then clled model o G nd is sid to stis G Unstisibilit Inconsiste enc G is inconsistent i theree eists no interprettion tht stisies ii G

4 Need or the theo orem roving stisibilit o ormul is better chieved b proving the unstisibilit o its negtion roving unstisibilit over lrge set o interprettions is resource intensive Herbrnds Theorem reduces the number o interprettions tht need to be checked ls undmentl role in Automted Theorem roving

5 Skolem Stndrd Form Logic ormule need to irst be converted to the Skolem Stndrd Form m which leves the ormul in the orm o set o cluses This is done in three ste eps Convert to rene Form Convert to CNF Conjunctive Norml Form Eliminte eistentil unitiiers using Skolem unctions

6 Step 1: Converting to rene Form Involves bringing ll quntiiers to the beginning o the ormul i i M i= n Where - i is either V Universl untiier or Ǝ Eistentil ti uniti ier nd is clled the prei - M contins no untiiers nd is clled the mtri ti

7 Emple Emple z z z z z z z z z z z z z z

8 Step 2: Convertin g to CNF Remove nd Appl De Morgn s lws Appl Distributive lws Appl Commuttive s well s Associtive lws

9 Emple Emple z z z R z R z R z z R z z R z z R z z R

10 Step 3: Skolemiz tion Consider the ormul 1 1 n n M I n eistentil quntiier r is not preceded b n universl quntiier then r in M cn be replced b n constnt c nd r cn be removed Otherwise i there re m universl quntiiers beore r then An m-plce unction p 1 p 2 p m cn replce r where p 1 p 2 p m re the vribles tht hve been universll quntiied Here c is skolem vrible while is skolem unction

11 Emple z R z z R z We eliminte i nd z using sko olem unctions becomes nd z becomes g s is the onl preceding universl quntiier R g g R g

12 Herbrnd Univers se It is inesible to consider ll interprettions over ll domins in order to prove unstisibilit Insted we tr to i specil domin clled Herbrnd universe such tht the ormul S is unstisible i it is lse under ll the interprettions over this domin

13 Herbrnd Univers se contd. H 0 is the set o ll constnts in set o cluses S I there re no constnts in S then H 0 will hve single constnt s H 0 = } For i=123 let H i+1 be the union o H i nd set o ll terms o the orm n t1 t n or ll n-plce unctions in S where t j where j=1 n re members o the set H H is clled the Herbrnd universe o S

14 Herbrnd Univers se contd. Atom Set: Set o the ground toms o the orm n t 1 t n or ll n-plce predictes n occuring in S where t 1 t n re elements o the Herbrnd Universe o S Also clled the Herbrnd Bse A ground instnce o cluse C o set o cluses is cluse obtined b replcing vribles in C b members o the Herbrn nd Universe o S

15 Emple Emple } H 0 S = = } } } 2 1 H H = = } 2 H = M C Let H = = : Atom Set nd Here A = } } } K...} C re both ground instnces o }

16 H-Interprettions For set o cluses S with its Herbrnd universe H we deine I s n H-Interprettion i: I mps ll constnts in S to themselves An n-plce unction is ssigned unction tht mps h 1 h n n element in H n to h 1 h n n element in H where h 1 h n re elements in H Or simpl stted s I=m 1 m 2 m n } where m j = A j or ~A j i.e e. A j is set to true or lse nd A = A 1 A 2 A n }

17 H-Interprettions contd. Not ll interprettions re H-Interprettions Given n interprettion I over domin D n H- Interprettion I* corresponding to I is n H- Interprettion tht: Hs ech element rom the Herbrnd Universe mpped to some elemen nt o D Truth vlue o h 1 h n in I* must be sme s tht o d 1 d n in I

18 Emple Emple Herbrnd Universe } H H R S Let = given b is Atom Set Herbrnd Universe A A H H = = Some Herbrnd Interprettion A = 2 1 I I = = 3 I = } } } } K R = re ns } K K K R } } K K K K K K R R } K K K R

19 Use o H-Interpre ettions I n interprettion I stisies set o cluses S over some domin D then n one o the H- Interprettions I* corresponding to I will lso stis H A set o cluses S is unstisible i S is lse under ll H-Interprettions o S

20 Semntic Trees Finding proo or set o cluses is equivlent to generting semntic tree A semntic tree is tree where ech link is ttched with inite set o toms or their negtions such tht: Ech node hs onl in nite set o immedite links For ech node N the union o sets connected to links o the brnch down to N do oes not contin complementr pir I N is n inner node the en its outgoing links re mrked with complementr literls

21 Semntic Trees C Contd. Ever pth to node N does not contin complementr literls in IN where IN is the set o literls long the edges o the pth A Complete Semntic Tree is one in which ever pth contins ever literl in Herbrnd bse either +ve or ve but not both A ilure node N is one which lsiies I N but not I N where N is predecessor o N A semntic tree is closed i ever pth contins ilure node

22 Emple Imge courtes: S is stisible becuse it hs t lest one brnch without ilure node

23 Emple Imge courtes: S is unstisible s the tree is closed

24 Herbrnd s Theor rem Ver. 1 Theorem: A set S o cluses is unstisible i corresponding to ever complete semntic tree o S there is inite closed semntic tree roo: rt 1: Assume S is unstisible ii - Let T be the complete semntic tree or S - For ever brnch B o T we let I B be the set o ll literls ttched to the links in B

25 Version 1 roo c contd. -I B is n interprettion o S b deinition - As S is unstisible I B must lsi ground instnce o cluse C in S let s cll it C - T is complete so C must be inite nd there must eist ilure node N B inite distnce rom root on brnch B - Ever brnch o T hs ilure node so we ind closed semntic tree T or S - T hs inite no. o nodes Konig s Lemm Hence irst hl o thm. is proved

26 Version 1 roo c contd. rt 2: I there is inite closed semntic tree or ever complete semntic tree o S - Then ever brnch contins ilure node - i.e. ever interprettion n lsiies S - Hence S is unstisible Thus both hlves o the theorem re proved

27 Herbrnd s Theor rem Ver. 2 Theorem: A set S o cluses is unstisible i there is inite unstisible set S o ground instnces o cluses o S roo: rt 1: Assume S is unstisible ii - Let T be completee semntic tree o S - B ver. 1 o Herbrnd Thm. there is inite closed semntic tree T corresponding to T

28 Version 2 roo c contd. - Let S be set o ll the ground instnces o cluses tht re lsiied t ll ilure nodes o T - S is inite since T contins inite no. o ilure nodes - Since S is lse in ever interprettion o S S is lso unstisible Hence irst hl o thm. is proved

29 Version 2 roo c contd. rt 2: Suppose S is inite unstisible set o gr. instnces o cluses in S - Ever interprettion I o S contins n interprettion I o S - So i I lsiies S then I must lso lsi S - Since S is lsiied b ever interprettion i I it must lso be lsiied b ever interprettion I o S - i.e. S is lsiied b ever interprettion o S -Hence S is unstisible Thus both hlves o the thm. re proved

30 Emple Let S = } This set is unstisible Hence One b Herbrnd's Th heorem there is inite unstisible set S' o ground instnces o cluses o S o these sets cn be S ' = }

31 Reerences Chng Chin-Ling nd Lee Richrd Chr-Tung Smbolic Logic nd Mechnicl Theorem roving Acdemic ress New York NY 1973

Boolean Algebra. Boolean Algebras

Boolean Algebra. Boolean Algebras Boolen Algebr Boolen Algebrs A Boolen lgebr is set B of vlues together with: - two binry opertions, commonly denoted by + nd, - unry opertion, usully denoted by or ~ or, - two elements usully clled zero

More information

KNOWLEDGE-BASED AGENTS INFERENCE

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

More information

In Mathematics for Construction, we learnt that

In Mathematics for Construction, we learnt that III DOUBLE INTEGATION THE ANTIDEIVATIVE OF FUNCTIONS OF VAIABLES In Mthemtics or Construction, we lernt tht the indeinite integrl is the ntiderivtive o ( d ( Double Integrtion Pge Hence d d ( d ( The ntiderivtive

More information

INTRODUCTION TO LINEAR ALGEBRA

INTRODUCTION TO LINEAR ALGEBRA ME Applied Mthemtics for Mechnicl Engineers INTRODUCTION TO INEAR AGEBRA Mtrices nd Vectors Prof. Dr. Bülent E. Pltin Spring Sections & / ME Applied Mthemtics for Mechnicl Engineers INTRODUCTION TO INEAR

More information

Journal of Inequalities in Pure and Applied Mathematics

Journal of Inequalities in Pure and Applied Mathematics Journl o Inequlities in Pure nd Applied Mthemtics http://jipm.vu.edu.u/ Volume 6, Issue 4, Article 6, 2005 MROMORPHIC UNCTION THAT SHARS ON SMALL UNCTION WITH ITS DRIVATIV QINCAI ZHAN SCHOOL O INORMATION

More information

Fachgebiet Rechnersysteme1. 1. Boolean Algebra. 1. Boolean Algebra. Verification Technology. Content. 1.1 Boolean algebra basics (recap)

Fachgebiet Rechnersysteme1. 1. Boolean Algebra. 1. Boolean Algebra. Verification Technology. Content. 1.1 Boolean algebra basics (recap) . Boolen Alger Fchgeiet Rechnersysteme. Boolen Alger Veriiction Technology Content. Boolen lger sics (recp).2 Resoning out Boolen expressions . Boolen Alger 2 The prolem o logic veriiction: Show tht two

More information

Proceedings of the International Conference on Theory and Applications of Mathematics and Informatics ICTAMI 2003, Alba Iulia

Proceedings of the International Conference on Theory and Applications of Mathematics and Informatics ICTAMI 2003, Alba Iulia Proceedings o the Interntionl Conerence on Theor nd Applictions o Mthemtics nd Inormtics ICTAMI 2003, Al Iuli CARACTERIZATIONS OF TE FUNCTIONS WIT BOUNDED VARIATION Dniel Lesnic Astrct. The present stud

More information

Boolean Algebra. Boolean Algebra

Boolean Algebra. Boolean Algebra Boolen Alger Boolen Alger A Boolen lger is set B of vlues together with: - two inry opertions, commonly denoted y + nd, - unry opertion, usully denoted y ˉ or ~ or, - two elements usully clled zero nd

More information

Handout: Natural deduction for first order logic

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

More information

CS 275 Automata and Formal Language Theory

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

More information

NAME: MR. WAIN FUNCTIONS

NAME: MR. WAIN FUNCTIONS NAME: M. WAIN FUNCTIONS evision o Solving Polnomil Equtions i one term in Emples Solve: 7 7 7 0 0 7 b.9 c 7 7 7 7 ii more thn one term in Method: Get the right hnd side to equl zero = 0 Eliminte ll denomintors

More information

AUTOMATED REASONING. Agostino Dovier. Udine, November Università di Udine CLPLAB

AUTOMATED REASONING. Agostino Dovier. Udine, November Università di Udine CLPLAB AUTOMATED REASONING Agostino Dovier Università di Udine CLPLAB Udine, Novemer 2017 AGOSTINO DOVIER (CLPLAB) AUTOMATED REASONING UDINE, NOVEMBER 2017 1 / 15 Semntics of Logic Progrms AGOSTINO DOVIER (CLPLAB)

More information

Chapter 3 Single Random Variables and Probability Distributions (Part 2)

Chapter 3 Single Random Variables and Probability Distributions (Part 2) Chpter 3 Single Rndom Vriles nd Proilit Distriutions (Prt ) Contents Wht is Rndom Vrile? Proilit Distriution Functions Cumultive Distriution Function Proilit Densit Function Common Rndom Vriles nd their

More information

5 Probability densities

5 Probability densities 5 Probbility densities 5. Continuous rndom vribles 5. The norml distribution 5.3 The norml pproimtion to the binomil distribution 5.5 The uniorm distribution 5. Joint distribution discrete nd continuous

More information

Quotient Rule: am a n = am n (a 0) Negative Exponents: a n = 1 (a 0) an Power Rules: (a m ) n = a m n (ab) m = a m b m

Quotient Rule: am a n = am n (a 0) Negative Exponents: a n = 1 (a 0) an Power Rules: (a m ) n = a m n (ab) m = a m b m Formuls nd Concepts MAT 099: Intermedite Algebr repring for Tests: The formuls nd concepts here m not be inclusive. You should first tke our prctice test with no notes or help to see wht mteril ou re comfortble

More information

Digital Control of Electric Drives

Digital Control of Electric Drives igitl Control o Electric rives Logic Circuits - Comintionl Boolen Alger, escription Form Czech Technicl University in Prgue Fculty o Electricl Engineering Ver.. J. Zdenek Logic Comintionl Circuit Logic

More information

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes

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

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac REVIEW OF ALGEBRA Here we review the bsic rules nd procedures of lgebr tht you need to know in order to be successful in clculus. ARITHMETIC OPERATIONS The rel numbers hve the following properties: b b

More information

AQA Further Pure 2. Hyperbolic Functions. Section 2: The inverse hyperbolic functions

AQA Further Pure 2. Hyperbolic Functions. Section 2: The inverse hyperbolic functions Hperbolic Functions Section : The inverse hperbolic functions Notes nd Emples These notes contin subsections on The inverse hperbolic functions Integrtion using the inverse hperbolic functions Logrithmic

More information

Unit 1 Exponentials and Logarithms

Unit 1 Exponentials and Logarithms HARTFIELD PRECALCULUS UNIT 1 NOTES PAGE 1 Unit 1 Eponentils nd Logrithms (2) Eponentil Functions (3) The number e (4) Logrithms (5) Specil Logrithms (7) Chnge of Bse Formul (8) Logrithmic Functions (10)

More information

MA 131 Lecture Notes Calculus Sections 1.5 and 1.6 (and other material)

MA 131 Lecture Notes Calculus Sections 1.5 and 1.6 (and other material) MA Lecture Notes Clculus Sections.5 nd.6 (nd other teril) Algebr o Functions Su, Dierence, Product, nd Quotient o Functions Let nd g be two unctions with overlpping doins. Then or ll x coon to both doins,

More information

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014

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

approaches as n becomes larger and larger. Since e > 1, the graph of the natural exponential function is as below

approaches as n becomes larger and larger. Since e > 1, the graph of the natural exponential function is as below . Eponentil nd rithmic functions.1 Eponentil Functions A function of the form f() =, > 0, 1 is clled n eponentil function. Its domin is the set of ll rel f ( 1) numbers. For n eponentil function f we hve.

More information

and that at t = 0 the object is at position 5. Find the position of the object at t = 2.

and that at t = 0 the object is at position 5. Find the position of the object at t = 2. 7.2 The Fundmentl Theorem of Clculus 49 re mny, mny problems tht pper much different on the surfce but tht turn out to be the sme s these problems, in the sense tht when we try to pproimte solutions we

More information

Introduction to Group Theory

Introduction to Group Theory Introduction to Group Theory Let G be n rbitrry set of elements, typiclly denoted s, b, c,, tht is, let G = {, b, c, }. A binry opertion in G is rule tht ssocites with ech ordered pir (,b) of elements

More information

Chapter 3. Vector Spaces

Chapter 3. Vector Spaces 3.4 Liner Trnsformtions 1 Chpter 3. Vector Spces 3.4 Liner Trnsformtions Note. We hve lredy studied liner trnsformtions from R n into R m. Now we look t liner trnsformtions from one generl vector spce

More information

Coalgebra, Lecture 15: Equations for Deterministic Automata

Coalgebra, Lecture 15: Equations for Deterministic Automata Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined

More information

THE DISCRIMINANT & ITS APPLICATIONS

THE DISCRIMINANT & ITS APPLICATIONS THE DISCRIMINANT & ITS APPLICATIONS The discriminnt ( Δ ) is the epression tht is locted under the squre root sign in the qudrtic formul i.e. Δ b c. For emple: Given +, Δ () ( )() The discriminnt is used

More information

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers. Mehryar Mohri Courant Institute and Google Research

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers. Mehryar Mohri Courant Institute and Google Research Speech Recognition Lecture 2: Finite Automt nd Finite-Stte Trnsducers Mehryr Mohri Cournt Institute nd Google Reserch mohri@cims.nyu.com Preliminries Finite lphet Σ, empty string. Set of ll strings over

More information

BRIEF NOTES ADDITIONAL MATHEMATICS FORM

BRIEF NOTES ADDITIONAL MATHEMATICS FORM BRIEF NOTES ADDITIONAL MATHEMATICS FORM CHAPTER : FUNCTION. : + is the object, + is the imge : + cn be written s () = +. To ind the imge or mens () = + = Imge or is. Find the object or 8 mens () = 8 wht

More information

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition Dt Strutures, Spring 24 L. Joskowiz Dt Strutures LEURE Humn oing Motivtion Uniquel eipherle oes Prei oes Humn oe onstrution Etensions n pplitions hpter 6.3 pp 385 392 in tetook Motivtion Suppose we wnt

More information

Fact: All polynomial functions are continuous and differentiable everywhere.

Fact: All polynomial functions are continuous and differentiable everywhere. Dierentibility AP Clculus Denis Shublek ilernmth.net Dierentibility t Point Deinition: ( ) is dierentible t point We write: = i nd only i lim eists. '( ) lim = or '( ) lim h = ( ) ( ) h 0 h Emple: The

More information

Time in Seconds Speed in ft/sec (a) Sketch a possible graph for this function.

Time in Seconds Speed in ft/sec (a) Sketch a possible graph for this function. 4. Are under Curve A cr is trveling so tht its speed is never decresing during 1-second intervl. The speed t vrious moments in time is listed in the tle elow. Time in Seconds 3 6 9 1 Speed in t/sec 3 37

More information

Experiments, Outcomes, Events and Random Variables: A Revisit

Experiments, Outcomes, Events and Random Variables: A Revisit Eperiments, Outcomes, Events nd Rndom Vriles: A Revisit Berlin Chen Deprtment o Computer Science & Inormtion Engineering Ntionl Tiwn Norml University Reerence: - D. P. Bertseks, J. N. Tsitsiklis, Introduction

More information

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

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

More information

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers Speech Recognition Lecture 2: Finite Automt nd Finite-Stte Trnsducers Eugene Weinstein Google, NYU Cournt Institute eugenew@cs.nyu.edu Slide Credit: Mehryr Mohri Preliminries Finite lphet, empty string.

More information

Chapter 6 Continuous Random Variables and Distributions

Chapter 6 Continuous Random Variables and Distributions Chpter 6 Continuous Rndom Vriles nd Distriutions Mny economic nd usiness mesures such s sles investment consumption nd cost cn hve the continuous numericl vlues so tht they cn not e represented y discrete

More information

CS 330 Formal Methods and Models

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

1 nonlinear.mcd Find solution root to nonlinear algebraic equation f(x)=0. Instructor: Nam Sun Wang

1 nonlinear.mcd Find solution root to nonlinear algebraic equation f(x)=0. Instructor: Nam Sun Wang nonlinermc Fin solution root to nonliner lgebric eqution ()= Instructor: Nm Sun Wng Bckgroun In science n engineering, we oten encounter lgebric equtions where we wnt to in root(s) tht stisies given eqution

More information

September 13 Homework Solutions

September 13 Homework Solutions College of Engineering nd Computer Science Mechnicl Engineering Deprtment Mechnicl Engineering 5A Seminr in Engineering Anlysis Fll Ticket: 5966 Instructor: Lrry Cretto Septemer Homework Solutions. Are

More information

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

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

More information

Continuous Random Variable X:

Continuous Random Variable X: Continuous Rndom Vrile : The continuous rndom vrile hs its vlues in n intervl, nd it hs proility distriution unction or proility density unction p.d. stisies:, 0 & d Which does men tht the totl re under

More information

Lecture 08: Feb. 08, 2019

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

CS 330 Formal Methods and Models

CS 330 Formal Methods and Models CS 0 Forml Methods nd Models Dn Richrds, George Mson University, Fll 2016 Quiz Solutions Quiz 1, Propositionl Logic Dte: Septemer 8 1. Prove q (q p) p q p () (4pts) with truth tle. p q p q p (q p) p q

More information

Operations with Polynomials

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

ad = cb (1) cf = ed (2) adf = cbf (3) cf b = edb (4)

ad = cb (1) cf = ed (2) adf = cbf (3) cf b = edb (4) 10 Most proofs re left s reding exercises. Definition 10.1. Z = Z {0}. Definition 10.2. Let be the binry reltion defined on Z Z by, b c, d iff d = cb. Theorem 10.3. is n equivlence reltion on Z Z. Proof.

More information

Problem Set 4: Solutions Math 201A: Fall 2016

Problem Set 4: Solutions Math 201A: Fall 2016 Problem Set 4: s Mth 20A: Fll 206 Problem. Let f : X Y be one-to-one, onto mp between metric spces X, Y. () If f is continuous nd X is compct, prove tht f is homeomorphism. Does this result remin true

More information

ENGI 3424 Engineering Mathematics Five Tutorial Examples of Partial Fractions

ENGI 3424 Engineering Mathematics Five Tutorial Examples of Partial Fractions ENGI 44 Engineering Mthemtics Five Tutoril Exmples o Prtil Frctions 1. Express x in prtil rctions: x 4 x 4 x 4 b x x x x Both denomintors re liner non-repeted ctors. The cover-up rule my be used: 4 4 4

More information

Logarithms. Logarithm is another word for an index or power. POWER. 2 is the power to which the base 10 must be raised to give 100.

Logarithms. Logarithm is another word for an index or power. POWER. 2 is the power to which the base 10 must be raised to give 100. Logrithms. Logrithm is nother word for n inde or power. THIS IS A POWER STATEMENT BASE POWER FOR EXAMPLE : We lred know tht; = NUMBER 10² = 100 This is the POWER Sttement OR 2 is the power to which the

More information

Note 16. Stokes theorem Differential Geometry, 2005

Note 16. Stokes theorem Differential Geometry, 2005 Note 16. Stokes theorem ifferentil Geometry, 2005 Stokes theorem is the centrl result in the theory of integrtion on mnifolds. It gives the reltion between exterior differentition (see Note 14) nd integrtion

More information

Boolean Algebra cont. The digital abstraction

Boolean Algebra cont. The digital abstraction Boolen Alger ont The igitl strtion Theorem: Asorption Lw For every pir o elements B. + =. ( + ) = Proo: () Ientity Distriutivity Commuttivity Theorem: For ny B + = Ientity () ulity. Theorem: Assoitive

More information

Counting intersections of spirals on a torus

Counting intersections of spirals on a torus Counting intersections of spirls on torus 1 The problem Consider unit squre with opposite sides identified. For emple, if we leve the centre of the squre trveling long line of slope 2 (s shown in the first

More information

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

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

More information

Dually quasi-de Morgan Stone semi-heyting algebras II. Regularity

Dually quasi-de Morgan Stone semi-heyting algebras II. Regularity Volume 2, Number, July 204, 65-82 ISSN Print: 2345-5853 Online: 2345-586 Dully qusi-de Morgn Stone semi-heyting lgebrs II. Regulrity Hnmntgoud P. Snkppnvr Abstrct. This pper is the second of two prt series.

More information

Algebra Of Matrices & Determinants

Algebra Of Matrices & Determinants lgebr Of Mtrices & Determinnts Importnt erms Definitions & Formule 0 Mtrix - bsic introduction: mtrix hving m rows nd n columns is clled mtrix of order m n (red s m b n mtrix) nd mtrix of order lso in

More information

5.2 Exponent Properties Involving Quotients

5.2 Exponent Properties Involving Quotients 5. Eponent Properties Involving Quotients Lerning Objectives Use the quotient of powers property. Use the power of quotient property. Simplify epressions involving quotient properties of eponents. Use

More information

Matrices and Determinants

Matrices and Determinants Nme Chpter 8 Mtrices nd Determinnts Section 8.1 Mtrices nd Systems of Equtions Objective: In this lesson you lerned how to use mtrices, Gussin elimintion, nd Guss-Jordn elimintion to solve systems of liner

More information

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

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

More information

Optimization Lecture 1 Review of Differential Calculus for Functions of Single Variable.

Optimization Lecture 1 Review of Differential Calculus for Functions of Single Variable. Optimiztion Lecture 1 Review of Differentil Clculus for Functions of Single Vrible http://users.encs.concordi.c/~luisrod, Jnury 14 Outline Optimiztion Problems Rel Numbers nd Rel Vectors Open, Closed nd

More information

( dg. ) 2 dt. + dt. dt j + dh. + dt. r(t) dt. Comparing this equation with the one listed above for the length of see that

( dg. ) 2 dt. + dt. dt j + dh. + dt. r(t) dt. Comparing this equation with the one listed above for the length of see that Arc Length of Curves in Three Dimensionl Spce If the vector function r(t) f(t) i + g(t) j + h(t) k trces out the curve C s t vries, we cn mesure distnces long C using formul nerly identicl to one tht we

More information

[Lakshmi, 5(2): February, 2016] ISSN: (I2OR), Publication Impact Factor: 3.785

[Lakshmi, 5(2): February, 2016] ISSN: (I2OR), Publication Impact Factor: 3.785 [Lkshmi, 5): Februry, 0] ISSN: 77-955 IOR), Publiction Imct Fctor: 785 IJESRT INTERNTIONL JOURNL OF ENGINEERING SCIENCES & RESERCH TECHNOLOGY SUB -TRIDENT FORM THROUGH FUZZY SUB -TRINGULR FORM Prveen Prksh,

More information

Reasoning with Bayesian Networks

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

More information

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

Chapter 1 VECTOR ALGEBRA

Chapter 1 VECTOR ALGEBRA Chpter 1 VECTOR LGEBR INTRODUCTION: Electromgnetics (EM) m be regrded s the stud of the interctions between electric chrges t rest nd in motion. Electromgnetics is brnch of phsics or electricl engineering

More information

Part I: Basic Concepts of Thermodynamics

Part I: Basic Concepts of Thermodynamics Prt I: Bsic Concepts o Thermodynmics Lecture 4: Kinetic Theory o Gses Kinetic Theory or rel gses 4-1 Kinetic Theory or rel gses Recll tht or rel gses: (i The volume occupied by the molecules under ordinry

More information

I. Theory of Automata II. Theory of Formal Languages III. Theory of Turing Machines

I. Theory of Automata II. Theory of Formal Languages III. Theory of Turing Machines CI 3104 /Winter 2011: Introduction to Forml Lnguges Chpter 16: Non-Context-Free Lnguges Chpter 16: Non-Context-Free Lnguges I. Theory of utomt II. Theory of Forml Lnguges III. Theory of Turing Mchines

More information

The Regulated and Riemann Integrals

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

More information

Looking for All Palindromes in a String

Looking for All Palindromes in a String Looking or All Plindromes in String Shih Jng Pn nd R C T Lee Deprtment o Computer Science nd Inormtion Engineering, Ntionl Chi-Nn University, Puli, Nntou Hsien,, Tiwn, ROC sjpn@lgdoccsiencnuedutw, rctlee@ncnuedutw

More information

Math 426: Probability Final Exam Practice

Math 426: Probability Final Exam Practice Mth 46: Probbility Finl Exm Prctice. Computtionl problems 4. Let T k (n) denote the number of prtitions of the set {,..., n} into k nonempty subsets, where k n. Argue tht T k (n) kt k (n ) + T k (n ) by

More information

along the vector 5 a) Find the plane s coordinate after 1 hour. b) Find the plane s coordinate after 2 hours. c) Find the plane s coordinate

along the vector 5 a) Find the plane s coordinate after 1 hour. b) Find the plane s coordinate after 2 hours. c) Find the plane s coordinate L8 VECTOR EQUATIONS OF LINES HL Mth - Sntowski Vector eqution of line 1 A plne strts journey t the point (4,1) moves ech hour long the vector. ) Find the plne s coordinte fter 1 hour. b) Find the plne

More information

ES.182A Topic 32 Notes Jeremy Orloff

ES.182A Topic 32 Notes Jeremy Orloff ES.8A Topic 3 Notes Jerem Orloff 3 Polr coordintes nd double integrls 3. Polr Coordintes (, ) = (r cos(θ), r sin(θ)) r θ Stndrd,, r, θ tringle Polr coordintes re just stndrd trigonometric reltions. In

More information

Consequently, the temperature must be the same at each point in the cross section at x. Let:

Consequently, the temperature must be the same at each point in the cross section at x. Let: HW 2 Comments: L1-3. Derive the het eqution for n inhomogeneous rod where the therml coefficients used in the derivtion of the het eqution for homogeneous rod now become functions of position x in the

More information

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

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

More information

Lecture 3 ( ) (translated and slightly adapted from lecture notes by Martin Klazar)

Lecture 3 ( ) (translated and slightly adapted from lecture notes by Martin Klazar) Lecture 3 (5.3.2018) (trnslted nd slightly dpted from lecture notes by Mrtin Klzr) Riemnn integrl Now we define precisely the concept of the re, in prticulr, the re of figure U(, b, f) under the grph of

More information

Chapter 2. Vectors. 2.1 Vectors Scalars and Vectors

Chapter 2. Vectors. 2.1 Vectors Scalars and Vectors Chpter 2 Vectors 2.1 Vectors 2.1.1 Sclrs nd Vectors A vector is quntity hving both mgnitude nd direction. Emples of vector quntities re velocity, force nd position. One cn represent vector in n-dimensionl

More information

RELATIONAL MODEL.

RELATIONAL MODEL. RELATIONAL MODEL Structure of Reltionl Dtbses Reltionl Algebr Tuple Reltionl Clculus Domin Reltionl Clculus Extended Reltionl-Algebr- Opertions Modifiction of the Dtbse Views EXAMPLE OF A RELATION BASIC

More information

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton 25. Finite Automt AUTOMATA AND LANGUAGES A system of computtion tht only hs finite numer of possile sttes cn e modeled using finite utomton A finite utomton is often illustrted s stte digrm d d d. d q

More information

ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-2700: Digital Logic Design Fall Notes - Unit 1

ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-2700: Digital Logic Design Fall Notes - Unit 1 INTRODUTION TO LOGI IRUITS Notes - Unit 1 OOLEN LGER This is the oundtion or designing nd nlyzing digitl systems. It dels with the cse where vriles ssume only one o two vlues: TRUE (usully represented

More information

Summary Information and Formulae MTH109 College Algebra

Summary Information and Formulae MTH109 College Algebra Generl Formuls Summry Informtion nd Formule MTH109 College Algebr Temperture: F = 9 5 C + 32 nd C = 5 ( 9 F 32 ) F = degrees Fhrenheit C = degrees Celsius Simple Interest: I = Pr t I = Interest erned (chrged)

More information

CS 330 Formal Methods and Models Dana Richards, George Mason University, Spring 2016 Quiz Solutions

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

Quadrature Rules for Evaluation of Hyper Singular Integrals

Quadrature Rules for Evaluation of Hyper Singular Integrals Applied Mthemticl Sciences, Vol., 01, no. 117, 539-55 HIKARI Ltd, www.m-hikri.com http://d.doi.org/10.19/ms.01.75 Qudrture Rules or Evlution o Hyper Singulr Integrls Prsnt Kumr Mohnty Deprtment o Mthemtics

More information

On Odd and Even Cycles in Normal Logic Programs

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

More information

Section 14.3 Arc Length and Curvature

Section 14.3 Arc Length and Curvature Section 4.3 Arc Length nd Curvture Clculus on Curves in Spce In this section, we ly the foundtions for describing the movement of n object in spce.. Vector Function Bsics In Clc, formul for rc length in

More information

Convert the NFA into DFA

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

More information

CHAPTER 1 Regular Languages. Contents

CHAPTER 1 Regular Languages. Contents Finite Automt (FA or DFA) CHAPTE 1 egulr Lnguges Contents definitions, exmples, designing, regulr opertions Non-deterministic Finite Automt (NFA) definitions, euivlence of NFAs nd DFAs, closure under regulr

More information

Scanner. Specifying patterns. Specifying patterns. Operations on languages. A scanner must recognize the units of syntax Some parts are easy:

Scanner. Specifying patterns. Specifying patterns. Operations on languages. A scanner must recognize the units of syntax Some parts are easy: Scnner Specifying ptterns source code tokens scnner prser IR A scnner must recognize the units of syntx Some prts re esy: errors mps chrcters into tokens the sic unit of syntx x = x + y; ecomes

More information

The Hadamard s Inequality for s-convex Function

The Hadamard s Inequality for s-convex Function Int. Journl o Mth. Anlysis, Vol., 008, no. 3, 639-646 The Hdmrd s Inequlity or s-conve Function M. Alomri nd M. Drus School o Mthemticl Sciences Fculty o Science nd Technology Universiti Kebngsn Mlysi

More information

CS 275 Automata and Formal Language Theory

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

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying Vitli covers 1 Definition. A Vitli cover of set E R is set V of closed intervls with positive length so tht, for every δ > 0 nd every x E, there is some I V with λ(i ) < δ nd x I. 2 Lemm (Vitli covering)

More information

CS12N: The Coming Revolution in Computer Architecture Laboratory 2 Preparation

CS12N: The Coming Revolution in Computer Architecture Laboratory 2 Preparation CS2N: The Coming Revolution in Computer Architecture Lortory 2 Preprtion Ojectives:. Understnd the principle of sttic CMOS gte circuits 2. Build simple logic gtes from MOS trnsistors 3. Evlute these gtes

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

Sections 1.3, 7.1, and 9.2: Properties of Exponents and Radical Notation

Sections 1.3, 7.1, and 9.2: Properties of Exponents and Radical Notation Sections., 7., nd 9.: Properties of Eponents nd Rdicl Nottion Let p nd q be rtionl numbers. For ll rel numbers nd b for which the epressions re rel numbers, the following properties hold. i = + p q p q

More information

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

Revision Sheet. (a) Give a regular expression for each of the following languages: Theoreticl Computer Science (Bridging Course) Dr. G. D. Tipldi F. Bonirdi Winter Semester 2014/2015 Revision Sheet University of Freiurg Deprtment of Computer Science Question 1 (Finite Automt, 8 + 6 points)

More information

Math 360: A primitive integral and elementary functions

Math 360: A primitive integral and elementary functions Mth 360: A primitive integrl nd elementry functions D. DeTurck University of Pennsylvni October 16, 2017 D. DeTurck Mth 360 001 2017C: Integrl/functions 1 / 32 Setup for the integrl prtitions Definition:

More information

Minimal DFA. minimal DFA for L starting from any other

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

1.4 Nonregular Languages

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

More information

Nenofex: Expanding NNF for QBF Solving

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

More information

Control with binary code. William Sandqvist

Control with binary code. William Sandqvist Control with binry code Dec Bin He Oct 218 10 11011010 2 DA 16 332 8 E 1.1c Deciml to Binäry binry weights: 1024 512 256 128 64 32 16 8 4 2 1 71 10? 2 E 1.1c Deciml to Binäry binry weights: 1024 512 256

More information

Semantics 1. Gerhard Jäger. May 15, (May 15, 2012) Semantics 1 Gerhard Jäger 1 / 19

Semantics 1. Gerhard Jäger. May 15, (May 15, 2012) Semantics 1 Gerhard Jäger 1 / 19 emntics 1 My 15, 2012 Gerhrd Jäger (My 15, 2012) emntics 1 Gerhrd Jäger 1 / 19 eterminiers Mening of determiner is 3-plce reltion between sitution, two reltions between situtions nd individuls, i.e., the

More information

Name of the Student:

Name of the Student: SUBJECT NAME : Discrete Mthemtics SUBJECT CODE : MA 2265 MATERIAL NAME : Formul Mteril MATERIAL CODE : JM08ADM009 Nme of the Student: Brnch: Unit I (Logic nd Proofs) 1) Truth Tble: Conjunction Disjunction

More information