期刊论文详细信息
Journal of Formalized Reasoning
Understanding and maintaining tactics graphically OR how we are learning that a diagram can be worth more than 10K LoC
YuHui Lin ; Gudmund Grov ; Rob Arthan
关键词: proof maintenance;    theorem proving;    graphical tactic language;   
DOI  :  10.6092/issn.1972-5787/6298
学科分类:计算机科学(综合)
来源: Universita degli Studi di Bologna
PDF
【 摘 要 】

The use of a functional language to implement proof strategies as proof tactics in interactive theorem provers, often provides short, concise and elegant implementations. Whilst being elegant, the use of higher order features and combinator languages often results in a very procedural view of a strategy, which may deviate significantly from the high-level ideas behind it. This can make a tactic hard to understand and hence difficult to to debug and maintain for experts and non-experts alike: one often has to tear apart complex combinations of lower level tactics manually in order to analyse a failure in the overall strategy.In an industrial technology transfer project, we have been working on porting a very large and complex proof tactic into PSGraph, a graphical language for representing proof strategies. The goal of this work is to improve understandability and maintainability of tactics. Motivated by some initial successes with this, we here extend PSGraph with additional features for development and debugging. Through the re-implementation and refactoring of several existing tactics, we demonstrates the advantages of PSGraph compared with a typical sentential tactic language with respect to debugging, readability and maintenance. In order to act as guidance for others, we give a fairly detailed comparison of the user experience with the two approaches. The paper is supported by a web page providing further details about the implementation as well as interactive illustrations of the examples.

【 授权许可】

CC BY   

【 预 览 】
附件列表
Files Size Format View
RO201904266664864ZK.pdf 1201KB PDF download
  文献评价指标  
  下载次数:7次 浏览次数:10次