"Type-Driven Program Synthesis" by Nadia Polikarpova
Strange Loop ConferenceRecommended by 2 HN commenters across 2 months, 2018–2024
talk · intermediate · evergreen · 2018–2024 on HN
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.
HN points to it as a motivating introduction to what program synthesis is and what types can do for it.
Up next
2 mo on HNGoing Native 2012 Keynote Stroustrup
savage309
Recommended 2× on HN · 2012–2025
3 mo on HNHandmade Hero Day 001 - Setting Up the Windows Build
Molly Rocket
Recommended 3× on HN · 2017–2021
4 mo on HNCarl Sagan testifying before Congress in 1985 on climate change
carlsagandotcom
Recommended 4× on HN · 2021–2026
5 mo on HNLeslie Lamport: Thinking Above the Code
Microsoft Research
Recommended 5× on HN · 2015–2026
11 mo on HNAlan Kay - Normal Considered Harmful
powerfuloutlet
Recommended 10× on HN · 2012–2026
12 mo on HNWhy Isn't Functional Programming the Norm? – Richard Feldman
Metosin
Recommended 12× on HN · 2019–2025
1 mo on HNWhy There's No Such Thing as a Good Billionaire
Adam Conover
Recommended 1× on HN · 2022–2023
7 mo on HNDomain Modeling Made Functional - Scott Wlaschin
NDC Conferences
Recommended 6× on HN · 2018–2024
10 mo on HNBrian Beckman: Don't fear the Monad
jasonofthel33t
Recommended 9× on HN · 2012–2024
9 mo on HN28c3: The Science of Insecurity
28c3
Recommended 9× on HN · 2012–2024
8 mo on HN"Propositions as Types" by Philip Wadler
Strange Loop Conference
Recommended 9× on HN · 2015–2026
7 mo on HNMath's Fundamental Flaw
Veritasium
Recommended 7× on HN · 2021–2024
4 comments from Hacker News
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
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 starting to show promising results. I'd say that while the research has been going on for a long time it's still rather new to industrial use... for a motivating talk and explanation on what program synthesis is try this one: ▶ this video [0] link [1] link [2] link [3] link
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
> 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