What is formal verification?

Definition

Formal verification makes a claim explicit enough to analyse using mathematical rules. In proof checking, a checker examines whether a formal derivation establishes its exact statement from the permitted assumptions. Other applications analyse specified properties of software or hardware.

The result is limited by the formal statement, assumptions and trusted checking process. Verifying a property does not by itself establish that it captures every real-world requirement or that a mathematical result is important. Clear interpretation remains necessary.

ELI5

Formal verification uses mathematics and machine-checked proofs to show that a system follows a precise specification. Tests try selected examples, while a proof can cover every case represented by the formal model.

For example, verification can prove that a transfer function preserves a stated balance rule for all allowed inputs. The guarantee still depends on the specification and assumptions matching the real program, hardware and surrounding services.

Does formal verification check an exact claim?

Yes. Its conclusion concerns the formal properties and assumptions actually supplied, not every broader interpretation.

Does a valid formal proof replace peer review?

It can provide strong evidence about the checked derivation, but broader interpretation, significance and the suitability of assumptions remain separate review questions.

  1. Gabriele Carcassi beside the words Checking Science on black.
  2. Erik Meijer beside the words Prove Agents Safe
  3. A security shield and circuitry beside the headline AI News.
  4. Tudor Achim and Sophia Dew beside the headline Verifying Code.
  5. Varun Pant beside the words Prove the Code
  6. Nathaniel Whittemore rests a hand beneath his chin beside the white-and-blue headline 'AI MATH BREAKTHROUGH?' on black.
  7. Pierce Freeman, Richard Diehl Martinez, Levent Alpöge, Terence Tao against black with the blue and white headline "AI BREAKTHROUGH, OPEN QUESTIONS".
  8. Leonardo de Moura in blue and Tim Scarfe in white beside the blue and white headline 'WHO CHECKS AI PROOFS?' on black.
  9. Curt Jaimungal and Jonathan Gorard against black beside the headline “VERIFY AI PHYSICS”, with AI in blue and the other words in white.
  10. Károly Zsolnai-Fehér in light blue beside the blue and white headline AI Finds Proofs on black.
Definition card for formal verification: What is formal verification?

Formal verification uses precisely stated properties and logical methods to check whether a system or argument satisfies those properties.