首页    期刊浏览 2024年11月26日 星期二
登录注册

文章基本信息

  • 标题:Proof–Based Synthesis of Sorting Algorithms Using Multisets in Theorema
  • 本地全文:下载
  • 作者:Isabela Drămnesc ; Tudor Jebelean
  • 期刊名称:Electronic Proceedings in Theoretical Computer Science
  • 电子版ISSN:2075-2180
  • 出版年度:2019
  • 卷号:303
  • 页码:76-91
  • DOI:10.4204/EPTCS.303.6
  • 语种:English
  • 出版社:Open Publishing Association
  • 摘要:Using multisets, we develop novel techniques for mechanizing the proofs of the synthesis conjectures for list-sorting algorithms, and we demonstrate them in the Theorema system. We use the classical principle of extracting the algorithm as a set of rewrite rules based on the witnesses found in the proof of the synthesis conjecture produced from the specification of the desired function (input and output conditions). The proofs are in natural style, using standard rules, but most importantly domain specific inference rules and strategies. In particular the use of multisets allows us to develop powerful strategies for the synthesis of arbitrarily structured recursive algorithms by general Noetherian induction, as well as for the automatic generation of the specifications of all necessary auxiliary functions (insert, merge, split), whose synthesis is performed using the same method.
国家哲学社会科学文献中心版权所有