# Predicate Logic. For example, consider the following argument:

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Predicate Logic The analysis of compound statements covers key aspects of human reasoning but does not capture many important, and common, instances of reasoning that are also logically valid. For example, consider the following argument: All men are mortal. Socrates is a man.... Socrates is mortal. This argument is intuitively correct, but its validity can not be captured by propositional methods. We will next consider a formal system, called predicate logic, that allows for an analysis of predicates and quantified statements (such as the first hypothesis above).

2 Predicate Logic: Syntax The syntax of predicate logic is specified by the following rules: formula ::= predsymbol predsymbol ( termlist ) ( formula ) ( formula formula ) ( declaration, formula ) ( declaration, formula ) declaration ::= variable domain term ::= variable constant termlist ::= term term, termlist predsymbol ::= P Q R... constant ::= a b c... variable ::= x y z... domain ::= D E...

3 Notation The symbols and are called quantifiers. We adopt various conventions so as to simplify expressions and increase readability: We delete unnecessary parentheses. We do not always stick to strict prefix format, but also use infix or other notation. We use special symbols to denote constants, predicate symbols, or domains, depending on the context. We also employ function symbols in the construction of terms. We use connectives other than and. For example, in the formula x Z, y Z, [x < 0 0 < y x y < 0] the letter Z refers to the integers, the symbol denotes multiplication, and < denotes the less-than relation. (The formula expresses that the product of a negative and a positive integer is negative.)

4 Domains Domains are non-empty sets and may be finite or infinite. Typical domains include sets of numbers, sets of strings, sets of lists, etc. The letters N, Z, Q and R denote, respectively, the set of natural numbers, the set of integers, the set of rational numbers, and the set of real numbers. In order to evaluate a predicate logic formula one has to specify which domains are intended for the different variables and indicate the meaning of constants and predicate symbols. A formula may contain both quantified variables and non-quantified variables. For example, in y Z, y < x the variable y is (existentially) quantified, but x is not quantified. A formula that contains only quantified variables is called a sentence. It represents a statement (that may be true or false). For example, x Z, y Z, y < x is a sentence, but the subformula y Z, y < x is not. The above definition of the syntax of predicate logic formulas given does not ensure that expressions are correctly typed. For instance, if P rime(x) denotes that x is a prime number, then the expression P rime(socartes) would not make sense.

