Loading…
Saturday May 24, 2025 12:00pm - 2:00pm EDT

Authors - Aditi Choudhary, Aditya Gupta, Pulkit Jain, Nikunj Agarwal, Mukund Wagh
Abstract - We present a novel programming-by-example (PBE) approach that synthesizes natural and human-readable code by integrating higher-order functions with standard and third- party libraries in Haskell. This technique leverages refinement types to efficiently prune the search space, ensuring scalability while preserving soundness. Using Liquid Haskell, we extend support for complex data structures, enabling the synthesis of reusable and idiomatic code. Our evaluation demonstrates the tool’s versatility across lists, trees, maps, and domain-specific languages, including musical scores. The results highlight that our method generates concise, interpretable programs, bridging the gap between formal verification and practical usability in functional programming. Index Terms—Programming-by-Example (PBE), Haskell, Higher-Order Functions, Refinement Types, Liquid Haskell, Code Synthesis, Functional Programming, Search Space Pruning, Domain-Specific Languages (DSLs), Formal Verification, Scalability, Reusable Code, Idiomatic Programming.
Paper Presenter
avatar for Aditya Gupta

Aditya Gupta

United Staes of America
Saturday May 24, 2025 12:00pm - 2:00pm EDT
Virtual Room A New York, USA

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Share Modal

Share this link via

Or copy link