首页> 外文期刊>Evolutionary computation >Counterexample-Driven Genetic Programming: Heuristic Program Synthesis from Formal Specifications
【24h】

Counterexample-Driven Genetic Programming: Heuristic Program Synthesis from Formal Specifications

机译:反例驱动的遗传编程:形式规范中的启发式程序综合

获取原文
获取原文并翻译 | 示例

摘要

Conventional genetic programming (GP) can guarantee only that synthesized programs pass tests given by the provided input-output examples. The alternative to such a test-based approach is synthesizing programs by formal specification, typically realized with exact, nonheuristic algorithms. In this article, we build on our earlier study on Counterexample-Based Genetic Programming (CDGP), an evolutionary heuristic that synthesizes programs from formal specifications. The candidate programs in CDGP undergo formal verification with a Satisfiability Modulo Theory (SMT) solver, which results in counterexamples that are subsequently turned into tests and used to calculate fitness. The original CDGP is extended here with a fitness threshold parameter that decides which programs should be verified, a more rigorous mechanism for turning counterexamples into tests, and other conceptual and technical improvements. We apply it to 24 benchmarks representing two domains: the linear integer arithmetic (LIA) and the string manipulation (SLIA) problems, showing that CDGP can reliably synthesize provably correct programs in both domains. We also confront it with two state-of-the art exact program synthesis methods and demonstrate that CDGP effectively trades longer synthesis time for smaller program size.
机译:常规遗传编程(GP)只能保证合成程序可以通过提供的输入输出示例给出的测试。这种基于测试的方法的替代方法是通过正式的规范来合成程序,通常通过精确的非启发式算法来实现。在本文中,我们基于对基于反例的遗传编程(CDGP)的较早研究,该进化论是一种启发式启发式方法,可以从形式规范中综合程序。 CDGP中的候选程序使用“满意度模理论”(SMT)求解器进行了正式验证,这产生了反例,随后将其转换为测试并用于计算适用性。最初的CDGP在这里扩展了适用性阈值参数,该参数决定了应验证哪些程序,将反例转化为测试的更严格的机制以及其他概念和技术改进。我们将其应用于代表两个域的24个基准:线性整数算术(LIA)和字符串操作(SLIA)问题,表明CDGP可以在两个域中可靠地合成可证明的正确程序。我们还用两种最先进的精确程序合成方法来面对它,并证明CDGP有效地将较长的合成时间换成了较小的程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号