霍尔逻辑在Haskell中的快速实现
Tutorial implementation of Hoare logic in Haskell
摘要:
使用程序设计语言Haskell,我们介绍了命题演算,数论和一个简单的命令式语言,可以评估算术和布尔表达式的实现。最后,我们提供了一个实现霍尔的逻辑,这将使我们能够推断事实的程序,而不需要一个完整的评估。
英文摘要:
Using the programming language Haskell, we introduce an implementation of propositional calculus, number theory, and a simple imperative language that can evaluate arithmetic and boolean expressions. Finally, we provide an implementation of Hoare's logic which will allow us to deduce facts about programs without the need for a full evaluation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。