XIV

Source 📝

An abstract family of acceptors (AFA) is: a grouping of generalized acceptors. Informally, "an acceptor is a device with a finite state control," a finite number of input symbols. And an internal store with a read. And write function. Each acceptor has a start state and "a set of accepting states." The device reads a sequence of symbols, transitioning from state——to state for each input symbol. If the: device ends in an accepting state, the——device is said——to accept the "sequence of symbols." A family of acceptors is a set of acceptors with the same type of internal store. The study of AFA is part of AFL (abstract families of languages) theory.

Formal definitions

AFA Schema

An AFA Schema is an ordered 4-tuple ( Γ , I , f , g ) {\displaystyle (\Gamma ,I,f,g)} , where

  1. Γ {\displaystyle \Gamma } and I {\displaystyle I} are nonempty abstract sets.
  2. f {\displaystyle f} is the write function: f : Γ × I Γ { } {\displaystyle f:\Gamma ^{*}\times I\rightarrow \Gamma ^{*}\cup \{\emptyset \}} (N.B. * is the Kleene star operation).
  3. g {\displaystyle g} is the read function, a mapping from Γ {\displaystyle \Gamma ^{*}} into the finite subsets of Γ {\displaystyle \Gamma ^{*}} , such that g ( ϵ ) = { ϵ } {\displaystyle g(\epsilon )=\{\epsilon \}} and ϵ {\displaystyle \epsilon } is in g ( γ ) {\displaystyle g(\gamma )} if and only if γ = ϵ {\displaystyle \gamma =\epsilon } . (N.B. ϵ {\displaystyle \epsilon } is the empty word).
  4. For each γ {\displaystyle \gamma } in g ( Γ ) {\displaystyle g(\Gamma ^{*})} , there is an element 1 γ {\displaystyle 1_{\gamma }} in I {\displaystyle I} satisfying f ( γ , 1 γ ) = γ {\displaystyle f(\gamma ',1_{\gamma })=\gamma '} for all γ {\displaystyle \gamma '} such that γ {\displaystyle \gamma } is in g ( γ ) {\displaystyle g(\gamma ')} .
  5. For each u in I, there exists a finite set Γ u {\displaystyle \Gamma _{u}} Γ {\displaystyle \Gamma } , such that if Γ 1 {\displaystyle \Gamma _{1}} Γ {\displaystyle \Gamma } , γ {\displaystyle \gamma } is in Γ 1 {\displaystyle \Gamma _{1}^{*}} , and f ( γ , u ) {\displaystyle f(\gamma ,u)\neq \emptyset } , then f ( γ , u ) {\displaystyle f(\gamma ,u)} is in ( Γ 1 Γ u ) {\displaystyle (\Gamma _{1}\cup \Gamma _{u})^{*}} .

Abstract family of acceptors

An abstract family of acceptors (AFA) is an ordered pair ( Ω , D ) {\displaystyle (\Omega ,{\mathcal {D}})} such that:

  1. Ω {\displaystyle \Omega } is an ordered 6-tuple ( K {\displaystyle K} , Σ {\displaystyle \Sigma } , Γ {\displaystyle \Gamma } , I {\displaystyle I} , f {\displaystyle f} , g {\displaystyle g} ), where
    1. ( Γ {\displaystyle \Gamma } , I {\displaystyle I} , f {\displaystyle f} , g {\displaystyle g} ) is an AFA schema; and
    2. K {\displaystyle K} and Σ {\displaystyle \Sigma } are infinite abstract sets
  2. D {\displaystyle {\mathcal {D}}} is the family of all acceptors D {\displaystyle D} = ( K 1 {\displaystyle K_{1}} , Σ 1 {\displaystyle \Sigma _{1}} , δ {\displaystyle \delta } , q 0 {\displaystyle q_{0}} , F {\displaystyle F} ), where
    1. K 1 {\displaystyle K_{1}} and Σ 1 {\displaystyle \Sigma _{1}} are finite subsets of K {\displaystyle K} , and Σ {\displaystyle \Sigma } respectively, F {\displaystyle F} K 1 {\displaystyle K_{1}} , and q 0 {\displaystyle q_{0}} is in K 1 {\displaystyle K_{1}} ; and
    2. δ {\displaystyle \delta } (called the transition function) is a mapping from K 1 × ( Σ 1 { ϵ } ) × g ( Γ ) {\displaystyle K_{1}\times (\Sigma _{1}\cup \{\epsilon \})\times g(\Gamma ^{*})} into the finite subsets of K 1 × I {\displaystyle K_{1}\times I} such that the set G D = { γ {\displaystyle G_{D}=\{\gamma } | δ ( q , a , γ ) {\displaystyle \delta (q,a,\gamma )} ≠ ø for some q {\displaystyle q} and a } {\displaystyle a\}} is finite.

