Skip to main content

Lean

2024


Peano numbers in Lean

·2124 words
In this post, I will define the natural numbers using the Peano axioms and prove that the set of natural numbers \(\N\) equipped with ordinary addition and multiplication is a commutative semiring.