Logic Flashcards

1
Q

What is a proposition?

A

defn - a declaration which is either always true or always false.
eg - ‘2=2’, ‘2=3’

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

Truth values

A

True or T, if the proposition is true and False or F, if the proposition is false.

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

Negation

A

not - ¬

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

Conjunction

A

and - ∧

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

Disjunction

A

or - ∨

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

Implication

A

if…then… - →

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

Equivalence

A

if and only if - ↔

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

Notes about combining connectives

A
  1. Brackets show the order in which connectives are applied to build up a proposition.
  2. The truth values of the final proposition depend on the truth values of the propositional variables and on the bracketing.
  3. There may be several propositions with the same truth values.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Tautology

A

defn - a proposition which is always true, for all truth values of its propositional variables. Represented by ⇒.
eg. double negation law, modus ponens.

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

Contradiction

A

defn - a proposition which is always false, for all truth values of its propositional variables.

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

A ⇔ B

A

defn - if A ↔ B is a tautology, we say A is logically equivalent to B and write A ⇔ B. This means that A can be substituted for B whenever B occurs in a proposition.

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

Compare ↔ and ⇔

A

P ↔ Q is a proposition, with a truth value dependent on the truth values of P and Q.
P ⇔ Q is the assertion that P ↔ Q is a tautology. This distinction is only useful in logic.

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

Converse

A

defn - the converse of p → q is q → p

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

Compare → and ⇒.

A

P → Q is a proposition, with a truth value dependent on the truth values of its propositional variables.
P ⇒ Q is the assertion that P → Q is a tautology.
The distinction is only useful in logic.

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

Predicate

A

defn - a predicate, in the variable x from the set U, is a statement which contains the variables x and becomes a proposition when a value from U is substituted for x. A predicate can be written P(x) or P(x,y), for example.
eg - ‘z is a root of p(x)’

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

A

universal quantifier - meaning ‘for all’

17
Q

How do you read the following? ‘∀x ∈ R (x² ≥ 0)’

A

‘for all real numbers x, x² ≥ 0’. (This is a proposition and is true.)

18
Q

What is the general format of a predicate P(x), with a variable x from the set U, using the universal quantifier?

A

∀x ∈ U (P(x))

19
Q

A

existential quantifier - ‘there exists’

20
Q

How do you read the following? ‘∃x ∈ Z (2x = 1)’

A

‘there exists an integer x such that 2x = 1’ (This is a proposition and is false.)

21
Q

What is the general format of a predicate P(x), with a variable x from the set U, using the existential quantifier?

A

∃x ∈ U (P(x))