Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m4lvin/RepLeanTeX
https://github.com/m4lvin/RepLeanTeX
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/m4lvin/RepLeanTeX
- Owner: m4lvin
- License: apache-2.0
- Created: 2024-07-13T11:47:10.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T19:24:57.000Z (about 2 months ago)
- Last Synced: 2024-10-15T19:13:45.735Z (21 days ago)
- Language: Shell
- Size: 43.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
RepLeanTeX
==========This is a proof of concept to run the
[`Lean 4 repl`](https://github.com/leanprover-community/repl)
*while* compiling a LaTeX document.
The main goal is to avoid repeated calls to `lake env lean`,
and only start the `repl` once for each LaTeX compilation.Currently the only feature is an `\axioms{...}` command to
print the dependencies of its argument:```latex
\verb|True| depends on: \axioms{True}\verb|iff_right_comm| depends on: \axioms{iff_right_comm}
\verb|wrong| from \texttt{MyProject/Basic.lean} depends on: \axioms{wrong}
\verb|Nat.beta_unbeta_coe| depends on: \axioms{Nat.beta_unbeta_coe}
```![](example-output.png)
Quick start
-----------Make sure that you set the same Lean version with `elan default`.
Currently it is not enough to set it locally.```bash
git clone https://github.com/m4lvin/RepLeanTeX.git
cd RepLeanTex
make setup # or adjust the version of repl and myProject manually
make
```