Skip to main content

Modular Regression Verification for Reactive Systems

  • Conference paper
  • First Online:
Leveraging Applications of Formal Methods, Verification and Validation: Engineering Principles (ISoLA 2020)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12477))

Included in the following conference series:

Abstract

Reactive software is often deployed in long-running systems with high dependability requirements. Despite their safety- and mission-critical use, their functionalities must occasionally be adapted, for example to support new features or regulations. But software evolution bears the risk of introducing new malfunctions. Regression verification helps preventing the introduction of unintended, faulty behaviour.

In this paper we present a novel approach for modular regression verification proofs for reactive systems based on the idea of relational regression verification contracts. The approach allows the decomposition of a larger regression verification proof into smaller proofs on its subcomponents. We embedded the decomposition rule in a new algorithm for regression verification, which orchestrates several light- and heavyweight techniques. We implemented our approach for software used by Programmable Logic Controllers (PLC) written in Structured Text (IECĀ 611131-3) and show the potential of the approach with selected scenarios of a Pick-and-Place-Unit case study.

Research supported by the DFG in Priority Programme SPP1593: Design for Future ā€“ Managed Software Evolution (BEĀ 2334/7-2, and ULĀ 433/1-2).

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

Notes

  1. 1.

    There are also different execution modes for PLCs (event-driven, continuous, ...) that we do not consider here.

  2. 2.

    The program transformation introduces a new input and output variable for each global variable, which occurs in the frame. The global variable is assigned to the input variable at the beginning of the frame. The effect of the frame on a global variable is captured in the output variable, which is assigned to global variable after the frame.

  3. 3.

    http://formal.iti.kit.edu/isola20.

References

  1. Beckert, B., Ulbrich, M., Vogel-Heuser, B., Weigl, A.: Regression verification for programmable logic controller software. In: Butler, M., Conchon, S., ZaĆÆdi, F. (eds.) ICFEM 2015. LNCS, vol. 9407, pp. 234ā€“251. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-25423-4_15

    ChapterĀ  Google ScholarĀ 

  2. Bradley, A.R.: SAT-based model checking without unrolling. In: Jhala, R., Schmidt, D. (eds.) VMCAI 2011. LNCS, vol. 6538, pp. 70ā€“87. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-18275-4_7

    ChapterĀ  Google ScholarĀ 

  3. Cavada, R., et al.: The nuXmv symbolic model checker. In: Biere, A., Bloem, R. (eds.) CAV 2014. LNCS, vol. 8559, pp. 334ā€“342. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-08867-9_22

    ChapterĀ  Google ScholarĀ 

  4. Cha, S., Ulbrich, M., Weigl, A., Beckert, B., Land, K., Vogel-Heuser, B.: On the preservation of the trust by regression verification of PLC software for cyber-physical systems of systems. In: INDIN 2019, pp. 413ā€“418. IEEE (2019). https://doi.org/10.1109/INDIN41052.2019.8972210

  5. Godlin, B., Strichman, O.: Regression verification: proving the equivalence of similar programs. Softw. Test. Verification Reliab. 23(3), 241ā€“258 (2013)

    ArticleĀ  Google ScholarĀ 

  6. Guthmann, O., Strichman, O., Trostanetski, A.: Minimal unsatisfiable core extraction for SMT. In: Piskac, R., Talupur, M. (eds.) FMCAD 2016, pp. 57ā€“64. IEEE (2016). https://doi.org/10.1109/FMCAD.2016.7886661

  7. Hoare, C.A.R.: An axiomatic basis for computer programming. Commun. ACM 12(10), 576ā€“580 (1969). https://doi.org/10.1145/363235.363259

    ArticleĀ  MATHĀ  Google ScholarĀ 

  8. International Electrotechnical Commission: IEC 61131: Programmable controllers - Part 3: Programming languages, February 2002

    Google ScholarĀ 

  9. Lahiri, S.K., McMillan, K.L., Sharma, R., Hawblitzel, C.: Differential assertion checking. In: ESEC/FSE 2013, pp. 345ā€“355. ACM (2013). https://doi.org/10.1145/2491411.2491452

  10. Meyer, B.: Applying ā€œdesign by contractā€. IEEE Comput. 25(10), 40ā€“51 (1992)

    ArticleĀ  Google ScholarĀ 

  11. Trostanetski, A., Grumberg, O., Kroening, D.: Modular demand-driven analysis of semantic difference for program versions. In: Ranzato, F. (ed.) SAS 2017. LNCS, vol. 10422, pp. 405ā€“427. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-66706-5_20

    ChapterĀ  MATHĀ  Google ScholarĀ 

  12. Vogel-Heuser, B., Legat, C., Folmer, J., Feldmann, S.: Researching evolution in industrial plant automation: scenarios and documentation of the pick and place unit. Tech. rep. Institute of Automation and Information Systems, Technische UniversitƤt MĆ¼nchen (2014). https://mediatum.ub.tum.de/node?id=1208973

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alexander Weigl .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Weigl, A., Ulbrich, M., Lentzsch, D. (2020). Modular Regression Verification for Reactive Systems. In: Margaria, T., Steffen, B. (eds) Leveraging Applications of Formal Methods, Verification and Validation: Engineering Principles. ISoLA 2020. Lecture Notes in Computer Science(), vol 12477. Springer, Cham. https://doi.org/10.1007/978-3-030-61470-6_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-61470-6_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-61469-0

  • Online ISBN: 978-3-030-61470-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics