Peano: Learning Formal Mathematical Reasoning

Gabriel Poesia, Noah D. Goodman
11/29/2022
cs.AI

Official code: gpoesia/peano (72 stars, Python, MIT, last commit 2024-08-18).

Abstract

General mathematical reasoning is computationally undecidable, but humans routinely solve new problems. Moreover, discoveries developed over centuries are taught to subsequent generations quickly.

Show full abstract

What structure enables this, and how might that inform automated mathematical reasoning? We posit that central to both puzzles is the structure of procedural abstractions underlying mathematics. We explore this idea in a case study on 5 sections of beginning algebra on the Khan Academy platform. To define a computational foundation, we introduce Peano, a theorem-proving environment where the set of valid actions at any point is finite. We use Peano to formalize introductory algebra problems and axioms, obtaining well-defined search problems. We observe existing reinforcement learning methods for symbolic reasoning to be insufficient to solve harder problems. Adding the ability to induce reusable abstractions ("tactics") from its own solutions allows an agent to make steady progress, solving all problems. Furthermore, these abstractions induce an order to the problems, seen at random during training. The recovered order has significant agreement with the expert-designed Khan Academy curriculum, and second-generation agents trained on the recovered curriculum learn significantly faster. These results illustrate the synergistic role of abstractions and curricula in the cultural transmission of mathematics.

View on arXivView PDF

Code Implementations(1)

gpoesia/peanoOfficial100%
MIT

An environment for learning formal mathematical reasoning from scratch

729Python, RustFeb 10, 20222 years agoMIT
reinforcement-learningtheorem-proving

Similar Papers

Cite this paper

@article{poesia2022peano,
  title  = {Peano: Learning Formal Mathematical Reasoning},
  author = {Gabriel Poesia and Noah D. Goodman},
  year   = {2022},
  eprint = {2211.15864},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.15864}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.15864.svg)](https://codeofpaper.com/paper/2211.15864)

Discussion