Temml renders $…$ and $$…$$ to native MathML. The samples below are the
notation the discrete-math labs use.
A proposition is a statement that is definitely true or false — a bool. We
name them and and combine them with four connectives:
| Logic | Means | In code |
|---|---|---|
| NOT | !p | |
| AND | p && q | |
| OR | p || q | |
| IMPLIES | (no operator) | |
| IFF | p === q |
Read as .every() and as .some(). The usual domains are
, , and .
The even integers, written with set-builder braces that markdown must not eat:
A short derivation:
TeX source in inline code stays literal: \forall, \exists, \in.
A fenced example must not be rendered as math:
\forall x \in S,\; P(x)
$5 is not math either
Currency prose is not math: tickets cost $5 and $10.