Outputs beyond text
Proof trees, countermodels, intermediate forms, tables, a typeset page.
Framework decisions behind it: D37, D47, D56.
A package declares what its outputs show: lines of text, but also trees, graphs, tables, drawings and code. The page draws each kind the same way, in the page's colours. Press Run, then look at the tabs.
A proof as a tree
Peirce's law is provable in classical logic. The Proof tab is the derivation, drawn as a tree.
A countermodel as a graph
The same law is not provable intuitionistically. The Countermodel tab shows a Kripke model as a graph and a table.
A proof state
Rocq checks the file in the page. Put the cursor in the proof and open Goals to see what is left to prove at that point.
Intermediate forms
Gleam compiles in the page, so the JavaScript and the Erlang it produces are outputs, kept current as you type.
Answers, and the search behind them
Prolog answers each query as a table. The Proof tab, asked for on demand, shows the search as a tree.
A table, and a schema as a tree
SQLite runs the script; every query is a table, and the Schema tab lists what the script made.
A typeset page
Typst compiles to pages, drawn as SVG, and re-compiles while you type.