Abstract
Wouldn’t it be nice to be able to run a program backwards or, better yet, to derive from one program P a second program P−1 that computes the inverse of P? That means that running P followed by P−1 would be the same as not running any program at all! Also, if we had the result of executing P, but had lost the input, we could execute P−1 to determine that input. This chapter is devoted to having fun inverting programs.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1981 Springer-Verlag New York Inc.
About this chapter
Cite this chapter
Gries, D. (1981). Inverting Programs. In: The Science of Programming. Text and Monographs in Computer Science. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-5983-1_22
Download citation
DOI: https://doi.org/10.1007/978-1-4612-5983-1_22
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-96480-5
Online ISBN: 978-1-4612-5983-1
eBook Packages: Springer Book Archive