Skip to main content
bash TV

Formal Verification Explained: Tests Passed, the Bug Shipped

TestMu AI (Formerly LambdaTest)

44 views30 Nov 2026

YouTube

Formal verification proves code meets a written rule for every possible input, where tests only check the inputs they pick. In this 85-second explainer we run one real release-gate bug through five checks and show where each one stops. What we found in our own runs (Nov 30, 2026): 4 example tests passed with 100% coverage and missed the bug Hypothesis property tests found it in 0 of 200 runs on suites of up to 100 tests, 200 of 200 with targeted inputs The Z3 solver found it in milliseconds and proved the fix A TLA+ model checker found a device double-booking race after exploring 61 states, in 0.7 to 2.1 seconds Threaded tests hit that race only after a 0.5 ms delay was added (9,896+ failures in 10,000, in all 7 reruns) Also covered: how formal verification works, Anthropic’s Claude proving 239 entry points in 123 open-source libraries never crash on inputs under 64 MB, and why a human, not your coding agent, should own the spec. Read the full guide with the code: https://www.testmuai.com/learning-hub/formal-verification/ Run end-to-end checks from your terminal or coding agent with Kane CLI: https://www.testmuai.com/kane-cli/ Chapters 0:00 Tests passed, the bug still shipped 0:13 What is formal verification and how it works 0:25 Example tests vs property tests vs an SMT solver 0:38 Model checking a race condition with TLA+ 0:47 Can AI write formal proofs? Keep the rule from your agent 1:04 What still needs a real run #FormalVerification #SoftwareTesting #TLAplus

Join the discussion

Have something to add?

Sign in to reply, follow this thread, and earn XP when your answer helps someone.