Chapter 43 Natural deduction for ML
Now that we know how to make sentences in ML, we can look at how to prove things in ML. We will use to express provability. So means that can be proven from . However, we will be looking at a number of different systems of ML, and so it will be useful to add a subscript to indicate which system we are working with. So for example, if we want to say that we can prove from in system , we will write: .
43.1 System
We start with a particularly simple system called , in honour of the philosopher and logician Saul Kripke. includes all of the natural deduction rules from TFL, including the derived rules as well as the basic ones. then adds a special kind of subproof, plus two new basic rules for .
The special kind of subproof looks like an ordinary subproof, except it has a in its assumption line instead of a formula. We call them strict subproofs—they allow as to reason and prove things about alternate possibilities. What we can prove inside a strict subproof holds in any alternate possibility, in particular, in alternate possibilities where the assumptions in force in our proof may not hold. In a strict subproofs, all assumptions are disregarded, and we are not allowed to appeal to any lines outside the strict subproof (except as allowed by the modal rules given below).
The I rule allows us to derive a formula if we can derive inside a strict subproof. It is our fundamental method of introducing into proofs. The basic idea is simple enough: if is a theorem, then should be a theorem too. (Remember that to call a theorem is to say that we can prove without relying on any undischarged assumptions.)
Suppose we wanted to prove . The first thing we need to do is prove that is a theorem. You already know how to do that using TFL. You simply present a proof of which doesn’t start with any premises, like this:
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
open subproof,
1
|
|
AS
|
|
1
|
|
R
|
|
close subproof,
0
|
|
I –
|
But to apply I, we need to have proven the formula inside a strict subproof. Since our proof of makes use of no assumptions at all, this is possible.
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
open subproof,
1
|
|
AS
|
|
open subproof,
2
|
|
AS
|
|
2
|
|
R
|
|
close subproof,
1
|
|
I –
|
|
close subproof,
0
|
|
I –
|
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
open subproof,
1
|
|
AS
|
|
1
|
|
|
|
close subproof,
0
|
|
I –
|
No line above line may be cited by any rule within the strict subproof begun at line unless the rule explicitly allows it.
It is essential to emphasize that in strict subproof you cannot use any rule which appeals to anything you proved outside of the strict subproof. There are exceptions, e.g., the E rule below. These rules will explicitly state that they can be used inside strict subproofs and cite lines outside the strict subproof. This restriction is essential, otherwise we would get terrible results. For example, we could provide the following proof to vindicate :
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
PR
|
|
open subproof,
1
|
|
AS
|
|
1
|
|
incorrect use of R
|
|
close subproof,
0
|
|
I –
|
This is not a legitimate proof, because at line 3 we appealed to line 1, even though line 1 comes before the beginning of the strict subproof at line 2.
We said above that a strict subproof allows us to reason about arbitrary alternate possible situations. What can be proved in a strict subproof holds in all alternate possible situtations, and so is necessary. This is the idea behind the I rule. On the other hand, if we’ve assumed that something is necessary, we have therewith assumed that it is true in all alternate possbile situations. Hence, we have the rule E:
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
|
|
open subproof,
1
|
|
AS
|
|
1
|
|
E
|
E can only be applied if line (containing ) lies outside of the strict subproof in which line falls, and this strict subproof is not itself part of a strict subproof not containing .
E allows you to assert inside a strict subproof if you have outside the strict subproof. The restriction means that you can only do this in the first strict subproof, you cannot apply the E rule inside a nested strict subproof. So the following is not allowed:
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
|
|
open subproof,
1
|
|
AS
|
|
open subproof,
2
|
|
AS
|
|
2
|
|
incorrect use of E
|
The incorrect use of E on line violates the condition, because although line lies outside the strict subproof in which line falls, the strict subproof containing line lies inside the strict subproof beginning on line which does not contain line .
Let’s begin with an example.
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
PR
|
|
0
|
|
PR
|
|
open subproof,
1
|
|
AS
|
|
1
|
|
E
|
|
1
|
|
E
|
|
1
|
|
I ,
|
|
close subproof,
0
|
|
I –
|
We can also mix regular subproofs and strict subproofs:
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
PR
|
|
open subproof,
1
|
|
AS
|
|
open subproof,
2
|
|
AS
|
|
2
|
|
E
|
|
2
|
|
E
|
|
2
|
|
E ,
|
|
close subproof,
1
|
|
I –
|
|
close subproof,
0
|
|
I –
|
This is called the Distribution Rule, because it tells us that ‘distributes’ over .
The rules I and E look simple enough, and indeed is a very simple system! But is more powerful than you might have thought. You can prove a fair few things in it.
43.2 Possibility
In the last subsection, we looked at all of the basic rules for . But you might have noticed that all of these rules were about necessity, , and none of them were about possibility, . That’s because we can define possibility in terms of necessity:
In other words, to say that is possibly true, is to say that is not necessarily false. As a result, it isn’t really essential to add a , a special symbol for possibility, into system . Still, the system will be much easier to use if we do, and so we will add the following definitional rules:
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
|
|
0
|
|
Def
|
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
|
|
0
|
|
Def
|
Importantly, you should not think of these rules as any real addition to : they just record the way that is defined in terms of .
If we wanted, we could leave our rules for here. But it will be helpful to add some Modal Conversion rules, which give us some more ways of flipping between and :
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
|
|
0
|
|
MC
|
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
|
|
0
|
|
MC
|
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
|
|
0
|
|
MC
|
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
|
|
0
|
|
MC
|
These Modal Conversion Rules are also no addition to the power of , because they can be derived from the basic rules, along with the definition of .
In system , using Def (or the modal conversion rules), one can prove . When laying out system , we started with as our primitive modal symbol, and then defined in terms of it. But if we had preferred, we could have started with as our primitive, and then defined as follows: . There is, then, no sense in which necessity is somehow more fundamental than possibility. Necessity and possibility are exactly as fundamental as each other.
43.3 System
So far we have focussed on , which is a very simple modal system. is so weak that it will not even let you prove from . But if we are thinking of as expressing necessity, then we will want to be able to make this inference: if is necessarily true, then it must surely be true!
This leads us to a new system, , which we get by adding the following rule to :
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
|
|
0
|
|
R
|
The line on which rule R is applied must not lie in a strict subproof that begins after line .
The restriction on rule is in a way the opposite of the restriction on E: you can only use E in a nested strict subproof, but you cannot use in a nested strict subproof.
We can prove things in which we could not prove in , e.g., .
43.4 System
allows you to strip away the necessity boxes: from , you may infer . But what if we wanted to add extra boxes? That is, what if we wanted to go from to ? Well, that would be no problem, if we had proved by applying I to a strict subproof of which itself does not use E. In that case, is a tautology, and by nesting the strict subproof inside another strict subproof and applying I again, we can prove . For example, we could prove like this:
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
open subproof,
1
|
|
AS
|
|
open subproof,
2
|
|
AS
|
|
open subproof,
3
|
|
AS
|
|
3
|
|
R
|
|
close subproof,
2
|
|
I –
|
|
close subproof,
1
|
|
I –
|
|
close subproof,
0
|
|
I –
|
But what if we didn’t prove in this restricted way, but used E inside the strict subproof of . If we put that strict subproof inside another strict subproof, the requirement of rule E to not cite a line containing which lies in another strict subproof that has not yet concluded, is violated. Or what if were just an assumption we started our proof with? Could we infer then? Not in , we couldn’t. And this might well strike you as a limitation of , at least if we are reading as expressing necessity. It seems intuitive that if is necessarily true, then it couldn’t have failed to be necessarily true.
This leads us to another new system, , which we get by adding the following rule to :
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
|
|
open subproof,
1
|
|
AS
|
|
1
|
|
R
|
Note that R can only be applied if line (containing ) lies outside of the strict subproof in which line falls, and this strict subproof is not itself part of a strict subproof not containing .
Rule R looks just like E, except that instead of yielding from it yields inside a strict subproof. The restriction is the same, however: R allows us to “import” into a strict subproof, but not into a strict subproof itself nested inside a strict subproof. However, if that is necessary, an additional application of R would have the same result.
Now we can prove even more results. For instance:
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
open subproof,
1
|
|
AS
|
|
open subproof,
2
|
|
AS
|
|
2
|
|
R
|
|
close subproof,
1
|
|
I –
|
|
close subproof,
0
|
|
I –
|
Similarly, we can prove . This shows us that as well as letting us add extra boxes, lets us delete extra diamonds: from , you can always infer .
43.5 System
In , we can always add a box in front of another box. But does not automatically let us add a box in front of a diamond. That is, does not generally permit the inference from to . But again, that might strike you as a shortcoming, at least if you are reading and as expressing necessity and possibility. It seems intuitive that if is possibly true, then it couldn’t have failed to be possibly true.
This leads us to our final modal system, , which we get by adding the following rule to :
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
|
|
open subproof,
1
|
|
AS
|
|
1
|
|
R
|
Rule R can only be applied if line (containing ) lies outside of the strict subproof in which line falls, and this strict subproof is not itself part of a strict subproof not containing line .
This rule allows us to show, for instance, that :
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
PR
|
|
0
|
|
Def
|
|
open subproof,
1
|
|
AS
|
|
open subproof,
2
|
|
AS
|
|
2
|
|
R
|
|
close subproof,
1
|
|
I –
|
|
1
|
|
E ,
|
|
close subproof,
0
|
|
IP –
|
So, as well as adding boxes in front of diamonds, we can also delete diamonds in front of boxes.
We got by adding the rule R to . In fact, we could have added rule R to , left out rule R, and obtained an equivalent system. That’s because everything we can prove using rule R can also be proved using R together with R. For instance, here is a proof that shows without using R:
Line number |
Subproof level |
Formula |
Justification |
---|---|---|---|
|
0
|
|
PR
|
|
open subproof,
1
|
|
AS
|
|
1
|
|
R
|
|
1
|
|
E ,
|
|
close subproof,
0
|
|
I –
|
|
open subproof,
1
|
|
AS
|
|
open subproof,
2
|
|
AS
|
|
open subproof,
3
|
|
AS
|
|
3
|
|
R
|
|
close subproof,
2
|
|
I –
|
|
2
|
|
R
|
|
2
|
|
E ,
|
|
close subproof,
1
|
|
IP –
|
|
close subproof,
0
|
|
I –
|
is strictly stronger than : there are things which can be proved in , but not in (e.g., ).
The important point about can be put like this: if you have a long string of boxes and diamonds, in any combination whatsoever, you can delete all but the last of them. So for example, can be simplified down to just .
Practice exercises
A. Provide proofs for the following:
-
1.
-
2.
-
3.
-
4.
B. Provide proofs for the following (without using Modal Conversion!):
-
1.
-
2.
-
3.
-
4.
C. Provide proofs of the following (and now feel free to use Modal Conversion!):
-
1.
-
2.
-
3.
D. Provide proofs for the following:
-
1.
-
2.
E. Provide proofs for the following:
-
1.
-
2.
-
3.
F. Provide proofs in for the following:
-
1.
-
2.
-
3.