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 : ) :
bit0 n.succ = (bit0 n).succ.succ
theorem Nat.zero_lt_bit0 {n : } :
n 00 < bit0 n
theorem Nat.zero_lt_bit1 (n : ) :
0 < bit1 n
theorem Nat.bit0_ne_zero {n : } :
n 0bit0 n 0
theorem Nat.bit1_ne_zero (n : ) :
bit1 n 0