{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Chapter1p2(1)

# Chapter1p2(1) - The Foundations Logic and Proofs Chapter 1...

This preview shows pages 1–11. Sign up to view the full content.

The Foundations: Logic and Proofs Chapter 1, Part II: Predicate Logic

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Predicates and Quantifiers Section 1.4
Propositional Logic Not Enough If we have: “All men are mortal.” “Socrates is a man.” Does it follow that “Socrates is mortal?” Can’t be represented in propositional logic. Need a language that talks about objects, their properties, and their relations for logic reasoning.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Predicate Logic: The Socrates Example Introduce the propositional functions Man(x) denoting “ x is a man” and Mortal(x) denoting “ x is mortal.” Specify the domain as all people. The two premises are: Try to reach the conclusion is:
Introducing Predicate Logic Predicate logic uses the following new features: Variables: x , y , z Predicates ( Propositional functions ): Man ( x ),… Quantifiers :  (for every),  (there exists) Propositional functions are a generalization of propositions. They contain variables and a predicate, e.g., Man ( x ) Variables can be replaced by elements from their domain .

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Propositional Functions Propositional functions become propositions and have truth values when their variables are each (i) replaced by a value from the domain or (ii) bound by a quantifier. The statement P(x) is said to be the value of the propositional function P at x . For example, let P(x) denote x > 0 and the domain be the integers. Then: P(- 3 ) is false. P( 0 ) is false. P( 3 ) is true.
Examples of Propositional Functions Let “ x + y = z” be denoted by R ( x, y, z ) and U (for all three variables) be the integers. Find these truth values: R( ,- 2 1 , 5 ) Solution: F R( , , 3 4 7 ) Solution: T R( x , 3 , z ) Solution: Not a Proposition Now let x - y = z” be denoted by Q ( x , y , z ), with U as the integers. Find these truth values:

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Compound Expressions Connectives from propositional logic carry over to predicate logic. If P(x) denotes x > ,” 0 find these truth values: P( 3 ) ∨ (- ) P 1 Solution : T P( 3 ) ∧ (- ) P 1 Solution : F P( 3 ) → (- ) P 1 Solution : F Expressions with variables are not propositions and therefore do not have truth values. For example, P( 3 ) ∧ ( P y ) P( x ) → ( P y )
Quantifiers We need quantifiers to express the meaning of English words including all and some : “All men are Mortal.” “Some cats do not have fur.” The two most important quantifiers are: Universal Quantifier , For all,” symbol: Existential Quantifier , “There exists,” symbol: We write as in  x P ( x ) and  x P ( x ). x P ( x ) asserts P ( x ) is true for every x in the domain . Charles Peirce (1839-1914)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Universal Quantifier x P ( x ) is read as For all x , P( x )” or “For every x , P( x )” Examples : 1) If P(x) denotes x > 0 and the domain U for x is , the integers then x P ( x ) is false.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern