Characterizations
Recall that a formal grammar is defined by a 4‑tuple
where
is the initial, special, start, or sentence symbol,
is a finite set of intermediate symbols,
is a finite set of terminal symbols, also known as the alphabet of
and
is a finite set of characterizations, variously described as covering rules, formations, productions, rewrite rules, subsumptions, transformations, or typing rules.
To describe the variety of elements in it helps to define a few additional terms.
- Augmented Alphabet
- The symbols in
form the augmented alphabet of
- Non‑Terminal Symbols
- The symbols in
are the non‑terminal symbols of
- Non‑Initial Symbols
- The symbols in
are the non‑initial symbols of
- Augmented Strings
- The strings in
are the augmented strings for
- Sentential Forms
- The strings in
are the sentential forms for
Each member of is an ordered pair of strings
taking the following form.
and
are augmented strings for
in particular, sentential forms with
being a non‑empty string and
being a possibly empty string.
The element is a non‑terminal symbol, in other words,
The elements
and
are possibly empty strings of non‑initial symbols, that is to say,
In practice the couplets belonging to are used to derive, generate, or produce sentences of the corresponding language
The language
is then said to be governed, licensed, or regulated by the grammar
a circumstance expressed in the form
Because it helps to focus our attention on the the more active dynamic aspects of using grammars to generate languages it is usual to write abstract characterizations like and specific characterizations like
in the following forms.
The characterization amounts to a grammatical license to transform a string of the form
into a string of the form
in effect, replacing the non‑terminal symbol
with the non‑initial string
in any selected, preserved, and closely adjoining context of the form
In that application the notation
can be read to say that
produces
or that
transforms into
Resources
cc: Academia.edu • BlueSky • Laws of Form • Mathstodon • Research Gate
cc: Conceptual Graphs • Cybernetics • Structural Modeling • Systems Science
Pingback: Survey of Animated Logical Graphs • 8 | Inquiry Into Inquiry
Pingback: Survey of Animated Logical Graphs • 8 | Systems Community of Inquiry