Frequently Asked Questions
This section brings together some of the questions that have been frequenlty asked about logic over the past few years. Follow the links to get answers and pointers.
Yes, but you shouldn't be too concerned, as it isn't difficult to remember them. Here is a summary of the different connectives for the Propositional Calculus and their truth-functional definitions:
|
||||||||||||||||||||
|
|
|||||||||||||||||||
|
|
Don't forget that we are dealing here with classical logic. This means that any statement must be either true or false, it cannot be undefined and it cannot be both true and false simultaneously. So, if you are unhappy with the idea that (A → B) is true whenever A is false, then perhaps you should consider what would happen if it were false instead. This is what the truth-matrix for implication would look like if we made this change:
??? | t | f |
---|---|---|
t | t | f |
f | f | f |
Does this remind you of anything? If you look back at the definitions given above for the logical connectives, you will see that the revised table is identical to that given for conjunction. In other words, the changes mean that implication now has the same meaning, logically speaking, as conjunction. But this cannot be correct, since it implies that, say, if it is raining, then it is snowing means the same as it is raining and it is snowing . Illogical!
If you aren't convinced yet, then you might consider the following story. Whilst boldly going through the fourth sector some time ago, the Starship Enterprise developed engine trouble in the region of the Karzanian Empire. An envoy of the Karzanian people made contact and stated that:
Now, the Karzanians are a war-like race and generally acknowledged to be the biggest fibbers in the known universe. Kirk and Spock considered the options:
"It is logical to conclude", Spock told Kirk, "that the Karzanian will not help us if we beam him up, as this is the only way in which he can truly be said to have lied."
We might say that "if and only if" expresses bi-implication. That's bi-implication, as opposed to simple implication, because it actually corresponds to two implications. So, to say:
"A if and only if B"
really amounts to saying
"if A then B"
&
"if B then A"
Here is a simple example to illustrate the use of "if and only if":
"Today is Bill's birthday if and only if today is the 17th December"
in other words:
"if today is the 17th December, then today is Bill's birthday"
&
"if today is Bill's birthday, then today is the 17th December"
We have looked at more than one way of testing logical equivalence in the course.. Suppose that you are given two statements of the propositional calculus A and B. One way of testing logical equivalence involves constructing a truth table, and then checking to see that the statements A and B have the same truth value on each row of the table.
For example, consider the statements
and
. To test whether these statements are logically
equivalent, we construct a truth table as follows:
Now look at the columns for
and
. If you compare them row by row, what do you see?
The same truth value appears in each column on the same row. It can be concluded that the two statements are logically equivalent.
Another way of testing logical equivalence is to
use the so-called 'laws of logical equivalence'. These laws are
statements of the form , meaning ``the statement
is logically equivalent to the
statement
''. Given a limited set of statements of this kind, it is
possible to demonstrate many other logical equivalences.
The laws of logical equivalence were discussed in the fourth lecture of your course. A complete set of laws can be found in most logic textbooks: see e.g. Kelly p.12 or Nissanke pp. 48-51.
Here are a few selected examples:
Using just the above laws, I can again show the equivalence of
and
. The idea is to
use the laws to repeatedly re-write one or other of the statements
into a logically equivalent expression. If we can transform both
statements into the same form, then they are logically equivalant. In
the following, I just keep rewriting
until I eventually reach the statement
.
So again, we have that the two statements are logically equivalent.
A valuation is just an assignment of truth values to propositional variables. In mathematical terms, it's a function mapping from the set of propositional variables to truth value (i.e. t (true) and f (false))
OK, a function is just a mapping from from one set of things to another. Here are some examples:
Note that to qualify as a function, the mapping must assign at most one value to each thing.
Now semantic entailment is really just a formalisation of this notion of logical consequence; it is intended to capture the idea that one statement follows logically from some given set of other statements.
"G |= A"
to mean
"G entails A"
Now here is the definition of the entailment relation:
G |= A if and only if whenever every statement in G is true, the statement A is true.
Now, that's really quite a short definition, though it
is perhaps not easy to understand in one go. For one thing, it uses the phrase
"if and only if". You may wish to refresh your memory about
if
and only if before continuing.
Really, what the definition comes down to is this. By saying "G entails A" all we're really saying is "whenever every statement in G is true, then the statement A is true".