Formal Logic/Sentential Logic/Substitution and Interchange

From testwiki
Revision as of 22:04, 19 September 2006 by 193.196.13.2 (talk) (Simultaneous substitutions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Formal Logic:TOCPageNav


Substitution and Interchange

This page will use the notions of occurance and subformula introduced at the Additional terminology section of Formal Syntax. These notions have been little used if at all since then, so you might want to review them.

Substitution

Tautological forms

We have introduced a number of tautologies, one example being

(1)    Q(PQ)

This has the (informally written) form

(2)    ψ(φψ)

As it turns out, any formula matching this form is a tautology. Thus, for example,

(3)    RS(PQRS)

is a tautology. This process is general. Take any tautology. Find its most fully explicity form by uniformly replacing distinct sentence letters with distinct Greek letters. We can call this a tautological form, which will not be a formula but rather a metalogical expression. Any instance of this tautological form is a tautology.

Substitution instances

The preceding illustrated how we can generate new tautologies from old ones via tautological forms. Here, we will show how to generate tautologies without resort to tautological forms. To do this, we will define a substitution instance of a formula. Any substitution instance of a tautology is also a tautology.

First, we define the simple substitution instance of a formula for a sentence letter. Let φ and ψ be formulae and π be a sentence letter. The simple substitution instance φ[π/ψ] is the result of replacing every occurance of π in φ with an occurance of ψ. A substitution instance of formulae for a sentence letters is the result of a chain of simple substitution instances. In particular, a chain of zero simple substitutions instances starting from φ is a substitution instance and indeed is just φ itself. Thus, any formula is a substitution instance of itself.

It turns out that if φ is a tautology, then so is any simple substitution instance φ[π/ψ]. If we start with a tautology and generate a chain of simple substitution instances, then every formula in the chain is also a a tautology. Thus any (not necessarily simple) substitution instance of a tautology is also a tautology.

Substitution examples

Consider (1) again. We substitute RS for every occurance of Q in (1). This gives us the following simple substition instance of (1):

(4)    RS(PRS)

In this, we substitute PQ for P. That gives us (3) as a simple substitution instance of (4). Since (3) is the result of a chain of two simple substitution instances, it is a (non-simple) substitution instance of (1) Since (1) is a tautology, so is (3). We can express the chain of substitutions as

Q(PQ)[Q/RS][P/PQ]

Take another example, also starting from (1). We want to obtain

(5)    P(QP)

Our first attempt won't work. First we substitue Q for P obtaining

Q(QQ)

Next we substitue P for Q obtaining

(6)    P(PP)

This is indeed a tautology, but it is not the one we wanted. Let's try again. In (1), we substitute R for P obtaining

Q(RQ)

Now substitute P for Q obtaining

P(RP)

Finally, substituting P for R gets us the result we wanted, namely (5). Since (1) is a tautology, so is (5). We can express the chain of substitutions as

Q(PQ)[P/R][Q/P][R/P]

Simultaneous substitutions

We can compress a chain of simple substitutions into a single complex substitution. Let φ, ψ1, ψ2, ... be formulae; let π1, π2, ... be sentence letters. We define a simultaneous substitution instance of formulas for sentence letters φ[π1/ψ1, π2/ψ2, ...] be the result of starting with φ and simultaneously replacing π1 with ψ1, π2 with ψ2, .... We can regenerate our examples.

The previously generated formula (3) is

Q(PQ)[P/PQ,Q/RS]

Similarly, (5) is

Q(PQ)[P/Q, Q/P]

Finally (6) is

Q(PQ)[Q/P]


When we get to predicate logic, simultaneous substitution instances will not be available. That is why we defined substitution instance by reference to a chain of simple substitution instances rather than as a simultaneous substitution instance.

Interchange

Interchange of equivalent subformulae

We previously saw the following equivalence at Properties of Sentential Connectives:

(7)    P    is equivalent to    ¬¬P

You then might expect the following equivalence:

PQR    is equivalent to    ¬¬PQR

This expectation is correct; the two formulae are equivalent. Let φ and ψ be equivalent formulae. Let χ1 be a formula in which φ occurs as a subformula. Finally, let χ2 be the result of replacing in χ at least one (not necessarily all) occurances of φ with ψ. Then χ1 and χ2 are equivalent. This replacement is called an interchange.

For a second example, suppose we want to generate the equivalence

(8)    PQR    is equivalent to    P¬¬(QR)

We note the following equivalence:

(9)    QR    is equivalent to    ¬¬(QR)

These two formulae can be confirmed to be equivalent either by truth table or, more easily, by substituting QR for P in both formulae of (7).

This substitution does indeed establish (9) as an equivalence. We already noted that φ and ψ are equivalent if and only if φψ is a tautology. Based on (7), we get the tautology

P¬¬P

Our substitution then yeilds

QR¬¬(QR)

which is also a tautology. The corresponding equivalence is then (9).

Based on (9), we can now replace the consequent of PQR with its equivalent. This generates the desired equivalence, namely (8).

Every formula equivalent to a tautology is also a tautology. Thus an interchange of equivalent subformulae within a tautology results in a tautology. For example, we can use the substitution instance of (7):

Q    is equivalent to    ¬¬Q

together with the tautology previously seen at Properties of Sentential Connectives:

(PQ)(QR)

to obtain

(P¬¬Q)(QR)

as a new tautology.

Interchange example

As an example, we will use the interdefinability of connectives to express

(10)    PQR

using only conditionals and negations.

Based on

PQ    is equivalent to    ¬PQ

we get the substitution instance

QR    is equivalent to    ¬QR

which in turn allows us to replace the appropriate subformula in (10) to get:

(11)    P¬QR

The equivalence

PQ is equivalent to (PQ)(QP)

together with the appropriate substitution gives us

(12)    (P(¬QR))((¬QR)P)

as equivalent to (11).

Finally, applying

PQ       ¬(P¬Q)

together with the appropriate substitution, yeilds our final result:

¬(P(¬QR)¬((¬QR)P))

Summary

This page has presented two claims.

  • A substitution instance of a tautology is also a tautology.
  • Given a formula, the result of interchanging a subformula with an equivalent is a formula equivalent to the given formula.

These claims are not trivial observations or the result of a simple turth table. They are substantial claims that need proof. Proofs are available in a number of standard metalogic textbooks, but are not presented here.