If it is raining, the sidewalk is wet. If the sidewalk is wet, is...

@TivadarDanka
Tivadar Danka@TivadarDanka
14 views Feb 12, 2025 ~2 min read
Advertisement
1
If it is raining, the sidewalk is wet.

If the sidewalk is wet, is it raining? Not necessarily. Yet, we are inclined to think so. This is a preposterously common logical fallacy called "affirming the consequent".

However, it is not totally wrong. Why? Enter the Bayes theorem.
Media image
2
Propositions of the form "if A, then B" are called implications.

They are written as "A → B", and they form the bulk of our scientific knowledge.

Say, "if X is a closed system, then the entropy of X cannot decrease" is the 2nd law of thermodynamics.
3
In the implication A → B, the proposition A is called "premise", while B is called the "conclusion".

The premise implies the conclusion, but not the other way around.

If you observe a wet sidewalk, it is not necessarily raining. Someone might have spilled a barrel of water.
4
Let's talk about probability!

Probability is an extension of classical logic, where the analogue of implication is the conditional probability.
Media image
5
The closer P(B | A) to 1, the more likely B (the conclusion) becomes when observing A (the premise).
Media image
6
The Bayes theorem expresses P(A | B), the likelihood of the premise given that the conclusion is observed.

What's best: it relates P(A | B) to P(B | A). That is, it tells us if we can "affirm the consequent" or not!
Media image
7
Suppose that the conclusion B undoubtedly follows from the premise A. (That is, P(B |A) = 1.)

How likely is the other way around? The Bayes theorem gives us an answer.
Media image
8
Thus, when we take a glimpse at the sidewalk outside and see that it is soaking wet, it is safe to assume that it's raining.

The other explanations are fairly rare.
Media image
9
This thread is part of the latest issue of The Palindrome, the newsletter I have launched recently.

If you have enjoyed this explanation, check out the full post and share it with your friends!

thepalindrome.substack.com/p/the-science-…
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • Screenshot Tweet
Create Free Account

Includes 7-day Premium trial

Advertisement