Binary words of one length #
Main definitions #
Cslib.BitString.wordsOfLength: theFinsetof binary words of lengthn.
Main results #
Cslib.BitString.encard_setOf_length_eq: there are2 ^ nwords of lengthn.Cslib.BitString.mem_wordsOfLength: its members are the words of lengthn.Cslib.BitString.card_wordsOfLength: it has2 ^ nmembers.
@[simp]
A word lies in wordsOfLength n exactly when its length is n.
There are 2 ^ n binary words of length n.