Mathlib Map

Theorems · Definition · number theory

Nat.bit

Bool → ℕ → ℕ

bit b appends the digit b to the little end of the binary representation of its natural number input.

Defined in
Mathlib.Data.Nat.BinaryRec
Cited by
92 results in Mathlib
Foundations
Depth 10 from the axioms · uses no axioms

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites0

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Nothing in Mathlib beyond the foundations.

Cited by98

Results whose statement or proof uses this declaration.