Abstract
B is a language with a three-valued semantics: terms like min(0) or 1/0 are ill-defined, consequently formulas containing ill-defined terms may also be ill-defined. Therefore the deduction system we use to discharge the proof obligations should be constructed from a three-valued logic. In this paper, we introduce a deduction system that allows to reason in a two-valued logic if new proof obligations called well-definedness lemmas are also proved. We define this deduction s ystem and the new proof obligations that ensure the well-definedness of B components. The practical benefits on the proof mechanisms are then outlined.
Preview
Unable to display preview. Download preview PDF.
References
Abrial J.R., The B Book (1996)
Barringer H., Cheng J.H., Jones C.B., A Logic Covering Undefinedness in Program Proofs; Acta Informatica 21:251–269 (1984)
Blikle A., Konikowska B., Tarlecki A., A Three Valued Logic for Software Specification and Validation; LNCS 328 (1988)
Cheng J.H., Jones C.B., On the Usability of Logics Which Handle Partial Functions; Proceedings of the Third Refinement Workshop 51–69 (1990)
Elvang-GØransson M., Owe O., A Simple Sequent Calculus for Partial Functions; TCS 114:317–330 (1993)
Gavilanes-Franco A., Lucio-Carrasco F. A First Order Logic for Partial Functions; TCS 74 37–69 (1990)
Holden M., Weak Logic Theory; TCS 79:295–321 (1991)
Owe O., Partial Logics Reconsidered: a Conservative Approach, Research Report 155, Department of Informatics, University of Oslo, 1991; Formal Aspects of Comput. 5:208–223 (1993)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1998 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Behm, P., Burdy, L., Meynadier, J.M. (1998). Well defined B. In: Bert, D. (eds) B’98: Recent Advances in the Development and Use of the B Method. B 1998. Lecture Notes in Computer Science, vol 1393. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0053354
Download citation
DOI: https://doi.org/10.1007/BFb0053354
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-64405-7
Online ISBN: 978-3-540-69769-5
eBook Packages: Springer Book Archive