Propositional logic derived as a special case of probability calculus

Mar 17, 2018

In this article, I will apply the rules of probability calculus to derive the rules of propositional logic (also called propositional calculus).

This article is very formal and equation oriented. The goal is to show that bayesian thinking through probability calculus is fully compatible with propositional logic. This article contributes to a bigger purpose since I will show in an upcoming article how probability calculus explains inferences that can’t be made using propositional logic. In particular, if we know that is a cause of , written , then knowing that is true in propositional logic doesn’t tell us anything about . But the next article will show that probability calculus gives us more information about . Before we explore those extensions, let’s review our basics in the light of the new formalism.

Notations: given two propositions and , we use the following notations.

Notation meaning
or
and
not
implies

Since our focus is primarily on inference, let’s use probability calculus to derive the following rules of propositional calculus:

We can take an example to illustrate those rules:

: If it rain tomorrow then I will go to the cinema;
: Either it doesn’t rain tomorrow
or you can be sure I’ll go to the cinema;
: If I don’t go to the cinema tomorrow,
this means it’s not raining outside.

Before we dive in, let’s recall the rules of probability calculus.

Probability calculus primer

Let and be two propositions and (as in “evidence”) a set of propositions. We note our probability estimate for the truth of given evidence and we note .

The following rules hold:

negation:
sum rule:
product rule:

If is a collection of propositions that are exhaustive (at least one of them is true) and incompatible (no two of them can be true at the same time), then we have for all proposition :

exhaustivity:
partition rule:

In particular, and satisfy these properties:

exhaustivity:
binary partition rule:

If you want to know more about the how these rules were constructed, check out this article: Probability calculus: the logic of uncertainty.

Now that we are all setup, let’s tackle propositional logic.

  • Let = “
  • By definition of , we have:
  • We want to show that:

Use the binary partition rule:

Hence:

Which achieves the proof that give , we have . Let’s prove the other direction.

  • Let = “ is true”
  • As shown before,

So, on the one hand we have:

And on the other hand we have:

Therefore:

Which is what had to be proved. Let’s turn to our second proof.

Let = “ so that
We want to prove that:
We know from the previous section that:
This means that:
Since:
We have:
Also written:
And thus:

We can obtain the opposite direction by replacing with and with .

Did you ever notice that most people think the rule also means ? Probability calculus explains why by showing us that if we know then the probability of increases.

Read my next article to find out: Why bayesian inference is more powerful than logic