The article starts with a false equivalence between archaic verbose language and mathematical notation. For my part, I usually prefer the prose. Formulas are easier to read for people who are used to and have practice with mathematical notation , but even then they are easier to read for those people when they are sufficiently complete , and formulas seem to often come with huge leaps and unstated assumptions. Especi…
A Computer Scientist Tells Mathematicians How to Write Proofs
31–40 of 103 posts
Re: A Computer Scientist Tells Mathematicians How to Write Proofs
#32Earlier quoted context omitted.
Does prose not also often come with huge leaps and unstated assumptions?
I think the solution is probably to have it all, according to your taste: code because you can run it as a working proof, and explanations in both comments and prose.
Re: A Computer Scientist Tells Mathematicians How to Write Proofs
#33The problem isn't notation in itself; it's rarely used and non-self-explanatory notation that's a problem. You can achieve the same with words by inventing your own words and demanding that everyone learn them to understand you.
Re: A Computer Scientist Tells Mathematicians How to Write Proofs
#34I just finished a course in Coq - it was pretty fun. Seems like something of the same the guys paper is about.
The article has nothing to do with Coq: > When I saw the title of the talk, I assumed Lamport would be talking about computer proof checking programs or even a proof creating program like the one Timothy Gowers has worked on and written about. But Lamport’s advice was much more down-to-earth.
Re: A Computer Scientist Tells Mathematicians How to Write Proofs
#35Re: A Computer Scientist Tells Mathematicians How to Write Proofs
#36Re: A Computer Scientist Tells Mathematicians How to Write Proofs
#37If only that were true of a piece of LaTeX moved from one place to another, haha!
Re: A Computer Scientist Tells Mathematicians How to Write Proofs
#38Could anyone with first-hand experience of TLA+ comment on how practical it actually is? I've been toying with idea of trying this for a not-quite-trivial (programming!) project I'm working on, but the documentation and UX have so far kept me quite skeptical of using this "for real". The fact that I also can't turn the proof into a program in a semi-automated fashion also seems to indicate that there's at least some…
I've used it a bit for stuff inside Azure. It's difficult to find a problem where the model checker shines; state machines are far too simple (better to use P[1] or something similar), and something like cache coherence (the Hello World of real-world TLA+) isn't a problem I hit often. TLA+ isn't only a model checker & theorem prover, though. The language itself is an excellent high-level way of expressing system desi…
This sounds very intriguing. It guess there's at least some learning curve, but maybe it'll be a fun experiment vs. P&P in future. ;)
Re: A Computer Scientist Tells Mathematicians How to Write Proofs
#39Earlier quoted context omitted.
I think the solution is probably to have it all, according to your taste: code because you can run it as a working proof, and explanations in both comments and prose.
How do you prevent discrapencies between those? You already see it with comments on source code, which eventually get outdated.
Maybe there's a sort of golden middle way here where all mathematical prose-proofs should be annotated[1] by the associated computer-checked proof. The trustworthiness of a particular proof could be assessed by the number of such references and how much coverage (of the prose) they provide...?
[1] Perhaps only by reference, as here. :)
EDIT: Quick edit, I say this as someone who -- earlier in xir career -- probably subjected a lot of people to somewhat verbose comments. In practice, my comments were usually right and the programming language wasn't powerful enough to capture the semantics of what I was doing. One hopes this is the distinction between good and bad comments. Sorry for veering off-topic.
Re: A Computer Scientist Tells Mathematicians How to Write Proofs
#40To be fair, Leslie Lamport is also a Mathematician (his PhD was in Math).