计算机科学 > 计算机科学中的逻辑
[提交于 2020年5月13日]
标题:The Extended Theory of Trees and Algebraic (Co)datatypes
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The first-order theory of finite and infinite trees has been studied since the eighties, especially by the logic programming community. Following Djelloul, Dao and Fr\"uhwirth, we consider an extension of this theory with an additional predicate for finiteness of trees, which is useful for expressing properties about (not just datatypes but also) codatatypes. Based on their work, we present a simplification procedure that determines whether any given (not necessarily closed) formula is satisfiable, returning a simplified formula which enables one to read off all possible models. Our extension makes the algorithm usable for algebraic (co)datatypes, which was impossible in their original work due to restrictive assumptions. We also provide a prototype implementation of our simplification procedure and evaluate it on instances from the SMT-LIB.
提交历史
来自:EPTCS[v1] 2020年5月13日 星期三 23:12:42 UTC