Predicates and Quantifiers Flashcards

1
Q

Define variables

A

To denote subjects

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

Define predicates

A

to denote a property of a subject

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

Define quantifiers

A

To quantify over subjects

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

What is a universal Quantifier (∀x)

A

asserts P(x) is true for every value of x in the domain

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

What is an Existential Quantifier (∃x)

A

assers P(x) is true for some values of x in the domain

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

Example (Quantifiers): If P(x) denotes “x is even” and U then integer then:

A

∀x. P(x) is false, but
∃x. P(x) is true.

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

What precedence do the ∀x ∃x have over other logical operators

A

They have a higher precedence than all the logical operators

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

What do truth values depend on

A

The predicate (P(x)) and the domain (U)

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

If U is the positive integers and P(x) is the statement “x < 2” then what are the truth values for ∀x and ∃x

A

For ∃x P(x) is true but for ∀x P(x) is false

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

What is very important in nested quantifiers

A

the order (the first two doesn’t matter but the second 2 does (2,3)

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

Define argument in propositional logic

A

a sequence of propositions

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

When is the argument valid

A

when the premises imply the conclusion

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

What is the last statement called in proportional logic

A

the conclusion

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

What does this statement in english ∀x∀y P(x, y) ≡ ∀x∀y (x + y = 0)

A

For all real numbers x and y, x + y = 0

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

ExEy what does this mean in English

A

There exists x, there exists y

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

p –> q, what is a trivial proof in this case

A

if q is true

17
Q

p –> q, what is a vacuous proof in this case

A

if p is false

18
Q

p –> q, what is a direct proof in this case

A

Assume p then show q

19
Q

p –> q, what is proof by contraposition in this case

A

¬q and show ¬p

20
Q

Example of direct proof: If n is an odd integer, then n^2 is odd, n = 2k +1

A

Proof. Assume that n is odd.
* Then n = 2k + 1 for an integer k.
* Thus,
n
= (2k + 1)^2 = 4k^2 + 4k + 1
= 2(2k^2 + 2k) +1
= 2r + 1

therefore always odd