Skip to content
프로젝트

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

Original

PyPantograph

arXiv

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

  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

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

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},
}