# Predicate Logic and Popular Culture (Part 163): The Princess Bride

Let $p$ be the statement “Life is pain,” $D(x)$ be the proposition “$x$ says that life isn’t pain,” and let $S(x,y)$ be the proposition “$x$ is selling $y$.” Translate the logical statement

$p \land \forall x(D(x) \Rightarrow \exists y S(x,y))$.

This matches two of the great lines from The Princess Bride.

Context: 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.

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