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

08/19/2021
by   Shmuel Berman, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/21/2017

Synthesizing Imperative Programs from Examples Guided by Static Analysis

We present a novel algorithm that synthesizes imperative programs for in...
research
09/08/2018

Neural Guided Constraint Logic Programming for Program Synthesis

Synthesizing programs using example input/outputs is a classic problem i...
research
11/21/2022

Programming by Example and Text-to-Code Translation for Conversational Code Generation

Dialogue systems is an increasingly popular task of natural language pro...
research
02/21/2022

Optimizing Recursive Queries with Program Synthesis

Most work on query optimization has concentrated on loop-free queries. H...
research
06/22/2021

SynGuar: Guaranteeing Generalization in Programming by Example

Programming by Example (PBE) is a program synthesis paradigm in which th...
research
03/30/2021

Geometry of Program Synthesis

We re-evaluate universal computation based on the synthesis of Turing ma...
research
11/02/2022

Synthesizing Programs with Continuous Optimization

Automatic software generation based on some specification is known as pr...

Please sign up or login with your details

Forgot password? Click here to reset