4.4 Logic programming
Logic programming offers a different approach to meta-programming in a logical framework than ML or a separate strategy language. Rather than meta-programming in a language in which the logical framework itself is implemented (typically ML), we endow the logical framework with an operational interpretation in the spirit of Prolog. It should be clear that a specification of a logic under this approach does not automatically give rise to a theorem prover, but that theorem provers may be programmed in the meta-language. Two frameworks to date have pursued this approach: λProlog [λProlog 1997, Nadathur and Miller 1988], which gives an operational interpretation of hereditary Harrop formulas, and Elf [Pfenning and Schürmann ...
Get Handbook of Automated Reasoning now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.