How does one visualize propositional logic

logicpropositional-calculus

I apologize if this is an under specified question, but I will try and provide some context. I am beginning to learn the foundations of propositional and predicate logic after starting a course in abstract algebra (groups, fields, rings, etc).

I find that predicate logic comes very easy to me because of its relation to set theory…the quantifiers make the whole visualization of "which elements make a statement true" very intuitive and easy to work through. However, I am struggling to find a similar feature with propositional logic (perhaps because I have been trying to mimic my strategy from predicate logic).

I understand that one can use truth tables to attack propositional logic…but the truth tables seem very…artificial and not particularly insightful.

As an example, I commonly see this picture used to explain implication if $p$ then $q$ propositions:

implication

Which, on its own, makes perfect sense. But I fail to see how this picture also represents $\neg p \lor q$, which is an equivalent form of $p \rightarrow q$. (As confirmed by truth tables)

If anything, the space "not $p$" would just be $q \land \neg p$…and therefore $\neg p \lor q$ would just be $(q \land \neg p) \lor q$…which is just $q$. But that means that $p \rightarrow q = q$…and that cannot be right, can it? That's sort of like modus ponens but missing the second step of decalring that $p$ is true.

Regardless, I'm clearly not thinking about this subject in an effective way so if anyone can offer insight, I'd greatly appreciate it!

Edit: I am adding some pictures to clarify some confusion:

Answers offered below have made me realize that the picture previously provided is incomplete. There should exist another set, call it $E$ (for Everything) that contains, in addition to q, everything outside of q. This changes my understanding of what $\neg p$ means…but questions nonetheless remain.

$\neg p$ and $q$ are therefore illustrated as follows:

not p and q within E illustration

Therefore, $\neg p \lor q$ looks like this:

everything true

To me this means that every element in the universe satisfies the proposition of $\neg p \lor q$…which by equivalence, means that every element in the universe satisfies the proposition $p \rightarrow q$. Could I have further clarification?

Best Answer

A propositional sentence, built out of propositional atoms, does indeed describe a set: namely, the set of valuations making it true. Remember that a valuation is just a map from the set of atoms to $\{$True, False$\}$ (such a map extends to a map from the set of all propositional sentences to $\{$True, False$\}$ via an appropriate recursion). Valuations in propositional logic serve the same semantic role as models in predicate logic: a propositional sentence is true, or false, with respect to a given valuation, and different valuations make different things true or false.

For $\varphi$ a propositional sentence, let $Set(\varphi)$ be the set of valuations making $\varphi$ true. Think of $Set(\varphi)$ as describing the conditions under which $\varphi$ is true: a smaller set corresponds to a more demanding sentence. For example, suppose I have two sentences, $\varphi$ and $\psi$. Then we have $$Set(\varphi\implies\psi)=Set(\neg\varphi)\cup Set(\psi),$$ since a valuation satisfies $\varphi\implies \psi$ iff it either satisfies $\neg\varphi$ or it satisfies $\psi$.

Note that this means that the Boolean propositional operations (conjunction, disjunction, negation, ...) correspond as desired to Boolean set operations (intersection, union, (relative) complementation, ...). So this does indeed give a set-theoretic interpretation of propositional logic.


Now let's look at Venn diagrams.

Venn diagrams are visual representations of the $Set(-)$ operation - or rather, they are a pictorial language for making assertions about the valuation sets assigned to propositional sentences. E.g. when we draw one circle wholly inside another, we're asserting that every valuation making the first circle's sentence true also makes the second circle's sentence true. Crucially, a "point on the plane" in a Venn diagram represents a valuation.

Keep in mind that the assertion made by a specific diagram may or may not be correct - it's always possible to write something meaningful but wrong.

But suppose I've gone ahead and done that: I have two propositional sentences $\varphi$ and $\psi$, and I've drawn circles $C_\varphi$ and $C_\psi$ representing them each respectively, and I've drawn $C_\varphi$ wholly inside $C_\psi$. That drawing is correct iff every valuation making $\varphi$ true also makes $\psi$ true. That statement in turn is true iff there are no valuations which make $\varphi$ true but $\psi$ false, and that statement's truth is equivalent to the claim that $(\neg\varphi)\vee\psi$ is true under every valuation - and that in turn is the assertion made by the Venn diagram which represents $(\neg\varphi)\vee\psi$ as everything.

Related Question