用Haskell程序教授简单的构造性证明
Teaching Simple Constructive Proofs with Haskell Programs
摘要:
近年来,我们在大规模招生的大学课程中探索使用Haskell以及传统的数学形式主义,主题包括逻辑和形式语言,旨在为我们的学生提供关于这些数学主题的编程视角。我们发现,通过一个互动学习平台,使用Haskell作为我们广泛的教学大纲中数字练习的通用语言,可以提供几乎所有的形成性和总结性评估。最难转换成这种格式的练习之一是传统的书面证明,传达建设性的论点。在本文中,我们反映了这种练习的数字化。我们分享了许多Haskell练习的例子,这些练习旨在针对命题逻辑和形式语言中不同主题的书面证明练习的类似技能,并讨论了这些练习设计的各个方面。我们还对学生对这些练习的反应进行了分类。这种讨论有助于我们更广泛地探索编程问题作为一种灵活的数字媒体的学习和评估。
英文摘要:
In recent years we have explored using Haskell alongside a traditional mathematical formalism in our large-enrolment university course on topics including logic and formal languages, aiming to offer our students a programming perspective on these mathematical topics. We have found it possible to offer almost all formative and summative assessment through an interactive learning platform, using Haskell as a lingua franca for digital exercises across our broad syllabus. One of the hardest exercises to convert into this format are traditional written proofs conveying constructive arguments. In this paper we reflect on the digitisation of this kind of exercise. We share many examples of Haskell exercises designed to target similar skills to written proof exercises across topics in propositional logic and formal languages, discussing various aspects of the design of such exercises. We also catalogue a sample of student responses to such exercises. This discussion contributes to our broader exploration of programming problems as a flexible digital medium for learning and assessment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。