Learning how to Prove: From the Coq Proof Assistant to Textbook Style

CoRR Pub Date : 2018-03-02 DOI:10.4204/EPTCS.267.1
Sebastian Böhne, C. Kreitz
{"title":"Learning how to Prove: From the Coq Proof Assistant to Textbook Style","authors":"Sebastian Böhne, C. Kreitz","doi":"10.4204/EPTCS.267.1","DOIUrl":null,"url":null,"abstract":"We have developed an alternative approach to teaching computer science students how to prove. First, students are taught how to prove theorems with the Coq proof assistant. In a second, more difficult, step students will transfer their acquired skills to the area of textbook proofs. In this article we present a realisation of the second step. \nProofs in Coq have a high degree of formality while textbook proofs have only a medium one. Therefore our key idea is to reduce the degree of formality from the level of Coq to textbook proofs in several small steps. For that purpose we introduce three proof styles between Coq and textbook proofs, called line by line comments, weakened line by line comments, and structure faithful proofs. \nWhile this article is mostly conceptional we also report on experiences with putting our approach into practise.","PeriodicalId":10720,"journal":{"name":"CoRR","volume":"24 1","pages":"1-18"},"PeriodicalIF":0.0000,"publicationDate":"2018-03-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"CoRR","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4204/EPTCS.267.1","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

We have developed an alternative approach to teaching computer science students how to prove. First, students are taught how to prove theorems with the Coq proof assistant. In a second, more difficult, step students will transfer their acquired skills to the area of textbook proofs. In this article we present a realisation of the second step. Proofs in Coq have a high degree of formality while textbook proofs have only a medium one. Therefore our key idea is to reduce the degree of formality from the level of Coq to textbook proofs in several small steps. For that purpose we introduce three proof styles between Coq and textbook proofs, called line by line comments, weakened line by line comments, and structure faithful proofs. While this article is mostly conceptional we also report on experiences with putting our approach into practise.
学习如何证明:从Coq证明助手到教科书风格
我们开发了另一种方法来教计算机科学专业的学生如何证明。首先,教授学生如何用Coq证明助手证明定理。在第二步,更困难的是,学生将把他们获得的技能转移到教科书校样领域。在本文中,我们提出了第二步的实现。Coq中的校样具有高度的正式性,而教科书中的校样只有中等的正式性。因此,我们的关键思想是通过几个小步骤来减少从Coq级别到教科书校样的正式程度。为此,我们在Coq和教科书证明之间引入了三种证明风格,称为逐行注释、弱逐行注释和结构忠实证明。虽然这篇文章主要是概念性的,但我们也报告了将我们的方法付诸实践的经验。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信