Descriptive vs deductive logic
Dec. 29th, 2020 09:52 pmI've written this previously elsewhere on the internet, but it's something I've had to point out several times in several contexts, so I thought I should write it down here.
There's this really confusing thing, that trips a lot of people up -- mathematicians included, indeed I might say mathematicians especially, as others don't have reason to deal with this -- which is that the word "logic" in math seems to actually refer to two different things. Well, sort of; you’ll see what I mean. But for now, let's call them "descriptive logic" and "deductive logic".
Descriptive logic is about what structures (models) satisfy what statements. So, you define a language, you define how to interpret the connectives and such of that language, and then if you have a would-be model with meanings assigned to the primitives, you can say which statements it makes true and which statements it makes false. Whereas by deductive logic I mean, what are the rules of inference, and what sets of statements prove what other sets of statements under these rules.
It seems to me that this distinction is often not well-appreciated? I mean yes, you have model theory vs proof theory, but putting it that way frames it as two ways of studying at the same thing, when really there appear to be two different things. Now by Gödel’s completeness theorem, for first-order logic these are actually the same, but... well, it’s not quite that simple.
So here's the confusing thing. I said above that the word "logic" refers to two things. But as best I can tell, in technical mathematical usage, the word "logic" refers purely to what I called "descriptive logic". Which is confusing, because going the ordinary usage of the word, you would expect it to mean "deductive logic". But actually in technical usage that seems to be called a "proof theory" or a "proof calculus"?
Now as mentioned above, in the case of first-order logic, Gödel's completeness theorem lets us elide the distinction. The term "first-order logic" technically refers to the descriptive logic, not the deductive logic! And indeed there are various proof calculi for first-order logic, but the distinction ends up not being important to anyone other than proof theorists, because they’re all equivalent. So, whatever; you can refer to any of these proof theories as simply "first-order logic" and people will get the point. They won't know which one in particular you're referring to, but, again, it won't matter.
Where this becomes a problem, then, is when people want to use second-order logic. Because for second-order logic we don't have any of this. There's no accepted proof theory for second-order logic, and given that Gödel's completeness thoerem doesn't hold for second-order logic, there arguably can't be a satisfying one. So "second-order logic" really refers to descriptive logic, and only to descriptive logic. But I think a lot of people don't appreciate this, and so suggest using second-order logic in places where it makes no sense (because you need deductive logic); and other people don't call them on it, because they don't appreciate it either.
This is why so many suggestions to use second-order logic actually present more problems than they solve, and why we found mathematics on first-order logic and set theory (or equivalent), emulating second-order stuff that way, rather than on second-order logic.
-Harry
There's this really confusing thing, that trips a lot of people up -- mathematicians included, indeed I might say mathematicians especially, as others don't have reason to deal with this -- which is that the word "logic" in math seems to actually refer to two different things. Well, sort of; you’ll see what I mean. But for now, let's call them "descriptive logic" and "deductive logic".
Descriptive logic is about what structures (models) satisfy what statements. So, you define a language, you define how to interpret the connectives and such of that language, and then if you have a would-be model with meanings assigned to the primitives, you can say which statements it makes true and which statements it makes false. Whereas by deductive logic I mean, what are the rules of inference, and what sets of statements prove what other sets of statements under these rules.
It seems to me that this distinction is often not well-appreciated? I mean yes, you have model theory vs proof theory, but putting it that way frames it as two ways of studying at the same thing, when really there appear to be two different things. Now by Gödel’s completeness theorem, for first-order logic these are actually the same, but... well, it’s not quite that simple.
So here's the confusing thing. I said above that the word "logic" refers to two things. But as best I can tell, in technical mathematical usage, the word "logic" refers purely to what I called "descriptive logic". Which is confusing, because going the ordinary usage of the word, you would expect it to mean "deductive logic". But actually in technical usage that seems to be called a "proof theory" or a "proof calculus"?
Now as mentioned above, in the case of first-order logic, Gödel's completeness theorem lets us elide the distinction. The term "first-order logic" technically refers to the descriptive logic, not the deductive logic! And indeed there are various proof calculi for first-order logic, but the distinction ends up not being important to anyone other than proof theorists, because they’re all equivalent. So, whatever; you can refer to any of these proof theories as simply "first-order logic" and people will get the point. They won't know which one in particular you're referring to, but, again, it won't matter.
Where this becomes a problem, then, is when people want to use second-order logic. Because for second-order logic we don't have any of this. There's no accepted proof theory for second-order logic, and given that Gödel's completeness thoerem doesn't hold for second-order logic, there arguably can't be a satisfying one. So "second-order logic" really refers to descriptive logic, and only to descriptive logic. But I think a lot of people don't appreciate this, and so suggest using second-order logic in places where it makes no sense (because you need deductive logic); and other people don't call them on it, because they don't appreciate it either.
This is why so many suggestions to use second-order logic actually present more problems than they solve, and why we found mathematics on first-order logic and set theory (or equivalent), emulating second-order stuff that way, rather than on second-order logic.
-Harry