Predicates and Quantifiers Flashcards

1
Q

The statement “x is greater than 3” has two parts. The first part, the variable x, is the subject
of the statement. The second part—the ______________ “is greater than 3”—refers to a property that
the subject of the statement can have.

A

predicate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

We can denote the statement “x is greater than 3” by

A

P (x),
where P denotes the predicate “is greater than 3” and x is the variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The statement P (x) is
also said to be the value of the

A

propositional function P at x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A statement of the form P (x1, x2, . . . , xn) is the value of the

A

propositional function P

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A statement of the form P (x1, x2, . . . , xn) is the value of the propositional function P at the
n-tuple (x1, x2, . . . , xn), and P is also called an

A

n-place predicate or a n-ary predicate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The statements that describe valid input are known
as

A

preconditions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The statements that describe valid input are known
as preconditions and the conditions that the output should satisfy when the program has run
are known as

A

postconditions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

quantification, to create a proposition from a propositional function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

predicate calculus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Many mathematical statements assert that a property is
true for all values of a variable in a particular domain, called the

A

domain of discourse (or
the universe of discourse), often just referred to as the domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The notation ∀xP (x) denotes the universal quantication of P (x). Here ∀ is called the

A

universal quantier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

We read ∀xP (x) as “for all xP (x)” or “for every xP (x).” An element
for which P (x) is false is called a

A

counterexample of ∀xP (x).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Remember that the truth
value of ∀xP (x) depends
on the

A

domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The existential quantification of P (x) is the

A

proposition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

We use the notation ∃xP (x) for the existential quantification of P (x). Here ∃ is called the

A

existential quantifier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Remember that the truth
value of ∃xP (x) depends
on the

A

domain!

17
Q

there is no limitation on the number of different quantiers we can define, such as “there are
exactly two,” “there are no more than three,” “there are at least 100,” and so on. Of these other
quantiers, the one that is most often seen is the

A

uniqueness quantier, denoted by ∃! or ∃1

18
Q

When a quantifier is used on the variable x, we say that this occurrence of the variable is

A

bound

19
Q

An occurrence of a variable that is not bound by a quantier or set equal to a particular value
is said to be

A

free

20
Q

The part of a logical expression to which a quantier is applied is called the

A

scope of this quantifier

21
Q

Statements involving predicates and quantifiers are

A

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

22
Q

We use the notation S ≡ T to indicate that two statements S and T involving predicates and
quantifiers are

A

logically equivalent

23
Q

The rules for negations for quantiers are called

A

De Morgan’s laws for quantiers

24
Q

Prolog programs
include a set of declarations consisting of two types of statements

A

Prolog facts and Prolog
rules. Prolog