FlashMeta: a framework for inductive program synthesis. Inductive synthesis, or programming-by-examples (PBE) is gaining prominence with disruptive applications for automating repetitive tasks in end-user programming. However, designing, developing, and maintaining an effective industrial-quality inductive synthesizer is an intellectual and engineering challenge, requiring 1-2 man-years of effort. Our novel observation is that many PBE algorithms are a natural fall-out of one generic meta-algorithm and the domain-specific properties of the operators in the underlying domain-specific language (DSL). The meta-algorithm propagates example-based constraints on an expression to its subexpressions by leveraging associated witness functions, which essentially capture the inverse semantics of the underlying operator. This observation enables a novel program synthesis methodology called data-driven domain-specific deduction (D4), where domain-specific insight, provided by the DSL designer, is separated from the synthesis algorithm. Our FlashMeta framework implements this methodology, allowing synthesizer developers to generate an efficient synthesizer from the mere DSL definition (if properties of the DSL operators have been modeled). In our case studies, we found that 10+ existing industrial-quality mass-market applications based on PBE can be cast as instances of D4. Our evaluation includes reimplementation of some prior works, which in FlashMeta become more efficient, maintainable, and extensible. As a result, FlashMeta-based PBE tools are deployed in several industrial products, including Microsoft PowerShell 3.0 for Windows 10, Azure Operational Management Suite, and Microsoft Cortana digital assistant.
Keywords for this software
References in zbMATH (referenced in 5 articles )
Showing results 1 to 5 of 5.
- Correia, Alexandre; Iyoda, Juliano; Mota, Alexandre: Combining model finder and genetic programming into a general purpose automatic program synthesizer (2020)
- Peleg, Hila; Itzhaky, Shachar; Shoham, Sharon; Yahav, Eran: Programming by predicates: a formal model for interactive synthesis (2020)
- Alur, Rajeev; Radhakrishna, Arjun; Udupa, Abhishek: Scaling enumerative program synthesis via divide and conquer (2017)
- Alexander L. Gaunt, Marc Brockschmidt, Rishabh Singh, Nate Kushman, Pushmeet Kohli, Jonathan Taylor, Daniel Tarlow: TerpreT: A Probabilistic Programming Language for Program Induction (2016) arXiv
- Gulwani, Sumit: Programming by examples: applications, algorithms, and ambiguity resolution (2016) ioport