liveBook · Manning

Program synthesis

Program synthesis is the automatic construction of programs that satisfy specified input-output behavior or other formal requirements.

How 2 Manning books explain it

Deep Learning with R, Third Edition

Program synthesis is the automatic generation of programs that satisfy specified input-output behavior or other formal requirements.

How it is used
Positions program synthesis as a route to discrete reasoning and a complement to deep learning.
How deep it goes
Explains candidate generation and specification testing conceptually, without a working implementation.
Examples
Illustrates hybrid systems with AlphaGo and self-driving vehicles, whose algorithmic components are human-written rather than synthesized.
What you can do after
Evaluate synthesis conceptually by contrasting program search with parameter learning and recognizing the search-efficiency bottleneck.

Read how Deep Learning with R, Third Edition explains program synthesis →

Deep Learning with Python, Third Edition

A technique that automatically constructs programs satisfying a specification by searching over candidate code.

How it is used
Uses test-time search to generate symbolic, verifiable programs and support program-centric abstraction.
How deep it goes
Explains specifications, candidate generation, discrete search, and verification, but stops short of implementation details.
Examples
Uses input-output specifications, operator-building-block diagrams, AlphaGo, and self-driving vehicles to illustrate synthesis and hybrid systems.
What you can do after
Evaluate/understand when discrete program search complements neural models and why search efficiency matters.

Read how Deep Learning with Python, Third Edition explains program synthesis →

What to know first

Related concepts

Questions about program synthesis

What is program synthesis?

Program synthesis is the automatic construction of programs that satisfy specified input-output behavior or other formal requirements.

Which Manning books explain program synthesis?

Deep Learning with R, Third Edition and Deep Learning with Python, Third Edition.

What should I know before learning program synthesis?

Manning books that teach program synthesis usually introduce control flow, discrete search, fluid intelligence and loop first.

What is the difference between program synthesis and language model?

Program synthesis is the automatic construction of programs that satisfy specified input-output behavior or other formal requirements. A language model is a computational model of linguistic sequences that estimates their probabilities or predicts tokens from context, enabling it to generate or evaluate language.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.