Tromp Diagrams

multi-pane lambda calculus visualizer
Each pane is independent. Click + to add another. Use Sync in the toolbar to step / run all panes together — useful for comparing reduction strategies side-by-side. Multiline input is on by default (Ctrl+Enter to draw, Enter for newline). Long λ-bodies can be folded with the ⌄ button on each pane.
Space/→ step ← back R run P pause 0 reset F fit H hide HUD Esc exit
step 0 · 0s
Settings

Toolbar 0 / 6

Click the pin on a row to add or remove it from the global toolbar. Order in the toolbar follows the order you pin.

Diagram scaleHow thick the diagram lines render.
8px
Animation speedHow fast reductions play. Doesn't affect god mode.
1.0x

Display

Layout

Editor

Reduction defaults

Default strategyNew panes start with this reduction strategy selected.
Default max stepsRun / Run N stops here. Leave blank or 0 for unlimited.

Advanced

Keyboard shortcuts

Editor

Ctrl+Enter
Draw the current expression
Enter
Newline (expression spans multiple lines)
Tab
Accept the highlighted autocomplete suggestion
↑ / ↓
Navigate autocomplete
Esc
Close autocomplete or find bar

Find / replace

Ctrl+F
Open find bar in the active pane
Esc
Close the find bar

View

Esc
Exit fullscreen / presentation
Mouse wheel
Zoom in / out at cursor
Click + drag
Pan diagram

Presentation mode (▶ Present)

Space / →
Step forward
←
Step back
R
Run
P
Pause / resume
0
Reset
F
Fit diagram to viewport
H
Hide HUD & code overlay

This dialog

?
Open / close this list