Predicate Logic Flashcards
What is a constant?
the names of individual things e.g James
What do we use for constants?
lower case letters except ‘x’, ‘y’ and ‘z’
e.g. James is ‘j’
What is a predicate?
What you’re left with when you remove a name from a sentence e.g. ‘James is a man’ becomes ‘…is a man’
What do we use for predicates?
capital letters e.g. M=is a man
Translate ‘James is a man’ into predicate logic
Mj
Key:
M= is a man
j= James
Translate ‘Marie was tall but Janice was short’ into predicate logic
Tm & ~Tj
otherwise translates to: Marie is tall and Janice is not tall
here, but is used as a synonym for and
Key:
T= is tall
m= Marie
j= Janice
What’s an example of a relational predicate?
‘is taller than’
‘is louder than’
‘is kinder than’ etc
How would you write, Marie is taller than Janice using a relational predicate?
Tmj
T= is taller than
m= Marie
j= Janice
How would you write, Marie is between Janice and Amelia using a relational predicate?
Bmja
B= is between
m= Marie
j= Janice
a= Amelia