Definition:Language of Propositional Logic
Definition
There are a lot of different formal systems expressing propositional logic.
Although they vary wildly in complexity and even disagree (to some extent) on what expressions are valid, generally all of these use a compatible formal language.
This page defines the formal language of choice on $\mathsf{Pr} \infty \mathsf{fWiki}$.
We will use $\mathcal L_0$ to represent the formal language of propositional logic in what follows.
In order to define $\mathcal L_0$, it is necessary to specify:
- An alphabet $\mathcal A$
- A collation system with the unique readability property for $\mathcal A$
- A formal grammar (which determines the WFFs of $\mathcal L_0$)
Alphabet
Letters
The letters of $\LL_0$, called propositional symbols, can be any infinite collection $\PP_0$ of arbitrary symbols.
It is usual to specify them as a limited subset of the English alphabet with appropriate subscripts.
A typical set of propositional symbols would be, for example:
- $\PP_0 = \set {p_1, p_2, p_3, \ldots, p_n, \ldots}$
Signs
The signs of the language of propositional logic come in two categories:
Brackets
\(\displaystyle \bullet \ \ \) | \(\displaystyle (\) | \(:\) | \(\displaystyle \)the left bracket sign\(\) | ||||||||||
\(\displaystyle \bullet \ \ \) | \(\displaystyle )\) | \(:\) | \(\displaystyle \)the right bracket sign\(\) |
Connectives
\(\displaystyle \bullet \ \ \) | \(\displaystyle \land\) | \(:\) | \(\displaystyle \)the conjunction sign\(\) | ||||||||||
\(\displaystyle \bullet \ \ \) | \(\displaystyle \lor\) | \(:\) | \(\displaystyle \)the disjunction sign\(\) | ||||||||||
\(\displaystyle \bullet \ \ \) | \(\displaystyle \implies\) | \(:\) | \(\displaystyle \)the conditional sign\(\) | ||||||||||
\(\displaystyle \bullet \ \ \) | \(\displaystyle \iff\) | \(:\) | \(\displaystyle \)the biconditional sign\(\) | ||||||||||
\(\displaystyle \bullet \ \ \) | \(\displaystyle \neg\) | \(:\) | \(\displaystyle \)the negation sign\(\) | ||||||||||
\(\displaystyle \bullet \ \ \) | \(\displaystyle \top\) | \(:\) | \(\displaystyle \)the tautology sign\(\) | ||||||||||
\(\displaystyle \bullet \ \ \) | \(\displaystyle \bot\) | \(:\) | \(\displaystyle \)the contradiction sign\(\) |
These comprise:
- The nullary connectives $\top$ and $\bot$, representing the canonical tautology and contradiction, respectively
- The unary connective $\neg$, representing negation
- The binary connectives $\land, \lor, \implies$ and $\iff$, representing, respectively, conjunction, disjunction, implication and biconditional.
Collation System
The collation system for the language of propositional logic is that of words and concatenation.
To ensure the unique readability property, it is necessary that the vocabulary $\mathcal P_0$ is chosen appropriately.
In particular, such that it does not conflict with the signs.
Formal Grammar
The formal grammar of the language of propositional logic (and hence its WFFs) can be defined in the following ways.
Backus-Naur Form
In Backus-Naur form, the formal grammar of the language of propositional logic takes the following form:
\(\displaystyle \)<formula>\(\) | \(\)::=\(\) | \(\displaystyle p \ \mid \ \top \ \mid \ \bot\) | where $p \in \PP_0$ is a letter | ||||||||||
\(\displaystyle \)<formula>\(\) | \(\)::=\(\) | \(\displaystyle \neg\) <formula>\(\) | |||||||||||
\(\displaystyle \)<formula>\(\) | \(\)::=\(\) | \(\displaystyle (\) <formula> <op> <formula> \()\) | |||||||||||
\(\displaystyle \)<op>\(\) | \(\)::=\(\) | \(\displaystyle \land \ \mid \ \lor \ \mid \implies \mid \iff\) |
Note that this is a top-down grammar:
- we start with a metasymbol <formula>
- progressively replace it with constructs containing other metasymbols and/or primitive symbols
until finally we are left with a well-formed formula of $\LL_0$ consisting of nothing but primitive symbols.
Bottom-Up Specification
The following rules of formation constitute a bottom-up grammar for the language of propositional logic $\LL_0$.
- Let $\PP_0$ be the vocabulary of $\LL_0$.
- Let $Op = \set {\land, \lor, \implies, \iff}$.
The rules are:
$\mathbf W: TF$ | $:$ | $\top$ is a WFF, and $\bot$ is a WFF. | |
$\mathbf W: \PP_0$ | $:$ | If $p \in \PP_0$, then $p$ is a WFF. | |
$\mathbf W: \neg$ | $:$ | If $\mathbf A$ is a WFF, then $\neg \mathbf A$ is a WFF. | |
$\mathbf W: Op$ | $:$ | If $\mathbf A$ is a WFF and $\mathbf B$ is a WFF and $\circ \in Op$, then $\paren {\mathbf A \circ \mathbf B}$ is a WFF. |
Any string which can not be created by means of the above rules is not a WFF.
Also defined as
Since most authors concern themselves only with one formal system for propositional logic, they tend to refer to the whole formal system as propositional logic or propositional calculus.
In correspondence, a particular author may decide to use only a subset of the signs.
Generally, the other signs then are considered definitional abbreviations.
At $\mathsf{Pr} \infty \mathsf{fWiki}$ we aim to incorporate all these different approaches, and thus we have come to separately define the formal language.
For the sakes of modularity and universality, we have settled for the formal language on this page as the language of choice on $\mathsf{Pr} \infty \mathsf{fWiki}$.
The page Definition:Translation Scheme for Propositional Logic documents how various other approaches from the literature can be translated into ours.
If so desired, a generic such formal system may be addressed as a propositional calculus, but this has to be used with reluctance and caution.
Also see
- Definition:Language of Propositional Logic/Keisler-Robbin
- Definition:Language of Propositional Logic/Basson-O'Connor
- Results about the language of propositional logic can be found here.
Sources
- 1959: A.H. Basson and D.J. O'Connor: Introduction to Symbolic Logic (3rd ed.) ... (previous) ... (next): $\S 4.2$: The Construction of an Axiom System
- 1964: Donald Kalish and Richard Montague: Logic: Techniques of Formal Reasoning ... (previous) ... (next): $\text{II}$: 'AND', 'OR', 'IF AND ONLY IF': $\S 3$
- 1965: E.J. Lemmon: Beginning Logic ... (previous) ... (next): $\S 2.1$: Introduction
- 1980: D.J. O'Connor and Betty Powell: Elementary Logic ... (previous) ... (next): $\S \text{I}: 1$: The Logic of Statements $(1)$
- 1993: M. Ben-Ari: Mathematical Logic for Computer Science ... (previous) ... (next): Chapter $1$: Introduction: $\S 1.2$: Propositional and predicate calculus