Natural numbers #
Addition #
Here we define addition of natural numbers.
Multiplication #
Fermat's Last Theorem #
In the docstring, usual Markdown features and math mode are supported (by MD4Lean),
with additional support for citations like [Wiles1995] using [square brackets]
and references to other nodes like MyNat.zero_add
using inline `code`
.
You can also directly input raw LaTeX, e.g. as follows:
\begin{thebibliography}{9}
\bibitem{Wiles1995} Andrew Wiles (1995) \emph{Modular elliptic curves and Fermat's last theorem}, Annals of Mathematics, 141(3), 443--551.
\bibitem{Taylor-Wiles1995} Richard Taylor and Andrew Wiles (1995) \emph{Ring-theoretic properties of certain Hecke algebras}, Annals of Mathematics, 141(3), 553--572.
\end{thebibliography}