Atomic Sentences Chapter 1 Language, Proof and Logic.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Biointelligence Lab School of Computer Sci. & Eng.
Answer Set Programming Overview Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma de Guadalajara
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
F22H1 Logic and Proof Week 7 Clausal Form and Resolution.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Truth Trees Intermediate Logic.
Copyright © Zeph Grunschlag, Set Operations Zeph Grunschlag.
FIRST-ORDER LOGIC FOL or FOPC
Computability and Complexity 10-1 Computability and Complexity Andrei Bulatov Gödel’s Incompleteness Theorem.
First-Order Logic Chapter 8. Problem of Propositional Logic  Propositional logic has very limited expressive power –E.g., cannot say "pits cause breezes.
Formal Logic Mathematical Structures for Computer Science Chapter 1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
1 First order theories. 2 Satisfiability The classic SAT problem: given a propositional formula , is  satisfiable ? Example:  Let x 1,x 2 be propositional.
What makes communication by language possible? Striking fact (a) If someone utters a sentence and you know which proposition her utterance expresses, then.
FIRST ORDER LOGIC Levent Tolga EREN.
CAS LX 502 Semantics 3a. A formalism for meaning (cont ’ d) 3.2, 3.6.
Set theory Sets: Powerful tool in computer science to solve real world problems. A set is a collection of distinct objects called elements. Traditionally,
Discrete Mathematics and Its Applications
CS1502 Formal Methods in Computer Science Lecture Notes 1 Course Information Introduction to Logic Part 1.
Logic Introduction to Logic.
Theoretical basis of GUHA Definition 1. A (simplified) observational predicate language L n consists of (i) (unary) predicates P 1,…,P n, and an infinite.
Formal Logic Mathematical Structures for Computer Science Chapter Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
First Order Logic Chapter 7. PL is a Weak Representational Language §Propositional Logic (PL) is not a very expressive language because: §Hard to identify.
INTRODUCTION TO THE THEORY OF COMPUTATION INTRODUCTION MICHAEL SIPSER, SECOND EDITION 1.
PHIL012 Class Notes 1/12/2001. Outline Announcements, web page Names and Predicates Sentences, claims, and truth value Atomic sentences Homework Problems.
1st-order Predicate Logic (FOL)
Declarative vs Procedural Programming  Procedural programming requires that – the programmer tell the computer what to do. That is, how to get the output.
Theory and Applications
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
Mathematical Preliminaries (Hein 1.1 and 1.2) Sets are collections in which order of elements and duplication of elements do not matter. – {1,a,1,1} =
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
CS344: Introduction to Artificial Intelligence Lecture: Herbrand’s Theorem Proving satisfiability of logic formulae using semantic trees (from Symbolic.
Course Overview and Road Map Computability and Logic.
1 Predicate (Relational) Logic 1. Introduction The propositional logic is not powerful enough to express certain types of relationship between propositions.
Function Symbols & Arithmetic PHIL012 January 22, 2001.
PHIL012 Class Notes 1/15/2001. Outline Announcements, web page Review Homework Problems (1-7) Set Theory Review & Problem 8 (if time) Assignment for Wednesday.
Key Concepts Representation Inference Semantics Discourse Pragmatics Computation.
CompSci 102 Discrete Math for Computer Science
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
Word Problem Consider the following problem: To register, you will need either a yellow card or a note from the Dean. To obtain a note from the Dean you.
Artificial Intelligence First-Order Logic (FOL). Outline of this Chapter The need for FOL? What is a FOL? Syntax and semantics of FOL Using FOL.
CS-554 Part-3: First-Order Logic
For Wednesday Read chapter 9, sections 1-3 Homework: –Chapter 7, exercises 8 and 9.
For Friday Read chapter 8 Homework: –Chapter 7, exercises 2 and 10 Program 1, Milestone 2 due.
Chapter 2 With Question/Answer Animations. Section 2.1.
LDK R Logics for Data and Knowledge Representation First Order Logics (FOL) Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
1 CSC384: Intro to Artificial Intelligence Lecture 5.  Knowledge Representation.
11 Artificial Intelligence CS 165A Tuesday, October 30, 2007  Knowledge and reasoning (Ch 7) Propositional logic  First-order logic (Ch 8) 1.
1 First order theories (Chapter 1, Sections 1.4 – 1.5) From the slides for the book “Decision procedures” by D.Kroening and O.Strichman.
Albert Gatt LIN3021 Formal Semantics Lecture 3. Aims This lecture is divided into two parts: 1. We make our first attempts at formalising the notion of.
Propositional Logic Rather than jumping right into FOL, we begin with propositional logic A logic involves: §Language (with a syntax) §Semantics §Proof.
Models of Computation: Automata and Formal Languages Sam M. Kim.
First-Order Logic Chapter 8. Problem of Propositional Logic  Propositional logic has very limited expressive power –E.g., cannot say "pits cause breezes.
PHILOSOPHY OF LANGUAGE Some topics and historical issues of the 20 th century.
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
Chapter 2 1. Chapter Summary Sets (This Slide) The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions.
Chapter 1 Logic and Proof.
Chapter 2 Sets and Functions.
CS201: Data Structures and Discrete Mathematics I
INTRODUCTION TO THE THEORY OF COMPUTATION
1st-order Predicate Logic (FOL)
Relational Logic Semantics
Relational Logic Computational Logic Lecture 5
Herbrand Logic Semantics
CS201: Data Structures and Discrete Mathematics I
Relational Logic Semantics
1st-order Predicate Logic (FOL)
Presentation transcript:

Atomic Sentences Chapter 1 Language, Proof and Logic

Overview 1.0 FOL is not really a particular language but rather a family of languages. The members of this family share the same grammar and certain important (“logical”) vocabulary terms, known as the connectives and quantifiers. Languages of this family can differ, however, in the specific (“nonlogical”) vocabulary used in their most basic sentences, called atomic sentences. Atomic sentences are formed by combining names (also called individual constants) and predicates. The differences between different FOLs will thus be in what particular names and predicates they contain.

Individual constants 1.1 Individual constants are simply symbols that are used to refer to some fixed individual object. The individual constants of our blocks language are the letters a through f plus n 1,n 2,... Every individual constant must name an actually existing object (unlike English, where Zeus or Santa Claus name non-existing things). Conditions: No individual constant can name more than one object (unlike English, where there are many Toms and Bobs). An object can have more than one name, or no name at all (just as in English, where Morning Star and Venus name the same object, while most asteroids have no names at all).

Predicate symbols 1.2 Predicate symbols are used to express some property of objects or some relation between objects, called its arguments. Predicate symbols are also often called relation symbols. Each predicate symbol has a fixed number of arguments, called the arity of the predicate (symbol). A 1-ary predicate is also said to be unary, a 2-ary predicate is said to be binary, and a 3-ary predicate is said to be ternary. Some of the predicates of the blocks language are: 1-ary: Cube, Small, Large 2-ary: Smaller, Larger, = 3-ary: Between FOL assumes that every predicate is interpreted as a determinate property, i.e., a property for which, given any object, there is a definite fact of the matter whether the object has the property. E.g., while in English “small” may have various and unclear “degrees of truth”, in the blocks language every object is just either Small or not.

Atomic sentences 1.3 Atomic sentences look like P(c 1,...,c n ) where P is an n-ary predicate symbol and the c i are names. An exception is the case with the identity symbol, where we put the two required names on either side of the predicate, as in a=b. This is called infix notation, since = appears between its two arguments. With the other predicates we use prefix notation: the predicate precedes the arguments. Each sentence makes a claim --- something that is true or false; which of these it is we call its truth value. E.g., White(snow) expresses a true claim while Black(snow) expresses a false claim. Do “You try it” on page 24

General first-order languages 1.4 FOLs differ in the names and predicates they contain. Sometimes you deal with a predefined language, as in Tarski’s World. Sometimes you need to design a language of your own. Considerations when designing languages: Universality Should be able to say everything you may potentially need to say Flexibility WifeOfBob(Jane) vs. Wife(Jane,Bob) Economy If you have Wife, no need for having Husband

Function Symbols 1.5 Function symbols allow us to form name-like terms from other name-like terms. In English, to function symbols correspond noun phrases: Bob’s mother, the square of 5, etc. Tarski’s world has no function symbols. Function symbols, just like predicate symbols, have arities. Using function symbols, we can form arbitrarily complex terms: father(mother(mother(bob))) You cannot do the same with predicates: Father(tom,Mother(mary,bob)) is nonsense Do not confuse function symbols with predicates!

The first-order language of set theory 1.6 No function symbols Two predicates: = and . Both binary, both infix Let a be the name of 2 b be the name of {2,4,6} c be the name of {x | x is an integral root of x 2 =5} d be the name of {x | x is an elephant that can fly} True or false? a  a a  b b  b c  b c = d

The first-order language of arithmetic 1.7 Individual constants: 0,1 Predicate symbols: =,< (binary, infix) Function symbols: +,  (binary, infix) Terms: 1. 0,1 are terms 2. if t an r are terms, then so are (t+r) and (t  r) 3. nothing is a term unless it can be obtained by repeated application of (1) and (2) Atomic sentences: t=r or t<r, where t,r are terms. What are the following? Express number 3 Express number 5 1. ((1+1)  (1+(1  (1+0)))) Express number (1+1) = (1  (1+0)) Express number (1+1) < (0  (1+1)) 4. (1+1) = (1+(0<1))