Propositional Logic Flashcards

1
Q

For propositional logic, define the set of well formed formulas.

A

Let X be the set of WFF. Then X has several properties.

1) It is minimal.
2) All atomic propositions are in X.
3) If a formula P is in X, then its negation (~P) is in X.
4) If two formulas P, Q are in X, then their combination using any of the connectives is also in X.

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

What is the conventional priority given to the connectives in propositional logic?

A

In descending order of priority, negation, and, or, and then implication

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

What are semantics?

A

Semantics deals not with the syntax of formulae, which is entirely part of the definition of WFF, but with the the so-called truth values of the formulae, which are found via a so-called interpretation function.

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

What is an interpretation in propositional logic?

A

An interpretation is a function from the set of WFF to {0,1}. It must satisfy certain intuitive properties.

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

What are five intuitive properties of an interpretation in propositional logic?

A

(1) The interpretation function maps falsum to zero.
(2) If an interpretation function maps the negation of a WFF to 1 iff it maps the WFF to 0.
(3) The interpretation function maps P and Q to min of the interpretation function of P, Q individually.
(4) The interpretation function maps P or Q to the max of the interpretation of the individual composing formulae.
(5) The interpretation of an implication is mapped to 0 if and only if the antecedent maps to 1 and the consequent maps to 0.

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

There are two terms we use to indicate when an interpretation maps a formula P to one. What are these terms? How do we phrase it?

A

(1) We say that the interpretation satisfies the formula P.
(2) We also say that the interpretation is a model of the formula P.

We also use the semantic consequence operator to indicate this situation. v |= P. where v is an interpretation and P is a formula.

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

In terms of models, what does it mean that a WFF, P, is satisfiable?

A

It means that there exists at least one model such that P is satisfied.

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

What does tautology mean for a WFF, P?

A

It means that every interpretation satisfies P.

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

What is a synonym for tautology?

A

Valid is synonymous with tautology.

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

How can we mathematically denote a tautology?

A

We use the semantic consequence operator |= P if P is a tautology.

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

If gamma is a set of WFF and Q is a WFF. What does it mean to say that Q is a semantic consequence of gamma? gamma |= Q.

A

This means that there does not exist an interpretation which makes every formula of gamma true and Q false. In other words, for every interpretation v, such that all formulas in gamma are true, then is follows necessarily that Q is true. This is what it means for a formula to be a semantic consequence of another.

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

What does it mean for two formulae P and Q to be equivalent?

A

This means that for any interpretation, under the interpretation, the value of P and the value of Q (in propositional logic, the truth values are {0,1}), are the same.

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

How can we relate a tautology P to its satisfiability or lack thereof?

A

A formula P is a tautology (or valid) if and only if the negation of P is unsatisfiable.

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

If Q is a semantic consequence of gamma, what can you say about the satisfiability of gamma union not Q?

A

These statements are equivalent. In fact, if Q is a semantic consequence of gamma, then it is not possible to satisfy gamma union not Q. Because there does not exist an interpretation that makes all the formula of gamma true and Q false. And by definition this means semantic consequence.

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

In propositional logic, what is idempotency?

A

This means that ORing or ANDing a WFF results simply in the WFF. This is in contrast to linear logic where you can have so-called tokens.

P V P = P and P ^ P = P.

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

In propositional logic, what is commutativity?

A

The order of the propositions in an AND or OR statement is irrelevant.

17
Q

In propositional logic, what is associativity?

A

In a big conjunct or disjunct, then the priority in which one considers some pair of conjuncts or disjuncts does not matter.

18
Q

In propositional logic, what is absorbtion?

A

This is essentially a simplification formula. If P V (P ^ Q) == P. Since in any case satisfying this OR results in in a truth table equivalent to P.

Similarly, P ^ (P V Q) == P. In either case, P’s truth value is equivalent to this.

19
Q

In propositional logic, what is distributivity?

A

This means that if we have a WFF ANDed or ORed to a conjunct or disjunct, we may duplicate this formula appropriately into the conjunct or disjunct.

P V (Q ^ R) == (PVQ)^(PVR)
P ^ (Q V R) == (P^Q)V(P^R)
20
Q

What are DeMorgan’s Laws?

A

~(P^Q) = ~P v ~Q

~(PVQ)=~P ^ ~Q

21
Q

What is a literal?

A

It is an atomic formula or its negation.

22
Q

What is CNF?

A

This is conjunction normal form. This is when you have a series of WFF, Pi and P1 ^ P2 ^ P3 … Pn such that each Pi is composed of a disjunction of literals.

23
Q

What is DNF?

A

This is disjunctive normal form. This is when you have a set of WFF, Pi, and P1 V P2 V… V Pn, and each of the Pi are a conjunction of literals.

24
Q

Is it true that any WFF P may be expressed by an equivalent WFF in CNF and DNF?

A

Yes, it is true.

25
Q

What are two methods to compute the CNF or DNF or a WFF P?

A

One can use either equivalences or truth tables.

26
Q

Explain how to use truth tables to find the CNF of a WFF P.

A

To construct the CNF, take all the rows in the truth table for which the WFF P is false. Take the positive or negative literal in correspondence to its truth value in the truth table. Combine them in a conjunct. Then take a big disjunct of all these conjuncts. Then take the negative of this expression. Via DeMorgan’s Laws and the negation laws, one will now have a CNF.

27
Q

Explain how to use truth tables to find the DNF of a WFF P.

A

Take the WFF P and write down its truth table from all its atomic subformulae. Select all the rows for which the WFF P is true. Take the positive or negative literal of the atom if its truth value is 1 or 0, respectively, do this for each atom and form them into a big disjunct, then conjunct this for all the rows where WFF P is true. Then you have found a CNF.

28
Q

Are connectives equivalent to functions?

A

Yes, in fact a n-ary connection corresponds to a function that maps f: {0,1}^n -> {0,1}.

29
Q

What does it mean to be functionally complete?

A

A set of connectives is said to be functionally complete if every possible connective can be derived from it.

30
Q

What does it mean for a connective to be derivable?

A

A new connective c is derivable from big C a set of connectives. If there exists a WFF P with only connectives from C, such that its corresponding function Fp equals the function of the new connective c, Fc.

31
Q

What does the compactness theorem in propositional logic state?

A

Let gamma be an infinite set of WFF in propositional logic. Then gamma is satisfiable if and only if every finite subset of gamma is satisfiable.

32
Q

What is an atom?

A

An atom is a formula with no deeper propositional structure. It contains no logical connectives, not even negation!