Analyzing Programs with Z3
What it is
Tikhon Jelvis's Compose Conference talk on using the Z3 SMT solver to analyze and verify programs, including checking invariants with bounded loops. He demonstrates verifying programs in a small language by compiling them to Z3.
Why Hacker News recommends it
HN lists it among the practical entry points for learning Z3 and formal verification.
- 2 people recommended it
- 2 different months
- 0 strong recommendations
- first 2016, last 2021
What HN commenters said
“It's easier than it sounds!”
Verifying programs in a tiny language by compiling to Z3
tikhonj, 2016-08 · Recommendation · in “Z3 SMT solver interactive tutorial”
“the best one I've found as an entry point was the approach they use in Cryptol”
Entry point to formal verification approach used in Cryptol
buckie, 2017-07 · Recommendation · in “Show HN: Dharma – Programmable Peer-To-Peer Loans Using Ethereum Smart Contracts”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: z3, smt solver, formal verification, program analysis, haskell
Also recommended by the same people
tutorialEmacs Rocks! Episode 14: Pareditemacsrocks · 8 HN recommenders · 2013–2022
talkGrowing a Language, by Guy SteeleBill Pugh · 11 HN recommenders · 2014–2026
lectureBrian Beckman: Don't fear the Monadjasonofthel33t · 9 HN recommenders · 2012–2024
talk28c3: The Science of Insecurity28c3 · 9 HN recommenders · 2012–2024
talk"Propositions as Types" by Philip WadlerStrange Loop Conference · 9 HN recommenders · 2015–2026
explainerMath's Fundamental FlawVeritasium · 7 HN recommenders · 2021–2024
explainerThe Banach–Tarski ParadoxVsauce · 6 HN recommenders · 2015–2024
talkThe Future of Mathematics?Microsoft Research · 9 HN recommenders · 2019–2025