unit 6 logic Flashcards

1
Q

empty set

A

∅ or { }

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

A

subset

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

A⊂B

A

proper subset, if A⊆ B but A≠ B

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

A–B

A

x:x∈ A and x∉B

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

power set

A

set of all subsets of S, { T: T⊆ S}.

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

cardinality

A

number of (distinct) elements in S

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

proposition

A

an expression with a truth value(TRUEor FALSE).

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

WFF of propositional logic

A
any of:
a propositional variable
not A
A intersection B
A union B
if A then B, 1101
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Satisfiable WFF

A

If there is an interpretation in which the WFF is true

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

Tautology (WFF)

A

When WFF is true in every interpretation

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

Contradiction (WFF)

A

When WFF is false in every interpretation

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

Contingent (WFF)

A

When WFF is true in some and false in other

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

Logically equivalent (WFF)

A

Same truth value

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

argument consists of?

A

premises and a conclusion

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

argument is valid if

A

there is no interpretation in which the premises are TRUE and the conclusion is FALSE

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

predicate

A

a property of some object x or the relationship between two or more objectsx, y, etc., written p(x), p(x, y), etc.

17
Q

universal quantifier∀

A

denotes “all”, “every”, or“any”

18
Q

existential quantifier∃

A

some”, “exists”, or “there is”

19
Q

∀X.loves(X, adele)

A

Everyone loves Adele

20
Q

∃X.loves(adele, X)

A

Adele loves someone.

21
Q

Well-formed formulae of predicate logic

A

A WFF of propositional logic is: given a set of constant, variable or predicate symbols a WFF is:
an atomic formula
a WFF of propositional logic
∀v.A where v is a variable symbol and A is a WFF
∃v.A where v is a variable symbol and A is a WFF

22
Q

Atomic formula

A

p(t1,t2..tn) where p is a predicate symbol of arity n and each of t1..tn is a constant symbol or variable symbol

23
Q

bound variable

A

a variable that occurs within the scope of a quantifier

24
Q

free variable

A

a variable that appears outside the scope of a quantifier

25
Q

sentence of predicate logic

A

a WFF in which every variable is bound

26
Q

SQL

A

SELECT columns FROM table WHERE condition

27
Q

countable

A

if and only if it can be placed in a one-to-one correspondence with some subset of the natural numbersℕ= {1, 2, 3, …}

28
Q

countably infinite

A

if and only if it can be placed in a one-to-one correspondence with the set of natural numbers

29
Q

uncountable

A

if noone-to-one correspondence with the natural numbers is possible.