Eliezer_Yudkowsky comments on Proofs, Implications, and Models - Less Wrong

58 Post author: Eliezer_Yudkowsky 30 October 2012 01:02PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (209)

You are viewing a single comment's thread.

Comment author: Eliezer_Yudkowsky 25 October 2012 01:59:36AM 13 points [-]

Mainstream status:

This is meant to present a completely standard view of semantic implication, syntactic implication, and the link between them, as understood in modern mathematical logic. All departures from the standard academic view are errors and should be flagged accordingly.

Although this view is standard among the professionals whose job it is to care, it is surprisingly poorly known outside that. Trying to make a function call to these concepts inside your math professor's head is likely to fail unless they have knowledge of "mathematical logic" or "model theory".

Beyond classical logic lie the exciting frontiers of weird logics such as intuitionistic logic, which doesn't have the theorem ¬¬P → P. These stranger syntaxes can imply entirely different views of semantics, such as a syntactic derivation of Y from X meaning, "If you hand me an example of X, I can construct an example of Y."

I can't actually recall where I've seen someone else say that e.g. "An algebraic proof is a series of steps that you can tell are locally licensed because they maintain balanced weights", but it seems like an obvious direct specialization of "syntactic implication should preserve semantic implication" (which is definitely standard). Similarly, I haven't seen the illustration of "Where does this first go from a true equation to a false equation?" used as a way of teaching the underlying concept, but that's because I've never seen the difference between semantic and syntactic implication taught at all outside of one rare subfield of mathematics. (AAAAAAAAAAAAHHHH!)

The idea that logic can't tell you anything with certainty about the physical universe, or that logic is only as sure as its premises, is very widely understood among Traditional Rationalists:

... as far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality.

--Albert Einstein

Comment author: lukeprog 29 October 2012 08:52:33AM 12 points [-]

I can't actually recall where I've seen someone else say that e.g. "An algebraic proof is a series of steps that you can tell are locally licensed because they maintain balanced weights"

The metaphor of a scale is at least a common teaching tool for algebra: see 1, 2, 3.

Comment author: Yvain 29 October 2012 09:18:49AM 7 points [-]

I was taught algebra with a scale in the sixth grade. We had little weights that said "X" on them and learned that you could add or take away "x" from both sides.

Comment author: Jay_Schweikert 31 October 2012 04:44:54PM 0 points [-]

Yeah, we were taught in basically the exact same way -- moving around different colored weights on plastic print-outs of balances. I'll also note that this was a public (non-magnet) school -- a reasonably good public school in the suburbs, to be sure, but not what I would think of as an especially advanced primary education.

I join lots of other commenters as being genuinely surprised that the content of this post is understood so little, even by mathematicians, as it all seemed pretty common sense to me. Indeed, my instinctive response to the first meditation was almost exactly what Eliezer went on to say, but I kept trying to think of something else for a while because it seemed too obvious.

Comment author: Eliezer_Yudkowsky 29 October 2012 10:08:02AM 4 points [-]

GOOD. Especially this one: http://www.howtolearn.com/2011/02/demystifying-algebra

But I don't recall ever getting that in my classes. Also, the illustration of "first step going from true equation to false equation" I think is also important to have in there somewhere.

Comment author: Vertigo 21 March 2013 02:35:03AM 1 point [-]

I love this idea, so I've taken it to the next level: http://sphotos-a.xx.fbcdn.net/hphotos-ash4/405144_10151268024944598_356596037_n.jpg

Hanger, paper clips, dental floss, tupperware, pencil, ruler, and lamp. If we're trying to be concrete about this, no need to do it only part way.

Comment author: bryjnar 29 October 2012 11:53:49AM 10 points [-]

My data point: as an undergraduate mathematician at Oxford, the mathematical logic course was one of the most popular, and certainly covered most of this material. I guess I haven't talked a huge number of mathematicians about logic, but I'd be pretty shocked if they didn't know the difference between syntax and semantics. YMMV.

Comment author: handoflixue 30 October 2012 07:23:29PM 3 points [-]

It terrifies me that I seem to be unique in having had pretty much all of this covered in my high school's standard math curriculum (not even an advanced or optional class). Eliezer's method of "find the point where it becomes untrue" wasn't standard, but I think (p ~0.5) that my teacher went over it when I wrote a proof of 2=1 on the board. I knew he was a cool math teacher who made a point of tutoring flagging students, but I hadn't realized he was this exceptional.

Comment author: DaFranker 30 October 2012 07:27:28PM *  2 points [-]

Judging just from your description, he's probably more than two standard deviations of abnormal.

Your curriculum sounds at least a good deal above average, but the core problem is that most "curricula" are effectively nothing more than a list of things that teachers should make sure to mention, along with a separate, disjoint, often not correlated list of things that will be "tested" in an exam.

I expect many curricula would contain a good deal of the good parts of traditional rationality and mathematics, but there are many steps between a list on one sheet of paper that each teacher must read once a year and actual non-password understanding becoming commonplace among students.

I still have a copy of my Secondary 4 (US 10th / high school sophomore) curriculum somewhere, which my math teacher gave me secretly back then despite the threat of severe reprimand (our teachers were not even allowed to disclose the actual curriculum - that's how bad things often are). We both verified back then that not even half of what's supposed to be covered according to this piece of paper ever actually gets taught in most classes. That teacher really was that exceptional, but he only had so much time, split across several hundred students.

Comment author: wuncidunci 29 October 2012 09:56:57PM 6 points [-]

Another data point: in Cambridge the first course in logic done by mathematics undergraduates is in third year. It covers completeness and soundness of propositional and predicate logic and is quite popular. But in third year people are already so specialised that probably way less than half of us take it.

Comment author: JasonGross 21 October 2013 12:43:38AM *  9 points [-]

"An algebraic proof is a series of steps that you can tell are locally licensed because they maintain balanced weights", but it seems like an obvious direct specialization of "syntactic implication should preserve semantic implication"

Eliezer, I very much like your answer to the question of what makes a given proof valid, but I think your explanation of what proofs are is severely lacking. To quote Andrej Bauer in his answer to the question "Is rigour just a ritual that most mathematicians wish to get rid of if they could?", treating proofs as syntatic objects "puts logic where analysis used to be when mathematicians thought of functions as symbolic expressions, probably sometime before the 19th century." If the only important thing about the steps of a proof are that they preserve balanced weights (or semantic implication), then it shouldn't be important which steps you take, only that you take valid steps. Consequently, it should be either nonsensical or irrelevant to ask if two proofs are the same; the only important property of a proof, mathematically, validity (under this view). But this isn't the case. People care about whether or not proofs are new and original, and which methods they use, and whether or not they help give a person intuition. Furthermore, it is common to prove a theorem, and refer to a constant constructed in that proof. (If the only important property of a proof were validity, this should be an inadmissible practice.) Finally, as we have only recently discovered, it is fruitful to interpret proofs of equality as paths in topological spaces! If a proof is just a series of steps which preserve semantic implication, we should be wary of models which only permit continuous preservation of semantic implication, but this interpretation is precisely the one which leads to homotopy type theory.

So while I like your answer to the question "What exactly is the difference between a valid proof and an invalid one?", I think proof-relevant mathematics has a much better answer to the question you claimed to answer "What exactly is a proof?"

(By the way, I highly reccomend Andrej Bauer's answer to anyone interested in eloquent prose about why proof-relevant mathematics and homotopy type theory are interesting.)

Comment author: chaosmosis 29 October 2012 05:33:24PM 4 points [-]

Similarly, I haven't seen the illustration of "Where does this first go from a true equation to a false equation?" used as a way of teaching the underlying concept,

My middle school algebra books discussed this on a very basic level. The problem in the book would show the work of a fictional child who was trying to solve a math problem and failing, and the real student would be told to identify where the first one went wrong and how the problem should have been solved instead.

I never saw it done with anything more complicated than algebra, though.

I'm not sure whether or not this is common, either.

Comment author: Klao 31 October 2012 09:51:34PM 2 points [-]

In Hungary this (model theory and co.) is part of the standard curriculum for Mathematics BSc. Or at least was in my time.

Comment author: gwern 04 November 2012 11:00:33PM 1 point [-]

How mainstream is the Monte Carlo methods stuff, specifically the kitten-observing material?

Comment author: TimS 29 October 2012 03:27:12PM 1 point [-]

to not overload the word 'true' meaning comparison-to-causal-reality, the validity of a mathematical theorem

Ok, deductively true things should be labeled valid to avoid confusion with inductively true things. That's an excellent resolution of the overloading of the word "true" in popular vernacular.

But sometimes you aren't clear in earlier writings about whether you are referring to true or valid. For example, one message of Zero and One are not Probabilities is a sophisticated restatement of the problem of induction. Still, I'm honestly uncertain whether you intended a broader point. I mostly agree with what I understand, but there is some uncertainty about what precise rents are paid by these specific beliefs.

Comment author: TsviBT 29 October 2012 07:04:49AM *  1 point [-]

Great post!

Trying to make a function call to these concepts inside your math professor's head is likely to fail unless they have knowledge of "mathematical logic" or "model theory".

Hrmm... I don't think that's right at all, at least for professors who teach proof-based classes. Doing proofs, in any area, really does feel like going from solid ground to new ground, only taking steps that are guaranteed to keep you from falling into the lava. My models of my math professors understand how an argument connects its premises to its conclusions - but I haven't gotten into philosophical discussions with them. My damned philosophy professors, on the other hand, are the logically-rudest people I've ever spoken to.

BTW,

Robin Hanson sometimes complains that when he tries to argue that conclusion X follows from reasonable-sounding premises Y, his colleagues disagree with X while declining to say which premise Y they think is false, or pointing out which step of the reasoning seems like an invalid implication.

I parsed this as "...his colleagues disagree with X while declining ... or while pointing out which step of the reasoning seems like an invalid implication", which is the opposite of what you meant.

Comment author: Eliezer_Yudkowsky 29 October 2012 07:38:37AM 2 points [-]

Tried an edit.

Math professors certainly understand instinctively what connects premises to conclusions, or they couldn't do algebra. It's trying to talk about the process explicitly where the non-modern-logicians start saying things like "proofs are absolutely convincing, hence social constructs".

Comment author: Vladimir_Nesov 29 October 2012 08:56:48AM *  1 point [-]

A math professor who failed to get a solid course in formal logic sounds unlikely... (If it's not what you are saying, it's not clear to me what that is.)

Comment author: [deleted] 29 October 2012 11:02:43AM *  9 points [-]

I go to a Big Ten university where the graduate-level sequence in formal logic hasn't been taught in six years.

Comment author: [deleted] 28 March 2013 12:02:03PM 3 points [-]

Update: It's being taught again in the fall semester!

Comment author: Stuart_Armstrong 29 October 2012 08:59:40PM 2 points [-]

I never got a course in formal logic, and could probably have been close to being a math professor by now.

Comment author: Eliezer_Yudkowsky 29 October 2012 10:06:28AM 0 points [-]

Yes, well, the problem is that many courses on "logic" don't teach model theory, at least from what I've heard. Try it and see. I could've just been asking the wrong mathematicians - e.g. a young mathematician visiting CFAR knew about model theory, but that itself seems a bit selected. But the modern courses could be better than the old courses! It's been known to happen, and I'd sure be happy to hear it.

(I'm pretty sure mathbabe has been through a course on formal logic and so has Samuel R. Buss...)

Comment author: CronoDAS 29 October 2012 07:23:25PM *  7 points [-]

When I went to Rutgers, the course on proof theory and model theory was taught by the philosophy department. (And it satisfied my humanities requirement for graduation!)

Comment author: Lambda 31 August 2013 06:23:02AM 1 point [-]

At Yale, the situation is similar. I took a course on Gödel's incompleteness theorem and earned a humanities credit from it. The course was taught by the philosophy department and also included a segment on the equivalence of various notions of computability. Coolest humanities class ever!

I shudder to think of what politics were involved to classify it as such, though.

Comment author: VAuroch 12 December 2013 10:37:30AM 0 points [-]

Probably it was that a Phil professor wanted to teach the class, and no one cared to argue. It's not things like which classes are taught that are the big political fights, to my knowledge; the fights are more often about who gets the right to teach a topic of their choosing, and who doesn't.

Comment author: [deleted] 29 October 2012 11:04:56AM 0 points [-]

Have you read the book of Marker? I love that thing to pieces.

Comment author: nshepperd 29 October 2012 10:30:35AM *  0 points [-]

Robin Hanson sometimes complains that when he tries to argue that conclusion X follows from reasonable-sounding premises Y, his colleagues disagree with X while declining to say which premise Y they think is false, or pointing out which step of the reasoning seems like an invalid implication.

I parsed this as "...his colleagues disagree with X while declining ... or while pointing out which step of the reasoning seems like an invalid implication", which is the opposite of what you meant.

I think the correct syntax here is "...his colleagues disagree with X while declining to say which premise..., or to point out which step...", which links the two infinitives "to say" and "to point out" to the verb "declining". ETA: The current edit works too.

Comment author: wedrifid 29 October 2012 07:13:06AM 0 points [-]

My damned philosophy professors, on the other hand, are the logically-rudest people I've ever spoken to.

Really? I find people who have done just first year philosophy worse. Maybe I was lucky and had the two philosophy professors who philosophize well.

Comment author: TsviBT 30 October 2012 01:09:30AM 4 points [-]

Ok, fair enough. My philosophy professors were the logically-rudest adults I've spoken to. Actually, that's not even true. Rather, my philosophy professors were the people I most hoped would have less than the standard rudeness, but did not at all.

An anecdote: spring quarter last year, I tried to convince my philosophy professor that logic preserves certainty, but that we could (probably) never be absolutely certain that we had witnessed a correct derivation. He dodged, and instead sermonized about the history of logic. At one point I mentioned GEB, and he said, I quote, "Hofstadter is something of a one trick pony". Here, "one trick" refers to "self-reference". I was too flabbergasted to respond politely.

Comment author: Peterdjones 30 October 2012 01:56:18AM 2 points [-]

He dodged, and instead sermonized about the history of logic

Or tried to tell you something you didn't get.

Comment author: wedrifid 30 October 2012 02:24:51AM 0 points [-]

Or tried to tell you something you didn't get.

From the description TsviBT gives it is far more likely that the professor was stubbornly sermonizing against a strawman.

Comment author: Peterdjones 30 October 2012 02:32:09AM 1 point [-]

If TsviBT failed to get something, it is quite likely that from TsviBT 's perspective the professor was waffling pointlessly, and that TsviBTs account would reflect that. We cannot appeal to TsviBT's subjective perspective as proving the objective validity of itself, can we?

Comment author: wedrifid 30 October 2012 02:38:29AM *  -1 points [-]

If TsviBT failed to get something, it is quite likely that from TsviBT 's perspective the professor was waffling pointlessly, and that TsviBTs account would reflect that. We cannot appeal to TsviBT's subjective perspective as proving the objective validity of itself, can we?

I can look at the specific claim TsviBT says he made and evaluate whether it is a true claim or a false claim. It happens to be a true claim.

Assuming you accept the above claim then before questioning whether TsviBT failed to comprehend you must first question whether what TsviBT says he said is what he actually said. It seems unlikely that he is lying about what he said and also not especially likely that he forgot what point he was making---it is something etched firmly in his mind. It is more likely that the professor did not pay sufficient attention to comprehend than it is than that Tsvi did not say what he says he said. The former occurs far more frequently than I would prefer.

Comment author: Peterdjones 30 October 2012 02:47:10AM *  -1 points [-]

Edit:

It happens to be a true claim.

Is it? I think it's a bit misleading. Logic would preserve certainty if there were any certainty. But there probably isnt. Maybe the prof was trying to make that point.

Assuming you accept the above claim then before questioning whether TsviBT failed to comprehend you must first question whether what TsviBT says he said is what he actually said.

No, that isn;t the issue. TsviBT only offered a subjective reaction to the professor's words, not the words themselves. We cannot judge from that whether the professor was rudely missing his birlliant point, or making an even more birlliant riposte, the subteleties of which passed TsviBT by.

Comment author: wedrifid 30 October 2012 03:08:11AM *  0 points [-]

I disagree regarding the accuracy of the claim as stated (you seem to be making the mistake a professor may carelessly make by considering a different more trivial point). I also disagree that the alleged "brilliant riposte" could be 'brilliant' as more than an effective social move given that it moved to to a different point (as a riposte to the claim and not just an appropriate subject change) rather than acknowledging the rather simple technical correction.

You are giving the professor the benefit of doubt that can not exist without TsviBT's claim of what he personally said being outright false.

Comment author: wedrifid 30 October 2012 02:30:51AM 1 point [-]

I was too flabbergasted to respond politely.

I hope that means you refrain from responding at all. You can't fix broken high status people!

Wait. Oh bother. I try to do that all the time. But I at least tend to direct my efforts towards influencing the social environment such that the incentives for securing said status further are changed so that on the margin the behavior of the high-status people (including, at times, logical rudeness) is somewhat altered. "Persuasion" of a kind.

Comment author: Ritalin 30 October 2012 12:42:13PM 1 point [-]

Name three ways of you performing said persuasion.

Comment author: wedrifid 30 October 2012 11:16:11PM 1 point [-]

Name three ways of you performing said persuasion.

No. Not at this time. (I would prefer to be not believed than to give examples of this right now.)

Comment author: Ritalin 31 October 2012 02:31:41PM 0 points [-]

Actually it was more on the line of "give me practical examples so I can extrapolate the rule better than from an abstract summary", but, sure, suit yourself.

Comment author: TimS 30 October 2012 01:18:43AM 1 point [-]

To be fair to the professor, conflating deductive and inductive reasoning is a basic error that's easy to pattern match.

Comment author: wedrifid 30 October 2012 02:24:03AM 3 points [-]

To be fair to the professor, conflating deductive and inductive reasoning is a basic error that's easy to pattern match.

To be fair to TsviBT it is pattern matching to the nearest possible stupid thing that is perhaps the most annoying logical rude tactics there is (whether employed deliberately or instinctively according to social drives).

Comment author: wedrifid 30 October 2012 02:33:08AM 0 points [-]

An anecdote: spring quarter last year, I tried to convince my philosophy professor that logic preserves certainty, but that we could (probably) never be absolutely certain that we had witnessed a correct derivation.

This does seem correct as stated. I wonder if he deliberately avoided the point to save face regarding a previous error or, as Tim suggested, pattern matched to something different.

Comment author: wedrifid 30 October 2012 02:21:47AM 0 points [-]

Rather, my philosophy professors were the people I most hoped would have less than the standard rudeness, but did not at all.

Now that is far less surprising and on average I can agree there (although I personally had exceptions!) It was the absolute scale that I perhaps questioned.

Comment author: VAuroch 12 December 2013 10:39:51AM -1 points [-]

To be fair, Hoftstadter is basically a one-trick pony, in that he published one academically-relevant book and then more or less jumped straight to Professor Emeritus in all but name, publishing very little and interacting with academia even less.

Comment author: Laoch 12 December 2013 10:54:48AM 0 points [-]

Just wishing I had read GEB sooner. Reading it now and it seems to be getting ruined by politics.

Comment author: VAuroch 12 December 2013 01:15:06PM 1 point [-]

Politics? I don't understand how.

Also, above comment should in no way be taken as criticism of GEB. It's great. It's just that that's pretty much all he has to his credit.

Comment author: Laoch 12 December 2013 01:33:53PM 0 points [-]

I mean people want to tear chunks out of it for status reasons... ...I think.

Comment author: thomblake 01 November 2012 06:23:40PM 0 points [-]

FWIW, the undergraduate Philosophy department at Southern Connecticut State University has at least 2 logic courses, and the "Philosophical logic" special topics course covers everything here and then some in a lot of detail. The first half of the course goes through syntax and semantics for propositional logic separately, as well as the relevant theorems that show how to link them up.