# Implicational propositional calculus

In mathematical logic, the implicational propositional calculus is a version of classical propositional calculus which uses only one connective, called implication or conditional. In formulas, this binary operation is indicated by "implies", "if ..., then ...", "→", "${\displaystyle \rightarrow }$", etc..

## Virtual completeness as an operator

Implication alone is not functionally complete as a logical operator because one cannot form all other two-valued truth functions from it. However, if one has a propositional formula which is known to be false and uses that as if it were a nullary connective for falsity, then one can define all other truth functions. So implication is virtually complete as an operator. If P,Q, and F are propositions and F is known to be false, then:

• ¬P is equivalent to PF
• PQ is equivalent to (P → (QF)) → F
• PQ is equivalent to (PQ) → Q
• PQ is equivalent to ((PQ) → ((QP) → F)) → F

More generally, since the above operators are known to be functionally complete, it follows that any truth function can be expressed in terms of "→" and "F", if we have a proposition F which is known to be false.

It is worth noting that F is not definable from → and arbitrary sentence variables: any formula constructed from → and propositional variables must receive the value true when all of its variables are evaluated to true. It follows as a corollary that {→} is not functionally complete. It cannot, for example, be used to define the two-place truth function that always returns false.

## Axiom system

The following statements are considered tautologies (irreducible and intuitively true, by definition).

Where in each case, P, Q, and R may be replaced by any formulas which contain only "→" as a connective. If Γ is a set of formulas and A a formula, then ${\displaystyle \Gamma \vdash A}$ means that A is derivable using the axioms and rules above and formulas from Γ as additional hypotheses.

Łukasiewicz (1948) found an axiom system for the implicational calculus, which replaces the schemas 1–3 above with a single schema

• ((PQ) → R) → ((RP) → (SP)).

He also argued that there is no shorter axiom system.

## Basic properties of derivation

Since all axioms and rules of the calculus are schemata, derivation is closed under substitution:

If ${\displaystyle \Gamma \vdash A,}$ then ${\displaystyle \sigma (\Gamma )\vdash \sigma (A),}$

where σ is any substitution (of formulas using only implication).

The implicational propositional calculus also satisfies the deduction theorem:

If ${\displaystyle \Gamma ,A\vdash B}$, then ${\displaystyle \Gamma \vdash A\to B.}$

As explained in the deduction theorem article, this holds for any axiomatic extension of the system containing axiom schemas 1 and 2 above and modus ponens.

## Completeness

The implicational propositional calculus is semantically complete with respect to the usual two-valued semantics of classical propositional logic. That is, if Γ is a set of implicational formulas, and A is an implicational formula entailed by Γ, then ${\displaystyle \Gamma \vdash A}$.

### Proof

A proof of the completeness theorem is outlined below. First, using the compactness theorem and the deduction theorem, we may reduce the completeness theorem to its special case with empty Γ, i.e., we only need to show that every tautology is derivable in the system.

The proof is similar to completeness of full propositional logic, but it also uses the following idea to overcome the functional incompleteness of implication. If A and F are formulas, then AF is equivalent to A*) ∨ F, where A* is the result of replacing in A all, some, or none of the occurrences of F by falsity. Similarly, (AF) → F is equivalent to A*F. So under some conditions, one can use them as substitutes for saying A* is false or A* is true respectively.

We first observe some basic facts about derivability:

${\displaystyle A\to B,B\to C\vdash A\to C}$

(1)

Indeed, we can derive A → (BC) using Axiom 1, and then derive AC by modus ponens (twice) from Ax. 2.

${\displaystyle A\to B\vdash (B\to C)\to (A\to C)}$

(2)

This follows from (1) by the deduction theorem.

${\displaystyle A\to C,(A\to B)\to C\vdash C}$

(3)

If we further assume CB, we can derive AB using (1), then we derive C by modus ponens. This shows ${\displaystyle A\to C,(A\to B)\to C,C\to B\vdash C}$, and the deduction theorem gives ${\displaystyle A\to C,(A\to B)\to C\vdash (C\to B)\to C}$. We apply Ax. 3 to obtain (3).

