Readit News logoReadit News
cubefox · 2 years ago
When I was first introduced to mathematical proofs, I was perplexed by how fuzzy and intuition-based the notion of proof was. A "convincing argument", really?! There is no knowing, as a novice, how detailed those "arguments" have to be, what parts you can simply assert without further justification. Usually the teachers themselves can't explain what the criteria for an "obvious" and "not obvious" step is, they just know it intuitively from experience. Writing proofs, then, is a lot like having to learn to ride a bike: Instructions are mostly unavailable or useless.

I later learned that there is indeed a precise way of learning proofs which doesn't rely on intuitions of what counts as a rigours inference step: Formal logic together with a natural deduction proof system. Natural deduction is a formal proof system which resembles actual ("natural") proofs in mathematics, unlike other proof systems.

In such a proof system, inference rules, like modus tollens or universal instantiation, are strictly defined. Only the given inference rules (and those which are provable from the given rules) may be used. Coming up with such proofs still requires creativity, there is no algorithm. But there is no ambiguity in what counts as a valid or invalid proof or inference step.

Of course, this is far too tedious for actual mathematical proofs, since every little step needs to be done explicitly, e.g. even applications of modus ponens (rule: "A, if A then B, therefore B"). Moreover, mathematicians rarely prove anything from axioms, they start from other statements which are considered more trivial. But I think it would be helpful for many people to first learn logic and deduction "the precise way", and then do actual mathematical proof where you can jump over more obvious parts.

But that's not how it is teached in mathematics or computer science. Students are thrown into the cold water, and only receive tips&tricks, but no rigorous introduction. Ironically, the one subject which often teaches formal logic as an early introductory class for undergraduates isn't mathematics, computer science, or physics, it's philosophy.

hackermailman · 2 years ago
Some universities now have a Lean proof assistant logic course that teaches natural deduction http://leanprover.github.io/logic_and_proof/

Whenever I have asked professors in the past how they first learned proofs the answer was always from doing Euclid in highschool which is no longer taught

cubefox · 2 years ago
That course looks like a great introduction!

