Skip to content

Add blog post: Fixing a 2.5-Year-Old Floating-Point Bug with AI-Assisted Formal Verification#56

Open
tautschnig wants to merge 1 commit into
mainfrom
blog/floating-point-remainder-fix
Open

Add blog post: Fixing a 2.5-Year-Old Floating-Point Bug with AI-Assisted Formal Verification#56
tautschnig wants to merge 1 commit into
mainfrom
blog/floating-point-remainder-fix

Conversation

@tautschnig

Copy link
Copy Markdown
Member

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…ted Formal Verification

Co-authored-by: Kiro <kiro-agent@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 25, 2026 22:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new blog post describing how an AI-assisted workflow (Coq + HOL Light proofs plus CBMC _Float16 symbolic checks) was used to fix a long-standing floating-point fmod/remainder soundness issue in CBMC, and how proof/verification interplay helped catch incorrect assumptions.

Changes:

  • Introduces a long-form post narrating the bug, why it’s hard in CBMC’s circuit encoding, and the final integer-significand + FMA approach.
  • Documents how SMT solvers and _Float16 symbolic checks found issues that a “passing” proof initially missed.
  • Summarizes the CI strategy for keeping proofs, implementation, and checks in sync.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@feliperodri

Copy link
Copy Markdown
Contributor

@tautschnig should we merge this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants