Nepedia
Back to Discover
Independent Reader
💻

Formal verification

technology Maturity 5-7 Next article →

How do we know a computer system is perfect? We use formal verification. This is a way to prove a system works correctly. We use math to do this. Instead of just testing, we use math to show the system follows rules. These rules are called a formal specification.

There are two main ways to do this. The first is called model checking. This way looks at every possible state of a system. It is often automatic. The second way is deductive verification. This way uses mathematical proofs to check the system. It can be harder because people must help the math.

This work helps make very safe tools. For example, people use it for computer chips. It is also used for software. Some systems are very high quality. One is called seL4. It is a special part of an operating system. Another is CompCert. It is a tool that turns code into machine language. Using math helps these tools stay safe and correct.

164 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.