(A small downside is, in my opinion, that is uses trees instead of a more classical sequential presentation in the style of Suppes and Kleene.

https://en.wikipedia.org/wiki/Natural_deduction#Different_pr...

Trees may be more elegant, but actual, informal proofs in mathematics are written sequentially. So I think trees defeat the purpose of "natural" deduction a bit. But that's complaining on a high level.)

vkazanov · 2 years ago
I studied CS and electric engineering for 6-7 years total, and both degrees included some pretty math-intense courses, proofs and all. I remember how I really, really wanted an explanation of the underlying proof system but all I got was just more intuitive explanations, all of which felt out of place.

What is unusual is that I kept looking. "How to Prove It" was something I really wish I read ahead of calculus. It is only after this book it clicked for me, all of it. Having understood the rules of the game it became possible to play with math..! Which I still do from time to time.

I think that this material should be taught at high school. Bits of it even earlier.

checkyoursudo · 2 years ago
Philosophy was the only field where I learned formal logic at all. I went into higher math, did some CS, and also got a law degree[1], and am now doing a Ph.D. in informatics, and still the only place I have really been exposed to formal logic was my undergrad degree in philosophy.

[1] It is amazing (or not, depending on your view of lawyers) that lawyers are basically not taught anything about making and proving formal arguments, at least in my experience.

lixtra · 2 years ago
Law is not about logic. It’s about hermeneutics. It’s closer to religion than to math.
constantcrying · 2 years ago
> But I think it would be helpful for many people to first learn logic and deduction "the precise way", and then do actual mathematical proof where you can jump over more obvious parts.

Absolutely. And I can not imagine a mathematics degree which doesn't place formal logic front and center in the first semester. When you are starting out you absolutely need to suffer through the rigourous formal arguments.

>Ironically, the one subject which often teaches formal logic as an early introductory class for undergraduates isn't mathematics, computer science, or physics, it's philosophy.

I can not believe that this is the case. Even engineering undergrads have to learn formal logic in their first semester.

141205 · 2 years ago
> Even engineering undergrads have to learn formal logic in their first semester.

I got my engineering B.S. from a top 5 college in the US, and have known many people who have gone to similar schools. None of us have had to take a class that goes into first order logic or proof writing. I don't know what college you go to where that is a thing, but it would be exceedingly rare.

sukilot · 2 years ago
Formal logic is taught in Mathematical Logic class (intermediate, optional) or Discrete math (intro/intermediate, often not taken)

Geometry class in high school sometimes teaches some of it.

Computer science Binary logic teaches some of (De Morgan's laws)

Outside of New Math of the 1970s, it is a glaring omission from the curriculum.

Even enriched classes like Art of Problem Solving that put heavy emphasis on proofs, do not teach formal logic.

hiatus · 2 years ago
> When I was first introduced to mathematical proofs, I was perplexed by how fuzzy and intuition-based the notion of proof was.

This was precisely my issue when studying proofs in school. Do you have any suggestions for resources to get started down the right path?

cubefox · 2 years ago
The lecture notes for some introductory logic class of an analytic philosophy department may be quite good, but unfortunately I can't recommend something specific for English.
vkazanov · 2 years ago
"How to prove it" is the best book you can find
auxi · 2 years ago
"How to Read and Do Proofs" by Daniel Solow, also there is a playlist on YT with the video lectures, very beginner friendly in my opinion https://www.youtube.com/watch?v=lOnsQUFFUEE&list=PL8GFp_SBW-...
ithinkso · 2 years ago
> Moreover, mathematicians rarely prove anything from axioms, they start from other statements which are considered more trivial.

Not more trivial but from the ones already proved and those closer to the thing you are proving. There is no need to go back to the axioms if you know, and can reference, proof of step N-1, just go from there.

There is also this 'misconception' that mathematical theorems follow from the axioms. They do, of course, but the axioms were choosen just right to make things that were working to still work, with some weird consequences like axiom of choice

cubefox · 2 years ago
There are are a lot of "folk theorems" in mathematics, and things which are simply considered obvious or common knowledge relative to a conjecture in question, without anyone being able to actually cite a proof for that. Mathematical proof is really just for convincing other mathematicians, there is no need to prove things which are considered obvious.
spacemadness · 2 years ago
Our discrete mathematics professor leaned heavy on proofs, but also introduced pop quizzes for proofs of algorithms and other mathematical constructs as an experiment that term which sent my anxiety ablaze. You either had the intuition for that particular problem or you didn’t. Studying would not help you that much. The success rate on the quizzes was very low surprising no one.
StrangeATractor · 2 years ago
Classes like this were funny. I often found that people who just knew the answer immediately had a lot of difficulty doing proofs, and the people good at doing proofs usually didn't arrive at the solution very quickly or seem to have an intuitive understanding of the problem at first.

Some people are just wired differently.

DiscourseFan · 2 years ago
As someone who tutored a Formal Reasoning class for a top philosophy department, I don't think we should be teaching anyone logic. It's rigid, its made up, and it doesn't help much for most things. I think the way proofs are written in math is cool, and I think the fact that mathematicians are, in the end, aware that it is impossible to rigidly demonstrate anything is perfectly fine and it makes their proofs a lot easier to read and interpret. Formal logic should never be treated as first order or ever used as such, it will only hamper mathematics. I understand the need for a rigorous language to describe mathematics, I understand why people like it so much, and why it has found so much use. It is still not the groundwork (because there is none).
cubefox · 2 years ago
Would you agree to at least list some of the common natural deduction inference rules in an introductory class, and do a few exercises with them? Like, for propositional logic, modus ponens, modus tollens, contraposition, transitivity of the conditional, conditional proof, proof by contradiction, de Morgan's laws, distributive laws, etc, and some inference rules for quantified predicate logic?

I agree that full formal logic could be too much irrelevant information, but I think many experienced people underestimate how non-obvious the basic inference rules are to novices, and how confused people are about just being told to produce "convincing arguments". The important part is that the argument has to be truth preserving, unlike a "convincing argument" or "proof" an attorney might give in court. It is very hard to understand this difference if one has only a hazy idea of logic and deduction vs induction.

webnrrd2k · 2 years ago
Isn't (classical) geometry basically about proving properties from a few theorems? I.e., logic, proof, and deduction.

A lot of people are exposed to Geometry in High School. It might not be universal, but it's pretty close. IIRC, Eucid's Elements was the second most read book, after the Bible. Many cities even have a street named after the guy.

I know, it's not the same as a formal logic course. But it's not that far off, either. There is some preparation in earlier years of schooling.

auggierose · 2 years ago
I like your analogy with riding a bike: If you want to ride a bike, what is more important, learning how to ACTUALLY DO IT, or to learn the physical and mechanical rules underlying it? Furthermore, technical knowledge will always be incomplete (and that applies also to logic in a very technical sense), while once you learnt how to ride a bike, your knowledge, in a way, is complete.
cubefox · 2 years ago
A lot of things can be learned simply by practice, without any theory, but many things at least benefit from learning it in a more principled way. That's not feasible for riding bikes, since this relies on the the motor cortex, which doesn't understand and benefit from explicit knowledge about the physics of bike movement. Writing proofs is more intellectual, it benefits from principled understanding.
btilly · 2 years ago
I still prefer the explanation that I prepared when I was teaching at Dartmouth College.

https://docs.google.com/document/d/1_uwl3WDZk_BxNOUL7W0FiPMM...

I literally gave everyone that handout and told them, "To make sense of it, you're all going to do the next proof. I'll just prompt you." They thought this was impossible. But I told them to trust me and I began.

I went around the room. I asked one person what the next step in the flowchart was. I asked the next person to do it. I just wrote down what they said. Kept going until they had produced a complete proof of a result that, at the beginning, they did not know why it might be true.

The best comment I got from that class later was, "Proofs are easy. It is kind of like filling out a shopping list."

nohaydeprobleme · 2 years ago
This is fantastic. Perhaps similarly, I personally found it much easier to complete math problem sets after I began to write out an explicit list of steps of what to do.

For example, I broke down problems with to-dos, such as:

1. Find the definition for what math_term_X means in a particular problem.

2. (For breaking down part of the problem): Figure out how to show that a particular object is lesser than or equal to another project.

3. Write down headings for each case I need to prove.

...and so on.

Writing down explicit steps was far more practically helpful to me, than my previous conception of problem-solving from the quote about how Feynman solves problems (that is: "Write down the problem, think real hard, write down the solution"). Some people may not need to write down steps, but I was personally able to learn a lot more with a specific, more verbalized approach.

It's very neat and helpful to have a flowchart suited to any general problem, which I'll try out in addition to my current approach of writing down a list of to-dos for solving specific problems. Thanks a lot for sharing.

mjw1007 · 2 years ago
Maybe it's worth one more section near "Any Ideas On Why It Is True?", something like:

Are you beginning to doubt whether it's true?

Try to think of a counterexample.

Is there something that keeps getting in the way of a counterexample working? Can you prove that that always happens?

btilly · 2 years ago
Read the second paragraph of the description of "Any Ideas On Why It Is True?"

:-)

getpost · 2 years ago
Nice and concise! I just started Proof and the Art of Mathematics by JD Hamkins[0], based on pg's recommendation[1], "is a beautiful book in both senses. It's both beautifully written, but also physically beautiful, thanks to its many illustrations, which I was surprised to hear were made by the author himself." Chapter 4 on induction improved my attitude.

[0]https://www.amazon.com/Proof-Art-Mathematics-Examples-Extens... [1] https://twitter.com/paulg/status/1662065331727155202

tromp · 2 years ago
I found Johannes Riebel's thesis [1] an excellent introduction to the formalization of Zermelo Fraenkel-Set theory, complete with detailed examples of formal proofs.

[1] https://www.ingo-blechschmidt.eu/assets/bachelor-thesis-unde...

herodotus · 2 years ago
I did my undergraduate degree at Wits University in Johannesburg. My Real Analysis course was SO boring. The lecturer basically wrote on the board:

Lemma: ......

Proof: ....

etc.

Theorem: Let epsilon < K, ....

Proof: ....

--QED--

which we all dutifully copied into our notebooks. Very uninspiring.

But when I got to the University of Waterloo for graduate studies, I had a real competitive advantage over my peers for the theory courses I took: I knew what a proof was, and how to do one.

WoahNoun · 2 years ago
I think the problem a lot of people have (even math majors) is expecting the lecture to be the first introduction to the topic. It's like taking a literature class and going to lecture without doing the reading. Reading (or even just skimming) the next section/chapter of the book before the lecture allows you to focus and ask questions on the parts of the material you didn't understand during the lecture. I very rarely wrote down full proofs in my notes during the lecture. I focused on the lecture itself and wrote down the pieces that I wanted to remember.
constantcrying · 2 years ago
>which we all dutifully copied into our notebooks. Very uninspiring.

I had 5 years of that, a very enjoyable time.

tigerlily · 2 years ago
There's also "proof by picture", in which you can hastily attempt to prove or disprove something by drawing a suitable diagram in your exam booklet. You have to be darn sure of what you're doing though... ;)
tmhn2 · 2 years ago
And another fun and powerful technique is "proof by intimidation" (https://en.wikipedia.org/wiki/Proof_by_intimidation), in which you don't have to know what you're doing, but other people have to think you do.
constantcrying · 2 years ago
Ironically when rigorous proofs were invented by the greeks, Euclids "proof by picture" was no less rigorous than modern formal logic.
YeGoblynQueenne · 2 years ago
Right now this article is at no. 10 on the front page, while no. 11 is "Book of Proof (2018)".

This is the third time I notice such a coincidence on HN. Is this something that HN does on purpose? Like, does the site match posts with similar titles on the front page to encourage discussion in both? Note that (at the time of writing) this article has 91 points and the other one 45, so the two articles are not ordered by upvote count.

Also, I need a catchy name for this phenomenon (just 'cause I want to name the folder where I keep screenshots documenting it, like). Suggestions?

Jun8 · 2 years ago
Over the years I’ve noticed it too, the time lag between similar posts ranging from a few hours to a day or so. My simple explanation is that a person reading the original post either remembers a related nugget of Internet that they think people would also find interesting or else they find it while googling, inspired by the initial post.
waldarbeiter · 2 years ago
I was not aware of the other post when posting this. I stumbled upon this PDF coincidentally and thought it would be valuable for HN.
Jtsummers · 2 years ago
The Book of Proof post was made 2 hours after this one, you wouldn't have been aware of it. It happens a lot. See a topic, and people post related things because it jogs a memory, they found it while digging deeper, or as a form of indirect response.
constantcrying · 2 years ago
>Is this something that HN does on purpose?

No, the HN algorithm is extremely simple and does not consider syntactic similarities of the titles.

Solvency · 2 years ago
I've noticed similar themed posts appearing in clusters constantly on HN. It's way too commonplace to be coincidental.
Solvency · 2 years ago
It's intriguing to me that someone who made it to Stanford might only just be getting exposed to the basics of proofs like this?
mbg721 · 2 years ago
It makes some sense to have a leveling-of-expectations course for freshmen that both inflates their GPA and says "Okay, whatever you were told in high school, we expect you to use this."
cubefox · 2 years ago
Affirmative action and many related criteria mean that students aren't just admitted by considerations of ability.

Dead Comment