English

Programming-By-Example by Programming-By-Example: Synthesis of Looping Programs

Programming Languages 2021-08-20 v1 Logic in Computer Science

Abstract

Program synthesis has seen many new applications in recent years, in large part thanks to the introduction of SyGuS. However, no existing SyGuS solvers have support for synthesizing recursive functions. We introduce an multi-phase algorithm for the synthesis of recursive ``looplike'' programs in SyGuS for programming-by-example. We solve constraints individually and treat them as ``unrolled`` examples of how a recursive program would behave, and solve for the generalized recursive solution. Our approach is modular and supports any SyGuS Solver.

Keywords

Cite

@article{arxiv.2108.08724,
  title  = {Programming-By-Example by Programming-By-Example: Synthesis of Looping Programs},
  author = {Shmuel Berman and Mark Santolucito},
  journal= {arXiv preprint arXiv:2108.08724},
  year   = {2021}
}