Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Program equivalence in linear contexts
Deng Y., Zhang Y. Theoretical Computer Science585 (C):71-90,2015.Type:Article
Date Reviewed: Feb 11 2016

It is not too much of a stretch of the imagination to say that mathematics boils down to the study of the question: When are two terms equal? (along with all of the consequences of the various answers to this question). These studies are motivated by various applications that require different variations on the notion of equality.

Programming language semantics is no different, and the study of program equivalence is a central theme. The study of equivalence of programs is well established, and techniques such as applicative bisimulation and logical relations have a distinguished history. These techniques have found applications in the area of program analysis and verification.

This paper studies a particular notion of program equivalence--linear contextual equivalence--motivated by applications in the area of language-based security, which the authors have also worked on. The authors have devised a notion of equivalence of programs where two programs are equivalent if they result in observationally equivalent programs when substituted in all possible linear contexts. Such programs are in some sense indistinguishable with respect to linear contexts.

This extrinsic notion of contextual equivalence can be characterized in terms of certain intrinsic properties of programs--this is the crux of the technical development in the paper. This intrinsic characterization is provided by a transition relation imposed on programs, showing that trace equivalence with respect to this transition relation characterizes contextual equivalence.

The techniques developed in this paper to characterize contextual equivalence are interesting in themselves and are not a straightforward consequence of techniques in the literature. They are tantalizingly similar, but there are some crucial differences--in this case, the novel concept of contextual transitions. One hopes for a follow-up work that compares and contrasts the menagerie of equivalences and techniques for studying them that are now available in the literature.

Reviewer:  Prahladavaradan Sampath Review #: CR144162 (1605-0324)
Bookmark and Share
 
Mathematical Logic (F.4.1 )
 
 
Formal Definitions And Theory (D.3.1 )
 
 
Languages And Systems (I.1.3 )
 
 
Models Of Computation (F.1.1 )
 
 
Semantics Of Programming Languages (F.3.2 )
 
 
Studies Of Program Constructs (F.3.3 )
 
Would you recommend this review?
yes
no
Other reviews under "Mathematical Logic": Date
Fundamentals of computing for software engineers
Tanik M. (ed), Chan E., Van Nostrand Reinhold Co., New York, NY, 1991. Type: Book (9780442005252)
Aug 1 1992
Fuzzy sets and fuzzy logic
Gottwald S., Friedr. Vieweg & Sohn Verlagsgesellschaft mbH, Wiesbaden, Germany, 1993. Type: Book (9783528053116)
Apr 1 1994
Logics of time and computation
Goldblatt R., Center for Study of Lang. and Info., Stanford, CA, 1987. Type: Book (9789780937073124)
Feb 1 1988
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy