Home › Practice › Formal Verification
Formal verification practice
Formal verification asks a tool to check a rule for every possible input, instead of trying a few test cases and hoping. You write the rule as an assertion, and the tool either proves it or shows you one input that breaks it.
These problems teach the basics by doing. You write small checkers with assert, assume and cover, see why an assume must be kept small, and learn why a proof by induction sometimes needs a helper rule. Each problem explains the idea first, in plain words, and every checker is graded against a correct design and against designs with seeded bugs.
This track is for students and engineers who write Verilog but have never used a formal tool. Everything runs in your browser, with nothing to install and no sign-up. Each problem points to open documentation if you want to read further.
Open this track in Practice →6 problems
- Your first assertion: the bigger of twoEasy
- Assume vs assert: subtract oneEasy
- A clocked rule: the counter never passes 9Easy
- Cover: can the queue ever fill up?Easy
- Proof or only a short search? Help the inductionMedium
- One-hot state machine: exactly one bit setMedium