プロジェクト
GitHubで見る
stanford-centaur/PyPantograph
概要
A Machine-to-Machine Interaction System for Lean 4.
機械学習計測したスター増加
- 24時間
- -1
- 7日間
- -1
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルPyPantograph
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},
}
関連プロジェクトを探す
読み込み中…