8000 GitHub - kaifronsdal/PyPantograph: A Machine-to-Machine Interaction System for Lean 4.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kaifronsdal/PyPantograph

 
 

Repository files navigation

PyPantograph

A Machine-to-Machine Interaction System for Lean 4.

Installation

  1. Install uv
  2. Install elan: See Lean Manual

Install as a project dependency

  1. Add the package to your project:
uv add git+https://github.com/stanford-centaur/PyPantograph
uv sync

Build wheels from source

  1. Clone this repository with submodules:
git clone --recurse-submodules <repo-path>
  1. Execute
cd <repo-path>
uv build
  1. Built wheels can be found at dist/*.whl

Documentation

Build the documentations by

uvx --with notebook jupyter-book build docs

Then serve

cd docs/_build/html
python3 -m http.server -d .

Examples

For API interaction examples, see examples/README.md.

Referencing

Paper Link

@misc{pantograph,
      title={Pantograph: A Machine-to-Machine Interaction Interface for Advanced Theorem Proving, High Level Reasoning, and Data Extraction in Lean 4},
      author={Leni Aniva and Chuyue Sun and Brando Miranda and Clark Barrett and Sanmi Koyejo},
      year={2024},
      eprint={2410.16429},
      archivePrefix={arXiv},
      primaryClass={cs.LO},
      url={https://arxiv.org/abs/2410.16429},
}

About

A Machine-to-Machine Interaction System for Lean 4.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0