Discovery of inductive algorithms through automated reasoning: A case study on sorting

I. Dramnesc, T. Jebelean
{"title":"Discovery of inductive algorithms through automated reasoning: A case study on sorting","authors":"I. Dramnesc, T. Jebelean","doi":"10.1109/SISY.2012.6339532","DOIUrl":null,"url":null,"abstract":"By constructive proofs of the existence of the sorted version of the input list, we synthesize automatically five inductive sorting algorithms: Selection-Sort, Insertion-Sort, Quick-Sort, Merge-Sort, as well as a novel algorithm similar to Merge-Sort. Each algorithm uses certain auxiliary inductive functions, which are also automatically synthesized. The automatic proofs use natural style inferences like traditionally in the Theorema system (www.theorema.org). This case study reveals various novel proof techniques specific to the domain of lists, which are crucial for the automation of the proving process. These techniques include: goal oriented reasoning using meta-variables, several versions of induction on lists, and the use of partially unsolved goals. For increased efficiency we also use some special inference rules which are specific to certain predicates on lists, like for instance “is permutation of” (two lists have the same elements with the same number of occurrences), or “is Sorted” (a list is ordered).","PeriodicalId":207630,"journal":{"name":"2012 IEEE 10th Jubilee International Symposium on Intelligent Systems and Informatics","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-10-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 IEEE 10th Jubilee International Symposium on Intelligent Systems and Informatics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SISY.2012.6339532","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

By constructive proofs of the existence of the sorted version of the input list, we synthesize automatically five inductive sorting algorithms: Selection-Sort, Insertion-Sort, Quick-Sort, Merge-Sort, as well as a novel algorithm similar to Merge-Sort. Each algorithm uses certain auxiliary inductive functions, which are also automatically synthesized. The automatic proofs use natural style inferences like traditionally in the Theorema system (www.theorema.org). This case study reveals various novel proof techniques specific to the domain of lists, which are crucial for the automation of the proving process. These techniques include: goal oriented reasoning using meta-variables, several versions of induction on lists, and the use of partially unsolved goals. For increased efficiency we also use some special inference rules which are specific to certain predicates on lists, like for instance “is permutation of” (two lists have the same elements with the same number of occurrences), or “is Sorted” (a list is ordered).
通过自动推理发现归纳算法:排序的案例研究
通过构造性地证明输入表有排序版本的存在性,我们自动合成了五种归纳排序算法:选择排序、插入排序、快速排序、归并排序,以及一种类似于归并排序的新算法。每个算法都使用一定的辅助归纳函数,这些辅助归纳函数也是自动合成的。自动证明使用自然风格的推理,就像传统的定理系统(www.theorema.org)。本案例研究揭示了特定于列表领域的各种新颖证明技术,这些技术对于证明过程的自动化至关重要。这些技术包括:使用元变量的目标导向推理,对列表进行几种版本的归纳,以及使用部分未解决的目标。为了提高效率,我们还使用一些特定于列表上某些谓词的特殊推理规则,例如“是置换”(两个列表具有相同出现次数的相同元素)或“是排序”(列表是有序的)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信