Are There Good Mistakes? A Theoretical Analysis of CEGIS

Counterexample-guided inductive synthesis CEGIS is used to synthesize programs from a candidate space of programs. The technique is guaranteed to terminate and synthesize the correct program if the space of candidate programs is finite. But the technique may or may not terminate with the correct pro...

Full description

Bibliographic Details
Main Authors: Susmit Jha, Sanjit A. Seshia
Format: Article
Language:English
Published: Open Publishing Association 2014-07-01
Series:Electronic Proceedings in Theoretical Computer Science
Online Access:http://arxiv.org/pdf/1407.5397v1
id doaj-9b1eb17981f242ac9adb6dab42ef2844
record_format Article
spelling doaj-9b1eb17981f242ac9adb6dab42ef28442020-11-24T23:56:14ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802014-07-01157Proc. SYNT 2014849910.4204/EPTCS.157.10:6Are There Good Mistakes? A Theoretical Analysis of CEGISSusmit Jha0Sanjit A. Seshia1 Strategic CAD Labs, Intel EECS, UC Berkeley Counterexample-guided inductive synthesis CEGIS is used to synthesize programs from a candidate space of programs. The technique is guaranteed to terminate and synthesize the correct program if the space of candidate programs is finite. But the technique may or may not terminate with the correct program if the candidate space of programs is infinite. In this paper, we perform a theoretical analysis of counterexample-guided inductive synthesis technique. We investigate whether the set of candidate spaces for which the correct program can be synthesized using CEGIS depends on the counterexamples used in inductive synthesis, that is, whether there are good mistakes which would increase the synthesis power. We investigate whether the use of minimal counterexamples instead of arbitrary counterexamples expands the set of candidate spaces of programs for which inductive synthesis can successfully synthesize a correct program. We consider two kinds of counterexamples: minimal counterexamples and history bounded counterexamples. The history bounded counterexample used in any iteration of CEGIS is bounded by the examples used in previous iterations of inductive synthesis. We examine the relative change in power of inductive synthesis in both cases. We show that the synthesis technique using minimal counterexamples MinCEGIS has the same synthesis power as CEGIS but the synthesis technique using history bounded counterexamples HCEGIS has different power than that of CEGIS, but none dominates the other.http://arxiv.org/pdf/1407.5397v1
collection DOAJ
language English
format Article
sources DOAJ
author Susmit Jha
Sanjit A. Seshia
spellingShingle Susmit Jha
Sanjit A. Seshia
Are There Good Mistakes? A Theoretical Analysis of CEGIS
Electronic Proceedings in Theoretical Computer Science
author_facet Susmit Jha
Sanjit A. Seshia
author_sort Susmit Jha
title Are There Good Mistakes? A Theoretical Analysis of CEGIS
title_short Are There Good Mistakes? A Theoretical Analysis of CEGIS
title_full Are There Good Mistakes? A Theoretical Analysis of CEGIS
title_fullStr Are There Good Mistakes? A Theoretical Analysis of CEGIS
title_full_unstemmed Are There Good Mistakes? A Theoretical Analysis of CEGIS
title_sort are there good mistakes? a theoretical analysis of cegis
publisher Open Publishing Association
series Electronic Proceedings in Theoretical Computer Science
issn 2075-2180
publishDate 2014-07-01
description Counterexample-guided inductive synthesis CEGIS is used to synthesize programs from a candidate space of programs. The technique is guaranteed to terminate and synthesize the correct program if the space of candidate programs is finite. But the technique may or may not terminate with the correct program if the candidate space of programs is infinite. In this paper, we perform a theoretical analysis of counterexample-guided inductive synthesis technique. We investigate whether the set of candidate spaces for which the correct program can be synthesized using CEGIS depends on the counterexamples used in inductive synthesis, that is, whether there are good mistakes which would increase the synthesis power. We investigate whether the use of minimal counterexamples instead of arbitrary counterexamples expands the set of candidate spaces of programs for which inductive synthesis can successfully synthesize a correct program. We consider two kinds of counterexamples: minimal counterexamples and history bounded counterexamples. The history bounded counterexample used in any iteration of CEGIS is bounded by the examples used in previous iterations of inductive synthesis. We examine the relative change in power of inductive synthesis in both cases. We show that the synthesis technique using minimal counterexamples MinCEGIS has the same synthesis power as CEGIS but the synthesis technique using history bounded counterexamples HCEGIS has different power than that of CEGIS, but none dominates the other.
url http://arxiv.org/pdf/1407.5397v1
work_keys_str_mv AT susmitjha aretheregoodmistakesatheoreticalanalysisofcegis
AT sanjitaseshia aretheregoodmistakesatheoreticalanalysisofcegis
_version_ 1725458967445897216