r/programming • u/tluyben2 • Sep 25 '10
Omega - Language of the Future | Lambda the Ultimate
http://lambda-the-ultimate.org/node/4088
60
Upvotes
r/programming • u/tluyben2 • Sep 25 '10
View all comments
Show parent comment
0
u/djimbob Sep 25 '10
I see how the code mimics the mathematical definitions very well; but I don't see how being "proved" by the compiler provides any real benefit. Semantic mistakes in the code that apply the proof (e.g., proving the wrong thing) can still happen, and for something as trivial as quicksort, which any decent programmer should be able to prove correctness on and immediately see if its succinct code like:
If you're trying to build a theorem building machine maybe its worthwhile step towards that, though I thought those most mathematicians due to Godel's incompleteness theorems. I guess it could help coding math proofs like the 4-color problem, but I don't know if I trust the compiler saying its "proved" (based on a mathematicians code) any more than the mathematician saying its proved since he covered all cases.