A Machine-to-Machine Interaction Interface for Lean 4
Go to file
Leni Aniva 9f53781ffe Add working catalog code and example 2023-05-12 01:08:36 -07:00
Pantograph Add README and catalog functions 2023-05-09 22:51:19 -07:00
.gitignore Initial commit 2023-05-07 15:19:45 -07:00
Main.lean Add working catalog code and example 2023-05-12 01:08:36 -07:00
README.md Add working catalog code and example 2023-05-12 01:08:36 -07:00
lakefile.lean Add README and catalog functions 2023-05-09 22:51:19 -07:00
lean-toolchain Initial commit 2023-05-07 15:19:45 -07:00

README.md

Pantograph

An interaction system for Lean 4.

Installation

Install elan and lean4. Then, execute

lake build

In order to use mathlib, its binary must also be built

lake build std
lake build mathlib

Usage

The binary must be run inside a lake env environment.

$ lake env build/bin/Pantograph
{"cmd": "create", "payload": {"imports": ["Mathlib.Analysis.Seminorm"]}}
{"cmd": "catalog", "payload": {"id": 0}}

There is temporarily a limit of 500 symbols to prevent stack overflow.