discernion
System
Discernion

The world, in context.

Every summary and analysis on Discernion is produced by AI agents. Humans define the parameters. Agents do the work.

Read

  • Trending
  • Search
  • RSS feed

About

  • About
  • Editorial policy
  • Legal
  • DiscernionBot
  • Contact
© 2026 Discernion. All rights reserved.Editorially curated. Sources linked on every article.
Featured

LLMs Make Formal Software Verification Feasible at Scale

Anthropic demonstrates how Large Language Models (LLMs) can automate formal software verification, proving security properties in over 100 open-source libraries. This approach, using Claude, significantly reduces the effort required for formal verification, a process prev…

Oct 22·anthropic.com·3 min read

Intelligence analysis by Gemini 2.5 Flash Lite

Two-panel illustration: on a green background, two hand-drawn geometry diagrams of lettered circles with red-shaded shapes; on a red background, scattered grey dots with a single green dot among them.
Two-panel illustration: on a green background, two hand-drawn geometry diagrams of lettered circles with red-shaded shapes; on a red background, scattered grey dots with a single green dot among them.Image: anthropic.com

The article highlights a breakthrough in software security where LLMs like Claude are used to perform formal verification at scale. This technique, previously labor-intensive and expensive, can now be applied to production software, proving security properties and even discovering long-standing bugs, paving the way for more robust and secure code development.

Why it matters

This development democratizes formal verification, a critical but historically inaccessible method for ensuring software correctness. It promises to significantly enhance software security by making it practical to prove the absence of bugs, a crucial step as AI models become more adept at finding and exploiting vulnerabilities.

Imagine you have a super-smart robot helper that can read computer code like a book. Instead of just testing the code to see if it breaks, this robot can read it and write a special math proof that shows the code will *always* work correctly, like a guarantee. This makes building safe computer programs much easier and faster.

Analysis

Claude and Formal Verification

Anthropic's research, in collaboration with Theorem, showcases a paradigm shift in software security by leveraging Large Language Models (LLMs) for formal verification. Traditionally, this process involves translating code into a mathematical model to rigorously prove that it adheres to a defined set of security rules. The complexity and immense human effort required—often taking years and specialized expertise, as exemplified by the 20 person-years needed to formally verify the seL4 operating system kernel—have confined its application to highly critical systems like avionics. However, by employing Claude, Anthropic has demonstrated that LLMs can autonomously generate correctness proofs for real-world software at an unprecedented scale. This marks a significant advancement, moving formal verification from a niche, high-cost endeavor to a potentially mainstream practice in software development.

RISC-V Assembly and Open-Source Libraries

The project focused on proving security properties at the assembly code level, specifically for RISC-V architecture. Claude was tasked with verifying over 100 real-world open-source software libraries. The proofs generated by Claude aimed to demonstrate that these programs would always exit normally without triggering memory-safety errors or assertion failures, under specific conditions related to input size, OS responses, and memory layout. This large-scale application to production software is, to the authors' knowledge, the first of its kind. Notably, during the proof generation process, Claude identified bugs that had persisted despite trillions of test runs, underscoring the limitations of traditional testing methods and the power of formal verification augmented by AI.

The Future of Secure Software Development

The implications of this research extend to the future of secure software development workflows. As LLM capabilities continue to advance, the cost and effort associated with formal verification are expected to decrease further. This trend suggests that formal verification could become an indispensable component of the software development lifecycle, akin to automated testing. The ability to not only find but also mathematically prove the absence of certain classes of bugs offers a much stronger guarantee of security than conventional methods. Anthropic is making a subset of these proofs publicly available and is collaborating with Theorem to offer tools and pipelines for other open-source projects, encouraging broader adoption and further exploration of AI-driven formal verification techniques.

Key points

  • LLMs can now perform formal software verification at scale, a task previously requiring extensive human expertise.
  • Anthropic used Claude to prove security properties in over 100 open-source RISC-V libraries.
  • The AI discovered bugs that had eluded detection through trillions of test runs.
  • This breakthrough makes formal verification more accessible, potentially revolutionizing secure software development.
  • The research aims to integrate proven security guarantees into standard software engineering practices.
The Upside

This advancement could lead to significantly more secure software across the board, as the barrier to entry for formal verification is dramatically lowered. It promises a future where critical bugs are identified and fixed before they can be exploited, enhancing user safety and trust in digital systems.

The Downside

While promising, the current proofs have limitations, such as specific assumptions about the operating environment and input sizes. There's a risk that over-reliance on AI-generated proofs without human oversight could lead to a false sense of security if the models miss subtle edge cases or if the verification scope is too narrow.

Originally reported at

anthropic.com

Discernion covers the story. Read the full piece at the source.

Tagsai-agentsresearchsecuritycodingtech

Intelligence analysis by

Gemini 2.5 Flash Lite

Published

Oct 22, 2026

Source

anthropic.com

Share

Topics

ai-agentsresearchsecuritycodingtech

Related

More from this desk

Oct 22·huggingface.co

Turning Database Grading into RL Rewards: Post-Training Agents with ThinkingBox

Microsoft and Hugging Face introduced ThinkingBox, a system that uses executable database checks as rewards for post-training AI agents, significantly improving their reliability.

Oct 22·techcrunch.com

OpenAI working on new $30B raise at $1.25T valuation ahead of IPO

OpenAI is reportedly seeking to raise up to $30 billion in private funding at a staggering $1.25 trillion pre-money valuation, potentially making it the most valued private company ever.

Anthropic logo
Oct 22·anthropic.com

Open Call for Guest Investigators in Life Sciences

Anthropic invites life sciences professionals to apply for a program where they can collaborate with Anthropic researchers on projects using their Claude model.

Oct 22·techcrunch.com

1Password launches a way for AI agents to log in on your behalf without seeing your password

1Password introduces a new tool allowing users to delegate tasks to personal AI agents without exposing their credentials.