Skip to main content

Relating Alternating Relations for Conformance and Refinement

  • Conference paper
  • First Online:
Integrated Formal Methods (IFM 2019)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 11918))

Included in the following conference series:

Abstract

Various relations have been defined to express refinement and conformance for state-transition systems with inputs and outputs, such as \({\mathbf{ioco}_{\text {}}}\) and \({\mathbf{uioco}}\) in the area of model-based testing, and alternating simulation and alternating-trace containment originating from game theory and formal verification. Several papers have compared these independently developed relations, but these comparisons make assumptions (e.g., input-enabledness), pose restrictions (e.g., determinism – then they all coincide), use different models (e.g., interface automata and Kripke structures), or do not deal with the concept of quiescence. In this paper, we present the integration of the \({\mathbf{ioco}_{\text {}}}\)/\({\mathbf{uioco}}\) theory of model-based testing and the theory of alternating refinements, within the domain of non-deterministic, non-input-enabled interface automata. A standing conjecture is that \({\mathbf{ioco}_{\text {}}}\) and alternating-trace containment coincide. Our main result is that this conjecture does not hold, but that \({\mathbf{uioco}}\) coincides with a variant of alternating-trace containment, for image finite interface automata and with explicit treatment of quiescence. From the comparison between \({\mathbf{ioco}_{\text {}}}\) theory and alternating refinements, we conclude that \({\mathbf{ioco}_{\text {}}}\) and the original relation of alternating-trace containment are too strong for realistic black-box scenarios. We present a refinement relation which can express both \({\mathbf{uioco}}\) and refinement in game theory, while being simpler and having a clearer observational interpretation.

Funded by the Netherlands Organisation of Scientific Research (NWO-TTW), project 13859: SUMBAT - SUpersizing Model-BAsed Testing.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. Aarts, F., Vaandrager, F.: Learning I/O automata. In: Gastin, P., Laroussinie, F. (eds.) CONCUR 2010. LNCS, vol. 6269, pp. 71–85. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-15375-4_6

    Chapter  Google Scholar 

  2. de Alfaro, L., Henzinger, T.A.: Interface automata. In: Gruhn, V. (ed.) Joint 8th European Software Engineering Conference and 9th ACM SIGSOFT Symposium on the Foundations of Software Engineering, volume 26 of SIGSOFT Software Engineering Notes, pp. 109–120. ACM Press (2001)

    Google Scholar 

  3. Alur, R., Henzinger, T.A., Kupferman, O., Vardi, M.Y.: Alternating refinement relations. In: Sangiorgi, D., de Simone, R. (eds.) CONCUR 1998. LNCS, vol. 1466, pp. 163–178. Springer, Heidelberg (1998). https://doi.org/10.1007/BFb0055622

    Chapter  Google Scholar 

  4. van der Bijl, M., Rensink, A., Tretmans, J.: Compositional testing with ioco. In: Petrenko, A., Ulrich, A. (eds.) FATES 2003. LNCS, vol. 2931, pp. 86–100. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24617-6_7

    Chapter  MATH  Google Scholar 

  5. van den Bos, P., Stoelinga, M.: Tester versus bug: a generic framework for model-based testing via games. In: Orlandini, A., Zimmermann, M., (eds.) Proceedings of the 9th International Symposium on GandALF, Saarbrücken, Germany, Volume 277 of Electronic Proceedings in Theoretical Computer Science, pp. 118–132. Open Publishing Association (2018)

    Google Scholar 

  6. Chilton, C., Jonsson, B., Kwiatkowska, M.: An algebraic theory of interface automata. Theor. Comput. Sci. 549, 146–174 (2014)

    Article  MathSciNet  Google Scholar 

  7. Frantzen, L., Tretmans, J.: Model-based testing of environmental conformance of components. In: de Boer, F.S., Bonsangue, M.M., Graf, S., de Roever, W.-P. (eds.) FMCO 2006. LNCS, vol. 4709, pp. 1–25. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-74792-5_1

    Chapter  MATH  Google Scholar 

  8. van Glabbeek, R.J.: The linear time – branching time spectrum I. The semantics of concrete, sequential processes. In: Bergstra, J.A., Ponse, A., Smolka, S.A. (eds.) Handbook of Process Algebra, pp. 3–99. North-Holland (2001)

    Google Scholar 

  9. Heerink, L., Tretmans, J.: Refusal testing for classes of transition systems with inputs and outputs. In: Mizuno, T., Shiratori, N., Higashino, T., Togashi, A. (eds.) Formal Description Techniques and Protocol Specification, Testing and Verification FORTE X /PSTV XVII, pp. 23–38. Chapman & Hall (1997)

    Google Scholar 

  10. Hopcroft, J.E., Ullman, J.D.: Introduction to Automata Theory, Languages and Computation. Addison-Wesley, Boston (1979)

    MATH  Google Scholar 

  11. Janssen, R., Tretmans, J.: Matching implementations to specifications: the corner cases of IOCO. In: Proceedings of the 34th ACM/SIGAPP Symposium on Applied Computing, Limassol, Cyprus, pp. 2196–2205. ACM (2019)

    Google Scholar 

  12. Janssen, R., Vaandrager, F., Tretmans, J.: Relating alternating relations for conformance and refinement (2019). https://arxiv.org/pdf/1909.13604.pdf

  13. Lynch, N.A., Tuttle, M.R.: An introduction to input/output automata. MIT Laboratory for Computer Science (1988)

    Google Scholar 

  14. Mostowski, W., Poll, E., Schmaltz, J., Tretmans, J., Wichers Schreur, R.: Model-based testing of electronic passports. In: Alpuente, M., Cook, B., Joubert, C. (eds.) FMICS 2009. LNCS, vol. 5825, pp. 207–209. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-04570-7_19

    Chapter  Google Scholar 

  15. Reingold, N., Wang, D.-W., Zuck, L.D.: Games I/O automata play. In: Cleaveland, W.R. (ed.) CONCUR 1992. LNCS, vol. 630, pp. 325–339. Springer, Heidelberg (1992). https://doi.org/10.1007/BFb0084801

    Chapter  Google Scholar 

  16. Segala, R., Gawlick, R., Søgaard-Andersen, J.F., Lynch, N.A.: Liveness in timed and untimed systems. Inf. Comput. 141(2), 119–171 (1998)

    Article  MathSciNet  Google Scholar 

  17. Tretmans, J.: Test generation with inputs, outputs and repetitive quiescence. Softw.-Concepts Tools 17(3), 103–120 (1996)

    MATH  Google Scholar 

  18. Tretmans, J.: Model based testing with labelled transition systems. In: Hierons, R.M., Bowen, J.P., Harman, M. (eds.) Formal Methods and Testing. LNCS, vol. 4949, pp. 1–38. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-78917-8_1

    Chapter  Google Scholar 

  19. Tretmans, J.: On the existence of practical testers. In: Katoen, J.-P., Langerak, R., Rensink, A. (eds.) ModelEd, TestEd, TrustEd. LNCS, vol. 10500, pp. 87–106. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-68270-9_5

    Chapter  Google Scholar 

  20. Veanes, M., Bjørner, N.: Alternating simulation and IOCO. Int. J. Softw. Tools Technol. Transf. 14(4), 387–405 (2012)

    Article  Google Scholar 

  21. Volpato, M., Tretmans, J.: Towards quality of model-based testing in the IOCO framework. In: International Workshop on Joining AcadeMiA and Industry Contributions to testing Automation - JAMAICA 2013, pp. 41–46. ACM (2013)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ramon Janssen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Janssen, R., Vaandrager, F., Tretmans, J. (2019). Relating Alternating Relations for Conformance and Refinement. In: Ahrendt, W., Tapia Tarifa, S. (eds) Integrated Formal Methods. IFM 2019. Lecture Notes in Computer Science(), vol 11918. Springer, Cham. https://doi.org/10.1007/978-3-030-34968-4_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-34968-4_14

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-34967-7

  • Online ISBN: 978-3-030-34968-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics