Proyek
Lihat di GitHub
stanford-centaur/PyPantograph
Tentang
A Machine-to-Machine Interaction System for Lean 4.
AI dan pembelajaran mesinPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +1
- dalam 15 hari
- 0
- dalam 1 bulan
- +3
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliPyPantograph
A Machine-to-Machine Interaction System for Lean 4.
Features:
- Programmatically execute tactics (
goal_tactic) - Handling of metavariable coupling
- Whole file specification conformity check (
check_track) - Extraction of tactic invocation data
- Inspection of Lean constants
Installation
- Install
uv - Install
elan: See Lean Manual
Install as a project dependency
- Add the package to your project:
uv add git+https://github.com/stanford-centaur/PyPantograph
uv sync
Build wheels from source
- Clone this repository with submodules:
git clone --recurse-submodules <repo-path>
- Execute
cd <repo-path>
uv build
- Built wheels can be found at
dist/*.whl
Documentation
Build the documentations by
uv run --group dev jupyter-book build doc
Then serve
python3 -m http.server -d doc/_build/html
Examples
For API interaction examples, see examples/README.md.
Contributing
Execute unit tests with
uv run pytest
Reference
@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},
}
Jelajahi proyek terkait
Memuat…