Chapter 6 Sentences of TFL

The sentence ‘either apples are red, or berries are blue’ is a sentence of English, and the sentence ‘(AB)’ is a sentence of TFL. Although we can identify sentences of English when we encounter them, we do not have a formal definition of ‘sentence of English’. But in this chapter, we will define exactly what will count as a sentence of TFL. This is one respect in which a formal language like TFL is more precise than a natural language like English.

6.1 Expressions

We have seen that there are three kinds of symbols in TFL:

Atomic sentences A,B,C,,Z
with subscripts, as needed A1,B1,Z1,A2,A25,J375,
Connectives ¬,,,,
Brackets ( , )

Define an expression of TFL as any string of symbols of TFL. So: write down any sequence of symbols of TFL, in any order, and you have an expression of TFL.

6.2 Sentences

Given what we just said, ‘(AB)’ is an expression of TFL, and so is ‘¬)(()(¬¬())((B’. But the former is a sentence, and the latter is gibberish. We want some rules to tell us which TFL expressions are sentences.

Obviously, individual sentence letters like ‘A’ and ‘G13’ should count as sentences. (We’ll also call them atomic sentences.) We can form further sentences out of these by using the various connectives. Using negation, we can get ‘¬A’ and ‘¬G13’. Using conjunction, we can get ‘(AG13)’, ‘(G13A)’, ‘(AA)’, and ‘(G13G13)’. We could also apply negation repeatedly to get sentences like ‘¬¬A’ or apply negation along with conjunction to get sentences like ‘¬(AG13)’ and ‘¬(G13¬G13)’. The possible combinations are endless, even starting with just these two sentence letters, and there are infinitely many sentence letters. So there is no point in trying to list all the sentences one by one.

Instead, we will describe the process by which sentences can be constructed. Consider negation: Given any sentence 𝒜 of TFL, ¬𝒜 is a sentence of TFL. (Why the funny fonts? We return to this in section 8.3.)

We can say similar things for each of the other connectives. For instance, if 𝒜 and are sentences of TFL, then (𝒜) is a sentence of TFL. Providing clauses like this for all of the connectives, we arrive at the following formal definition for a sentence of TFL :

  1. 1.

    Every sentence letter is a sentence.

  2. 2.

    If 𝒜 is a sentence, then ¬𝒜 is a sentence.

  3. 3.

    If 𝒜 and are sentences, then (𝒜) is a sentence.

  4. 4.

    If 𝒜 and are sentences, then (𝒜) is a sentence.

  5. 5.

    If 𝒜 and are sentences, then (𝒜) is a sentence.

  6. 6.

    If 𝒜 and are sentences, then (𝒜) is a sentence.

  7. 7.

    Nothing else is a sentence.

Definitions like this are called inductive . Inductive definitions begin with some specifiable base elements, and then present ways to generate indefinitely many more elements by compounding together previously established ones. To give you a better idea of what an inductive definition is, we can give an inductive definition of the idea of an ancestor of mine. We specify a base clause:

  • My parents are ancestors of mine.

and then offer further clauses like:

  • If x is an ancestor of mine, then x’s parents are ancestors of mine.

Finally, we stipulate that only what the base and inductive clauses say are ancestors of mine will count as such.

  • Nothing else is an ancestor of mine.

Using this definition, we can easily check to see whether someone is my ancestor: just check whether she is the parent of the parent of…one of my parents. And the same is true for our inductive definition of sentences of TFL. Just as the inductive definition allows complex sentences to be built up from simpler parts, the definition allows us to decompose sentences into their simpler parts. Once we get down to sentence letters, then we know we are ok.

Let’s consider some examples.

Suppose we want to know whether or not ‘¬¬¬D’ is a sentence of TFL. Looking at the second clause of the definition, we know that ‘¬¬¬D’ is a sentence if¬¬D’ is a sentence. So now we need to ask whether or not ‘¬¬D’ is a sentence. Again looking at the second clause of the definition, ‘¬¬D’ is a sentence if¬D’ is. So, ‘¬D’ is a sentence ifD’ is a sentence. Now ‘D’ is a sentence letter of TFL, so we know that ‘D’ is a sentence by the first clause of the definition. So for a compound sentence like ‘¬¬¬D’, we must apply the definition repeatedly. Eventually we arrive at the sentence letters from which the sentence is built up.

Next, consider the example ‘¬(P¬(¬QR))’. Looking at the second clause of the definition, this is a sentence if ‘(P¬(¬QR))’ is, and this is a sentence if bothPand¬(¬QR)’ are sentences. The former is a sentence letter, and the latter is a sentence if ‘(¬QR)’ is a sentence. It is. Looking at the fourth clause of the definition, this is a sentence if both ‘¬Q’ and ‘R’ are sentences, and both are!

Ultimately, every sentence is constructed nicely out of sentence letters. When we are dealing with a sentence other than a sentence letter, we can see that there must be some sentential connective that was introduced last, when constructing the sentence. We call that connective the main logical operator of the sentence. In the case of ‘¬¬¬D’, the main logical operator is the very first ‘¬’ sign. In the case of ‘(P¬(¬QR))’, the main logical operator is ‘’. In the case of ‘((¬EF)¬¬G)’, the main logical operator is ‘’.

As a general rule, you can find the main logical operator for a sentence by using the following method:

  • If the first symbol in the sentence is ‘¬’, then that is the main logical operator

  • Otherwise, start counting the brackets. For each open-bracket, i.e., ‘(’, add 1; for each closing-bracket, i.e., ‘)’, subtract 1. When your count is at exactly 1, the first operator you hit (apart from a ‘¬’) is the main logical operator.

(Note: if you do use this method, then make sure to include all the brackets in the sentence, rather than omitting some as per the conventions of section 6.3!)

The inductive structure of sentences in TFL will be important when we consider the circumstances under which a particular sentence would be true or false. The sentence ‘¬¬¬D’ is true if and only if the sentence ‘¬¬D’ is false, and so on through the structure of the sentence, until we arrive at the atomic components. We will return to this point in part III.

The inductive structure of sentences in TFL also allows us to give a formal definition of the scope of a negation (mentioned in section 5.2). The scope of a ‘¬’ is the subsentence for which ‘¬’ is the main logical operator. Consider a sentence like:

(P(¬(RB)Q))

which was constructed by conjoining ‘P’ with ‘(¬(RB)Q)’. This last sentence was constructed by placing a biconditional between ‘¬(RB)’ and ‘Q’. The former of these sentences—a subsentence of our original sentence—is a sentence for which ‘¬’ is the main logical operator. So the scope of the negation is just ‘¬(RB)’. More generally:

The scope of a connective (in a sentence) is the subsentence for which that connective is the main logical operator.

6.3 Bracketing conventions

Strictly speaking, the brackets in ‘(QR)’ are an indispensable part of the sentence. Part of this is because we might use ‘(QR)’ as a subsentence in a more complicated sentence. For example, we might want to negate ‘(QR)’, obtaining ‘¬(QR)’. If we just had ‘QR’ without the brackets and put a negation in front of it, we would have ‘¬QR’. It is most natural to read this as meaning the same thing as ‘(¬QR)’, but as we saw in section 5.2, this is very different from ‘¬(QR)’.

Strictly speaking, then, ‘QR’ is not a sentence. It is a mere expression.

When working with TFL, however, it will make our lives easier if we are sometimes a little less than strict. So, here are some convenient conventions.

First, we allow ourselves to omit the outermost brackets of a sentence. Thus we allow ourselves to write ‘QR’ instead of the sentence ‘(QR)’. However, we must remember to put the brackets back in, when we want to embed the sentence into a more complicated sentence!

Second, it can be a bit painful to stare at long sentences with many nested pairs of brackets. To make things a bit easier on the eyes, we will allow ourselves to use square brackets, ‘[’ and ‘]’, instead of rounded ones. So there is no logical difference between ‘(PQ)’ and ‘[PQ]’, for example.

Combining these two conventions, we can rewrite the unwieldy sentence

(((HI)(IH))(JK))

rather more clearly as follows:

[(HI)(IH)](JK)

The scope of each connective is now much easier to pick out.

Practice exercises

A. For each of the following: (a) Is it a sentence of TFL, strictly speaking? (b) Is it a sentence of TFL, allowing for our relaxed bracketing conventions?

  1. 1.

    (A)

  2. 2.

    J374¬J374

  3. 3.

    ¬¬¬¬F

  4. 4.

    ¬S

  5. 5.

    (G¬G)

  6. 6.

    (A(A¬F))(DE)

  7. 7.

    [(ZS)W][JX]

  8. 8.

    (F¬DJ)(CD)

B. Are there any sentences of TFL that contain no sentence letters? Explain your answer.

C. What is the scope of each connective in the sentence

[(HI)(IH)](JK)