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 𝒜1,𝒜2,𝒜n𝒞 means that 𝒞 can be proven from 𝒜1,𝒜2,𝒜n. 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 𝒜1,𝒜2,𝒜n in system 𝐊, we will write: 𝒜1,𝒜2,𝒜n𝐊𝒞.

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 (AA). The first thing we need to do is prove that AA is a theorem. You already know how to do that using TFL. You simply present a proof of AA which doesn’t start with any premises, like this:

Line number

Subproof level

Formula

Justification

1

open subproof, 1
A
AS

2

1
A
R 1

3

close subproof, 0
AA
I 12

But to apply I, we need to have proven the formula inside a strict subproof. Since our proof of AA makes use of no assumptions at all, this is possible.

Line number

Subproof level

Formula

Justification

1

open subproof, 1
AS

2

open subproof, 2
A
AS

3

2
A
R 2

4

close subproof, 1
AA
I 23

5

close subproof, 0
(AA)
I 14

Line number

Subproof level

Formula

Justification

m

open subproof, 1
AS

n

1
𝒜

close subproof, 0
𝒜
I mn

No line above line m may be cited by any rule within the strict subproof begun at line m 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 AA:

Line number

Subproof level

Formula

Justification

1

0
A
PR

2

open subproof, 1
AS

3

1
A
incorrect use of R 1

4

close subproof, 0
A
I 23

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

m

0
𝒜

open subproof, 1
AS

n

1
𝒜
E m

E can only be applied if line m (containing A) lies outside of the strict subproof in which line n falls, and this strict subproof is not itself part of a strict subproof not containing m.

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

1

0
𝒜

2

open subproof, 1
AS

3

open subproof, 2
AS

4

2
𝒜
incorrect use of E 1

The incorrect use of E on line 4 violates the condition, because although line 1 lies outside the strict subproof in which line 4 falls, the strict subproof containing line 4 lies inside the strict subproof beginning on line 2 which does not contain line 1.

Let’s begin with an example.

Line number

Subproof level

Formula

Justification

1

0
A
PR

2

0
B
PR

3

open subproof, 1
AS

4

1
A
E 1

5

1
B
E 2

6

1
AB
I 4, 5

7

close subproof, 0
(AB)
I 37

We can also mix regular subproofs and strict subproofs:

Line number

Subproof level

Formula

Justification

1

0
(AB)
PR

2

open subproof, 1
A
AS

3

open subproof, 2
AS

4

2
A
E 2

5

2
AB
E 1

6

2
B
E 4, 5

7

close subproof, 1
B
I 36

8

close subproof, 0
AB
I 27

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:

𝒜=df¬¬𝒜

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

m

0
¬¬𝒜

0
𝒜
Def m

Line number

Subproof level

Formula

Justification

m

0
𝒜

0
¬¬𝒜
Def m

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

m

0
¬𝒜

0
¬𝒜
MC m

Line number

Subproof level

Formula

Justification

m

0
¬𝒜

0
¬𝒜
MC m

Line number

Subproof level

Formula

Justification

m

0
¬𝒜

0
¬𝒜
MC m

Line number

Subproof level

Formula

Justification

m

0
¬𝒜

0
¬𝒜
MC m

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 A¬¬A. 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: 𝒜=df¬¬𝒜. 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

m

0
𝒜

n

0
𝒜
R𝐓 m

The line n on which rule R𝐓 is applied must not lie in a strict subproof that begins after line m.

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., AA.

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 (PP) like this:

Line number

Subproof level

Formula

Justification

1

open subproof, 1
AS

2

open subproof, 2
AS

3

open subproof, 3
P
AS

4

3
P
R 3

5

close subproof, 2
PP
I 34

6

close subproof, 1
(PP)
I 25

7

close subproof, 0
(PP)
I 16

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

m

0
𝒜

open subproof, 1
AS

n

1
𝒜
R𝟒 m

Note that R𝟒 can only be applied if line m (containing A) lies outside of the strict subproof in which line n falls, and this strict subproof is not itself part of a strict subproof not containing m.

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

1

open subproof, 1
A
AS

2

open subproof, 2
AS

3

2
A
R𝟒 1

4

close subproof, 1
A
I 23

5

close subproof, 0
AA
I 16

Similarly, we can prove AA. 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

m

0
¬𝒜

open subproof, 1
AS

n

1
¬𝒜
R𝟓 m

Rule R𝟓 can only be applied if line m (containing ¬𝒜) lies outside of the strict subproof in which line n falls, and this strict subproof is not itself part of a strict subproof not containing line m.

This rule allows us to show, for instance, that A𝐒𝟓A:

Line number

Subproof level

Formula

Justification

1

0
A
PR

2

0
¬¬A
Def 1

3

open subproof, 1
¬A
AS

4

open subproof, 2
AS

5

2
¬A
R𝟓 3

6

close subproof, 1
¬A
I 45

7

1
¬E 2, 6

8

close subproof, 0
A
IP 37

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 A𝐒𝟓A without using R𝟒:

Line number

Subproof level

Formula

Justification

1

0
A
PR

2

open subproof, 1
¬A
AS

3

1
¬A
R𝐓 2

4

1
¬E 1, 3

5

close subproof, 0
¬¬A
¬I 24

6

open subproof, 1
AS

7

open subproof, 2
¬A
AS

8

open subproof, 3
AS

9

3
¬A
R𝟓 7

10

close subproof, 2
¬A
I 89

11

2
¬¬A
R𝟓 5

12

2
¬E 10, 11

13

close subproof, 1
A
IP 712

14

close subproof, 0
A
I 613

𝐒𝟓 is strictly stronger than 𝐒𝟒: there are things which can be proved in 𝐒𝟓, but not in 𝐒𝟒 (e.g., AA).

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, A can be simplified down to just A.

Practice exercises

A. Provide proofs for the following:

  1. 1.

    (AB)𝐊AB

  2. 2.

    AB𝐊(AB)

  3. 3.

    AB𝐊(AB)

  4. 4.

    (AB)𝐊AB

B. Provide proofs for the following (without using Modal Conversion!):

  1. 1.

    ¬A𝐊¬A

  2. 2.

    ¬A𝐊¬A

  3. 3.

    ¬A𝐊¬A

  4. 4.

    ¬A𝐊¬A

C. Provide proofs of the following (and now feel free to use Modal Conversion!):

  1. 1.

    (AB),A𝐊B

  2. 2.

    A𝐊¬¬A

  3. 3.

    ¬¬A𝐊A

D. Provide proofs for the following:

  1. 1.

    P𝐓P

  2. 2.

    𝐓(AB)(¬A¬B)

E. Provide proofs for the following:

  1. 1.

    (AB),(BC),A𝐒𝟒C

  2. 2.

    A𝐒𝟒(AB)

  3. 3.

    A𝐒𝟒A

F. Provide proofs in 𝐒𝟓 for the following:

  1. 1.

    ¬¬A,B𝐒𝟓(AB)

  2. 2.

    A𝐒𝟓A

  3. 3.

    A𝐒𝟓A