Testing and Learning Symbolic Finite State Machines
Abstract
Symbolic finite state machines (SFSMs) describe input/output behaviour using guards and output assignments with possibly infinite data domains. We study deterministic and completely specified SFSMs whose guards and output assignments depend only on the current input. We define finite representative input sets that contain witnesses for relevant guard overlaps and separating witnesses for output assignments that differ on those overlaps. Our main theorem shows that language equivalence of the finite instantiations implies language equivalence over the full input domain. This result transfers complete testing methods for deterministic finite state machines (DFSMs) to SFSMs, provided finite sets of admissible guards and output assignments and an upper bound on the number of distinguishable reachable states are known. Under these assumptions, a DFSM learner with complete testing can learn a finite instantiation, which is then lifted to an equivalent SFSM. We establish a bound on the size of representative input sets and give an SMT construction whose correctness and termination hold under stated solver assumptions.
Create a lesson
Related papers
Defining the Crick-Franklin-Watson genes of any robot (equals a finite state machine) and defining the Shannon genetic code attached to each gene. We also define the Krohn-Rhodes complexity of any regular maximal prefix code
Shared title terminology · John Rhodes
Finitely Verifiable Segmentation: Decidability for Every Tokenizer with a Finite-State Verifier
Shared title terminology · Nicklas Nidhögg
A 120-State Binary Turing Machine Equivalent to the Riemann Hypothesis
Shared title terminology · Joseph M. Shunia
Relative Prime Factorization and Finite-State Presentations under Fixed Finite-Monoid Observation
Shared title terminology · Takayuki Kuriyama
The Emptiness Problem for Quantum Finite Automata with Classical States
Shared title terminology · Jyun-Ao Lin, Patrick Totzke, Yun Chen Tsai et al.
Translation of Regular Expression with Lookahead into Finite State Automaton
Shared title terminology · Akimasa Morihata