Computer Science · Artificial Intelligence
Inversion of Functions
Reinhold Heckmann, Bundesrepublik Deutschland
See on the mapAbstract
Finding an algorithm for the inverse of an explicitly given function is important for program and data type development. We informally present a method to derive an algorithm for the inverse from algorithms for given functions. Footnote: This research was supported by the Commission of the European Communities under Esprit Project Ref. No. 390 (PROSPECTRA). 1 Introduction Assume we are given a function f : t 1 \\Theta \\Delta \\Delta \\Delta \\Theta t n ! t 0 by an algorithm in a functional language. We want to derive from it an algorithm for the inverse function f \\Gamma1 : t 0 ! t 1 \\Theta \\Delta \\Delta \\Delta \\Theta t n , or for partial inverses f i 1 :::i k : T j 1 \\Theta \\Delta \\Delta \\Delta \\Theta T jr ! T i 1 \\Theta \\Delta \\Delta \\Delta \\Theta T i k where fj 1 ; : : : ; j r g = f1; : : : ; n; 0g n fi 1 ; : : : ; i k g. All functions are potentially multi-valued, i.e. they are relations when considered exactly. f : A ! B means: f may be applied to arguments of type A, and retur...