{"id":{"repo_id":"rice","oai_identifier":"oai:repository.rice.edu:1911/96260"},"canonical_url":"https://search.ndltd.org/etd/rice/oai:repository.rice.edu:1911/96260","repository":{"repo_id":"rice","name":"Rice University","base_url":"https://repository.rice.edu/server/oai/request"},"display":{"title":"Inductive Program Synthesis from Input-Output Examples","abstract":"We present a method for example-guided synthesis of higher-order functional pro- grams. Given a set of input-output examples, our method synthesizes a program in a functional language with higher-order combinators like map and fold. The synthesized program is guaranteed to be the simplest program in the language to fit the examples. Our approach combines three technical ideas: inductive generalization, deduction, and enumerative search. First, we generalize the input-output examples into hypotheses about the structure of the target program. For each hypothesis, we use deduction to infer new input-output examples for the missing subexpressions. This leads to a new subproblem where the goal is to synthesize expressions within each hypothesis. Since not every hypothesis can be realized into a program that fits the examples, we use a combination of best-first enumeration and deduction to search for a hypothesis that meets our needs. We have implemented our method in a tool called λ2, and we evaluate this tool on a large set of synthesis problems involving lists, trees, and nested data structures. The experiments demonstrate the scalability and broad scope of λ2. A highlight is the synthesis of a program believed to be the world’s earliest functional pearl.","abstract_html":"We present a method for example-guided synthesis of higher-order functional pro- grams. Given a set of input-output examples, our method synthesizes a program in a functional language with higher-order combinators like map and fold. The synthesized program is guaranteed to be the simplest program in the language to fit the examples. Our approach combines three technical ideas: inductive generalization, deduction, and enumerative search. First, we generalize the input-output examples into hypotheses about the structure of the target program. For each hypothesis, we use deduction to infer new input-output examples for the missing subexpressions. This leads to a new subproblem where the goal is to synthesize expressions within each hypothesis. Since not every hypothesis can be realized into a program that fits the examples, we use a combination of best-first enumeration and deduction to search for a hypothesis that meets our needs. We have implemented our method in a tool called λ2, and we evaluate this tool on a large set of synthesis problems involving lists, trees, and nested data structures. The experiments demonstrate the scalability and broad scope of λ2. A highlight is the synthesis of a program believed to be the world’s earliest functional pearl.","abstract_has_math":false,"creators":["Feser, Jack Killian"],"institution":"Rice University","degree_name":"Master of Science","degree_level":"Masters","degree_discipline":"Engineering","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Chaudhuri, Swarat"],"committee_chairs":[],"committee_members":[],"year":2016,"date_issued":"2016-04-21","date_published":"2016-04-21","updated_at":"2026-11-19T09:21:48Z","subjects":["program synthesis","programming by example","higher-order programs","recursive data structures"],"languages":["eng"],"rights":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Feser, Jack Killian. \"Inductive Program Synthesis from Input-Output Examples.\" (2016) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/96260\">https://hdl.handle.net/1911/96260</a>."],"render_values":[{"text":"Feser, Jack Killian. \"Inductive Program Synthesis from Input-Output Examples.\" (2016) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/96260\">https://hdl.handle.net/1911/96260</a>.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1911/96260","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1911/96260","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Arice%3Aoai%3Arepository.rice.edu%3A1911%2F96260","prefix":"oai_dc"},"source_record":{"url":"https://repository.rice.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.rice.edu%3A1911%2F96260","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Chaudhuri, Swarat"]},{"key":"dc:creator","label":"Author","values":["Feser, Jack Killian"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2017-08-02T19:01:58Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2017-08-02T19:01:58Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2016-05"]},{"key":"dc:date.issued","label":"Date","values":["2016-04-21"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["May 2016"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2017-08-02T19:01:58Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","Text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:degree_program","label":"Thesis Degree Program","values":["Programming Languages"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Rice University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["program synthesis","programming by example","higher-order programs","recursive data structures"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Feser, Jack Killian. \"Inductive Program Synthesis from Input-Output Examples.\" (2016) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/96260\">https://hdl.handle.net/1911/96260</a>."]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1911/96260"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["We present a method for example-guided synthesis of higher-order functional pro- grams. Given a set of input-output examples, our method synthesizes a program in a functional language with higher-order combinators like map and fold. The synthesized program is guaranteed to be the simplest program in the language to fit the examples. Our approach combines three technical ideas: inductive generalization, deduction, and enumerative search. First, we generalize the input-output examples into hypotheses about the structure of the target program. For each hypothesis, we use deduction to infer new input-output examples for the missing subexpressions. This leads to a new subproblem where the goal is to synthesize expressions within each hypothesis. Since not every hypothesis can be realized into a program that fits the examples, we use a combination of best-first enumeration and deduction to search for a hypothesis that meets our needs. We have implemented our method in a tool called λ2, and we evaluate this tool on a large set of synthesis problems involving lists, trees, and nested data structures. The experiments demonstrate the scalability and broad scope of λ2. A highlight is the synthesis of a program believed to be the world’s earliest functional pearl."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Inductive Program Synthesis from Input-Output Examples"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Chaudhuri, Swarat"],"dc:creator":["Feser, Jack Killian"],"dc:date.accessioned":["2017-08-02T19:01:58Z"],"dc:date.available":["2017-08-02T19:01:58Z"],"dc:date.created":["2016-05"],"dc:date.issued":["2016-04-21"],"dc:date.submitted":["May 2016"],"dc:date.updated":["2017-08-02T19:01:58Z"],"dc:description.abstract":["We present a method for example-guided synthesis of higher-order functional pro- grams. Given a set of input-output examples, our method synthesizes a program in a functional language with higher-order combinators like map and fold. The synthesized program is guaranteed to be the simplest program in the language to fit the examples. Our approach combines three technical ideas: inductive generalization, deduction, and enumerative search. First, we generalize the input-output examples into hypotheses about the structure of the target program. For each hypothesis, we use deduction to infer new input-output examples for the missing subexpressions. This leads to a new subproblem where the goal is to synthesize expressions within each hypothesis. Since not every hypothesis can be realized into a program that fits the examples, we use a combination of best-first enumeration and deduction to search for a hypothesis that meets our needs. We have implemented our method in a tool called λ2, and we evaluate this tool on a large set of synthesis problems involving lists, trees, and nested data structures. The experiments demonstrate the scalability and broad scope of λ2. A highlight is the synthesis of a program believed to be the world’s earliest functional pearl."],"dc:format.mimetype":["application/pdf"],"dc:identifier.citation":["Feser, Jack Killian. \"Inductive Program Synthesis from Input-Output Examples.\" (2016) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/96260\">https://hdl.handle.net/1911/96260</a>."],"dc:identifier.uri":["https://hdl.handle.net/1911/96260"],"dc:language.iso":["eng"],"dc:rights":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."],"dc:subject":["program synthesis","programming by example","higher-order programs","recursive data structures"],"dc:title":["Inductive Program Synthesis from Input-Output Examples"],"dc:type":["Thesis","Text"],"others:access_status":["open.access"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Engineering"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science"],"thesis:degree_program":["Programming Languages"],"thesis:institution_name":["Rice University"]},"updated_at":"2026-11-19T09:21:48Z"}