Propositional Logic#
Definition: Propositional Logic
Propositional logic / Sentential calculus / Sentential logic / Statement logic / Zeroth-order logic is the study of zeroth-order formal languages.
Definition: Zeroth-Order Language
A zeroth-order language is a formal language \(\mathcal{L}_0\) whose alphabet \(\Sigma\) consists of:
- a set of symbols \(S_1, S_2, \dotsc\) known as atomic formulas / primitive symbols / atomic sentences / propositional variables;
- a set of symbols \(\{\neg, \land, \lor, \implies, \iff\}\) known as (logical) connectives / propositional connectives / logical operators. These are called negation (\(\neg\)), conjunction / (logical) and (\(\land\)), disjunction / (logical) or (\(\lor\)), implication \((\implies)\) and equivalence (\(\iff\)).
- a set of symbols \(\{(, )\}\) called parentheses.
The words of \(\mathcal{L}_0\) are called well-formed formulas.
We define the formula-building operations for any two well-formed formulas \(\alpha, \beta \in \mathcal{L}_0\):
- \(\mathcal{E}_{\neg}(\alpha) = (\neg \alpha)\);
- \(\mathcal{E}_{\land}(\alpha, \beta) = (\alpha \land \beta)\);
- \(\mathcal{E}_{\lor}(\alpha, \beta) = (\alpha \lor \beta)\);
- \(\mathcal{E}_{\implies}(\alpha, \beta) = \alpha \implies \beta\);
- \(\mathcal{E}_{\iff}(\alpha, \beta) = \alpha \iff \beta\);
We define the well-formed formulas of \(\mathcal{L}_0\) to be precisely:
- All propositional variables \(S_1, S_2, \dotsc\).
- All expressions \(\varepsilon\) for which there exists a finite sequence of expressions \(\varepsilon_1, \dotsc, \varepsilon_n\) such that for each \(i \le n\) we have at least one of the following:
- \(\varepsilon_i\) is a propositional variable;
- \(\varepsilon_i = \mathcal{E}_{\neg}(\varepsilon_j)\) for some \(j \lt i\);
- \(\varepsilon_i = \mathcal{E}_{\square}(\varepsilon_j, \varepsilon_k)\) for some \(j \lt i\) and \(k \lt i\), where \(\square\) is one of the logical connectives \(\land\), \(\lor\), \(\implies\), \(\iff\).
Binary Logic#
Given a zeroth-order language, we are most commonly interested in binary truth assignments \(v: \mathcal{L}_{0} \to \{T, F\}\). We call \(T\) truth and \(F\) falsity. We further impose the following conditions on \(v\). Given any well-formed formulas \(\alpha, \beta\):
- parentheses extraction:
| \((\alpha)\) | \(\alpha\) |
|---|---|
| \(T\) | \(T\) |
| \(F\) | \(F\) |
- truth assignment of negation:
| \(\alpha\) | \(\neg\alpha\) |
|---|---|
| \(T\) | \(F\) |
| \(F\) | \(T\) |
- truth assignment of conjunction:
| \(\alpha\) | \(\beta\) | \(\alpha \land \beta\) |
|---|---|---|
| \(F\) | \(F\) | \(F\) |
| \(T\) | \(F\) | \(F\) |
| \(F\) | \(T\) | \(F\) |
| \(T\) | \(T\) | \(T\) |
- truth assignment of disjunction:
| \(\alpha\) | \(\beta\) | \(\alpha \lor \beta\) |
|---|---|---|
| \(F\) | \(F\) | \(F\) |
| \(T\) | \(F\) | \(T\) |
| \(F\) | \(T\) | \(T\) |
| \(T\) | \(T\) | \(T\) |
- truth assignment of implication:
| \(\alpha\) | \(\beta\) | \(\alpha \implies \beta\) |
|---|---|---|
| \(F\) | \(F\) | \(T\) |
| \(T\) | \(F\) | \(F\) |
| \(F\) | \(T\) | \(T\) |
| \(T\) | \(T\) | \(T\) |
- truth assignment of equivalence:
| \(\alpha\) | \(\beta\) | \(\alpha \implies \beta\) |
|---|---|---|
| \(F\) | \(F\) | \(T\) |
| \(T\) | \(F\) | \(F\) |
| \(F\) | \(T\) | \(F\) |
| \(T\) | \(T\) | \(T\) |
Theorem: Equivalent Statements of Implication
Given any two well-formed formulas \(A\) and \(B\), we have:
Proof
TODO