|
|
|
Ask HN: If n is prime than n is uneven
|
|
2 points
by moedersmooiste
1632 days ago
|
|
Next to my daytime job as a data engineer I'm doing some basic computer science courses. Currently I'm studying a book on logic.
According to the truth table for material implication, the material implication in the title is true for n = 6.
I find this very hard to accept. Have any of you swallowed this? |
|
If the number 6 was both prime and even it would disprove the implication
But so long as the left hand side is false, the facts are compatible with the implication so it is ‘true’.I am fascinated with all of the ways logic breaks down as you try to use it as a tool for decision making. Conventional programming languages assume that events happen in some specific sequence, but in the case of logic you can work forwards or backwards. A practical system needs to be restrained from trying to infer true but irrelevant facts. Kurt Godel’s work indicates just one kind of trouble logic can get you into but the problems of reasoning with uncertainty are an absolute bear unless you impose a causal structure of some kind.
So I am on the side of McCoy vs Spock and think ‘rationalists’ just call themselves that so they can accuse everyone else at being irrational. Logic will probably disappoint you like it disappointed Whitehead and Russel.