Inductive synthesis of dot expressions
We consider the problem of the synthesis of algorithms by sample computations. We introduce a formal language, namely, the so-called dot expressions, which is based on a formalization of the intuitive notion of ellipsis (‘...’). Whilst formally the dot expressions are simply a language describing sets of words, on the other hand, it can be considered as a programming language supporting quite a wide class of programs. Equivalence and asymptotical equivalence of dot expressions are defined and proved to be decidable. A formal example of a dot expression is defined in the way that, actually, it represents a sample computation of the program presented by the given dot expression. A system of simple inductive inference rules synthesizing dot expressions (programs) by their formal examples (sample computations) is developed and proved to synthesize a correct (i.e., asymptotically equivalent to the given) expression by one sufficiently long example. Some instances of the application of the model for program inductive synthesis are also given. Particularly, there are given examples of the euclidean and bubblesort algorithm synthesis within acceptable time from completely natural sample descriptions.
Unable to display preview. Download preview PDF.
- 2.Barzdin J. On inductive synthesis of programs. Springer-Verlag, Lecture notes in Computer Sci., V122, 1981. 235–254.Google Scholar
- 3.Barzdin J. Some rules of inductive inference and their use for program synthesis. IFIP — 83, North-Holland, 1983, 333–338.Google Scholar
- 4.Barzdin J., Brāzma A., Kinber J. Models of inductive syntactical synthesis. Machine Intellegece, 1990, N12, 139–148.Google Scholar
- 5.Bierman A.W., Krisnaswamy R. Constructing programs from example computations. IEEE Trans.Soft.Eng., SE-2-1976, 141–153.Google Scholar
- 6.Brāzma A. The decidability of equivalence for graphical expressions. Theory of algorithms and programming, Riga, 1986, 103–156 (in Russian).Google Scholar
- 7.Brāzma A., Etmane I. Inductive synthesis of for-expressions. Theory of algorithms and programming, Riga, 1986, 156–189 (in Russian).Google Scholar
- 9.Etmane I. A certain formalization of the ellipsis notion. Informatics and semantics. V.27, Moscow, 121–141 (in Russian).Google Scholar
- 10.Etmane I. An approach to inductive synthesis of programms. Programming, Moscow, 1988, N4, 5–16 (in Russian).Google Scholar
- 11.Shapiro E. Algorithmic program debugging. MIT Press, 1983.Google Scholar
- 12.Muggleton S.,Buntine W. Towards constructive induction in first-order predicate calculus. TIRM-88-031, 1988.Google Scholar