# Informal Conventions

In The Sentential Language, we gave an informal description of a sentential language, namely ${\displaystyle {\mathcal {L_{S}}}\,\!}$. We have also given a Formal Syntax for ${\displaystyle {\mathcal {L_{S}}}\,\!}$. Our official grammar generates a large number of parentheses. This makes formal definitions and other specifications easier to write, but it makes the language rather cumbersome to use. In addition, all the subscripts and superscripts quickly get to be unnecessarily tedious. The end result is an ugly and difficult to read language.

We will continue to use official grammar for specifying formalities. However, we will informally use a less cumbersome variant for other purposes. The transformation rules below convert official formulae of ${\displaystyle {\mathcal {L_{S}}}\,\!}$ into our informal variant.

## Transformation rules

We create informal variants of official ${\displaystyle {\mathcal {L_{S}}}\,\!}$ formulae as follows. The examples are cumulative.

• The official grammar required sentence letters to have the superscript '0'. Superscripts aren't necessary or even useful until we get to the predicate logic, so we will always omit them in our informal variant. We will write, for example, ${\displaystyle \mathrm {P_{0}} \,\!}$ instead of ${\displaystyle \mathrm {P_{0}^{0}} \,\!}$.
• We will omit the subscript if it is '0'. Thus we will write ${\displaystyle \mathrm {P} \,\!}$ instead of ${\displaystyle \mathrm {P_{0}^{0}} \,\!}$. However, we cannot omit all subscripts; we still need to write, for example, ${\displaystyle \mathrm {P_{1}} \,\!}$.
• We will omit outermost parentheses. For example, we will write
${\displaystyle \mathrm {P} \rightarrow \mathrm {Q} \,\!}$
${\displaystyle (\mathrm {P_{0}^{0}} \rightarrow \mathrm {Q_{0}^{0}} )\ .\,\!}$
• We will let a series of the same binary connective associate on the right. For example, we can transform the official
${\displaystyle (\mathrm {P_{0}^{0}} \land (\mathrm {Q_{0}^{0}} \land \mathrm {R_{0}^{0}} ))\,\!}$
into the informal
${\displaystyle \mathrm {P} \land \mathrm {Q} \land \mathrm {R} \ .\,\!}$
However, the best we can do with
${\displaystyle ((\mathrm {P_{0}^{0}} \land \mathrm {Q_{0}^{0}} )\land \mathrm {R^{0}} )\,\!}$
is
${\displaystyle (\mathrm {P} \land \mathrm {Q} )\land \mathrm {R} \ .\,\!}$
• We will use precedence rankings to omit internal parentheses when possible. For example, we will regard ${\displaystyle \rightarrow \,\!}$ as having lower precedence (wider scope) than ${\displaystyle \lor \,\!}$. This allows us to write
${\displaystyle \mathrm {P} \rightarrow \mathrm {Q} \lor \mathrm {R} \,\!}$
${\displaystyle (\mathrm {P_{0}^{0}} \rightarrow (\mathrm {Q_{0}^{0}} \lor \mathrm {R_{0}^{0}} ))\ .\,\!}$
However, we cannot remove the internal parentheses from
${\displaystyle ((\mathrm {P_{0}^{0}} \rightarrow \mathrm {Q_{0}^{0}} )\lor \mathrm {R_{0}^{0}} )\ .\,\!}$
Our informal variant of this latter formula is
${\displaystyle (\mathrm {P} \rightarrow \mathrm {Q} )\lor \mathrm {R} \ .\,\!}$
Full precedence rankings are given below.

## Precedence and scope

Precedence rankings indicate the order that we evaluate the sentential connectives. ${\displaystyle \lor \,\!}$ has a higher precedence than ${\displaystyle \rightarrow \,\!}$. Thus, in calculating the truth value of

${\displaystyle (1)\quad \mathrm {P} \rightarrow \mathrm {Q} \lor \mathrm {R} \ ,\,\!}$

we start by evaluating the truth value of

${\displaystyle (2)\quad \mathrm {Q} \lor \mathrm {R} \,\!}$

first. Scope is the length of expression that is governed by the connective. The occurrence of ${\displaystyle \rightarrow \,\!}$ in (1) has a wider scope than the occurrence of ${\displaystyle \lor \,\!}$. Thus the occurrence of ${\displaystyle \rightarrow \,\!}$ in (1) governs the whole sentence while the occurrence of ${\displaystyle \lor \,\!}$ in (1) governs only the occurrence of (2) in (1).

The full ranking from highest precedence (narrowest scope) to lowest precedence (widest scope) is:

 ${\displaystyle \lnot \,\!}$ highest precedence (narrowest scope) ${\displaystyle \land \,\!}$ ${\displaystyle \lor \,\!}$ ${\displaystyle \rightarrow \,\!}$ ${\displaystyle \leftrightarrow \,\!}$ lowest precedence (widest scope)

## Examples

Let's look at some examples. First,

${\displaystyle ((\mathrm {P_{0}^{0}} \rightarrow \mathrm {Q_{0}^{0}} )\leftrightarrow ((\mathrm {P_{0}^{0}} \land \mathrm {Q_{0}^{0}} )\lor ((\lnot \mathrm {P_{0}^{0}} \land \mathrm {Q_{0}^{0}} )\lor (\lnot \mathrm {P_{0}^{0}} \land \lnot \mathrm {Q_{0}^{0}} ))))\,\!}$

can be written informally as

${\displaystyle \mathrm {P} \rightarrow \mathrm {Q} \leftrightarrow \mathrm {P} \land \mathrm {Q} \lor \lnot \mathrm {P} \land \mathrm {Q} \lor \lnot \mathrm {P} \land \lnot \mathrm {Q} \ .\,\!}$

Second,

${\displaystyle ((\mathrm {P_{0}^{0}} \leftrightarrow \mathrm {Q_{0}^{0}} )\leftrightarrow ((\mathrm {P_{0}^{0}} \land \mathrm {Q_{0}^{0}} )\lor (\lnot \mathrm {P_{0}^{0}} \land \lnot \mathrm {Q_{0}^{0}} )))\,\!}$

can be written informally as

${\displaystyle (\mathrm {P} \leftrightarrow \mathrm {Q} )\leftrightarrow \mathrm {P} \land \mathrm {Q} \lor \lnot \mathrm {P} \land \lnot \mathrm {Q} \ .\,\!}$

Some unnecessary parentheses may prove helpful. In the two examples above, the informal variants may be easier to read as

${\displaystyle (\mathrm {P} \rightarrow \mathrm {Q} )\leftrightarrow (\mathrm {P} \land \mathrm {Q} )\lor (\lnot \mathrm {P} \land \mathrm {Q} )\lor (\lnot \mathrm {P} \land \lnot \mathrm {Q} )\,\!}$

and

${\displaystyle (\mathrm {P} \leftrightarrow \mathrm {Q} )\leftrightarrow (\mathrm {P} \land \mathrm {Q} )\lor (\lnot \mathrm {P} \land \lnot \mathrm {Q} )\ .\,\!}$

Note that the informal formula

${\displaystyle \lnot \mathrm {P} \rightarrow \mathrm {Q} \,\!}$

is restored to its official form as

${\displaystyle (\lnot \mathrm {P_{0}^{0}} \rightarrow \mathrm {Q_{0}^{0}} )\ .\,\!}$

By contrast, the informal formula

${\displaystyle \lnot (\mathrm {P} \rightarrow \mathrm {Q} )\,\!}$

is restored to its official form as

${\displaystyle \lnot (\mathrm {P_{0}^{0}} \rightarrow \mathrm {Q_{0}^{0}} )\ .\,\!}$