1 Natural numbers
1.1 Addition
Here we define addition of natural numbers.
Natural number addition.
Proof
The proof follows by induction.
For any natural numbers \(a, b\), \((a + 1) + b = (a + b) + 1\).
Proof
Proof by induction on b.
For any natural numbers \(a, b\), \(a + b = b + a\).
1.2 Multiplication
Natural number multiplication.
For any natural numbers \(a, b\), \(a * b = b * a\).
Proof
1.3 Fermat’s Last Theorem
Fermat’s last theorem.
In the docstring, usual Markdown features and math mode are supported (by MD4Lean), with additional support for citations like [ 1 ] using [square brackets] and references to other nodes like 3 using inline ‘code‘.
You can also directly input raw LaTeX, e.g. as follows: