TechNewsReel
Live

C* Extension Integrates Formal Verification Directly Into C Programming

Researchers from Peking and Shanghai Jiao Tong universities introduce a language extension that embeds proof-code blocks within source files to secure critical systems.

TechNewsReel Newsroom · September 8, 2026

Researchers from Peking University and Shanghai Jiao Tong University have developed C*, a language extension designed to unify programming and formal verification within the C environment. The system allows developers to integrate specifications, implementation, and proofs into a single, cohesive workflow.

C* enables real-time verification by allowing programmers to embed dedicated proof-code blocks directly within their source code. This integration is powered by a symbolic execution engine and an LCF-style proof kernel, which together facilitate interactive updates to the proof state as the code evolves. By merging these elements, the language ensures that the verification process remains synchronized with the actual implementation.

The Verification Gap

System software, including operating systems, compilers, and databases, forms the backbone of modern digital infrastructure. While these components are critical, traditional assurance methods such as testing and static analysis are often insufficient to rule out all potential defects. Formal proof offers the strongest possible guarantee of correctness, but it has historically been hindered by a significant disconnect between the tools used to write code and those used to verify it. This fragmentation creates a high barrier to entry, often restricting formal methods to specialized researchers rather than general software engineers.

Implications for Critical Infrastructure

By unifying the programming and verification workflows, C significantly reduces the friction typically associated with formal methods. This shift could lead to a more widespread adoption of rigorous verification in the development of critical systems software. For the industry, this means a potential reduction in catastrophic failures within cloud infrastructure and operating systems. Because C extends the existing C language, it allows developers to pursue these high-assurance guarantees without sacrificing the performance or ubiquity that makes C the standard for systems-level programming.

Future Outlook

The introduction of C marks a move toward making high-assurance software development more accessible to the broader programming community. As the system is adopted, the industry will be watching to see how effectively these integrated proof blocks scale across massive, real-world codebases. While the core mechanism for real-time verification is established, the long-term impact will depend on the integration of C into existing build pipelines and the development of a broader ecosystem of verified C libraries.

Sources

Get a notification when a big story breaks. A few a day at most — no spam.