Learning functional programs with function invention and reuse

arXiv:2011.08881 First posted 2020-11-17 v1
Cite this paper ×
BibTeX
@misc{diaconu2020learning,
  title = {Learning functional programs with function invention and reuse},
  author = {Andrei Diaconu},
  year = {2020},
  eprint = {2011.08881},
  archivePrefix = {arXiv},
  primaryClass = {cs.PL},
  url = {https://arxiv.org/abs/2011.08881}
}
APA
Diaconu, A. (2020). Learning functional programs with function invention and reuse [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.08881
GB/T 7714
DIACONU A. Learning functional programs with function invention and reuse[EB/OL]. (2020-11-17)[2026-11-29]. https://arxiv.org/abs/2011.08881.

Abstract

Inductive programming (IP) is a field whose main goal is synthesising programs that respect a set of examples, given some form of background knowledge. This paper is concerned with a subfield of IP, inductive functional programming (IFP). We explore the idea of generating modular functional programs, and how those allow for function reuse, with the aim to reduce the size of the programs. We introduce two algorithms that attempt to solve the problem and explore type based pruning techniques in the context of modular programs. By experimenting with the implementation of one of those algorithms, we show reuse is important (if not crucial) for a variety of problems and distinguished two broad classes of programs that will generally benefit from function reuse.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!