Directory graphics/pgf/contrib/lc-visualizer
lc-visualizer, a LaTeX λ-Calculus Visualizer
A small and work-in-progress package to visualize lambda calculus expressions in LaTeX (see the documentation).
lc-visualizer is actively developed by Florian Sihler (contact me at: <florian.sihler@uni-ulm.de>) under the MIT License. I am very happy about every contribution (see CONTRIBUTING.md).
Terms can also be reduced automatically (with alpha/eta conversions, beta reductions and the unfolding of rewriting rules), e.g., \lcReduce{(\\f.\\x.\f \x) \x}. Everything is set through keys, with \lcSetup{...} for the defaults and \LC[...], \RLC[...] or the reduction commands for a single term. Run the tests with l3build check. The manual uses the xlistings submodule (git submodule update --init).
Download the contents of this package in one zip archive (396.7k).
Lc-visualizer – Visualize and reduce lambda calculus terms
The lc-visualizer package typesets terms of the untyped lambda calculus with TikZ. Each abstraction gets a color, and the variables it binds as well as the range of its body are highlighted in that color. Terms can be reduced automatically, with alpha and eta conversions, beta reductions and the unfolding of user-defined rewriting rules, and every step of a reduction can be shown. Terms can also be typeset with de Bruijn indices.
| Package | Lc-visualizer |
| Support | |
| Bug tracker | |
| Repository | |
| Version | 1.0.0 |
| Licenses | MIT License |
| Copyright | 2022 Florian Sihler |
| Maintainer | Florian Sihler |
| Contained in | TeX Live as lc-visualizer |
| Topics | Logic PGF TikZ Computer science |