Let F be an arbitrary fixed formula. For any formula A, we define A0 = (AF) and A1 = ((AF) → F). Consider only formulas in propositional variables p1, ..., pn. We claim that for every formula A in these variables and every truth assignment e,

${\displaystyle p_{1}^{e(p_{1})},\dots ,p_{n}^{e(p_{n})}\vdash A^{e(A)}.}$

(4)

We prove (4) by induction on A. The base case A = pi is trivial. Let A = (BC). We distinguish three cases:

1. e(C) = 1. Then also e(A) = 1. We have
${\displaystyle (C\to F)\to F\vdash ((B\to C)\to F)\to F}$
by applying (2) twice to the axiom C → (BC). Since we have derived (CF) → F by the induction hypothesis, we can infer ((BC) → F) → F.
2. e(B) = 0. Then again e(A) = 1. The deduction theorem applied to (3) gives
${\displaystyle B\to F\vdash ((B\to C)\to F)\to F.}$
Since we have derived BF by the induction hypothesis, we can infer ((BC) → F) → F.
3. e(B) = 1 and e(C) = 0. Then e(A) = 0. We have
{\displaystyle {\begin{aligned}(B\to F)\to F,C\to F,B\to C&\vdash B\to F&&{\text{by (1)}}\\&\vdash F&&{\text{by modus ponens,}}\end{aligned}}}
thus ${\displaystyle (B\to F)\to F,C\to F\vdash (B\to C)\to F}$ by the deduction theorem. We have derived (BF) → F and CF by the induction hypothesis, hence we can infer (BC) → F. This completes the proof of (4).

Now let F be a tautology in variables p1, ..., pn. We will prove by reverse induction on k = n,...,0 that for every assignment e,

${\displaystyle p_{1}^{e(p_{1})},\dots ,p_{k}^{e(p_{k})}\vdash F.}$

(5)

The base case k = n follows from a special case of (4) using

${\displaystyle F^{e(F)}=F^{1}=((F\to F)\to F)}$

and the fact that FF is a theorem by the deduction theorem.

Assume that (5) holds for k + 1, we will show it for k. By applying deduction theorem to the induction hypothesis, we obtain

{\displaystyle {\begin{aligned}p_{1}^{e(p_{1})},\dots ,p_{k}^{e(p_{k})}&\vdash (p_{k+1}\to F)\to F,\\p_{1}^{e(p_{1})},\dots ,p_{k}^{e(p_{k})}&\vdash ((p_{k+1}\to F)\to F)\to F,\end{aligned}}}

by first setting e(pk+1) = 0 and second setting e(pk+1) = 1. From this we derive (5) using modus ponens.

For k = 0 we obtain that the tautology F is provable without assumptions. This is what was to be proved.

This proof is constructive. That is, given a tautology, one could actually follow the instructions and create a proof of it from the axioms. However, the length of such a proof increases exponentially with the number of propositional variables in the tautology, hence it is not a practical method for any but the very shortest tautologies.

## The Bernays–Tarski axiom system

The Bernays–Tarski axiom system is often used. In particular, Łukasiewicz's paper derives the Bernays–Tarski axioms from Łukasiewicz's sole axiom as a means of showing its completeness.
It differs from the axiom schemas above by replacing axiom schema 2, (P→(QR))→((PQ)→(PR)), with

• Axiom schema 2': (PQ)→((QR)→(PR))

which is called hypothetical syllogism. This makes derivation of the deduction meta-theorem a little more difficult, but it can still be done.

We show that from P→(QR) and PQ one can derive PR. This fact can be used in lieu of axiom schema 2 to get the meta-theorem.

1. P→(QR) given
2. PQ given
3. (PQ)→((QR)→(PR)) ax 2'
4. (QR)→(PR) mp 2,3
5. (P→(QR))→(((QR)→(PR))→(P→(PR))) ax 2'
6. ((QR)→(PR))→(P→(PR)) mp 1,5
7. P→(PR) mp 4,6
8. (P→(PR))→(((PR)→R)→(PR)) ax 2'
9. ((PR)→R)→(PR) mp 7,8
10. (((PR)→R)→(PR))→(PR) ax 3
11. PR mp 9,10 qed

