Skip To Article

All proof directives can be included using the proof:kind pattern, where the proof directives are shown in Table 1. A plain proof can also be written without a kind, as {proof}. The directive is enumerated by default and can take in an optional title argument which is shown in brackets after the proof.

Here is an example of a {proof:theorem} with a custom title:

proof:theorem - Unknown Directive
:label: my-theorem

Given $y \in \mathbb R^n$ and linear subspace $S \subset \mathbb R^n$,
there exists a unique solution to the minimization problem

```{math}
\hat y := \argmin_{z \in S} \|y - z\|
```

The minimizer $\hat y$ is the unique vector in $\mathbb R^n$ that satisfies

- $\hat y \in S$

- $y - \hat y \perp S$

The vector $\hat y$ is called the **orthogonal projection** of $y$ onto $S$.

Table 1:Proof kinds that can be used as directives

proof:algorithm

proof:axiom

proof:conjecture

proof:corollary

proof:criteria

proof:definition

proof:example

proof:lemma

proof:observation

proof:property

proof:proposition

proof (plain)

proof:remark

proof:theorem

proof directive

Alias: prf:proof, proof:proof, prf:axiom, proof:axiom, prf:lemma, proof:lemma, prf:definition, proof:definition, prf:criterion, proof:criterion, prf:remark, proof:remark, prf:conjecture, proof:conjecture, prf:corollary, proof:corollary, prf:algorithm, proof:algorithm, prf:example, proof:example, prf:property, proof:property, prf:observation, proof:observation, prf:proposition, proof:proposition, prf:assumption, proof:assumption, prf:theorem, proof:theorem

Directive Argument (parsed)
No description
Directive Body (parsed, required)
No description
Options
class (string)

Annotate the proof with a set of space-delimited class names.

label (string)

Label the proof to be cross-referenced or explicitly linked to.

Alias: name
enumerated (boolean)

Turn on/off the numbering for the specific proof

Alias: numbered
enumerator (string)

Explicitly set the proof number

Alias: number
nonumber (boolean)

Legacy flag to disable numbering of proofs; equivalent to enumerated: false

Referencing Proofs

You can refer to a proof using the standard link syntax:

  • [](#my-theorem), creates

  • [{name}](#my-theorem) creates {name}

  • [{number}](#my-theorem) creates {number}

  • [See Theorem](#my-theorem) creates See Theorem

Hiding Proof Content

To hide the directive, simply add :class: dropdown as a directive option.

Example

Proof Examples

Proofs

Source: Adapted from QuantEcon

Theorems

Source: QuantEcon

Axioms

Source: Stachurski (2009)

Lemmas

Source: QuantEcon

Definitions

Source: QuantEcon

Criteria

Source: Wikipedia

Remarks

Source: QuantEcon

Conjectures

Corollaries

Source: QuantEcon

Algorithms

Source: Wikipedia

Examples

Source: QuantEcon

Properties

Observations

Propositions

Assumptions

References
  1. Stachurski, J. (2009). Economic Dynamics: Theory and Computation (Vol. 1). The MIT Press. https://ideas.repec.org/b/mtp/titles/0262012774.html
MyST MarkdownMyST Markdown
Community-driven tools for the future of technical communication and publication, part of Jupyter.