The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Order.Ring.Nat

3 declarations. Mathlib docs · Source

The natural numbers form an ordered semiring

This file contains the commutative linear ordered semiring instance on the natural numbers.

See note [foundational algebra order theory].

Instances

Miscellaneous lemmas

instance Nat.instIsStrictOrderedRing E0 #

IsStrictOrderedRing ℕ

instance Nat.instLinearOrderedCommMonoidWithZero E0 #

LinearOrderedCommMonoidWithZero ℕ

theorem Nat.isCompl_even_odd E1 #

IsCompl {n | Even n} {n | Odd n}