Documentation

CslibFrontier.Foundations.Data.BitString.WordsOfLength

Binary words of one length #

Main definitions #

Main results #

There are 2 ^ n binary strings of length n.

noncomputable def Cslib.BitString.wordsOfLength (n : ℕ) :

The binary words of length n.

@[simp]

A word lies in wordsOfLength n exactly when its length is n.

There are 2 ^ n binary words of length n.