arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.00620cs.LO
收藏

逻辑与形式化方法课程中的定理与算法检查

Theorem and Algorithm Checking for Courses on Logic and Formal Methods

Wolfgang Schreiner

摘要:

RISC算法语言(RISC Algorithm Language,RISCAL)是一种对理论和算法进行形式化建模的语言。RISCAL规范描述了一个无限类的模型,每个模型都有有限的大小;这允许在这样的模型中完全自动地检查所有定理的有效性和所有算法的正确性。因此,RISCAL使我们能够在试图证明整个类的普遍真理之前,快速验证/证伪模型类的样本实例中的命题的特定真理:第一个可以以全自动的方式实现,而第二个通常需要我们的帮助。RISCAL主要是为教育目的而开发的。为此,本文报告了一些新的增强工具:自动生成的可检查的验证条件的算法,可视化的程序的执行和公式的评价,说明计算其结果,并生成基于Web的学生练习和作业从RISCAL规范。此外,我们报告我们的第一次经验与RISCAL在逻辑和正式方法的课程教学,并进一步计划使用这一工具,以加强正规教育。

英文摘要:

The RISC Algorithm Language (RISCAL) is a language for the formal modeling of theories and algorithms. A RISCAL specification describes an infinite class of models each of which has finite size; this allows to fully automatically check in such a model the validity of all theorems and the correctness of all algorithms. RISCAL thus enables us to quickly verify/falsify the specific truth of propositions in sample instances of a model class before attempting to prove their general truth in the whole class: the first can be achieved in a fully automatic way while the second typically requires our assistance. RISCAL has been mainly developed for educational purposes. To this end this paper reports on some new enhancements of the tool: the automatic generation of checkable verification conditions from algorithms, the visualization of the execution of procedures and the evaluation of formulas illustrating the computation of their results, and the generation of Web-based student exercises and assignments from RISCAL specifications. Furthermore, we report on our first experience with RISCAL in the teaching of courses on logic and formal methods and on further plans to use this tool to enhance formal education.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