"Type-Driven Program Synthesis" by Nadia Polikarpova

Strange Loop Conference · 14K views · 2018 · 39:40

Open on YouTube

Logic & formal methodsProgramming language designtalk

Why Hacker News recommends it

HN points to it as a motivating introduction to what program synthesis is and what types can do for it.

What it is

Nadia Polikarpova's Strange Loop talk on program synthesis driven by refinement types, as in Synquid. It shows how rich type specifications can be turned into verified, executable code.

Recommended by 2 HN commenters across 2 different months, 2018 to 2024.

What Hacker News said

Recommends agentultra · 2019-03 · on “Keeping CALM: when distributed consistency is easy”

For an introduction and motivation to TLA+ I recommend Hillel Wayne's talk Everything About Distributed Systems is Terrible [0] and basically anything he has written on his blog about the TLA+. I think following along with the TLA+ video course is really thorough and digestible once you've decided that you want to learn more [1]. You'll find the TLA+ Hyperbook is a useful reference and guide as you start specifying your own systems [2]. It has a number of examples and projects to work on. Eventually if you want to go deep after you've decided it's worth it for yourself, get into Specifying Systems the text book and bible of TLA+ [3]. Program Synthesis has a lot of research in it and is start

Recommends ddellacosta · 2024-03 · on “Show HN: Fructose – LLM calls as strongly typed functions”

Oh yeah, you just reminded me of this cool talk I saw at Strange Loop a while back. Not about the AI parts but re: program synthesis in Haskell: "Type-Driven Program Synthesis" by Nadia Polikarpova [this video] Links to more projects and papers by Prof. Polikarpova: [LINK] I think this is one of the main projects she discusses in the talk: [LINK] EDIT: meant to mention this too, which I think has been around a bit longer, not that I've ever used it in production: [LINK]

Cites espeed · 2018-10 · on “Decision Tables”

> Good specifications are often written at a level that generating executable code from them is often undecidable and almost always intractable in practice. What about modern dependently-typed meta languages like Idris and program synthesizers like Nadia Polikarpova's work on Synquid? Type-Driven Program Synthesis, by Nadia Polikarpova (StrangeLoop 2018) [video] [this video] MIT Comcom: Synquid program synthesizer, and more command-line tools for the web [LINK] Idris Software Foundations [LINK]

Cites kilburn · 2021-06 · on “TDD from the Factorio Team”

This is an active field of research. Search for "program synthesis". We are advancing, but the current state is... not mind-blowing yet (albeit somewhat cool!). See [1] for an example interactive demo and [2] for the corresponding presentation. [1] [LINK] [2] [this video]