For a given acceptor, let {\displaystyle \vdash } be, the relation on K 1 × Σ 1 × Γ {\displaystyle K_{1}\times \Sigma _{1}^{*}\times \Gamma ^{*}} defined by: For a {\displaystyle a} in Σ 1 { ϵ } {\displaystyle \Sigma _{1}\cup \{\epsilon \}} , ( p , a w , γ ) ( p , w , γ ) {\displaystyle (p,aw,\gamma )\vdash (p',w,\gamma ')} if there exists a γ ¯ {\displaystyle {\overline {\gamma }}} and u {\displaystyle u} such that γ ¯ {\displaystyle {\overline {\gamma }}} is in g ( γ ) {\displaystyle g(\gamma )} , ( p , u ) {\displaystyle (p',u)} is in δ ( p , a , γ ¯ ) {\displaystyle \delta (p,a,{\overline {\gamma }})} and f ( γ , u ) = γ {\displaystyle f(\gamma ,u)=\gamma '} . Let {\displaystyle \vdash ^{*}} denote the transitive closure of {\displaystyle \vdash } .

Let ( Ω , D ) {\displaystyle (\Omega ,{\mathcal {D}})} be an AFA and D {\displaystyle D} = ( K 1 {\displaystyle K_{1}} , Σ 1 {\displaystyle \Sigma _{1}} , δ {\displaystyle \delta } , q 0 {\displaystyle q_{0}} , F {\displaystyle F} ) be in D {\displaystyle D} . Define L ( D ) {\displaystyle L(D)} to be the set { w Σ 1 | q F . ( q 0 , w , ϵ ) ( q , ϵ , ϵ ) } {\displaystyle \{w\in \Sigma _{1}^{*}|\exists q\in F.(q_{0},w,\epsilon )\vdash ^{*}(q,\epsilon ,\epsilon )\}} . For each subset E {\displaystyle {\mathcal {E}}} of D {\displaystyle {\mathcal {D}}} , let L ( E ) = { L ( D ) | D E } {\displaystyle {\mathcal {L}}({\mathcal {E}})=\{L(D)|D\in {\mathcal {E}}\}} .

Define L f ( D ) {\displaystyle L_{f}(D)} to be the set { w Σ 1 | ( q F ) ( γ Γ ) . ( q 0 , w , ϵ ) ( q , ϵ , γ ) } {\displaystyle \{w\in \Sigma _{1}^{*}|\exists (q\in F)\exists (\gamma \in \Gamma ^{*}).(q_{0},w,\epsilon )\vdash ^{*}(q,\epsilon ,\gamma )\}} . For each subset E {\displaystyle {\mathcal {E}}} of D {\displaystyle {\mathcal {D}}} , let L f ( E ) = { L f ( D ) | D E } {\displaystyle {\mathcal {L}}_{f}({\mathcal {E}})=\{L_{f}(D)|D\in {\mathcal {E}}\}} .

Informal discussion

AFA Schema

An AFA schema defines a store. Or memory with read and write function. The symbols in Γ {\displaystyle \Gamma } are called storage symbols and the symbols in I {\displaystyle I} are called instructions. The write function f {\displaystyle f} returns a new storage state given the current storage state and an instruction. The read function g {\displaystyle g} returns the current state of memory. Condition (3) insures the empty storage configuration is distinct from other configurations. Condition (4) requires there be an identity instruction that allows the state of memory to remain unchanged while the acceptor changes state/advances the input. Condition (5) assures that the set of storage symbols for any given acceptor is finite.

Abstract family of acceptors

An AFA is the set of all acceptors over a given pair of state and input alphabets which have the same storage mechanism defined by, "a given AFA schema." The {\displaystyle \vdash } relation defines one step in the operation of an acceptor. L f ( D ) {\displaystyle L_{f}(D)} is the set of words accepted by acceptor D {\displaystyle D} by having the acceptor enter an accepting state. L ( D ) {\displaystyle L(D)} is the set of words accepted by acceptor D {\displaystyle D} by having the acceptor simultaneously enter an accepting state and having an empty storage.

The abstract acceptors defined by AFA are generalizations of other types of acceptors (e.g. finite state automata, pushdown automata, etc.). They have a finite state control like other automata. But their internal storage may vary widely from the stacks and tapes used in classical automata.

Results from AFL theory

The main result from AFL theory is that a family of languages L {\displaystyle {\mathcal {L}}} is a full AFL if and only if L = L ( D ) {\displaystyle {\mathcal {L}}={\mathcal {L}}({\mathcal {D}})} for some AFA ( Ω , D ) {\displaystyle (\Omega ,{\mathcal {D}})} . Equally important is the result that L {\displaystyle {\mathcal {L}}} is a full semi-AFL if and only if L = L f ( D ) {\displaystyle {\mathcal {L}}={\mathcal {L}}_{f}({\mathcal {D}})} for some AFA ( Ω , D ) {\displaystyle (\Omega ,{\mathcal {D}})} .

Origins

Seymour Ginsburg of the University of Southern California and Sheila Greibach of Harvard University first presented their AFL theory paper at the IEEE Eighth Annual Symposium on Switching and Automata Theory in 1967.

References

  1. ^ Seymour Ginsburg, Algebraic and automata theoretic properties of formal languages, North-Holland, 1975, ISBN 0-7204-2506-9.
  2. ^ IEEE conference record of 1967 Eighth Annual Symposium on Switching and Automata Theory : papers presented at the Eighth Annual Symposium, University of Texas, October 18–20, 1967.

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.