121 Week 5 - Predicate Logic Flashcards
Why is predicate logic needed
It lets us describe propositions in a more detailed and complex way than propositional logic can. It accounts for parts of and links between parts of propositions and quantifiers.
What are the 2 parts of predicate logic
Syntax and semantics
Syntax
notations for concepts and operators used to create formulae
Semantics
The meanings behind the formulas
Predicates
A verb describing a property or relation of a term
Terms
Subjects expressed through nouns or pronouns
Atomic formula
Smallest element of predicate logic
Consists of 1 predicate and 1 or more terms
Predicates for properties
Predicates can be used to describe the property of a subject - its features/attributes
E.g., the sky is blue or Tom’s car is blue
Predicates for relations
Predicates can be used to describe the relationship between terms - objects and a subjects.
E.g., Jay is the father of Kay or Jay and Kay are neighbours.
Constant terms
Specific objects e.g., Alice or Bob
Conventionally written as the lower case first letter of the term e.g., a and b for Alice and Bob
Predicate logic notation
Predicates - upper case first letter of the verb
Term - lower case first letter
Atomic formula
Combines terms and predicates to make a formula
e.g., Bob is a man -> M(a)
Arity of an atomic formulae
the number of variables it takes as arguments
Variable
Represents general terms - unspecified individuals of the same type.
Abstracts away from specific objects such as constants.
Conventions for variables
Written as a lowercase letter from the end of the alphabet like x or y
E.g., in M(x), variable x represents male humans and predicate M represents “is a man”.