Applied Sciences (Oct 2020)

Answer Set Programming for Regular Inference

  • Wojciech Wieczorek,
  • Tomasz Jastrzab,
  • Olgierd Unold

DOI
https://doi.org/10.3390/app10217700
Journal volume & issue
Vol. 10, no. 21
p. 7700

Abstract

Read online

We propose an approach to non-deterministic finite automaton (NFA) inductive synthesis that is based on answer set programming (ASP) solvers. To that end, we explain how an NFA and its response to input samples can be encoded as rules in a logic program. We then ask an ASP solver to find an answer set for the program, which we use to extract the automaton of the required size. We conduct a series of experiments on some benchmark sets, using the implementation of our approach. The results show that our method outperforms, in terms of CPU time, a SAT approach and other exact algorithms on all benchmarks.

Keywords