Natural-Deduction Unit 2
Natural-Deduction Unit 2
Natural deduction
Natural deduction System for a structured deduction from a set of assumptions, based
on rules, specific to the logical connectives. The way of proving that an argument is
valid, is to break it down into several steps and to show that everyone can arrive at the
conclusion through some more obvious and valid arguments. The proof system is
defined in the purely syntactic terms.
A deduction is a sequence of formulas formed by obeying some fixed rules. For proving
theorems in mathematics or any other science, deduction is a simplified model.
Deductions are also called formal proofs. If a deduction is correct, it is easy to check.
Even a computer can check correctness; the difficulty is just in finding the deduction.
Just suppose there is a set of sentences: ?1, ?2, . . . , ?n, called premises, and another
sentence/formula ? called a conclusion. By applying proof rules to the premises, its hope
to get some more formulas, and by applying more proof rules to those formulas, its hope
to eventually obtain the conclusion. This intention is denoted by:
?1, ?2,...,?n |? ?.
In logic it is traditional to use Greek letters. Lower-case letters are used to stand for
formulas and upper-case letters are used to stand for sets of formulas.
In natural deduction rules, the propositions above the line are called premises where
as the proposition below the line is the conclusion. Both the premises and the
conclusion may contain meta-variables representing arbitrary propositions. The meta-
variables are replaced in a consistent way with the appropriate kind of proposition, when
an inference rule is used as part of a proof. Most of deduction rules come in one of two
flavors, introduction or elimination. Introduction rules introduce the use of a logical
operator whereas and elimination rules eliminate the use of a logical operator. The name
of the rule is written on the right-hand side of a rule, which is helpful when reading
proofs. There are some introduction rule(s) and elimination rule(s) for each logical
connective.
There is also a concept of assumptions such as, Introduction (opening) and cancelation
(closing, discharge) of assumptions. An Assumption can be re-used many times before
its cancelation. An assumption is canceled only when the rules allow it to be but not an
obligation however, the less the assumptions, the stronger the derivation.
The first natural deduction rule is called the rule for conjunction (?): and-introduction. It
allows us to conclude ? ? ?, in case we have already concluded ? and ? separately. This
rule is written as:
Note: premises of the rule are shown above the line and the conclusion is below the line.
To the right of the line, ?i is the name of the proof rule and is read as ‘and-introduction’.
Since we have introduced a conjunction (?) in the conclusion where there was none in
the premises. There are two rules to eliminate it. These rules are called and-elimination.
The rule ?e1 says: if you have a proof of ? ? ?, then you can get a proof of ? by applying
this rule. The rule ?e2 says: if you have a proof of ? ? ?, then you can get a proof of ? by
applying this rule.
There is no difference, intuitively, between a formula ? and its double negation ¬¬?.
The sentence: ‘It is not true that today is not Sunday.’ is just a more contrived way of
saying.
‘Today is Sunday.’
Conversely, knowing ‘Today is Sunday,’ we can easily state this fact in this more
complicated manner if we wish. Thus, the rules of elimination and introduction for double
negation are:
There is one rule to introduce ? as well as one to eliminate it. The eliminating implication
is one of the best known rules of propositional logic and is often referred to “modus
ponens” by its Latin name. It is usually called by its modern name, implies-elimination
that is sometimes also referred to as arrow-elimination.
This rule states that: if ? is given and we knowing that ? implies ?, then we may rightfully
conclude ?.
Let’s justify this rule by spelling out instances of some declarative sentences ? and ?.
Suppose that
? : It rained.
? ? ? : If it rained, then the street is wet.
So ? is just ‘The street is wet.’, that is conclusion. Thus, the justification of the ‘?e’ rule
is a mere application of common sense.
‘If Abraham Lincoln was Ethiopian, then he was African. Abraham Lincoln was not
African; therefore he was not Ethiopian.’
Suppose that p ? q is the case. By temporarily assuming that ¬q holds, MT rule can be
used to infer ¬p. Thus, by assuming p ? q we can show that ¬q implies ¬p, symbolically
as ¬q ? ¬p. To summarize here is an argumentation for p ? q |? ¬q ? ¬p:
The box in the proof serves to demarcate the scope of the temporary assumption ¬q.
That we usually say: let’s make the assumption of ¬q. For this, we open a box and put
¬q at the top. Then we continue by applying other rules as normal, e.g., to obtain ¬p. But
this entire still depends on the assumption of ¬q, so it goes inside the box. And finally,
we are ready to apply ?i. That allows us to conclude ¬q ? ¬p, but the conclusion (¬q ?
¬p) no longer depends on the assumption ¬q.
This proof is to express that the argumentation for p ? p does not depend on any
premises at all.
This shows that the ‘converse’ of the sequent above is valid, too.
The validity of p ? (q ? r) |? p ? q ? r and p ? q ? r |? p ? (q ? r) in above two proofs shows
that these two formulas are equivalent in the sense that we can prove one formula from
the other formula and denoted as:
p ? q ? r p ? (q ? r).
There can be only one formula to the right of , whereas each instance of can only
relates two formulas to each other.
The rules for disjunction are different from those for conjunction, in spirit. For conjunction
the case was concise and clear. The proof of ? ? ? is essentially nothing; it’s just a
concatenation of a proof of ? and a proof of ? plus an addition of a line invoking ?i.
However, in the case of disjunction, it turns out that the elimination is a tremendous task.
We can infer that ‘? or ?’ holds, from the only premise ?, as we already know that ?
holds. The point to be notice here is that, this inference is valid for any choice of ?. We
may conclude ‘? or ?’ by the same token, if we already have ?. And similarly, that
inference also works for any choice of ?. Thus we found the proof rules ?i1 and ?i2.
Let’s consider or-elimination now. Let’s imagine that we want to show some proposition
? by assuming ? ? ?. Since we exactly don’t know which of ? and ? is true, so we must
have to give two separate proofs which we need to combine into one argument:
make sure that the conclusions are actually the same formula in each of the two
cases
The work done by the or-elimination rule ?e is the combining of the arguments of
the two cases into one.
In each case you may use the temporary assumption of the other case, only if it is
something that has already been shown before those case boxes began (not as
an assumption).
The invocation of rule ?e lists three things: the location of the two boxes for the
two cases and the line in which the disjunction appears.
The other fact that ? itself represents a contradiction is encoded in our calculus by the
proof rule not-elimination, given as:
Example: prove that the sequent ¬p ? q |? p ? q is valid (using the above two rules).
The proof boxes for ?e are drawn side by side to show that, doesn’t matter which way
you do it.
Now for introducing negations, suppose we make an assumption which gets us into a
contradictory state of affairs, i.e. ?. In that case our assumption cannot be true; so it
must be false. This intuition is the basis for the negation introduction proof rule written as
¬i:
Example: prove that the sequent p ? q, p ? ¬q |? ¬p is valid.
Example: prove that the sequent p ? (q ? r), p, ¬r |? ¬q is valid (without using the MT
rule).
Example: prove that the sequent p ? ¬q ? r, ¬r, p |? q is valid.
Derived rules
Here are some rules that are extremely useful and are not primitive rules of natural
deduction, but can be derived from some of the other rules. Modus tollens is one of
these rules.
Here is the derivation of the proof rule Modus tollens (MT) from ?e, ¬e and ¬i:
We can replace applications of MT by this combination of ?e, ¬e and ¬i, in the above
proofs.
The next derived rule has the Latin name “reductio ad absurdum” which means
‘reduction to absurdity’ and we may simply call it proof by contradiction (PBC for
short).
The rule says: if we obtain a contradiction from ¬?, then we are entitled to deduce ?:
Suppose that we have a proof of ? from ¬? and by ?i, we can transform this into a proof
of ¬? ? ?. So the following derivation shows that PBC can be derived from ?i, ¬i, ?e and
¬¬e.
The final derived rule we consider in this section has a Latin name, “tertium non datur”
; the English name is the law of the excluded middle, or LEM for short. It is arguably
the most useful to use in proofs, because its derivation is rather long and complicated,
so its usage most often saves time and effort.
It says that ? ? ¬? is true: whatever ? is, it must be either true or false; in the latter case,
¬? is true. There is no third possibility (hence excluded middle): the sequent |? ? ? ¬? is
valid.
Here is the natural deduction proof that derives the law of the excluded middle from
basic proof rules:
Example: Using LEM prove that the sequent p ? q |? ¬p ? q is valid.
Provable equivalence
Let ? and ? be formulas of the propositional logic. ? and ? are provably equivalent iff (if,
and only if) the sequents ? |? ? and ? |? ? are valid, that is, there is a proof of ? from ?
and also a proof of ? from ?. It is called as ? and ? are provably equivalent and denoted
as ??||? ?.