Predicates

Statements involving variables, such as or "Computer is functioning properly" are neither true nor false when the values of the variables are not specified. In this section, we discuss the way that propositions can be produced from such statements

The statement " is greater than " has two parts: the first part is the variable and the second part - the predicate - refers to a property that the subject of the statement can have. We can denote the statement " is greater than " by . The statement is also said to be the value of the propositional function at . Once a value has been assigned to the variable , the statement becomes a proposition and has a truth table.

In general, a statement involving the variables can be denoted by . A statement of the form is the value of the propositional function at the -tulle , and is also called an -place predicate or an -ary predicate

Quantifiers

When the variables in a propositional function are assigned values, the resulting statement becomes a proposition with a certain truth value. However, there is another important way, called quantification, to create a proposition from a propositional function.

We focus on two types of quantification here

  • Universal quantification
  • Existential quantification

The area of logic that deals with predicates and quantifiers is called the predicate calculus

The universal quantifier

Many mathematical statements assert that a property is true for all values of a variable in a particular domain, called the domain of discourse, or just domain. The universal quantification of for a particular domain is the proposition that asserts that is true for all values of in this domain.

The notation denotes the universal quantification of . Here is called the universal quantifier

The existential quantifier

Many mathematical statements assert that there is an element with a certain property. Such statements are expressed using existential quantification. With existential quantification, we form a proposition that is true if and only if is true for at least one value of in the domain

We use the notation for the existential quantification of . Here is called the existential quantifier

The uniqueness quantifier

Besides the two quantifiers mentioned above, we can define infinite number of new quantifiers. One of the most used quantifiers is the uniqueness quantifier.

The uniqueness quantifier is denoted as , the statement states "There exists a unique such that is true."

Quantifiers over Finite Domains

When the elements of the domain are where is a positive integer, the universal quantification is the same as the conjunction

And also we have

Quantifiers with Restricted Domains

An abbreviated notation is often used to restrict the domain of a quantifier. In this notation, a condition a variable must satisfy is included after the quantifier. That is

and

Tip

Note that for existential quantification, here is but not

Precedence of Quantifiers

The quantifiers and have higher precedence than all logic operators from propositional calculus (see precedence of logical operators)

Binding Variables

When a quantifier is used on the variable , we say that this occurrence of the variable is bound. An occurrence of a variable that is not bound by a quantifier or set equal to a particular value is said to be free.

All the variables that occur in a propositional function must be bound or set equal to a particular value to turn it into a proposition. This can be done using a combination of universal quantifiers, existential quantifiers, and value assignments.

Logical Equivalences Involving Quantifiers

Statements involving predicates and quantifiers are logically equivalent if and only if they have the same truth value no matter which predicates are substituted into these statements and which domain of discourse is used for the variables in these propositional functions.

For example,

Negating Quantified Expressions

This is called the De Morgan's law for quantifiers