lean2/library/data/nat/nat.md

499 B

data.nat

The natural numbers.

  • basic : the natural numbers, with succ, pred, addition, and multiplication
  • order : less-than, less-then-or-equal, etc.
  • bquant : bounded quantifiers
  • sub : subtraction, and distance
  • div : div and mod
  • gcd : gcd, lcm, and coprime
  • power
  • bigops : finite sums and products
  • find : search for a witness to an existence statement