Lean Grimoire:用编码智能体重制逻辑教学游戏,可展示 Lean 证明进度
Lean Grimoire
作者用编码智能体重建了 2018 年的 JavaScript 交互式逻辑教材“QED”,新版本暂定名“Lean Grimoire”,可将命题逻辑与一阶逻辑学习做成“合成游戏”。新功能包括显示当前游戏状态对应的 Lean 证明进度,以及用“药水”“卷轴”等奇幻文本呈现数学元素的 fantasy mode。作者正寻求试玩反馈,以提升其教授逻辑证明和 Lean 的实用性。
Back in July, I started experimenting with using modern coding agents to build a number of mathematical visualization applets. With the extremely hectic events of the last few months, I had to set those projects aside; but I recently found a bit of time to work on one such project that I had started back then, which was to modernize a Javascript interactive textbook I had made back in 2018, entitled “QED”, and announced previously on this blog. The purpose of that textbook was to teach propositional and first-order logic in the form of a “crafting game”, where one applied various rules of logic to reach a desired conclusion from a given set of hypotheses.
With a coding agent, I rebuilt the game (which I have given the working title of “Lean Grimoire”) with a number of new features, for instance giving the option to show an in-progress Lean proof of one’s game state. Just for fun, I also added an option to play in a “fantasy mode” in which various game elements are depicted using fantasy-themed flavor text (for instance, mathematical statements become “potions”, mathematical expressions become “scrolls”, and so forth). Here is a typical screenshot, in which one has nearly completed the proof of the assertion given
:

I would be interested in having some playtesting of this app to make it more useful as a means to teach logical proofs and/or Lean.
来源:Hacker News · terrytao.wordpress.com