|
|
|
|
|
by still_grokking
1240 days ago
|
|
I think you're missed the elephant in the room. "Programs as proves" is only a thing in the context of mathematically pure languages. Almost all programming languages aren't pure. That's on the other hand's side why prove assistants are very unusable as programming languages; you can't do anything with them usually besides proving stuff. Running actually "useful" code is mostly not possible. Things like Haskell or Idris try to bridge both worlds, but this isn't straight forward. How to actually do anything in a pure programing language is still an open question. Monads are some kludge but not very practicable for most people… So to summarize: "Normal" programs don't correspond to proves in any way! |
|
https://youtu.be/IOiZatlZtGU?t=1290
"Evaluation corresponds exactly to simplification of proofs..."
(The rest of the video, both before and after this statement, contain more context...)
That being said, I agree with you that languages which are used primarily for theorem proving (AKA, "proof assistants") -- are usually not as applicable to as broad a range of programming paradigms and problems as most general purpose computer programming languages are...