Logic Lecture 1 Flashcards

1
Q

What is a declarative sentence?

A

A declarative sentence (or proposition) is a statement that is either true or false.

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

What are some examples of declarative sentences?

A

Examples include ‘5 > 3’, ‘grass is green’, and ‘if x > 1, then x^2 ≠ x’.

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

What is an example of an argument abstraction?

A

If p and not q, then r. Not r. p. Therefore, q.

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

What does the symbol ∧ represent in propositional logic?

A

It represents conjunction, meaning ‘and’.

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

What does the symbol ∨ represent in propositional logic?

A

It represents disjunction, meaning ‘or’.

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

What does the symbol ⊕ represent in propositional logic?

A

It represents exclusive or (XOR), meaning ‘either…or’.

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

What does the symbol ¬ represent in propositional logic?

A

It represents negation, meaning ‘not’.

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

What does the symbol → represent in propositional logic?

A

It represents implication, meaning ‘if…then’.

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

What does the symbol ↔ represent in propositional logic?

A

It represents bi-implication, meaning ‘if and only if’.

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

What are the base elements of a propositional formula?

A

Propositional variables (p, q, r, …), negation (¬), and binary connectives (∧, ∨, ⊕, →, ↔).

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

What are the rules for constructing a propositional formula?

A
  1. Every propositional variable is a formula. 2. If φ is a formula, then ¬φ is a formula. 3. If φ and ψ are formulas, then (φ ∧ ψ), (φ ∨ ψ), (φ ⊕ ψ), (φ → ψ), and (φ ↔ ψ) are also formulas.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is syntax in logic?

A

Syntax refers to how a word (or formula) is written.

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

What is semantics in logic?

A

Semantics refers to the meaning of a word (or formula).

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

What is a valuation in propositional logic?

A

A valuation is an assignment of truth values to propositional variables.

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

What is a truth table?

A

A table that shows the truth values of a formula for all possible truth values of its components.

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

What are the truth values of a negation ¬φ?

A

If φ is true, ¬φ is false; if φ is false, ¬φ is true.

17
Q

What are the truth values of a conjunction φ ∧ ψ?

A

True only if both φ and ψ are true; false otherwise.

18
Q

What are the truth values of a disjunction φ ∨ ψ?

A

True if at least one of φ or ψ is true; false otherwise.

19
Q

What are the truth values of an implication φ → ψ?

A

False only when φ is true and ψ is false; true otherwise.

20
Q

What are the truth values of a bi-implication φ ↔ ψ?

A

True if φ and ψ have the same truth value; false otherwise.

21
Q

What is a tautology?

A

A formula that is always true regardless of truth values.

22
Q

What is a contradiction?

A

A formula that is always false regardless of truth values.

23
Q

What is a contingent formula?

A

A formula that is neither always true nor always false.

24
Q

What are some important semantic equivalences?

A

Examples: ¬¬φ ≡ φ, φ ∧ ψ ≡ ψ ∧ φ, φ ∨ ψ ≡ ψ ∨ φ, ¬(φ ∧ ψ) ≡ ¬φ ∨ ¬ψ (De Morgan’s Law).

25
Q

What does the principle of explosion state?

A

From a contradiction, anything follows.

26
Q

What is the meaning of p → q in terms of disjunction?

A

p → q is equivalent to ¬p ∨ q.

27
Q

What is an example of a tautology?

A

p ∨ ¬p (law of excluded middle).

28
Q

What is an example of a contradiction?

A

p ∧ ¬p.

29
Q

What is an associative property in logic?

A

(φ ∧ ψ) ∧ χ ≡ φ ∧ (ψ ∧ χ) and (φ ∨ ψ) ∨ χ ≡ φ ∨ (ψ ∨ χ).

30
Q

Is implication associative?

A

No, (φ → ψ) → χ ≠ φ → (ψ → χ).