Template:Infer/doc

Purpose
This template is used to draw inference figures.

Usage

 * display: either  or   (optional, default to inline)
 * name: name of the inference rule, printed after the horizontal line (optional, default to no name)
 * c: the conclusion (required)
 * prems: the number of premisses (required)
 * p1 … p6: upto six premisses. Unpredictable output if the premisses are not numbered incrementally (as many as prems required)

Examples
To write the ∧-introduction rule,

enter

Arbitrary nesting is supported. For example:

Known bugs

 * Inline display inside tables produces unpredictable output
 * Code is brittler than talcum and uglier than sin.