计算机科学 > 计算机科学中的逻辑
[提交于 2026年9月7日]
标题:Optimising Metamath Proofs for Human Working Memory
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Mathematical proofs vary in legibility. While most proof optimisation techniques seek to minimise proof size, the strategic reordering of inferences can reduce the working memory demand of proof checking without altering overall size. Metamath serves as a prime case study for this approach: its verification architecture requires proof steps to be ordered in a manner that prioritises algorithmic efficiency over readability. In this paper, we introduce algorithms to minimise both peak and cumulative memory consumption, applying the latter as a novel proxy for sustained human cognitive effort. We achieve this by representing proofs as directed acyclic graphs and modelling their execution as a pebbling game. Finding an optimal ordering via brute force is computationally infeasible, so we use heuristics to provide approximations. We apply these algorithms across Metamath's ZFC set theory library and present case studies demonstrating how automated reordering systematically improves the presentation of formal mathematics.
提交历史
来自:Jeremy Lindsay[v1] 2026年9月7日 星期一 06:39:49 UTC