(Last modified Thu Feb 14 16:20 2008)

home

Software Foundations
Binary strings

A binary string is a sequence of 0's and 1's. 

Let Σ be the set {0,1}.  Then the set of finite binary strings is written as Σ*, and the set of finite and infinite binary strings is written as Σ**.  (The same notation is used for other alphabets other than 0 and 1.) 

Σ* can be ordered by the prefix relation, as can Σ**:  for u,v∈Σ* (Σ**), u is a prefix of v if either u=v or u is a finite initial substring of v.  We write u≤v if u is a prefix of v, and u||v if neither u nor v is a prefix of the other (some authors write u#v). 

Here are some examples:

Share-Alike Made with jEdit Valid CSS! Valid HTML 4.01! UC Irvine Thomas A. Alspaugh
Assistant Professor, Informatics Dept.
School of Information and Computer Sciences