Documentation

Mathlib.Data.Nat.Notation

Notation for the natural numbers. #

The natural numbers, starting at zero.

This type is special-cased by both the kernel and the compiler, and overridden with an efficient implementation. Both use a fast arbitrary-precision arithmetic library (usually GMP); at runtime, Nat values that are sufficiently small are unboxed.

Equations
Instances For