Documentation

Mathlib.Init.Data.Nat.Basic

Note about Mathlib/Init/ #

The files in Mathlib/Init are leftovers from the port from Mathlib3. (They contain content moved from lean3 itself that Mathlib needed but was not moved to lean4.)

We intend to move all the content of these files out into the main Mathlib directory structure. Contributions assisting with this are appreciated.

#align statements without corresponding declarations (i.e. because the declaration is in Batteries or Lean) can be left here. These will be deleted soon so will not significantly delay deleting otherwise empty Init files.

theorem Nat.bit0_succ_eq (n : ) :
2 * n.succ = (2 * n).succ.succ
theorem Nat.zero_lt_bit0 {n : } :
n 00 < 2 * n
theorem Nat.zero_lt_bit1 (n : ) :
0 < 2 * n + 1
theorem Nat.bit0_ne_zero {n : } :
n 02 * n 0
theorem Nat.bit1_ne_zero (n : ) :
2 * n + 1 0