Skip to main content

Evaluation Trees for Proposition Algebra

The Case for Free and Repetition-Proof Valuation Congruence

  • Chapter
  • First Online:
Correct System Design

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

Abstract

Proposition algebra is based on Hoareā€™s conditional connective, which is a ternary connective comparable to if-then-else and used in the setting of propositional logic. Conditional statements are provided with a simple semantics that is based on evaluation trees and that characterizes so-called free valuation congruence: two conditional statements are free valuation congruent if, and only if, they have equal evaluation trees. Free valuation congruence is axiomatized by the four basic equational axioms of proposition algebra that define the conditional connective. A valuation congruence that is axiomatized in proposition algebra and that identifies more conditional statements than free valuation congruence is repetition-proof valuation congruence, which we characterize by a simple transformation on evaluation trees.

Dedicated to Ernst-RĆ¼diger Olderog on the occasion of his sixtieth birthday. Jan Bergstra recalls many discussions during various meetings as well as joint work with Ernst-RĆ¼diger and Jan Willem Klop on readies, failures, and chaos back in 1987. Alban Ponse has pleasant memories of the process of publishingĀ [8], the Selected Papers from the Workshop on Assertional Methods, of which Ernst-RĆ¼diger, who was one of the invited speakers at this workshop (held at CWI in NovemberĀ 1992), is one of the guest editors. An extended version of this paper appeared as reportĀ [6].

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 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bergstra, J.A., Bethke, I., Rodenburg, P.H.: A propositional logic with 4 values: true, false, divergent and meaningless. Journal of Applied Non-Classical Logics 5(2), 199ā€“218 (1995)

    ArticleĀ  MathSciNetĀ  MATHĀ  Google ScholarĀ 

  2. Bergstra, J.A., Loots, M.E.: Program algebra for sequential code. Journal of Logic and Algebraic Programming 51(2), 125ā€“156 (2002)

    ArticleĀ  MathSciNetĀ  MATHĀ  Google ScholarĀ 

  3. Bergstra, J.A., Ponse, A.: On Hoare-McCarthy algebras [cs.LO] (2010). http://arxiv.org/abs/1012.5059

  4. Bergstra, J.A., Ponse, A.: Proposition algebra. ACM Transactions on Computational Logic 12(3), Article 21, 36 pages (2011)

    Google ScholarĀ 

  5. Bergstra, J.A., Ponse, A.: Proposition algebra and short-circuit logic. In: Arbab, F., Sirjani, M. (eds.) FSEN 2011. LNCS, vol. 7141, pp. 15ā€“31. Springer, Heidelberg (2012)

    ChapterĀ  Google ScholarĀ 

  6. Bergstra, J.A., Ponse A.: Evaluation trees for proposition algebra. arXiv:1504.08321v2 [cs.LO] (2015)

  7. Bergstra, J.A., Ponse, A., Staudt, D.J.C.: Short-circuit logic. arXiv:1010.3674v4 [cs.LO, math.LO] (version v1: October 2010) (2013)

  8. de Boer, F.S., de Vries, F.-J., Olderog, E.-R., Ponse, A. (guest editors): Selected papers from the Workshop on Assertional Methods. Formal Aspects of Computing, 6(1 Supplement; Special issue) (1994)

    Google ScholarĀ 

  9. Harel, D.: Dynamic logic. In: Gabbay, D., GĆ¼nthner, F. (eds.) Handbook of Philosophical Logic, vol. II, pp. 497ā€“604. Reidel Publishing Company (1984)

    Google ScholarĀ 

  10. Hayes, I.J., He Jifeng, Hoare, C.A.R., Morgan, C.C., Roscoe, A.W., Sanders, J.W., Sorensen, I.H., Spivey, J.M., Sufrin B.A.: Laws of programming. Communications of the ACM 3(8), 672ā€“686 (1987)

    Google ScholarĀ 

  11. Hoare, C.A.R.: Communicating Sequential Processes. Prentice Hall International (1985)

    Google ScholarĀ 

  12. Hoare, C.A.R.: A couple of novelties in the propositional calculus. Zeitschrift fĆ¼r Mathematische Logik und Grundlagen der Mathematik 31(2), 173ā€“178 (1985); Republished. In: Hoare, C.A.R., Jones, C.B. (eds.) Essays in Computing Science. Series in Computer Science, pp. 325ā€“331. Prentice Hall International (1989)

    Google ScholarĀ 

  13. Staudt, D.J.C.: Completeness for two left-sequential logics. MSc. thesis Logic, University of Amsterdam (May 2012). arXiv:1206.1936v1 [cs.LO] (2012)

  14. Wortel, L.: Side effects in steering fragments. MSc. thesis Logic, University of Amsterdam (September 2011). arXiv:1109.2222v1 [cs.LO] (2011)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alban Ponse .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Bergstra, J.A., Ponse, A. (2015). Evaluation Trees for Proposition Algebra. In: Meyer, R., Platzer, A., Wehrheim, H. (eds) Correct System Design. Lecture Notes in Computer Science(), vol 9360. Springer, Cham. https://doi.org/10.1007/978-3-319-23506-6_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-23506-6_6

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-23505-9

  • Online ISBN: 978-3-319-23506-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics