# Predicate Logic and Popular Culture (Part 44): Casablanca

Let $C(x)$ be the proposition “$x$ is in Casablanca,” and let $S(x,y)$ be the proposition “$x$ has less scruples than $y$.” Translate the logical statement

$C(\hbox{Rick}) \land S(\hbox{Rick}, \hbox{I}) \land \forall x (C(x) \land x \ne \hbox{Rick} \Rightarrow \lnot S(x,\hbox{I})$,

where the domain is all people.

The straightforward way of translating this into English is, “Rick is in Casablanca and has less scruples than I, and everyone else in Casablanca who isn’t Rick doesn’t have less scruples than I.” Naturally, this is one of the great lines of the movie Casablanca:

Ricky, I’m going to miss you. Apparently you’re the only one in Casablanca with less scruples than I.

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.