Pearl 11 – Not the maximum segment sum
Session on Pearl 11 (Not the maximum segment sum) from Pearls of Functional Algorithm Design. Implement and verify the problem in Dafny, exploring verification strategies.
Event
Activities tracked
2
We’re starting a new Hack and Learn series focused on implementing and verifying algorithms from Richard Bird’s Pearls of Functional Algorithm Design — a classic collection of elegant, deceptively simple problems in functional programming. In this first session, we’ll tackle:
The goal: Implement and verify these pearls in Dafny, exploring how the language’s specification and proof system can capture the properties that make these algorithms correct. How it works:
Who it’s for: Anyone interested in functional programming, algorithms, or formal verification. You don’t need to be a Dafny expert — just bring curiosity and a willingness to experiment. Why attend:
Bring your laptop, your copy of Pearls of Functional Algorithm Design (if you have one), and your favorite reasoning tricks. Let’s hack, prove, and learn — one pearl at a time.
Sessions & talks
Showing 1–2 of 2 · Newest first
Session on Pearl 11 (Not the maximum segment sum) from Pearls of Functional Algorithm Design. Implement and verify the problem in Dafny, exploring verification strategies.
Session on Pearl 9 (Finding Celebrities) from Pearls of Functional Algorithm Design. Implement and verify the problem in Dafny, exploring how the language's specification and proof system can capture correctness.