## Testing whether a formula of the implicational propositional calculus is a tautology

In this case, a useful technique is to presume that the formula is not a tautology and attempt to find a valuation which makes it false. If one succeeds, then it is indeed not a tautology. If one fails, then it is a tautology.

Example of a non-tautology:

Suppose [(AB)→((CA)→E)]→([F→((CD)→E)]→[(AF)→(DE)]) is false.

Then (AB)→((CA)→E) is true; F→((CD)→E) is true; AF is true; D is true; and E is false.

Since D is true, CD is true. So the truth of F→((CD)→E) is equivalent to the truth of FE.

Then since E is false and FE is true, we get that F is false.

Since AF is true, A is false. Thus AB is true and (CA)→E is true.

CA is false, so C is true.

The value of B does not matter, so we can arbitrarily choose it to be true.

Summing up, the valuation which sets B, C and D to be true and A, E and F to be false will make [(AB)→((CA)→E)]→([F→((CD)→E)]→[(AF)→(DE)]) false. So it is not a tautology.

Example of a tautology:

Suppose ((AB)→C)→((CA)→(DA)) is false.

Then (AB)→C is true; CA is true; D is true; and A is false.

Since A is false, AB is true. So C is true. Thus A must be true, contradicting the fact that it is false.

Thus there is no valuation which makes ((AB)→C)→((CA)→(DA)) false. Consequently, it is a tautology.

What would happen if another axiom schema were added to those listed above? There are two cases: (1) it is a tautology; or (2) it is not a tautology.

If it is a tautology, then the set of theorems remains the set of tautologies as before. However, in some cases it may be possible to find significantly shorter proofs for theorems. Nevertheless, the minimum length of proofs of theorems will remain unbounded, that is, for any natural number n there will still be theorems which cannot be proved in n or fewer steps.

If the new axiom schema is not a tautology, then every formula becomes a theorem (which makes the concept of a theorem useless in this case). What is more, there is then an upper bound on the minimum length of a proof of every formula, because there is a common method for proving every formula. For example, suppose the new axiom schema were ((BC)→C)→B. Then ((A→(AA))→(AA))→A is an instance (one of the new axioms) and also not a tautology. But [((A→(AA))→(AA))→A]→A is a tautology and thus a theorem due to the old axioms (using the completeness result above). Applying modus ponens, we get that A is a theorem of the extended system. Then all one has to do to prove any formula is to replace A by the desired formula throughout the proof of A. This proof will have the same number of steps as the proof of A.

## An alternative axiomatization

The axioms listed above primarily work through the deduction metatheorem to arrive at completeness. Here is another axiom system which aims directly at completeness without going through the deduction metatheorem.

First we have axiom schemas which are designed to efficiently prove the subset of tautologies which contain only one propositional variable.

• aa 1: ꞈAA
• aa 2: (AB)→ꞈ(A→(CB))
• aa 3: A→((BC)→ꞈ((AB)→C))
• aa 4: A→ꞈ(BA)

The proof of each such tautology would begin with two parts (hypothesis and conclusion) which are the same. Then insert additional hypotheses between them. Then insert additional tautological hypotheses (which are true even when the sole variable is false) into the original hypothesis. Then add more hypotheses outside (on the left). This procedure will quickly give every tautology containing only one variable. (The symbol "ꞈ" in each axiom schema indicates where the conclusion used in the completeness proof begins. It is merely a comment, not a part of the formula.)

Consider any formula Φ which may contain A, B, C1, ..., Cn and ends with A as its final conclusion. Then we take

• aa 5: Φ→(Φ+→ꞈΦ)

as an axiom schema where Φ is the result of replacing B by A throughout Φ and Φ+ is the result of replacing B by (AA) throughout Φ. This is a schema for axiom schemas since there are two level of substitution: in the first Φ is substituted (with variations); in the second, any of the variables (including both A and B) may be replaced by arbitrary formulas of the implicational propositional calculus. This schema allows one to prove tautologies with more than one variable by considering the case when B is false Φ and the case when B is true Φ+.

