Propositional Logic Flashcards
For propositional logic, define the set of well formed formulas.
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.
What is the conventional priority given to the connectives in propositional logic?
In descending order of priority, negation, and, or, and then implication
What are semantics?
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.
What is an interpretation in propositional logic?
An interpretation is a function from the set of WFF to {0,1}. It must satisfy certain intuitive properties.
What are five intuitive properties of an interpretation in propositional logic?
(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.
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?
(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.
In terms of models, what does it mean that a WFF, P, is satisfiable?
It means that there exists at least one model such that P is satisfied.
What does tautology mean for a WFF, P?
It means that every interpretation satisfies P.
What is a synonym for tautology?
Valid is synonymous with tautology.
How can we mathematically denote a tautology?
We use the semantic consequence operator |= P if P is a tautology.
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.
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.
What does it mean for two formulae P and Q to be equivalent?
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 can we relate a tautology P to its satisfiability or lack thereof?
A formula P is a tautology (or valid) if and only if the negation of P is unsatisfiable.
If Q is a semantic consequence of gamma, what can you say about the satisfiability of gamma union not Q?
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.
In propositional logic, what is idempotency?
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.