Skip to main content

Average Complexity of Partial Derivatives for Synchronised Shuffle Expressions

  • Conference paper
  • First Online:
Implementation and Application of Automata (CIAA 2023)

Abstract

Synchronised shuffle operators allow to specify symbols on which the operands must or can synchronise instead of interleave. Recently, partial derivative and position based automata for regular expressions with synchronised shuffle operators were introduced. In this paper, using the framework of analytic combinatorics, we study the asymptotic average state complexity of partial derivative automata for regular expressions with strongly and arbitrarily synchronised shuffles. The new results extend and improve the ones previously obtained for regular expressions with shuffle and intersection. For intersection, asymptotically the average state complexity of the partial derivative automaton is 3, which significantly improves the known exponential upper-bound.

This work was partially supported by CMUP, which is financed by national funds through FCT under the project with reference UIDB/00144/2021.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Antimirov, V.M.: Partial derivatives of regular expressions and finite automaton constructions. Theoret. Comput. Sci. 155(2), 291–319 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  2. Bastos, R., Broda, S., Machiavelo, A., Moreira, N., Reis, R.: On the average complexity of partial derivative automata for semi-extended expressions. J. Autom. Lang. Comb. 22(1–3), 5–28 (2017)

    MathSciNet  MATH  Google Scholar 

  3. ter Beek, M.H., Martín-Vide, C., Mitrana, V.: Synchronized shuffles. Theoret. Comput. Sci. 341, 263–275 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  4. Broda, S., Machiavelo, A., Moreira, N., Reis, R.: On the average size of Glushkov and partial derivative automata. Int. J. Found. Comput. S. 23(5), 969–984 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  5. Broda, S., Machiavelo, A., Moreira, N., Reis, R.: Automata for regular expressions with shuffle. Inf. Comput. 259(2), 162–173 (2018)

    Article  MathSciNet  MATH  Google Scholar 

  6. Broda, S., Machiavelo, A., Moreira, N., Reis, R.: Analytic combinatorics and descriptional complexity of regular languages on average. ACM SIGACT News 51(1), 38–56 (2020)

    Article  MathSciNet  Google Scholar 

  7. Broda, S., Machiavelo, A., Moreira, N., Reis, R.: Location automata for synchronised shuffle expressions. J. Log. Algebr. Methods Program. 133, 100847 (2023)

    Google Scholar 

  8. Champarnaud, J.M., Ziadi, D.: From Mirkin’s prebases to Antimirov’s word partial derivatives. Fundam. Inform. 45(3), 195–205 (2001)

    MathSciNet  MATH  Google Scholar 

  9. Cox, D.A., John Little, D.O.: Ideals, Varieties, and Algorithms. Springer, 4th edn. (2018)

    Google Scholar 

  10. Flajolet, P., Sedgewick, R.: Analytic combinatorics. CUP (2008)

    Google Scholar 

  11. Konstantinidis, S., Machiavelo, A., Moreira, N., Reis, R.: On the average state complexity of partial derivative transducers. In: Chatzigeorgiou, A., et al. (eds.) SOFSEM 2020. LNCS, vol. 12011, pp. 174–186. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-38919-2_15

    Chapter  MATH  Google Scholar 

  12. Mirkin, B.G.: An algorithm for constructing a base in a language of regular expressions. Eng. Cybern. 5, 51–57 (1966)

    Google Scholar 

  13. Nicaud, C.: Average state complexity of operations on unary automata. In: Kutyłowski, M., Pacholski, L., Wierzbicki, T. (eds.) MFCS 1999. LNCS, vol. 1672, pp. 231–240. Springer, Heidelberg (1999). https://doi.org/10.1007/3-540-48340-3_21

    Chapter  MATH  Google Scholar 

  14. Sulzmann, M., Thiemann, P.: Derivatives and partial derivatives for regular shuffle expressions. J. Comput. System Sci. 104, 323–341 (2019)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nelma Moreira .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Broda, S., Machiavelo, A., Moreira, N., Reis, R. (2023). Average Complexity of Partial Derivatives for Synchronised Shuffle Expressions. In: Nagy, B. (eds) Implementation and Application of Automata. CIAA 2023. Lecture Notes in Computer Science, vol 14151. Springer, Cham. https://doi.org/10.1007/978-3-031-40247-0_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-40247-0_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-40246-3

  • Online ISBN: 978-3-031-40247-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics