Built with Alectryon, running Coq+SerAPI. Bubbles () indicate interactive fragments: hover for details, tap to reveal contents. Use Ctrl+↑ Ctrl+↓ to navigate, Ctrl+🖱️ to focus. On Mac, use instead of Ctrl.

Writing Alectryon documents in Markdown with MyST

To compile this file, use the following command:

$ alectryon literate_MyST.md # MyST → HTML, produces ‘literate_MyST.html’

Alectryon supports input files written in MyST (a Markdown variant) in addition to Coq and reStructuredText.

In MyST Coq fragments are spelled as ```{coq}, with arguments on the same line and options below:


exists x : nat, x * x = 49 /\ x < 10

7 < 10

8 <= 10
repeat constructor.

Math is written either in Docutils math roles (\(e^{i\pi} = -1\)) or in $ signs (\(\cos(\pi) = -1\)). And unlike in reST, built-in inline markup nests, including code and other roles like coqid references or links.