通过有限模型的自动检查来教授数学理论和算法的形式化
Teaching the Formalization of Mathematical Theories and Algorithms via the Automatic Checking of Finite Models
摘要:
在逻辑和证明的实际应用中的教育,如计算机程序的形式规范和验证,受到了这样一个事实的严重阻碍,即投入在证明上的大多数时间和精力实际上是徒劳的:由于学生开发的规范和算法中的错误,他们的证明努力往往毫无意义(因为被证明的命题实际上是不感兴趣的)或先验注定要失败的(因为要证明的命题实际上并不成立),这是一个常见的挫折来源,并给形式方法带来了坏名声。RISCAL(RISC算法语言)是一种形式化的规约语言和相关的软件系统,它试图通过使逻辑形式化变得有趣而不是负担来克服这个问题。为此,RISCAL允许学生通过自动评估/执行和检查(小)有限模型来轻松验证命题实例的正确性。因此,许多/大多数错误可以被快速检测到,随后的证明尝试可以集中在更有意义和真实的命题上。
英文摘要:
Education in the practical applications of logic and proving such as the formal specification and verification of computer programs is substantially hampered by the fact that most time and effort that is invested in proving is actually wasted in vain: because of errors in the specifications respectively algorithms that students have developed, their proof attempts are often pointless (because the proposition proved is actually not of interest) or a priori doomed to fail (because the proposition to be proved does actually not hold), this is a frequent source of frustration and gives formal methods a bad reputation. RISCAL (RISC Algorithm Language) is a formal specification language and associated software system that attempts to overcome this problem by making logic formalization fun rather than a burden. To this end, RISCAL allows students to easily validate the correctness of instances of propositions respectively algorithms by automatically evaluating/executing and checking them on (small) finite models. Thus many/most errors can be quickly detected and subsequent proof attempts can be focused on propositions that are more/most likely to be both meaningful and true.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。