프로젝트
GitHub에서 보기
stanford-centaur/PyPantograph
stanford-centaur/PyPantograph has 152 GitHub stars and 40 forks. GitHot measured 0 stars in 24 hours, +1 in 7 days, and +2 in 15 days. Last checked 2026-11-19 12:13 UTC. Last push 2026-10-30.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- 업데이트 지연
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
A Machine-to-Machine Interaction System for Lean 4.
머신러닝README.md
OriginalPyPantograph
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},
}