· LaTeX · SYMBOLS · PROOFS · TREES · DIAGRAMS · CLASS · MISC · FONTS

Tree proofs

A non-closing tree

The task is to set proof-trees in the style of the tree alongside, i.e. tableaux of the sort that appear in e.g. Richard Jeffrey’s classic Formal Logic or the first edition of my own Introduction to Formal Logic.

A very flexible package, allowing you also to add line numbers (if you want) and line-by-line justifications is provided by

Because of issues with the complex packages that prooftrees.sty invokes, a document with many trees does become slow to typeset. However the 2024 version of prooftrees allows you to use the “memoize” package so that (unchanged) diagrams are not re-processed every time you re-typeset your document, considerably speeding things up.

Older options for setting tableaux often require bits of trickery to get nice-looking trees (and don’t supply the option of line numbers etc.).  I’ll mention them, however, in case they may be enough for your purposes. Two first options are

Further options include

Clea Rees’s prooftrees package is based on forest. Here’s a fully annotated tree produced by this package:

See my document for more examples.

Links checked 8 October 2024