by js8 · 8y ago · 0 comments
Am I wrong in thinking that Coq for example can be considered a replacement of Prolog?
I think Girard's ludics, among other goals, tried to unify these two views, although I know too little about it.
Finally, note Coq, like Haskell, models computation as proof normalization, although it's design goals are very different from Haskell.
Prolog is a programming language whose execution is based on certain logical principles.
Coq is a functional programming language, and and extra logic layer to prove things about programs written in its programming language.
If you will, Prolog uses logic at "run time", while Coq uses logic at "compile time". Different things (and very different logics).
I don't know if you're right or wrong about that. But Coq is about as "dead" as Prolog is. That is, it isn't used very much for real-world programming. It doesn't look like it's going to become more alive very soon, either.
Even if Coq and Prolog can be considered as "in the same style/family", maybe the problem is that for most problems, most people just don't want to program that way?