# Hunting for Missed Alarm Bugs in Formal Verification Tool Alive2

Original title: Looking for Missed Alarm Bugs in a Formal Verification Tool

> Hacker News story 49295071 · language: en · submitted 2026-08-14
> Web version: https://zeli.app/story/49295071
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 29 · by [luu](<https://news.ycombinator.com/user?id=luu>) · 💬 1
[original](<https://blog.regehr.org/archives/2124>) · [HN discussion](<https://news.ycombinator.com/item?id=49295071>)

## Summary

Formal verification tools like Alive2, used to validate LLVM optimizations, are themselves prone to bugs. While false alarms are easy to catch, missed alarms—where Alive2 fails to flag an incorrect optimization—are harder to detect. The authors describe two methods: a modified YARPGen that generates pairs of similar, undefined-behavior-free functions, and using the Minotaur superoptimizer, which passively tests Alive2 with many candidates. Despite extensive testing, few missed alarms were found, suggesting Alive2 is reliable, though areas like function attributes remain unexplored.

## Key quote

> It does not look like Alive2 and Z3 are in the habit of missing alarms.

---

## Cite

- Page: https://zeli.app/story/49295071
- Date: 2026-08-14
- Source: blog.regehr.org (https://blog.regehr.org/archives/2124)
- Hacker News: https://news.ycombinator.com/item?id=49295071

## Other languages

- zh: https://zeli.app/zh/story/49295071 · markdown: https://zeli.app/zh/story/49295071.md
- ja: https://zeli.app/ja/story/49295071 · markdown: https://zeli.app/ja/story/49295071.md
- ko: https://zeli.app/ko/story/49295071 · markdown: https://zeli.app/ko/story/49295071.md
- de: https://zeli.app/de/story/49295071 · markdown: https://zeli.app/de/story/49295071.md