If the variable which is the final conclusion of a formula takes the value true, then the whole formula takes the value true regardless of the values of the other variables. Consequently if A is true, then Φ, Φ, Φ+ and Φ→(Φ+→Φ) are all true. So without loss of generality, we may assume that A is false. Notice that Φ is a tautology if and only if both Φ and Φ+ are tautologies. But while Φ has n+2 distinct variables, Φ and Φ+ both have n+1. So the question of whether a formula is a tautology has been reduced to the question of whether certain formulas with one variable each are all tautologies. Also notice that Φ→(Φ+→Φ) is a tautology regardless of whether Φ is, because if Φ is false then either Φ or Φ+ will be false depending on whether B is false or true.

Examples:

Deriving Peirce's law

1. [((PP)→P)→P]→([((P→(PP))→P)→P]→[((PQ)→P)→P]) aa 5
2. PP aa 1
3. (PP)→((PP)→(((PP)→P)→P)) aa 3
4. (PP)→(((PP)→P)→P) mp 2,3
5. ((PP)→P)→P mp 2,4
6. [((P→(PP))→P)→P]→[((PQ)→P)→P] mp 5,1
7. P→(PP) aa 4
8. (P→(PP))→((PP)→(((P→(PP))→P)→P)) aa 3
9. (PP)→(((P→(PP))→P)→P) mp 7,8
10. ((P→(PP))→P)→P mp 2,9
11. ((PQ)→P)→P mp 10,6 qed

Deriving Łukasiewicz' sole axiom

1. [((PQ)→P)→((PP)→(SP))]→([((PQ)→(PP))→(((PP)→P)→(SP))]→[((PQ)→R)→((RP)→(SP))]) aa 5
2. [((PP)→P)→((PP)→(SP))]→([((P→(PP))→P)→((PP)→(SP))]→[((PQ)→P)→((PP)→(SP))]) aa 5
3. P→(SP) aa 4
4. (P→(SP))→(P→((PP)→(SP))) aa 2
5. P→((PP)→(SP)) mp 3,4
6. PP aa 1
7. (PP)→((P→((PP)→(SP)))→[((PP)→P)→((PP)→(SP))]) aa 3
8. (P→((PP)→(SP)))→[((PP)→P)→((PP)→(SP))] mp 6,7
9. ((PP)→P)→((PP)→(SP)) mp 5,8
10. [((P→(PP))→P)→((PP)→(SP))]→[((PQ)→P)→((PP)→(SP))] mp 9,2
11. P→(PP) aa 4
12. (P→(PP))→((P→((PP)→(SP)))→[((P→(PP))→P)→((PP)→(SP))]) aa 3
13. (P→((PP)→(SP)))→[((P→(PP))→P)→((PP)→(SP))] mp 11,12
14. ((P→(PP))→P)→((PP)→(SP)) mp 5,13
15. ((PQ)→P)→((PP)→(SP)) mp 14,10
16. [((PQ)→(PP))→(((PP)→P)→(SP))]→[((PQ)→R)→((RP)→(SP))] mp 15,1
17. (PP)→((P→(SP))→[((PP)→P)→(SP)]) aa 3
18. (P→(SP))→[((PP)→P)→(SP)] mp 6,17
19. ((PP)→P)→(SP) mp 3,18
20. (((PP)→P)→(SP))→[((PQ)→(PP))→(((PP)→P)→(SP))] aa 4
21. ((PQ)→(PP))→(((PP)→P)→(SP)) mp 19,20
22. ((PQ)→R)→((RP)→(SP)) mp 21,16 qed

Using a truth table to verify Łukasiewicz' sole axiom would require consideration of 16=24 cases since it contains 4 distinct variables. In this derivation, we were able to restrict consideration to merely 3 cases: R is false and Q is false, R is false and Q is true, and R is true. However because we are working within the formal system of logic (instead of outside it, informally), each case required much more effort.