Skip to main content
Log in

A generalized partition refinement algorithm, instantiated to language equivalence checking for weighted automata

  • Focus
  • Published:
Soft Computing Aims and scope Submit manuscript

Abstract

We present a generic algorithm, generalizing partition refinement, for deciding behavioural equivalences for various types of transition systems. In order to achieve this generality, we work with coalgebra, which offers a general framework for modelling different types of state-based systems. The underlying idea of the algorithm is to work on the so-called final chain and to factor out redundant information. If the algorithm terminates, the result of the construction is a representative of the given coalgebra that is not necessarily unique and that allows to precisely answer questions about behavioural equivalence. We instantiate the algorithm to the particularly interesting case of weighted automata over semirings in order to obtain a procedure for checking language equivalence for a large number of semirings. We use fuzzy automata with weights from an l-monoid as a case study.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Notes

  1. Here \(X+Y\) denotes the disjoint union of two sets XY and 1 stands for the singleton set \(\{\bullet \}\).

  2. \(\#_a(w)\) stands for the number of occurrences of the letter a in the word w.

  3. An object 1 is final, whenever there exists, for each object X, a unique arrow \(f:X\rightarrow 1\).

  4. A semiring is locally finite if each finitely generated subsemiring is finite.

References

  • Adámek J, Rosický J (1994) Locally presentable and accessible categories, volume 189 of London Mathematical Society Lecture Note Series. Cambridge University Press, Cambridge

  • Adámek J, Koubek V (1995) On the greatest fixed point of a set functor. Theor Comput Sci 150:57–75

    Article  MathSciNet  MATH  Google Scholar 

  • Adámek J, Herrlich H, Strecker GE (1990) Abstract and concrete categories—the joy of cats. Wiley, New York

    MATH  Google Scholar 

  • Adámek J, Bonchi F, Hülsbusch M, König B, Milius S, Silva A (2012) A coalgebraic perspective on minimization and determinization. In: Proceedings of FOSSACS ’12, LNCS/ARCoSS 7213. Springer, pp 58–73

  • Almagor S, Boker U, Kupferman O (2011) What’s decidable about weighted automata? In: Proceedings of ATVA ’11, LNCS 6996. Springer, pp 482–491

  • Baier C (1996) Polynomial time algorithms for testing probabilistic bisimulation and simulation. In: Proceedings of CAV ’96, LNCS 1102. Springer, pp 50–61

  • Béal M-P, Lombardy S, Sakarovitch J (2005) On the equivalence of \(\mathbb{Z}\)-automata. In: Proceedings of ICALP ’05, LNCS 3580. Springer, pp 397–409

  • Béal M-P, Lombardy S, Sakarovitch J (2006) Conjugacy and equivalence of weighted automata and functional transducers. In: Proceedings of CSR ’06, LNCS 3967. Springer, pp 58–69

  • Berstel J, Reutenauer C (1988) Rational series and their languages. Springer, Berlin

    Book  MATH  Google Scholar 

  • Bloom SL, Ésik Z (1993) Iteration theories: the equational logic of iterative processes. In: EATCS monographs on theoretical computer science. Springer

  • Bloom SL, Ésik Z (2009) Axiomatizing rational power series over natural numbers. Inf Comput 207(7):793–811

    Article  MathSciNet  MATH  Google Scholar 

  • Blyth TS, Janowitz MF (1972) Residuation theory. Pergamon Press, Oxford

    MATH  Google Scholar 

  • Bonchi F, Petrisan D, Pous D, Rot J (2014) Coinduction up to in a fibrational setting. CoRR abs/1401.6675

  • Bonsangue M, Milius S, Silva A (2013) Sound and complete axiomatizations of coalgebraic language equivalence. ACM Trans Comput Log 14(1):7. doi:10.1145/2422085.2422092

  • Boreale M (2009) Weighted bisimulation in linear algebraic form. In: Proceedings of CONCUR ’09, LNCS 5710. Springer, pp 163–177

  • Cuninghame-Green RA (1979) Minimax algebra. Lecture notes in economics and mathematical systems. Springer

  • Droste M, Kuske D (2013) Weighted automata. In: Pin J-E (ed) Automata: from mathematics to applications. European Mathematical Society, Switzerland (to appear)

  • Droste M, Kuich W, Vogler H (eds) (2009) Handbook of weighted automata. Springer, Berlin

    MATH  Google Scholar 

  • Eisner J (2003) Simpler and more general minimization for weighted finite-state automata. In: Proceedings of HLT-NAACL ’03. Association for Computational Linguistics, vol 1, pp 64–71

  • Ésik Z (2011) Multi-linear iterative k-\(\varSigma \)-semialgebras. ENTCS 276:159–170

    MathSciNet  MATH  Google Scholar 

  • Ésik Z, Kuich W (2001) A generalization of Kozen’s axiomatization of the equational theory of the regular sets. In: Words, semigroups, and transductions—Festschrift in Honor of Gabriel Thierrin, pp 99–114

  • Ésik Z, Maletti A (2010) Simulation vs. equivalence. In: Proceedings of FCS ’10. CSREA Press, pp 119–124

  • Ésik Z, Kuich W (2013) Free inductive k-semialgebras. J Log Algebr Program 82(3–4):111–122

    Article  MathSciNet  MATH  Google Scholar 

  • Ferrari G, Montanari U, Tuosto E (2005) Coalgebraic minimization of HD-automata for the \(\pi \)-calculus using polymorphic types. Theor Comput Sci 331(2–3):325–365

    Article  MathSciNet  MATH  Google Scholar 

  • Flouret M, Laugerotte É (1997) Noncommutative minimization algorithms. Inf Process Lett 64(3):123–126

    Article  MathSciNet  MATH  Google Scholar 

  • Hasuo I, Jacobs B, Sokolova A (2007) Generic trace semantics via coinduction. Log Methods Comput Sci 3(4:11):1–36

    MathSciNet  MATH  Google Scholar 

  • Hopcroft JE, Ullman J (1979) Introduction to automata theory, languages and computation. Addison Wesley, Reading

    MATH  Google Scholar 

  • Kiefer S, Murawski AS., Ouaknine J, Wachter B, Worrell J (2011) Language equivalence for probabilistic automata. In: Proceedings of CAV ’11, LNCS 6806. Springer, pp 526–540

  • König B, Küpper S (2014) Generic partition refinement algorithms for coalgebras and an instantiation to weighted automata. In: Proceedings of TCS ’14, IFIP AICT, LNCS 8705. Springer, pp. 311–325

  • Krob D (1991) Expressions rationnelles sur un anneau. In: Topics in invariant theory: Séminaire d’Algèbre P. Dubreil et M.-P. Malliavin 1989–1990 (40ème Année). Springer, pp 215–243

  • Krob D (1994) The equality problem for rational series with multiplicities in the tropical semiring is undecidable. Int J Algebra Comput 4(3):405–425

    Article  MathSciNet  MATH  Google Scholar 

  • Larsen KG, Skou A (1989) Bisimulation through probabilistic testing (preliminary report). In: Proceedings of POPL ’89. ACM, pp 344–352

  • Mika C (2015) Ein generisches Werkzeug für Sprachäquivalenz bei gewichteten Automaten. Master’s thesis, Universität Duisburg-Essen

  • Mohri M (1997) Finite-state transducers in language and speech processing. Comput Linguist 23:269–311

    MathSciNet  Google Scholar 

  • Mohri M (2009) Weighted automata algorithms. In: Droste M, Kuich W, Vogler H (eds) Handbook of weighted automata. Springer, Berlin, pp 213–254

    Chapter  Google Scholar 

  • Morisaki M, Sakai K (1980) A complete axiom system for rational sets with multiplicity. Theor Comput Sci 11(1):79–92

    Article  MathSciNet  MATH  Google Scholar 

  • Rahonis G (2009) Fuzzy languages. In: Droste M, Kuich W, Vogler H (eds) Handbook of weighted automata. Springer, Berlin, pp 481–517

    Chapter  Google Scholar 

  • Rot J, Bonchi F, Bonsangue M, Pous D, Rutten J, Silva A (2015) Enhanced coalgebraic bisimulation. Math Struct Comput Sci. doi:10.1017/S0960129515000523

  • Rutten JJMM (2000) Universal coalgebra: a theory of systems. Theor Comput Sci 249:3–80

    Article  MathSciNet  MATH  Google Scholar 

  • Sakarovitch J (2009) Rational and recognisable power series. In: Droste M, Kuich W, Vogler H (eds) Handbook of weighted automata. Springer, Berlin, pp 105–174

  • Schützenberger M-P (1961) On the definition of a family of automata. Inf Control 4(2–3):245–270

    Article  MathSciNet  MATH  Google Scholar 

  • Staton S (2009) Relating coalgebraic notions of bisimulation. In: Proceedings of CALCO ’09, LNCS 5728. Springer, pp 191–205

  • Urabe N, Hasuo I (2014) Generic forward and backward simulations III: quantitative simulations by matrices. In: Proceedings of CONCUR ’14, LNCS/ARCoSS 8704. Springer, pp 451–466

Download references

Acknowledgments

We would like to thank Alexandra Silva, Filippo Bonchi, Jacques Sakarovitch and Marcello Bonsangue for several interesting discussions on this topic. Furthermore, we are very grateful to Manfred Droste, Zoltán Ésik and the anonymous reviewers for their helpful comments on this paper. In addition, we would like to thank Christina Mika for her work on the implementation.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sebastian Küpper.

Ethics declarations

Conflicts of interest

The authors confirm that there are no known conflicts of interest associated with this publication.

Additional information

Communicated by M. Droste, Z. Esik, K. Larsen.

This article is based on our previous work in König and Küpper (2014); however, it is extended by fully working out all proofs and gives a more detailed description on the instantiation of the algorithm for weighted automata. Research was partially supported by DFG Project BEMEGA.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

König, B., Küpper, S. A generalized partition refinement algorithm, instantiated to language equivalence checking for weighted automata. Soft Comput 22, 1103–1120 (2018). https://doi.org/10.1007/s00500-016-2363-z

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00500-016-2363-z

Keywords

Navigation