Predicate Logic and Popular Culture (Part 31): The Godfather

 

Let p be the proposition “I took the gun,” and let q be the proposition “I took the cannoli.” Translate the logical statement

\lnot p \land q.

Obviously, this is an allusion to one of the great lines in The Godfather.

Even though this is a simple example, it actually serves a pedagogical purpose (when I first introduce students to propositional logic) by illustrating two important points.

First, there is an order of precedence with \lnot and \land. Specifically, \lnot p \land q means (\lnot p) \land q (“I did not take the gun, and I took the cannoli”) and not \lnot (p \land q) (“It is false that I took both the gun and the cannoli”).

Second, the actual line from The Godfather is not a proposition because both “Leave the gun” and “Take the cannoli” are commands. By contrast, a proposition must be a declarative sentence that is either true or false. That’s why I had to slightly modify the words to “I took the cannoli” instead of “Take the cannoli.”

green line

Context: This semester, I taught discrete mathematics for the first time. Part of the discrete mathematics course includes an introduction to predicate and propositional logic for our math majors. As you can probably guess from their names, students tend to think these concepts are dry and uninteresting even though they’re very important for their development as math majors.

In an effort to making these topics more appealing, I spent a few days mining the depths of popular culture in a (likely futile) attempt to make these ideas more interesting to my students. In this series, I’d like to share what I found. Naturally, the sources that I found have varying levels of complexity, which is appropriate for students who are first learning prepositional and predicate logic.

When I actually presented these in class, I either presented the logical statement and had my class guess the statement in actual English, or I gave my students the famous quote and them translate it into predicate logic. However, for the purposes of this series, I’ll just present the statement in predicate logic first.

green lineI’m afraid that I found plenty more examples from popular culture to illustrate predicate logic, but a month of posts on this topic is probably enough for now. I’ll return to this topic again at some point in the future.

One thought on “Predicate Logic and Popular Culture (Part 31): The Godfather

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.