Short members of a language #
Cslib.BitString.shortMembers S n lists, without repetition, the members of a language
S : Set (List Bool) of length at most n: the binary words of length at most n
(Cslib.BitString.shortWords) that lie in S.
Main definitions #
Cslib.BitString.shortMembers: the members of a language of length at mostn.
Main results #
Cslib.BitString.mem_shortMembers: its members.Cslib.BitString.nodup_shortMembers: it has no repetition.Cslib.BitString.length_shortMembers: its length is the number of short members.Cslib.BitString.length_le_length_shortMembers,Cslib.BitString.mem_iff_of_length_eq_length_shortMembers: the census bounds the duplicate-free lists of short members, and a list attaining it lists them all.
The listing has one entry for each member of S of length at most n.
theorem Cslib.BitString.mem_iff_of_length_eq_length_shortMembers {S : Set (List Bool)} {n : ℕ} {ℓ : List (List Bool)} (hnd : ℓ.Nodup) (h : ∀ s ∈ ℓ, s ∈ S ∧ s.length ≤ n) (hlen : ℓ.length = (shortMembers S n).length) {s : List Bool} (hs : s.length ≤ n) :
A list attaining the census lists all short members. A duplicate-free list of short
members of S with as many entries as there are short members agrees with S on every short
word.