English

Action Codes

Formal Languages and Automata Theory 2023-02-13 v2 Information Theory math.IT

Abstract

We provide a new perspective on the problem how high-level state machine models with abstract actions can be related to low-level models in which these actions are refined by sequences of concrete actions. We describe the connection between high-level and low-level actions using \emph{action codes}, a variation of the prefix codes known from coding theory. For each action code R{\mathcal{R}}, we introduce a \emph{contraction} operator αR\alpha_{\mathcal{R}} that turns a low-level model M\mathcal{M} into a high-level model, and a \emph{refinement} operator ρR\rho_{\mathcal{R}} that transforms a high-level model N\mathcal{N} into a low-level model. We establish a Galois connection ρR(N)MNαR(M)\rho_{\mathcal{R}}(\mathcal{N}) \sqsubseteq \mathcal{M} \Leftrightarrow \mathcal{N} \sqsubseteq \alpha_{\mathcal{R}}(\mathcal{M}), where \sqsubseteq is the well-known simulation preorder. For conformance, we typically want to obtain an overapproximation of model M\mathcal{M}. To this end, we also introduce a \emph{concretization} operator γR\gamma_{\mathcal{R}}, which behaves like the refinement operator but adds arbitrary behavior at intermediate points, giving us a second Galois connection αR(M)NMγR(N)\alpha_{\mathcal{R}}(\mathcal{M}) \sqsubseteq \mathcal{N} \Leftrightarrow \mathcal{M} \sqsubseteq \gamma_{\mathcal{R}}(\mathcal{N}). Action codes may be used to construct adaptors that translate between concrete and abstract actions during learning and testing of Mealy machines. If Mealy machine M\mathcal{M} models a black-box system then αR(M)\alpha_{\mathcal{R}}(\mathcal{M}) describes the behavior that can be observed by a learner/tester that interacts with this system via an adaptor derived from code R{\mathcal{R}}. Whenever αR(M)\alpha_{\mathcal{R}}(\mathcal{M}) implements (or conforms to) N\mathcal{N}, we may conclude that M\mathcal{M} implements (or conforms to) γR(N)\gamma_{{\mathcal{R}}} (\mathcal{N}).

Cite

@article{arxiv.2301.00199,
  title  = {Action Codes},
  author = {Frits Vaandrager and Thorsten Wißmann},
  journal= {arXiv preprint arXiv:2301.00199},
  year   = {2023}
}
R2 v1 2026-06-28T07:58:12.506Z