logoalt Hacker News

seeknotfind • today at 5:11 PM • 2 replies • view on HN

Due to the Howard-Curry Correspondence, proof and algorithm structures are isomorphic, so you can think of them as the same thing as far as mathematics is concerned.


Replies

tliltocatl • today at 5:47 PM

Not an expert, but doesn't HCC (and pure functional programming in general) have an issue of being insensitive to time/space complexity? Space complexity is basically hopeless because functional programming doesn't really have a notion of "memory space" (see also: haskell infamous "quicksort" example). Time isn't as bad in general (well, list access is O(n) but you can make it O(log(n)) with a trivial transformation) but still irrelevant for HCC. Since you don't have to execute a proof to check it, a galactic algorithm is still a valid proof. And a complexity-sensitive type system is still and open problem. So proofs and algorithms are isomorphic, proofs and practical algorithms aren't necessarily so.

➕ show 2 replies
cowlevel • today at 5:56 PM

The programs generated by HCC from useful proofs are generally useless programs, and the proofs generated by useful programs are generally useless proofs. HCC doesn't mean anything in practice.