修正你的类型
Fix Your Types
摘要:
当使用现有的ACL2数据类型框架时,许多定理需要类型假设。这些假设减慢了定理证明器的速度,写起来很乏味,而且很容易忘记。我们描述了一个原则性的方法,提供强大的类型安全性和执行效率,同时避免类型假设,我们提出了一个库,自动化这种方法。使用这种方法,类型可以帮助您捕获编程错误,然后避开定理证明。
英文摘要:
When using existing ACL2 datatype frameworks, many theorems require type hypotheses. These hypotheses slow down the theorem prover, are tedious to write, and are easy to forget. We describe a principled approach to types that provides strong type safety and execution efficiency while avoiding type hypotheses, and we present a library that automates this approach. Using this approach, types help you catch programming errors and then get out of the way of theorem proving.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。