词条 | Omega language |
释义 |
An ω-language is a set of infinite-length sequences of symbols. Formal definitionLet Σ be a set of symbols (not necessarily finite). Following the standard definition from formal language theory, Σ* is the set of all finite words over Σ. Every finite word has a length, which is, obviously, a natural number. Given a word w of length n, w can be viewed as a function from the set {0,1,...,n-1} → Σ, with the value at i giving the symbol at position i. The infinite words, or ω-words, can likewise be viewed as functions from to Σ. The set of all infinite words over Σ is denoted Σω. The set of all finite and infinite words over Σ is sometimes written Σ∞. Thus, an ω-language L over Σ is a subset of Σω. OperationsSome common operations defined on ω-languages are:
Distance between ω-wordsThe set Σω can be made into a metric space by definition of the metric d:Σω × Σω → R as: d(w,v)= inf {2−|x| : x in Σ*, and x in both Pref(w) and Pref(v) }. where |x| is interpreted as "the length of x" (number of symbols in x), and inf is the infimum over sets of real numbers. If w=v, they have no longest finite prefix, and d(w,v)=0; it can be shown that d satisfies all the other necessary properties of a metric. Important subclassesThe most widely used subclass of the ω-languages is the set of ω-regular languages, which enjoy the useful property of being recognizable by Büchi automata; thus the decision problem of ω-regular language membership is decidable using a Büchi automaton and fairly straightforward to compute. Bibliography
2 : Theory of computation|Formal languages |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。