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.
KeywordsInversion Technique Usual Strategy Link Reversal Indented Line Simple Command
Unable to display preview. Download preview PDF.