skip to main content
article

Possible worlds and resources: the semantics of BI

Published: 05 May 2004 Publication History

Abstract

The logic of bunched implications, BI, is a substructural system which freely combines an additive (intuitionistic) and a multiplicative (linear) implication via bunches (contexts with two combining operations, one which admits Weakening and Contraction and one which does not). BI may be seen to arise from two main perspectives. On the one hand, from proof-theoretic or categorical concerns and, on the other, from a possible-worlds semantics based on preordered (commutative) monoids. This semantics may be motivated from a basic model of the notion of resource. We explain BI's proof-theoretic, categorical and semantic origins. We discuss in detail the question of completeness, explaining the essential distinction between BI with and without ⊥ (the unit of V). We give an extensive discussion of BI as a semantically based logic of resources, giving concrete models based on Petri nets, ambients, computer memory, logic programming, and money.

References

[1]
{1} K.R. Apt, M.H. van Emden, Contributions to the theory of logic programming, J. Assoc. Comput. Mech. 29 (3) (1982) 841-862.]]
[2]
{2} P. Armelin, Logic programming with bunched logic, Ph.D. Thesis, University of London, 2002, forthcoming.]]
[3]
{3} P. Armelín, D. Pym, Bunched logic programming (extended abstract), in: Proc. IJCAR 2001, Vol. 2083, Springer, Berlin, 2001, pp. 289-304.]]
[4]
{4} P.N. Benton, O.M. Bierman, V.C.V. de Paiva, J.M.E. Hyland, Linear λ-calculus and categorical models revisited, in: E. Börger, et al. (Eds.), Proceedings of the Sixth Workshop on Computer Science Logic, Lecture Notes in Computer Science, Vol. 702, Springer, Berlin, 1992, pp. 61-84.]]
[5]
{5} P. Brinch Hanser, Operating system principles, Series in Automatic computation, Prentice-Hall, Englewood Cliffs, NJ, 1973.]]
[6]
{6} L. Cardelli, P. Gardner, G. Ghelli, A spatial logic for querying graphs, ICALP'02.]]
[7]
{7} L. Cardelli, G. Ghelli, A query language for semi structured data based on the ambient logic, Proc. ESOP'01.]]
[8]
{8} L. Cardelli, A. Gordon, Anytime, anywhere: modal logics for mobile processes, in: Conference Record of the 27th. Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, ACM, New York, Boston, Massachusetts, 2000.]]
[9]
{9} G. Cousineau, M. Mauny, The Functional Approach to Programming. Cambridge University Press, Cambridge, 1998.]]
[10]
{10} M.F. Dam, Relevance logic and concurrent computation, Ph.D. Thesis, University of Edinburgh, 1990.]]
[11]
{11} B.J. Day, On closed categories of functors, in: S. Mac Lane (Ed.), Reports of the Midwest Category Seminar, Lecture Notes in Mathematics, Vol. 137, Springer, Berlin, New York, 1970, pp. 1-38.]]
[12]
{12} K. Dosen, A historica introduction to substructural Logics, in: K. Dosen, P. Schroeder Heister (Eds.), Substructural Logics, Oxford University Press, Oxford, 1993, pp. 1-30.]]
[13]
{13} J.M. Dunn, Relevant logic and entailmen, in: D. Gabbay, F. Guenthner (Eds.), Handbook of Philosophical Logic, Vol. III: Alternatives to Classical Logic, Synthese Library, Vol. 166, Reidel, Dordrecht, Holland, 1986, pp. 117-224.]]
[14]
{14} M.H. van Emden, R.A. Kowalski, The semantics of predicate logic as a programming language, J. Assoc. Comput. Mech. 24 (4) (1976) 733-742.]]
[15]
{15} U. Engberg, G. Winskel, Completeness results for linear logic on Petri nets, in: Proceedings of the Conference on Mathematical Foundations of Computer Science, Vol. 711, Springer, Gdansk, Poland, 1993, pp. 442-452.]]
[16]
{16} M.P. Fourman, D.S. Scott, Sheaves and logic, in: M.P. Fourman, C.J. Mulvey, D.S. Scott (Eds.), Applications of Sheaf Theory to Algebra, Analysis, and Topology, Lecture Notes in Mathematics, Springer, Berlin, 1979.]]
[17]
{17} D. Gabbay, Labelled Deductive Systems; principles and applications, vol. I: Basic Principles, Oxford University Press, Oxford, 1996.]]
[18]
{18} D.M. Gabbay, Fibring Logics, Oxford University Press, Oxford, 1998.]]
[19]
{19} D. Galmiche, D. Méry, D. Pym, Resource Tableaux (extended abstract), in: Proc. CSL 2002, Edinburgh, Lecture Notes in Computer Science, Vol. 2471, Springer, Berlin, 2002, pp. 183-199.]]
[20]
{20} J.-Y. Girard, Linear logic, Theoret. Comput. Sci. 50 (1987) 1-102.]]
[21]
{21} J.-Y. Girard, Towards a geometry of interaction, in: J.W. Gray, Seedrov (Eds.), Categories in Computer Science and Logic, American Mathematical Society, Providence, RI, 1989, Proceedings of the AMS-IMS-SIAM Joint Summer Research Conference, June 14-20, 1987, Boulder, Colorado: Contemporary Mathematics Volume 92.]]
[22]
{22} S.S. Ishtiaq, P.O'Hearn, BI as an assertion language for mutable data structures, in: 28th ACM-SIGPLAN Symposium on Principles of Programming Languages, London. Association for Computing Machinery. New York, 2001, pp. 14-26.]]
[23]
{23} S.S. Ishtiaq, D.J. Pym, A relevant analysis of natural deduction. J. Logic and Comput. 8 (6) (1998) 809-838.]]
[24]
{24} S.C. Kleene, Mathematical Logic, Wiley, New York, 1968.]]
[25]
{25} R. Kowalski, Logic for Problem-solving, North-Holland, Elsevier, Amsterdam, 1979.]]
[26]
{26} Y. Lafont, The finite model property for various fragments of linear logic, J. Symbolic Logic 62 (4) (1997) 1202-1208.]]
[27]
{27} J. Lambek, Deductive Systems and Categories I, J. Math. Systems Theory 2 (1968) 278-318.]]
[28]
{28} J. Lambek, P. Scott, Introduction to Higher-Order Categorical Logic, Cambridge University Press, Cambridge, 1986.]]
[29]
{29} P. Lincoln, Deciding provability of linear logic formulas, in: Y. Lafont, J.-Y. Girard, L. Regnier (Eds.), Advances in Linear Logic, Cambridge University Press, Cambridge, 1995, pp. 109-122.]]
[30]
{30} S. Mac Lane, Categories for the Working Mathematician, Springer, New York, 1971.]]
[31]
{31} S. Mac Lane, I. Moerdijk, Sheaves in Geometry and Logic, Springer, New York, 1992.]]
[32]
{32} D. Miller, A logical analysis of modules in logic programming. J. Logic. Programming 6 (1 & 2) (1981) 431-483.]]
[33]
{33} D. Miller, G. Nadathur, F. Pfenning, A. Scedrov, Uniform proofs as a foundation for logic programming. Ann. Pure Appl. Logic 51 (1991) 125-157.]]
[34]
{34} R. Milner, Communication and Concurrency, Prentice-Hall, New York, 1989.]]
[35]
{35} H. Niss, Regions are imperative. Ph.D. Thesis, University of Copenhagen, 2002.]]
[36]
{36} P.W. O'Hearn, On bunched typing, J. Funct. Programming 13 (2003) 747-796.]]
[37]
{37} P.W. O'Hearn, Resource interpretations, bunched implications and the αλ-calculus (preliminary version ). in: J-Y. Girard (Ed.), Proc TLCA '99, Lecture Notes in Computer Science, Vol. 1581, Springer, Berlin, 1999.]]
[38]
{38} P.W. O'Hearn, D.J. Pym, The logic of bunched implications. Bull. Symbolic Logic 5 (2) (1999) 215-244.]]
[39]
{39} E. Palmgren, Constructive sheaf semantics, Math. Logic Quart. 43 (1997) 225-321.]]
[40]
{40} D.J. Pym, Proofs, search and computation in general logic, Ph.D. Thesis, University of Edinburgh, 1990.]]
[41]
{41} D.J. Pym, On bunched predicate logic, in: Proc. LICS'99, IEEE Computer Society Press, Silver Spring, MD, 1999, pp. 183-192]]
[42]
{42} D.J. Pym, The Semantics and Proof Theory of the Logic of the Logic of Bunched Implications, in: Applied Logic Series, Vol. 26, Kluwer Academic Publishers, Dordrecht, 2002.]]
[43]
{43} S. Read, Relevant Logic: A Philosophical Examination of Inference, Basil Blackwell, Oxford, 1998.]]
[44]
{44} W. Reisig, Distributed Algorithms: Modeling and Analysis with Petri Nets, Springer, Berlin, 1998.]]
[45]
{45} G. Restall, An Introduction to Substructural Logics, Routledge, London, 2000.]]
[46]
{46} J. Reynolds, Lectures on reasoning about shared mutable data structure, Tandil, Argentina, 2000.]]
[47]
{47} J. Reynolds, Separation logic: A logic for shared mutable data structures, in: Proc. LICS '02, IEEE, New York, 2002.]]
[48]
{48} R. Routley, R.K. Meyer, The semantics of entailment, i, in: H. Leblanc (Ed.), Truth, Syntax and Modality, North-Holland, Amsterdam, 1973, pp. 199-243.]]
[49]
{49} A. Simpson, The proof theory and semantics of intuitionistic modal logic, Ph.D. Thesis, University of Edinburgh, 1994.]]
[50]
{50} M. Tofte, J. Talpin, Region-based memory management, Inform and Comput. 132 (2) (1997) 109-176.]]
[51]
{51} A.S. Trolestra, Lectures on Linear Logic, Vol. 29, Lecture Notes, CSLI, Stanford, 1992.]]
[52]
{52} A. Urquhart, Semantics for relevant logics, J. Symbolic Logic 37 (1972) 1059-1073.]]
[53]
{53} S. Vickers, Topology via Logic, Cambridge University Press, Cambridge, 1989.]]

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Theoretical Computer Science
Theoretical Computer Science  Volume 315, Issue 1
Mathematical foundations of programming semantics
5 May 2004
300 pages

Publisher

Elsevier Science Publishers Ltd.

United Kingdom

Publication History

Published: 05 May 2004

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 27 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media