• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

合成带有非平凡常量的程序。

Synthesising Programs with Non-trivial Constants.

作者信息

Abate Alessandro, Barbosa Haniel, Barrett Clark, David Cristina, Kesseli Pascal, Kroening Daniel, Polgreen Elizabeth, Reynolds Andrew, Tinelli Cesare

机构信息

University of Oxford, Oxford, UK.

Universidade Federal de Minas Gerais, Belo Horizonte, Minas Gerais Brazil.

出版信息

J Autom Reason. 2023;67(2):19. doi: 10.1007/s10817-023-09664-4. Epub 2023 May 13.

DOI:10.1007/s10817-023-09664-4
PMID:37193313
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC10182957/
Abstract

Program synthesis is the mechanised construction of software. One of the main difficulties is the efficient exploration of the very large solution space, and tools often require a user-provided syntactic restriction of the search space. While useful in general, such syntactic restrictions provide little help for the generation of programs that contain non-trivial constants, unless the user is able to provide the constants in advance. This is a fundamentally difficult task for state-of-the-art synthesisers. We propose a new approach to the synthesis of programs with non-trivial constants that combines the strengths of a counterexample-guided inductive synthesiser with those of a theory solver, exploring the solution space more efficiently without relying on user guidance. We call this approach CEGIS(), where is a first-order theory. We present two exemplars, one based on Fourier-Motzkin (FM) variable elimination and one based on first-order satisfiability. We demonstrate the practical value of CEGIS() by automatically synthesising programs for a set of intricate benchmarks. Additionally, we present a case study where we integrate CEGIS() within the mature synthesiser CVC4 and show that CEGIS() improves CVC4's results.

摘要

程序合成是软件的机械化构建。主要困难之一是对非常大的解空间进行有效探索,并且工具通常需要用户提供对搜索空间的句法限制。虽然总体上很有用,但这种句法限制对于生成包含非平凡常量的程序帮助不大,除非用户能够提前提供这些常量。对于最先进的合成器来说,这是一项从根本上就很困难的任务。我们提出了一种用于合成具有非平凡常量的程序的新方法,该方法结合了反例引导的归纳合成器和理论求解器的优势,在不依赖用户指导的情况下更有效地探索解空间。我们将这种方法称为CEGIS( ),其中 是一个一阶理论。我们给出了两个示例,一个基于傅里叶 - 莫兹金(FM)变量消去法,另一个基于一阶可满足性。我们通过为一组复杂的基准自动合成程序来证明CEGIS( )的实用价值。此外,我们展示了一个案例研究,即在成熟的合成器CVC4中集成CEGIS( ),并表明CEGIS( )改进了CVC4的结果。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/221b/10182957/bd2ce9cb8df7/10817_2023_9664_Fig4_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/221b/10182957/15948bea76ad/10817_2023_9664_Fig1_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/221b/10182957/ed3e779a084a/10817_2023_9664_Fig2_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/221b/10182957/20daa83c79ae/10817_2023_9664_Fig3_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/221b/10182957/bd2ce9cb8df7/10817_2023_9664_Fig4_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/221b/10182957/15948bea76ad/10817_2023_9664_Fig1_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/221b/10182957/ed3e779a084a/10817_2023_9664_Fig2_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/221b/10182957/20daa83c79ae/10817_2023_9664_Fig3_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/221b/10182957/bd2ce9cb8df7/10817_2023_9664_Fig4_HTML.jpg

相似文献

1
Synthesising Programs with Non-trivial Constants.合成带有非平凡常量的程序。
J Autom Reason. 2023;67(2):19. doi: 10.1007/s10817-023-09664-4. Epub 2023 May 13.
2
Formal synthesis of non-fragile state-feedback digital controllers considering performance requirements for step response.考虑阶跃响应性能要求的非脆弱状态反馈数字控制器的形式综合。
Sci Rep. 2022 Sep 14;12(1):15429. doi: 10.1038/s41598-022-19284-4.
3
Counterexample-Driven Genetic Programming: Heuristic Program Synthesis from Formal Specifications.基于反例的遗传编程:从形式规范中启发式生成程序。
Evol Comput. 2018 Fall;26(3):441-469. doi: 10.1162/evco_a_00228. Epub 2018 May 22.
4
Program synthesis: challenges and opportunities.程序合成:挑战与机遇。
Philos Trans A Math Phys Eng Sci. 2017 Oct 13;375(2104). doi: 10.1098/rsta.2015.0403.
5
The Reasoning Engine: A Satisfiability Modulo Theories-Based Framework for Reasoning About Discrete Biological Models.
J Comput Biol. 2023 Sep;30(9):1046-1058. doi: 10.1089/cmb.2023.0117.
6
7
Automated Formal Reasoning to Uncover Molecular Programs of Self-Renewal.通过自动化形式推理揭示自我更新的分子程序。
Methods Mol Biol. 2019;1975:79-105. doi: 10.1007/978-1-4939-9224-9_4.
8
Automated formal synthesis of provably safe digital controllers for continuous plants.用于连续工厂的可证明安全数字控制器的自动化形式合成。
Acta Inform. 2020;57(1):223-244. doi: 10.1007/s00236-019-00359-1. Epub 2019 Dec 6.
9
Folic acid supplementation and malaria susceptibility and severity among people taking antifolate antimalarial drugs in endemic areas.在流行地区,服用抗叶酸抗疟药物的人群中,叶酸补充剂与疟疾易感性和严重程度的关系。
Cochrane Database Syst Rev. 2022 Feb 1;2(2022):CD014217. doi: 10.1002/14651858.CD014217.
10
The effectiveness of internet-based e-learning on clinician behavior and patient outcomes: a systematic review protocol.基于互联网的电子学习对临床医生行为和患者结局的有效性:一项系统评价方案。
JBI Database System Rev Implement Rep. 2015 Jan;13(1):52-64. doi: 10.11124/jbisrir-2015-1919.