跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:cs/0508123 (cs)
[提交于 2005年8月28日]

标题:On Algorithms and Complexity for Sets with Cardinality Constraints

作者:Bruno Marnette, Viktor Kuncak, Martin Rinard
查看论文《On Algorithms and Complexity for Sets with Cardinality Constraints》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Typestate systems ensure many desirable properties of imperative programs, including initialization of object fields and correct use of stateful library interfaces. Abstract sets with cardinality constraints naturally generalize typestate properties: relationships between the typestates of objects can be expressed as subset and disjointness relations on sets, and elements of sets can be represented as sets of cardinality one. Motivated by these applications, this paper presents new algorithms and new complexity results for constraints on sets and their cardinalities. We study several classes of constraints and demonstrate a trade-off between their expressive power and their complexity. Our first result concerns a quantifier-free fragment of Boolean Algebra with Presburger Arithmetic. We give a nondeterministic polynomial-time algorithm for reducing the satisfiability of sets with symbolic cardinalities to constraints on constant cardinalities, and give a polynomial-space algorithm for the resulting problem. In a quest for more efficient fragments, we identify several subclasses of sets with cardinality constraints whose satisfiability is NP-hard. Finally, we identify a class of constraints that has polynomial-time satisfiability and entailment problems and can serve as a foundation for efficient program analysis.
评论: 20 pages. 12 figures
主题: 程序设计语言 (cs.PL); 计算机科学中的逻辑 (cs.LO); 软件工程 (cs.SE)
报告编号: MIT CSAIL Technical Report MIT-LCS-TR-997
引用方式: arXiv:cs/0508123 [cs.PL]
  (或者 arXiv:cs/0508123v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.cs/0508123

提交历史

来自:Viktor Kuncak
[v1] 2005年8月28日 星期日 22:25:22 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2005-08
切换浏览方式为:
cs
cs.LO
cs.SE

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站