Skip to content Skip to navigation Skip to collection information

Connexions

You are here: Home » Content » Intro to Logic » propositional equivalences

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • Rice Digital Scholarship

    This collection is included in aLens by: Digital Scholarship at Rice University

    Click the "Rice Digital Scholarship" link to see all content affiliated with them.

Recently Viewed

This feature requires Javascript to be enabled.
 

propositional equivalences

Module by: Ian Barland, John Greiner, Phokion Kolaitis, Moshe Vardi, Matthias Felleisen. E-mail the authors

Summary: How to use identities to determine whether two propositional formulas are equivalent.

Propositional Equivalences

What are the roots of x34x x 3 4 x ? Well, in high-school algebra you learned how to deal with such numeric formulas:

Table 1
  x34x x 3 4 x  
== x(x24) x x 2 4 factor out xx
== x(x2)(x+2) x x 2 x 2 The identity a2b2=(a+b)(ab) a 2 b 2 a b a b with aa being xx, and bb being 2.

This last expression happens to be useful since it is in a form which lets us read off the roots 0, +2, -2. The rules of algebra tell us that these three different formulas are all equivalent. In fact, our very definition of two formulas being equivalent is that for any value of xx the two formulas return the same value. We are distinguishing between syntax (the expression itself, as data), and semantics (what the expression means). Usually, when presented with syntax, one is supposed to bypass that and focus on its meaning (e.g., reading a textbook). However, in logic and post-modern literature alike, we are actually studying the interplay between syntax and semantics. The general gist is that in each step, you rewrite subparts of your formula according to certain rules (“replacing equals with equals”).

Well, we can use a similar set of rules about rewriting formulas with equivalent ones, to answer the questions of whether two formulas are equal, or whether a formula is a tautology. George Boole was the first to realize that true and false are just values in the way that numbers are, and he first codified the rules for manipulating them; thus Boolean algebra is named in his honor.

Aside:

The term “algebra” comes from the values true, false and operators , having some very specific properties similar to those of numbers with ×, +.

Figure 1: George Boole (1815-1864)
Figure 1 (boole.png)

Again, each individual step consists of rewriting a formula according to certain rules. So, just what are the rules for manipulating Boolean values? We'll start with an example.

Example 1

Table 2
1afalsebtrue a b  
2falsebtrue b Dominance of false over
3btruefalse b Commutativity of
4btrueb Identity element for is false
5bbIdentity element for is true

Thus we have a series of equivalent formulas, with each step justified by citing a propositional equivalence. By and large, the equivalences are rather mundane. A couple are surprisingly handy; take a moment to consider DeMorgan's laws.

Table 3
¬(φψ)¬φ¬ψ φ ψ φ ψ ¬(φψ)¬φ¬ψ φ ψ φ ψ

(Try φφ being “Leprechauns are green”, and ψψ being “Morgana Le Fay likes gold”. Do these laws make sense, for each of the four possible truth assignments?) Augustus DeMorgan was also an important figure in the formalization of logic.

Figure 2: Augustus DeMorgan (1806-1871)
Figure 2 (demorgan.jpg)

Here is another example. For a statement φψφψ, the contrapositive of that formula is ¬ψ¬φ ψ φ . We can show that a formula is equivalent to its contrapositive:

Example 2

Contrapositive

Table 4
1φψ φ ψ  
2¬φψ φ ψ Definition of
3ψ¬φ ψ φ Commutativity of
4¬¬ψ¬φ ψ φ Double Complementation
5¬ψ¬φ ψ φ Definition of

Don't confuse the contrapositive of a statement with the converse of a formula: The converse of φψφψ is the formula ψφψφ; in general a formula is not equivalent to its converse!

This next example is actually a proof of one of the laws from the given list, using (only) others from the list.

Example 3

Absorption of

Table 5
1φψψ φ ψ ψ  
2φψψtrue φ ψ ψ Identity of
3ψφψtrue ψ φ ψ Commutativity of
4ψ(φtrue) ψ φ Distributivity of over
5ψtrueψ Dominance of
6ψψIdentity of

Exercise 1

Show that the “Absorption of ” equivalence holds, given the other equivalences. I.e., show (ab)bb a b b b .

Solution

Table 6
1(ab)b a b b  
2(ab)(bfalse) a b b Identity of
3(ba)(bfalse) b a b Commutativity of
4bafalse b a Distributivity of over
5bfalseb Dominance of
6bbIdentity of

Compared to proofs using truth tables, Boolean algebra gives us much shorter proofs. But, determining which equivalence to use in the next step of a proof can be difficult. In this case, compare the solution for this exercise to the previous absorption proof. These two proofs have a special dual relationship described in the next section.

Exercise 2

Show that the modus ponens rule, a(ab)b a a b b always holds. I.e., show that it is a tautology, and thus equivalent to true.

Solution

Table 7
1a(ab)b a a b b  
2a(¬ab)b a a b b Definition of
3a¬aabb a a a b b Distributivity of over
4falseabb a b b Complement
5abfalseb a b b Commutativity of
6abb a b b Identity of
7¬(ab)b a b b Definition of
8¬a¬bb a b b DeMorgan's law
9¬a¬bb a b b Associativity of
10¬ab¬b a b b Commutativity of
11¬atrue a Complement
12trueDominance of

So, what would it mean to use Boolean algebra as reasoning for WaterWorld? That is, if you wanted to show that G-safeG-safe was true, how would you do that using Boolean algebra? As with truth-tables, we would take the conjunction of all the WaterWorld domain axioms (call it ρρ), and the board's observed state (ψψ). We would then want to show that asserting G-safeG-safe was already equivalent to the rules-and-observed-state: ρψρψG-safe ρ ψ ρ ψ G-safe .

Duals (optional)

Duals: a symmetry between , mediated by ¬¬.

Looking at the provided propositional equivalences, you should notice a strong similarity between those for and those for . Take any equivalence, swap s and s, swap trues and falses, and you'll have another equivalence! For instance, there are two flavors of DeMorgan's law, which are just duals of each other:

Table 8
¬(φψ)¬φ¬ψ φ ψ φ ψ ¬(φψ)¬φ¬ψ φ ψ φ ψ

Aside:

In terms of circuit diagrams, we can change each AND gate to an OR gate and add negation-bubbles to each gate's inputs and outputs. The principle of duality asserts that this operation yields an equivalent circuit.

The idea of duality is more general than this. For example, polyhedra have a natural dual of interchanging the role of vertices and faces.

Collection Navigation

Content actions

Download:

Collection as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add:

Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks