Skip to content

Unary language

A formal language over a one-symbol alphabet, equivalently encoding a set of natural numbers by string length.

Version
v1 · 2026-09-08 · History
Domain-specific #
7322
Origin domain
formal language theory
Subdomain
formal language theory

Core Idea

A unary or tally language is a subset of {1}*, so membership depends only on the length of the input string. Each natural number maps to one string of repeated symbols, collapsing lexical variety while expanding numeric magnitude into input length. The abstraction is therefore identified by a declared carrier, a transformation or constraint over that carrier, and an invariant that tells an analyst whether the named structure is genuinely present.

The load-bearing residual is not the broad topic of formal language theory. It is Any countable language can be bijectively numbered, but that relabeling does not preserve complexity because unary encoding changes input length exponentially relative to binary..

Scope of Application

Unary language belongs to formal language theory and is useful where the analyst can specify a singleton alphabet, finite strings, accepted length set, unary numeral encoding, recognizer, and comparison with binary encoding, then evaluate the alphabet has exactly one symbol and every admitted word is identified solely by a permitted nonnegative length. The scope is broad within that domain but bounded by the need for the alphabet has exactly one symbol and every admitted word is identified solely by a permitted nonnegative length. The entry records a descriptive analytical identity; practical use requires the governing domain's evidence, standards, and safety obligations.

Clarity

The abstraction clarifies a crowded vocabulary by making the alphabet has exactly one symbol and every admitted word is identified solely by a permitted nonnegative length the center of the account. A claim should name the carrier, the governing operation or relation, the applicable assumptions, and the recognition test. A bare label is insufficient because the name Unary language can be used for a formal identity, an implementation, or a neighboring result unless carrier and convention are stated.

Manages Complexity

Without the abstraction, an analyst must reason directly over many local details: the carrier roles, admissibility assumptions, competing conventions, derived invariants, boundary cases, and proof or validation obligations specific to Unary language. Unary language compresses them into the roles in the structural signature. That compression permits comparison across instances without erasing the variables that determine validity. It also exposes which details may be varied safely and which are constitutive.

Abstract Reasoning

  1. Identify the carrier. State what the elements, states, objects, or observations are: a singleton alphabet, finite strings, accepted length set, unary numeral encoding, recognizer, and comparison with binary encoding. Reject examples whose alleged carrier belongs to a different problem. 2. Lock the constitutive rule. Express the alphabet has exactly one symbol and every admitted word is identified solely by a permitted nonnegative length independently of one notation or implementation.

Knowledge Transfer

Knowledge transfers strongly among subfields of formal language theory because they reuse a singleton alphabet, finite strings, accepted length set, unary numeral encoding, recognizer, and comparison with binary encoding, Each natural number maps to one string of repeated symbols, collapsing lexical variety while expanding numeric magnitude into input length., and type the carrier, state every parameter and convention in the definition, test that the alphabet has exactly one symbol and every admitted word is identified solely by a permitted nonnegative length, compare the nearest accepted identity, and report counterexamples, uncertainty, and limiting cases.

Relationships to Other Abstractions

Local relationship map for Unary languageParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Unary languageDOMAINPrime abstraction: Representation — is a kind ofRepresentationPRIME

Current abstraction Unary language Domain-specific

Parents (1) — more general patterns this builds on

  • Unary language is a kind of Representation Prime

    The proposed strict upward parent is prime:representation.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Unary language sits in a crowded region of the domain-specific corpus (30th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Writing Systems & Symbolic Form (24 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-09-08