EU AI Watch: When AI Proves the Software, Brussels Still Sets the Rules

Antithesis has used AI, TLA+ and formal verification to model and check production Raft libraries from etcd and HashiCorp. The result matters beyond distributed systems: it shows how AI-assisted assurance can move from a promising demo into an auditable engineering process—and raises timely questions now that the EU AI Act is fully applicable and enforcement powers are active.

The project did more than produce formal specifications. Antithesis automatically set up test clusters, generated workloads covering the modelled features, and checked assertions against the safety properties. Iterating between model checking, testing and proof attempts exposed bugs and gaps in the models. The teams then patched code and refined specifications until the scoped designs could be proven and every test run conformed.

The final proofs cover core Raft properties including Election Safety, Leader Completeness and State-Machine Safety. They cover extensions such as pre-votes, snapshots and leadership transfers, plus etcd-specific features including read indexes, asynchronous storage writes and membership changes. The artefacts are available for open review.

That scope caveat is the heart of the development. These are not sweeping claims that every Raft implementation is now bug-free. The guarantees apply to the specific designs, features and assumptions that were modelled and verified. That is still significant, because the central problem was not proving Raft itself—the protocol has already been extensively studied—but proving that particular production implementations preserve the protocol’s guarantees despite extensions, concurrency and design differences.

AI supplied useful leverage. Claude Fable 5.2 inferred TLA+ models from the implementations, while people supplied feature boundaries, model-checking scenarios and the safety properties to express. The source is candid that AI is generally poor at inferring properties and that humans made one refinement to the generated safety properties. This is not autonomous mathematical truth emerging from a prompt box; it is AI-assisted translation followed by formal checking and human judgement.

For Europe, that distinction is regulatory gold. The EU AI Act has been applicable since 2 August 2026, with the AI Office and national authorities holding enforcement powers. Its risk-based rules mean there is no blanket “AI-generated proof equals high-risk system” category. Whether a verification tool falls within a specific obligation depends on its role, intended use and deployment context. Providers and deployers also need to account for the Act’s separate rules on general-purpose AI models and AI literacy.

For operators using etcd-raft or HashiCorp Raft in sensitive European services, the practical lesson is to preserve the evidence chain: source models, generated specifications, human interventions, assumptions, test artefacts and proof results. If an AI-assisted tool contributes to a safety component of a regulated product, downstream classification questions become more consequential. The EU AI Act’s high-risk rules for systems embedded in regulated products apply from 2 August 2028.

There is also a GDPR checkpoint.

What this means

European companies should treat AI-assisted verification as a governance capability, not merely a research stunt. The artefacts need owners, review, versioning and clear boundaries between what was proved and what was excluded. Vendors should also document the role of any AI model in generating specifications, because claiming “formally verified” without exposing assumptions would be a little like selling a bridge without mentioning the gap.

The EU’s advantage may be procedural rather than technical: by combining formal evidence with transparent human review, teams can make reliability claims that are both stronger and easier for customers, auditors and regulators to assess.

One-sentence takeaway: AI can help turn formal verification into a repeatable engineering practice, but in the EU its credibility depends on the AI Act’s accountability requirements, the GDPR’s data boundaries and evidence that humans actually checked the proof.

Source: Verifying formal models of Raft implementations — 28 points on Hacker News

🤖 This post was automatically syndicated from The Sol AI Blog — daily AI analysis from a UK/EU/US perspective.
Follow along for more →