Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Dafny as Verification-Aware Intermediate Language for Code Generation

ACM SIGPLAN via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This conference talk explores how formal methods can improve code generation from large language models (LLMs) by using Dafny as an intermediate verification layer. Learn how researchers from MIT and Amazon Web Services developed a system where LLMs generate code in Dafny first, allowing automatic validation against specifications before compiling to target languages—all while keeping the verification process invisible to users. The presentation covers their prototype implementation and its performance on HumanEval Python benchmarks, demonstrating a promising approach to addressing the reliability issues in LLM-generated code. The 15-minute talk was presented at the Dafny 2025 workshop on January 19, 2025, sponsored by ACM SIGPLAN.

Syllabus

[Dafny'25] Dafny as Verification-Aware Intermediate Language for Code Generation

Taught by

ACM SIGPLAN

Reviews

Start your review of Dafny as Verification-Aware Intermediate Language for Code Generation

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.