GitXplorerGitXplorer
a

math-llm

public
59 stars
4 forks
3 issues

Commits

List of commits on branch main.
Verified
8b3aca20f397570ac4238231825399150f619daf

Create LICENSE

aatroyn committed a year ago
Unverified
d482fb90415792915a6863b60423ced07ad4a63f

Fix README formatting

aatroyn committed a year ago
Unverified
2174aa45b0954578cf613ae1f20b9d9250a480f2

Updated README

aatroyn committed a year ago
Unverified
24de449fe336e4a5d0c05d8c9ee17f97c6c1d998

Requirements.txt

aatroyn committed a year ago
Unverified
19f2ac2988e6251d35c4176fc9ceb7a520c609e9

Initial commit

aatroyn committed a year ago

README

The README file for this repository.

Math LLM

This is a prototype project for grounding mathematical reasoning for large language models, using software proof assistants.

This repo is highly experimental, and anything might break at any time or not work for you.

Contributions are welcome.

Installation

You will need the coqtop command line application. This is a CLI for interacting with the Coq proof assistant software. I used the default installation path and it worked out of the box following the instructions in the included README.

You will need an OpenAI API Key set in the OPENAI_API_KEY environment variable.

Then run pip install -r requirements.txt

Run

python main.py

Roadmap

  • [x] Interactively use Coq from Python
  • [x] Use LLM to generate proofs in a readable format
  • [x] Execute generated Coq
  • [x] Use LLM to evaluate proofs for logical consistency
  • [ ] Store proof results in memory
  • [ ] Generate new conjectures
  • [ ] Break down proofs recursively into sub-goals
  • [ ] ...