【24h】

Modular Synthesis of Sketches Using Models

机译:使用模型的模块合成草图

获取原文

摘要

One problem with the constraint-based approaches to synthesis that have become popular over the last few years is that they only scale to relatively small routines, on the order of a few dozen lines of code. This paper presents a mechanism for modular reasoning that allows us to break larger synthesis problems into small manageable pieces. The approach builds on previous work in the verification community of using high-level specifications and partially interpreted functions (we call them models) in place of more complex pieces of code in order to make the analysis modular. The main contribution of this paper is to show how to combine these techniques with the counterexample guided synthesis approaches used to efficiently solve synthesis problems. Specifically, we show two new algorithms; one to efficiently synthesize functions that use models, and another one to synthesize functions while ensuring that the behavior of the resulting function will be in the set of behaviors allowed by the model. We have implemented our approach on top of the open-source Sketch synthesis system, and we demonstrate its effectiveness on several Sketch benchmark problems.
机译:基于约束的合成方法的一个问题在过去几年中变得流行的是,它们只能扩展到相对较小的例程,大约几十行代码的顺序。本文介绍了模块化推理的机制,使我们能够将更大的合成问题破坏小可易于操作的碎片。该方法在验证社区中使用高级规范和部分解释功能(我们称之为模型)来构建在验证界中的工作,以代替更复杂的代码,以便使分析模块化。本文的主要贡献是展示如何将这些技术与用于有效解决合成问题的反例引导综合方法。具体而言,我们展示了两个新算法;一个能够有效地合成使用模型的函数,另一个用于综合函数的同时,同时确保所得函数的行为将在模型允许的行为中。我们在开源素描合成系统的顶部实施了我们的方法,我们展示了其对几个草图基准问题的有效性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号