5 All men are mortal. Examples x D, [Man(x) Mortal(x)] where D denotes the domain of all human beings. Some students register for CSE 215. x D, [Student(x) Register(x, cse215)] Students who do not satisfy the prerequisites may not register for CSE 215. x D, [Student(x) P rereqs(x, cse215) Register(x, cse215)] Everyone student has an advisor. x D, [Student(x) y D, Advisor(y, x) Only dogs bark. Rephrase: It barks only if it is a dog. Or equivalently: If it barks, then it is a dog. x A, [Barks(x) Dog(x)] where A is the set of all animals.

6 Substitution Substitution of values for variables is a key operation in predicate logic. It is one way of turning a predicate into a statement. (The other is quantification.) For example, if we substitute the integer 1 for the variable x in the formula x < x 2 we obtain 1 < 1 2, which expresses a false statement. But if we substitute the integer 2 for x we obtain a true statement, 2 < 2 2. A common notation used for substitutions is to denote by α[x/a] the result of (simultaneously) replacing all (non-quantified) occurrences of x in α by a. For example, if α is the formula y Z, y < x and a is the constant 1, then α[x/a] = y, y < 1.

7 The Truth Set of a Predicate If α(x) is a predicate with variable x, we define its truth set (with respect to a domain D) as the collection of all values a D for which α(a) is true. The set-theoretic expression for this truth set is: {a D : α(a)}. For example, if α is the formula 0 < x and D is the set of all integers, then the corresponding truth set is the set of all positive integers. If α is the formula y Z, 2 y = x and D is the set of all integers, then the corresponding truth set is the set of all even integers.

8 Evaluation of Formulas The definition of truth sets refers to the evaluation of formulas, or truth values. The truth values of predicate logic formulas, on the other hand, can be defined via truth sets. Specifically, a universally quantified formula x D, α(x) is said to evaluate to true if the truth set of α(x) is identical to the given domain D (i.e., all instances of α are true). An existentially quantified formula x D, α(x) is said to evaluate to true if the truth set of α(x) is nonempty (i.e., some instance of α is true). There appears to be a circularity in these definitions, but one can formally define truth sets and truth values by mutual recursion on the structure (or size) of formulas.

9 Models and Countermodels Most sentences are true for some domains but false for others. For example, take the sentence x D, y D, y < x, where < denotes the less-than relation. This sentence is true for the domain of all integers (negative and nonnegative), but false for the domain of nonnegative integers only. By a model of a sentence α we mean a domain, with a corresponding interpretation of the predicate symbols, for which α is true. A countermodel is a domain for which α is false.

10 Satisfiability and Validity A sentence is said to be satisfiable if it has a model; and unsatisfiable, otherwise. In other words, a sentence is unsatisfiable if every domain is a countermodel. Sentences that are true in all domains are called valid. Here are a few examples of valid sentences: x D, [P (x) P (x)] [ x D, P (x)] [ x D, P (x]) x D, (P (x) Q(x)) ( x D, P (x)) ( x D, Q(x))

11 Equivalence Two sentences α and β are said to be equivalent, written α β, if, and only if, they have the same models. Here is a list of well-known predicate logic equivalences, where α and β denote formulas with a non-quantified variable x. For example, α could be the formula P (x) Q(x). 1. (a) [ x D, α] x D, α (b) [ x D, α] x D, α (c) x D, (α β) [ x D, α] [ x D, β] (d) x D, (α β) [ x D, α] [ x D, β] (e) x D, (α β) [ x D, α] [ x D, β] 2. (a) [ x D, y D, α] [ y D, x D, α] (b) [ x D, y D, α] [ y D, x D, α] However, note that and x D, (α β) [ x D, α] [ x D, β] x D, (α β) [ x D, α] [ x D, β].

12 Valid Arguments There are various logically correct arguments involving quantified statements. These can be expressed by inference rules, one example of which is the following. Universal Instantiation: x D, α(x) α(a) where a is a constant that denotes an element of D. For example, the statement that all men are mortal, can be represented by the sentence x D, [Man(x) Mortal(x)]. We may use universal instantiation to infer M an(socrates) M ortal(socrates). If we also know M an(socrates) we may then apply Modus Ponens to infer M ortal(socrates).

13 Variable Declarations A declaration of a variable, x D, may be viewed as a predicate. For instance, 2 Z denotes a true statement, whereas Z is false. 1 2 The definitions of the syntax and the semantics of predicate logic can be considerably simplified if one encodes variable declarations by predicates. In this simplified formalism we have quantified formulas x, α and x, α and variables are assumed to range over a given universal domain (or universe) U. The expression x D, α is considered to be an abbreviation of and an abbreviation of x, [x D α] x D, α x, [x D α]. The predicate x D effectively restricts the range of the variable x to a subdomain D of U. The encoding requires a conditional in the case of universal quantification and a conjunction in the case of existential quantification.

14 Dracula Let us conclude the discussion of the logic of quantified statements by an example. Consider the following argument with two hypotheses: Everyone is afraid of Dracula. Dracula is afraid only of me.... I am Dracula. Is this argument logically correct?

### Predicate Logic. Example: All men are mortal. Socrates is a man. Socrates is mortal.

Predicate Logic Example: All men are mortal. Socrates is a man. Socrates is mortal. Note: We need logic laws that work for statements involving quantities like some and all. In English, the predicate is

### Predicate Calculus. There are certain arguments that seem to be perfectly logical, yet they cannot be expressed by using propositional calculus.

Predicate Calculus (Alternative names: predicate logic, first order logic, elementary logic, restricted predicate calculus, restricted functional calculus, relational calculus, theory of quantification,

### First Order Predicate Logic. Lecture 4

First Order Predicate Logic Lecture 4 First Order Predicate Logic Limitation of Propositional Logic The facts: peter is a man, paul is a man, john is a man can be symbolized by P, Q and R respectively

### Predicate Logic. M.A.Galán, TDBA64, VT-03

Predicate Logic 1 Introduction There are certain arguments that seem to be perfectly logical, yet they cannot be specified by using propositional logic. All cats have tails. Tom is a cat. From these two

### Discrete Mathematics, Chapter : Predicate Logic

Discrete Mathematics, Chapter 1.4-1.5: Predicate Logic Richard Mayr University of Edinburgh, UK Richard Mayr (University of Edinburgh, UK) Discrete Mathematics. Chapter 1.4-1.5 1 / 23 Outline 1 Predicates

### Chapter 1, Part II: Predicate Logic. With Question/Answer Animations

Chapter 1, Part II: Predicate Logic With Question/Answer Animations Summary Predicate Logic (First-Order Logic (FOL) The Language of Quantifiers Logical Equivalences Nested Quantifiers Translation from

### CS 2336 Discrete Mathematics

CS 2336 Discrete Mathematics Lecture 2 Logic: Predicate Calculus 1 Outline Predicates Quantifiers Binding Applications Logical Equivalences 2 Predicates In mathematics arguments, we will often see sentences

### Chapter I Logic and Proofs

MATH 1130 1 Discrete Structures Chapter I Logic and Proofs Propositions A proposition is a statement that is either true (T) or false (F), but or both. s Propositions: 1. I am a man.. I am taller than

### Review Name Rule of Inference

CS311H: Discrete Mathematics Review Name Rule of Inference Modus ponens φ 2 φ 2 Modus tollens φ 2 φ 2 Inference Rules for Quantifiers Işıl Dillig Hypothetical syllogism Or introduction Or elimination And

### Predicate Logic Review

Predicate Logic Review UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane 1 Grammar A term is an individual constant or a variable. An individual constant is a lowercase letter from the beginning

### The Foundations: Logic and Proofs. Chapter 1, Part III: Proofs

The Foundations: Logic and Proofs Chapter 1, Part III: Proofs Rules of Inference Section 1.6 Section Summary Valid Arguments Inference Rules for Propositional Logic Using Rules of Inference to Build Arguments

### 2. The Language of First-order Logic

2. The Language of First-order Logic KR & R Brachman & Levesque 2005 17 Declarative language Before building system before there can be learning, reasoning, planning, explanation... need to be able to

### DISCRETE MATH: LECTURE 4

DISCRETE MATH: LECTURE 4 DR. DANIEL FREEMAN 1. Chapter 3.1 Predicates and Quantified Statements I A predicate is a sentence that contains a finite number of variables and becomes a statement when specific

### Section 7.1 First-Order Predicate Calculus predicate Existential Quantifier Universal Quantifier.

Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially or universally. A predicate describes a

### LECTURE 10: FIRST-ORDER LOGIC. Software Engineering Mike Wooldridge

LECTURE 10: FIRST-ORDER LOGIC Mike Wooldridge 1 Why not Propositional Logic? Consider the following statements: all monitors are ready; X12 is a monitor. We saw in an earlier lecture that these statements

### Math 55: Discrete Mathematics

Math 55: Discrete Mathematics UC Berkeley, Fall 2011 Homework # 1, due Wedneday, January 25 1.1.10 Let p and q be the propositions The election is decided and The votes have been counted, respectively.

### 3. Mathematical Induction

3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)

### Chapter 1, Part II: Predicate Logic. With Question/Answer Animations

Chapter 1, Part II: Predicate Logic With Question/Answer Animations Summary Predicate Logic (First Order Logic (FOL), Predicate Calculus (not covered)) The Language of Quantifiers Logical Equivalences

### What is logic? Propositional Logic. Negation. Propositions. This is a contentious question! We will play it safe, and stick to:

Propositional Logic This lecture marks the start of a new section of the course. In the last few lectures, we have had to reason formally about concepts. This lecture introduces the mathematical language

### CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

CHAPTER 3 Methods of Proofs 1. Logical Arguments and Formal Proofs 1.1. Basic Terminology. An axiom is a statement that is given to be true. A rule of inference is a logical rule that is used to deduce

### 1 Proposition, Logical connectives and compound statements

Discrete Mathematics: Lecture 4 Introduction to Logic Instructor: Arijit Bishnu Date: July 27, 2009 1 Proposition, Logical connectives and compound statements Logic is the discipline that deals with the

### MATH 55: HOMEWORK #2 SOLUTIONS

MATH 55: HOMEWORK # SOLUTIONS ERIC PETERSON * 1. SECTION 1.5: NESTED QUANTIFIERS 1.1. Problem 1.5.8. Determine the truth value of each of these statements if the domain of each variable consists of all

### Handout #1: Mathematical Reasoning

Math 101 Rumbos Spring 2010 1 Handout #1: Mathematical Reasoning 1 Propositional Logic A proposition is a mathematical statement that it is either true or false; that is, a statement whose certainty or

### Likewise, we have contradictions: formulas that can only be false, e.g. (p p).

CHAPTER 4. STATEMENT LOGIC 59 The rightmost column of this truth table contains instances of T and instances of F. Notice that there are no degrees of contingency. If both values are possible, the formula

### PREDICATE LOGIC. 1 Basic Concepts. Jorma K. Mattila LUT, Department of Mathematics and Physics

PREDICATE LOGIC Jorma K. Mattila LUT, Department of Mathematics and Physics 1 Basic Concepts In predicate logic the formalism of propositional logic is extended and is made it more finely build than propositional

### Introduction to Predicate Calculus

Introduction to Predicate Calculus 1 Motivation Last time, we discuss the need for a representation language that was declarative, expressively adequate, unambiguous, context-independent, and compositional.

### How does x differ in what it represents in the following statements? x is real. x represents no values

Section. redicate Logic Discussion: In Maths we use variables usuall ranging over numbers in various was. How does differ in what it represents in the following statements? is real. = 0 represents one

### Section 1. Statements and Truth Tables. Definition 1.1: A mathematical statement is a declarative sentence that is true or false, but not both.

M3210 Supplemental Notes: Basic Logic Concepts In this course we will examine statements about mathematical concepts and relationships between these concepts (definitions, theorems). We will also consider

### Inference Rules and Proof Methods

Inference Rules and Proof Methods Winter 2010 Introduction Rules of Inference and Formal Proofs Proofs in mathematics are valid arguments that establish the truth of mathematical statements. An argument

### 31 is a prime number is a mathematical statement (which happens to be true).

Chapter 1 Mathematical Logic In its most basic form, Mathematics is the practice of assigning truth to welldefined statements. In this course, we will develop the skills to use known true statements to

### 1.4 Predicates and Quantifiers

Can we express the following statement in propositional logic? Every computer has a CPU No 1 Can we express the following statement in propositional logic? No Every computer has a CPU Let's see the new

### Predicate Logic. Lucia Moura. Winter Predicates and Quantifiers Nested Quantifiers Using Predicate Calculus

Predicate Logic Winter 2010 Predicates A Predicate is a declarative sentence whose true/false value depends on one or more variables. The statement x is greater than 3 has two parts: the subject: x is

### 1.4/1.5 Predicates and Quantifiers

1.4/1.5 Predicates and Quantifiers Can we express the following statement in propositional logic? Every computer has a CPU No Outline: Predicates Quantifiers Domain of Predicate Translation: Natural Languauge

### A Beginner s Guide to Modern Set Theory

A Beginner s Guide to Modern Set Theory Martin Dowd Product of Hyperon Software PO Box 4161 Costa Mesa, CA 92628 www.hyperonsoft.com Copyright c 2010 by Martin Dowd 1. Introduction..... 1 2. Formal logic......

### CS 441 Discrete Mathematics for CS Lecture 5. Predicate logic. CS 441 Discrete mathematics for CS. Negation of quantifiers

CS 441 Discrete Mathematics for CS Lecture 5 Predicate logic Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Negation of quantifiers English statement: Nothing is perfect. Translation: x Perfect(x)

### n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional)

Discrete Math Review Discrete Math Review (Rosen, Chapter 1.1 1.6) TOPICS Propositional Logic Logical Operators Truth Tables Implication Logical Equivalence Inference Rules What you should know about propositional

### LOGICAL INFERENCE & PROOFs. Debdeep Mukhopadhyay Dept of CSE, IIT Madras

LOGICAL INFERENCE & PROOFs Debdeep Mukhopadhyay Dept of CSE, IIT Madras Defn A theorem is a mathematical assertion which can be shown to be true. A proof is an argument which establishes the truth of a

### DISCRETE MATHEMATICS W W L CHEN

DISCRETE MATHEMATICS W W L CHEN c W W L Chen, 1982, 2008. This chapter originates from material used by the author at Imperial College, University of London, between 1981 and 1990. It is available free

### Satisfiability Checking

Satisfiability Checking First-Order Logic Prof. Dr. Erika Ábrahám RWTH Aachen University Informatik 2 LuFG Theory of Hybrid Systems WS 14/15 Satisfiability Checking Prof. Dr. Erika Ábrahám (RWTH Aachen

### Logic in general. Inference rules and theorem proving

Logical Agents Knowledge-based agents Logic in general Propositional logic Inference rules and theorem proving First order logic Knowledge-based agents Inference engine Knowledge base Domain-independent

### Logic will get you from A to B. Imagination will take you everywhere.

Chapter 3 Predicate Logic Logic will get you from A to B. Imagination will take you everywhere. A. Einstein In the previous chapter, we studied propositional logic. This chapter is dedicated to another

### 3. Predicates and Quantifiers

3. PREDICATES AND QUANTIFIERS 45 3. Predicates and Quantifiers 3.1. Predicates and Quantifiers. Definition 3.1.1. A predicate or propositional function is a description of the property (or properties)

### Math 3000 Section 003 Intro to Abstract Math Homework 2

Math 3000 Section 003 Intro to Abstract Math Homework 2 Department of Mathematical and Statistical Sciences University of Colorado Denver, Spring 2012 Solutions (February 13, 2012) Please note that these

### Example. Statements in Predicate Logic. Predicate Logic. Predicate Logic. (Rosen, Chapter ) P(x,y) TOPICS. Predicate Logic

Predicate Logic Predicate Logic (Rosen, Chapter 1.4-1.6) TOPICS Predicate Logic Quantifiers Logical Equivalence Predicate Proofs n Some statements cannot be expressed in propositional logic, such as: n

### Problems on Discrete Mathematics 1

Problems on Discrete Mathematics 1 Chung-Chih Li Kishan Mehrotra 3 L A TEX at July 18, 007 1 No part of this book can be reproduced without permission from the authors Illinois State University, Normal,

### 4. FIRST-ORDER LOGIC

4. FIRST-ORDER LOGIC Contents 4.1: Splitting the atom: names, predicates and relations 4.2: Structures 4.3: Quantification:, 4.4: Syntax 4.5: Semantics 4.6: De Morgan s laws for and 4.7: Truth trees for

### The Syntax of Predicate Logic

The Syntax of Predicate Logic LX 502 Semantics I October 11, 2008 1. Below the Sentence-Level In Propositional Logic, atomic propositions correspond to simple sentences in the object language. Since atomic

### The Predicate Calculus in AI

Last time, we: The Predicate Calculus in AI Motivated the use of Logic as a representational language for AI (Can derive new facts syntactically - simply by pushing symbols around) Described propositional

### Problems on Discrete Mathematics 1

Problems on Discrete Mathematics 1 Chung-Chih Li 2 Kishan Mehrotra 3 Syracuse University, New York L A TEX at January 11, 2007 (Part I) 1 No part of this book can be reproduced without permission from

### Propositional Logic. A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not both.

irst Order Logic Propositional Logic A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not both. Are the following sentences propositions? oronto

### Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.

Elementary Number Theory and Methods of Proof CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.edu/~cse215 1 Number theory Properties: 2 Properties of integers (whole

### 1.2 The predicate Calculus

1.2 The predicate Calculus In propositional calculus, each atomic symbol (P, 0, etc.) denotes a proposition of some complexity. There is no way to access the components of an individual assertion. Predicate

### SJÄLVSTÄNDIGA ARBETEN I MATEMATIK

SJÄLVSTÄNDIGA ARBETEN I MATEMATIK MATEMATISKA INSTITUTIONEN, STOCKHOLMS UNIVERSITET Automated Theorem Proving av Tom Everitt 2010 - No 8 MATEMATISKA INSTITUTIONEN, STOCKHOLMS UNIVERSITET, 106 91 STOCKHOLM

### CS532, Winter 2010 Lecture Notes: First-Order Logic: Syntax and Semantics

CS532, Winter 2010 Lecture Notes: First-Order Logic: Syntax and Semantics Dr Alan Fern, afern@csorstedu January 8, 2010 1 Limits of Propositional Logic Propositional logic assumes that the world or system

### Artificial Intelligence. 5. First-Order Logic

Artificial Intelligence Artificial Intelligence 5. First-Order Logic Lars Schmidt-Thieme Information Systems and Machine Learning Lab (ISMLL) Institute of Economics and Information Systems & Institute

### Introduction to Predicate Logic. Torben Braüner Roskilde University

Introduction to Predicate Logic Torben Braüner Roskilde University 1 Plan Symbolization of sentences Syntax Semantics 2 Propositional logic The sentence is the smallest syntactic unit Predicate logic Sentences

### Predicate Logic. PHI 201 Introductory Logic Spring 2011

Predicate Logic PHI 201 Introductory Logic Spring 2011 This is a summary of definitions in Predicate Logic from the text The Logic Book by Bergmann et al. 1 The Language PLE Vocabulary The vocabulary of

### Midterm Examination 1 with Solutions - Math 574, Frank Thorne Thursday, February 9, 2012

Midterm Examination 1 with Solutions - Math 574, Frank Thorne (thorne@math.sc.edu) Thursday, February 9, 2012 1. (3 points each) For each sentence below, say whether it is logically equivalent to the sentence

### Predicates and Quantifiers. Niloufar Shafiei

Predicates and Quantifiers Niloufar Shafiei Review Proposition: 1. It is a sentence that declares a fact. 2. It is either true or false, but not both. Examples: 2 + 1 = 3. True Proposition Toronto is the

### Higher-Order Logic. Specification and Verification with Higher-Order Logic

Higher-Order Logic Specification and Verification with Higher-Order Logic Arnd Poetzsch-Heffter Software Technology Group Fachbereich Informatik Technische Universität Kaiserslautern Sommersemester 2010

### (LMCS, p. 317) V.1. First Order Logic. This is the most powerful, most expressive logic that we will examine.

(LMCS, p. 317) V.1 First Order Logic This is the most powerful, most expressive logic that we will examine. Our version of first-order logic will use the following symbols: variables connectives (,,,,

### 4 Domain Relational Calculus

4 Domain Relational Calculus We now present two relational calculi that we will compare to RA. First, what is the difference between an algebra and a calculus? The usual story is that the algebra RA is

### CS 441 Discrete Mathematics for CS Lecture 4. Predicate logic. CS 441 Discrete mathematics for CS. Announcements

CS 441 Discrete Mathematics for CS Lecture 4 Predicate logic Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Announcements Homework assignment 1 due today Homework assignment 2: posted on the course

### Foundations of Computing Discrete Mathematics Solutions to exercises for week 2

Foundations of Computing Discrete Mathematics Solutions to exercises for week 2 Agata Murawska (agmu@itu.dk) September 16, 2013 Note. The solutions presented here are usually one of many possiblities.

### CHAPTER 7 GENERAL PROOF SYSTEMS

CHAPTER 7 GENERAL PROOF SYSTEMS 1 Introduction Proof systems are built to prove statements. They can be thought as an inference machine with special statements, called provable statements, or sometimes

### 2. Methods of Proof Types of Proofs. Suppose we wish to prove an implication p q. Here are some strategies we have available to try.

2. METHODS OF PROOF 69 2. Methods of Proof 2.1. Types of Proofs. Suppose we wish to prove an implication p q. Here are some strategies we have available to try. Trivial Proof: If we know q is true then

### Lecture 8: Resolution theorem-proving

Comp24412 Symbolic AI Lecture 8: Resolution theorem-proving Ian Pratt-Hartmann Room KB2.38: email: ipratt@cs.man.ac.uk 2014 15 In the previous Lecture, we met SATCHMO, a first-order theorem-prover implemented

### Predicate logic Proofs Artificial intelligence. Predicate logic. SET07106 Mathematics for Software Engineering

Predicate logic SET07106 Mathematics for Software Engineering School of Computing Edinburgh Napier University Module Leader: Uta Priss 2010 Copyright Edinburgh Napier University Predicate logic Slide 1/24

Section 5.1 Climbing an Infinite Ladder Suppose we have an infinite ladder and the following capabilities: 1. We can reach the first rung of the ladder. 2. If we can reach a particular rung of the ladder,

### CS 441 Discrete Mathematics for CS Lecture 2. Propositional logic. CS 441 Discrete mathematics for CS. Course administration

CS 441 Discrete Mathematics for CS Lecture 2 Propositional logic Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Course administration Homework 1 First homework assignment is out today will be posted

### Encoding Mathematics in First-Order Logic

Applied Logic Lecture 19 CS 486 Spring 2005 Thursday, April 14, 2005 Encoding Mathematics in First-Order Logic Over the past few lectures, we have seen the syntax and the semantics of first-order logic,

### CSE 191, Class Note 01 Propositional Logic Computer Sci & Eng Dept SUNY Buffalo

Propositional Logic CSE 191, Class Note 01 Propositional Logic Computer Sci & Eng Dept SUNY Buffalo c Xin He (University at Buffalo) CSE 191 Discrete Structures 1 / 37 Discrete Mathematics What is Discrete

### Logic and Proofs. Chapter 1

Section 1.0 1.0.1 Chapter 1 Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers 1.5 Rules of Inference 1.6 Introduction to Proofs

### One More Decidable Class of Finitely Ground Programs

One More Decidable Class of Finitely Ground Programs Yuliya Lierler and Vladimir Lifschitz Department of Computer Sciences, University of Texas at Austin {yuliya,vl}@cs.utexas.edu Abstract. When a logic

### Mathematical Induction. Lecture 10-11

Mathematical Induction Lecture 10-11 Menu Mathematical Induction Strong Induction Recursive Definitions Structural Induction Climbing an Infinite Ladder Suppose we have an infinite ladder: 1. We can reach

### Truth Conditional Meaning of Sentences. Ling324 Reading: Meaning and Grammar, pg

Truth Conditional Meaning of Sentences Ling324 Reading: Meaning and Grammar, pg. 69-87 Meaning of Sentences A sentence can be true or false in a given situation or circumstance. (1) The pope talked to

### Artificial Intelligence Automated Reasoning

Artificial Intelligence Automated Reasoning Andrea Torsello Automated Reasoning Very important area of AI research Reasoning usually means deductive reasoning New facts are deduced logically from old ones

### Chapter 1. Logic and Proof

Chapter 1. Logic and Proof 1.1 Remark: A little over 100 years ago, it was found that some mathematical proofs contained paradoxes, and these paradoxes could be used to prove statements that were known

### 9.1: Predicates and Quantifiers

9.1: Predicates and Quantifiers Expressive Limitations of Statement Logic Many intuitively valid arguments in ordinary language cannot be represented as valid in statement logic. For example: This house

### 2. Abstract State Machines

2. Abstract State Machines The notion of Abstract State Machines (ASMs), defined in [20], captures in mathematically rigorous yet transparent form some fundamental operational intuitions of computing,

### Monitoring Metric First-order Temporal Properties

Monitoring Metric First-order Temporal Properties DAVID BASIN, FELIX KLAEDTKE, SAMUEL MÜLLER, and EUGEN ZĂLINESCU, ETH Zurich Runtime monitoring is a general approach to verifying system properties at

### def: An axiom is a statement that is assumed to be true, or in the case of a mathematical system, is used to specify the system.

Section 1.5 Methods of Proof 1.5.1 1.5 METHODS OF PROOF Some forms of argument ( valid ) never lead from correct statements to an incorrect. Some other forms of argument ( fallacies ) can lead from true

### DISCRETE MATH: LECTURE 3

DISCRETE MATH: LECTURE 3 DR. DANIEL FREEMAN 1. Chapter 2.2 Conditional Statements If p and q are statement variables, the conditional of q by p is If p then q or p implies q and is denoted p q. It is false

### Fundamentals of Mathematics Lecture 6: Propositional Logic

Fundamentals of Mathematics Lecture 6: Propositional Logic Guan-Shieng Huang National Chi Nan University, Taiwan Spring, 2008 1 / 39 Connectives Propositional Connectives I 1 Negation: (not A) A A T F

### Sets. A set is a collection of (mathematical) objects, with the collection treated as a single mathematical object.

Sets 1 Sets Informally: A set is a collection of (mathematical) objects, with the collection treated as a single mathematical object. Examples: real numbers, complex numbers, C integers, All students in

### Foundations of Artificial Intelligence

Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard, Bernhard Nebel and Martin Riedmiller Albert-Ludwigs-Universität Freiburg Contents 1 Agents

### Cassandra. References:

Cassandra References: Becker, Moritz; Sewell, Peter. Cassandra: Flexible Trust Management, Applied to Electronic Health Records. 2004. Li, Ninghui; Mitchell, John. Datalog with Constraints: A Foundation

### MAT Discrete Mathematics

RHODES UNIVERSITY Grahamstown 6140, South Africa Lecture Notes CCR MAT 102 - Discrete Mathematics Claudiu C. Remsing DEPT. of MATHEMATICS (Pure and Applied) 2005 Mathematics is not about calculations but

### CHAPTER 1. Logic, Proofs Propositions

CHAPTER 1 Logic, Proofs 1.1. Propositions A proposition is a declarative sentence that is either true or false (but not both). For instance, the following are propositions: Paris is in France (true), London

### A set is an unordered collection of objects.

Section 2.1 Sets A set is an unordered collection of objects. the students in this class the chairs in this room The objects in a set are called the elements, or members of the set. A set is said to contain

### FUNDAMENTALS OF ARTIFICIAL INTELLIGENCE KNOWLEDGE REPRESENTATION AND NETWORKED SCHEMES

Riga Technical University Faculty of Computer Science and Information Technology Department of Systems Theory and Design FUNDAMENTALS OF ARTIFICIAL INTELLIGENCE Lecture 7 KNOWLEDGE REPRESENTATION AND NETWORKED

### WUCT121. Discrete Mathematics. Logic

WUCT121 Discrete Mathematics Logic 1. Logic 2. Predicate Logic 3. Proofs 4. Set Theory 5. Relations and Functions WUCT121 Logic 1 Section 1. Logic 1.1. Introduction. In developing a mathematical theory,

### Discrete Mathematics Lecture 1 Logic of Compound Statements. Harper Langston New York University

Discrete Mathematics Lecture 1 Logic of Compound Statements Harper Langston New York University Administration Class Web Site http://cs.nyu.edu/courses/summer05/g22.2340-001/ Mailing List Subscribe at

### Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

Mathematics for Computer Science/Software Engineering Notes for the course MSM1F3 Dr. R. A. Wilson October 1996 Chapter 1 Logic Lecture no. 1. We introduce the concept of a proposition, which is a statement

### Remarks on Non-Fregean Logic

STUDIES IN LOGIC, GRAMMAR AND RHETORIC 10 (23) 2007 Remarks on Non-Fregean Logic Mieczys law Omy la Institute of Philosophy University of Warsaw Poland m.omyla@uw.edu.pl 1 Introduction In 1966 famous Polish

### Problems on Discrete Mathematics 1

Problems on Discrete Mathematics 1 Chung-Chih Li 2 Kishan Mehrotra 3 L A TEX at July 18, 2007 1 No part of this book can be reproduced without permission from the authors 2 Illinois State University, Normal,

### Knowledge Representation

Knowledge Representations : AI Course Lecture 15 22, notes, slides www.myreaders.info/, RC Chakraborty, e-mail rcchak@gmail.com, June 01, 2010 www.myreaders.info/html/artificial_intelligence.html www.myreaders.info

### Section 1.3: Predicate Logic

1 Section 1.3: Purpose of Section: To introduce predicate logic (or first-order logic) which the language of mathematics. We see how predicate logic extends the language of sentential calculus studied