Formal verification is a crucial technique for creating unhackable AI reward systems, involving mathematically proving that code rigorously satisfies precise specifications rather than just producing plausible outputs. Although traditionally difficult and labor-intensive, AI is expected to integrate these methods into mainstream software engineering to guarantee correctness and mitigate the inherent imprecision of large language models.