Skip to main content Accessibility help
×
Hostname: page-component-7bb8b95d7b-fmk2r Total loading time: 0 Render date: 2024-10-01T07:13:38.319Z Has data issue: false hasContentIssue false

6 - A visual approach to formal languages

Published online by Cambridge University Press:  02 December 2009

James A. Anderson
Affiliation:
University of South Carolina
Get access

Summary

Introduction

Formal language theory is overlapped by a close relative among the family of mathematical disciplines. This is the specialty known as Combinatorics on Words. We must use a few of the most basic concepts and propositions of this field. A nonnull word, q, is said to be primitive if it cannot be expressed in the form xk with x a word and k > 1. Thus, for any alphabet containing the symbols a and b, each of the words a, b, ab, bab, and abababa is primitive. The words aa and ababab are not primitive and neither is any word in (aba)+ other than aba itself. One of the foundational facts of word combinatorics, which is demonstrated here in Section 6.2, is that each nonnull word, ω, consisting of symbols from an alphabet Σ, can be expressed in a unique way in the form ω = qn where q is a primitive word and n is a positive integer. The uniqueness of the representation, ω = qn, allows a useful display of the free semigroup Σ+, consisting of the nonnull words formed from symbols in Σ, in the form of a Cartesian product, Q × N, where Q is the set of all primitive words in Σ+ and N is the set of positive integers. Each word ω = qn is identified with the ordered pair (q, n). This chapter provides the groundwork for investigations of concepts that arise naturally in visualizing languages as subsets of Q × N. In the suggested visualizations, the order structure of N is respected. We regard N as labeling a vertical axis (y-axis) that extends upward only.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2006

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×