【24h】

The Computational Relevance of Formal Logic Through Formal Proofs

机译:通过形式证明的形式逻辑的计算相关性

获取原文

摘要

The construction of correct software, i.e. a computer program that meets a given specification, is an important goal in Computer Science. Nowadays, not only critical software (the ones used in aircraft, hospitals, banks, etc.) is supposed to provide additional guarantees of its correctness. Nevertheless, this is not an easy task because proofs are often long and full of details. In this sense, a strong background in logical deduction is essential to provide Computer Science (CS) professionals the necessary competencies to understand and provide mathematical proofs of their programs. Logic courses for CS tend to follow old precepts without emphasizing mastering deduction itself. In our institution, for several years we have followed a more pragmatical approach, in which the foundational aspects of both natural deduction and deduction a la Gentzen are taught and, in parallel, the operational premises of deduction are put into practice in proof assistants. Thus, CS students with a minimum knowledge in programming are challenged on providing correctness certificates for simple algorithms. 'Putting their hands in the dough' they acquire a better understanding of the value and importance of deductive technologies in computing. Here we show how this is done relating natural deduction and sequent calculus deduction and using the proof assistant PVS in the simple context of a library of sorting algorithms.
机译:正确的软件(即满足给定规格的计算机程序)的构建是计算机科学的重要目标。如今,不仅关键软件(用于飞机,医院,银行等的软件)应该为其准确性提供额外的保证。尽管如此,这并不是一件容易的事,因为证明往往很长且充满细节。从这个意义上说,强大的逻辑推理背景对于为计算机科学(CS)专业人员提供必要的能力,以理解和提供其程序的数学证明至关重要。 CS的逻辑课程倾向于遵循旧的戒律,而不强调掌握演绎本身。在我们的机构中​​,几年来,我们一直采用一种更加务实的方法,在该方法中,教授自然演绎法和Gentla演绎法的基础知识,同时,在证明助手中实践演绎法的前提。因此,在编程方面知识最少的CS学生面临着为简单算法提供正确性证书的挑战。他们“把手放在面团上”可以更好地理解演绎技术在计算中的价值和重要性。在这里,我们展示了如何完成自然推论和后续演算推论的关联,以及如何在排序算法库的简单上下文中使用证明助手PVS。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号