Sketch-based synthesis is a program synthesis technique where a developer provides a high-level program outline, or sketch, containing intentional gaps ("holes") to be filled automatically. The synthesizer's task is to search for code fragments that, when inserted into these holes, produce a complete program that satisfies a formal specification, such as input-output examples or logical constraints. This approach balances user control with automation, guiding the search within a constrained space defined by the sketch's structure.
