These days programming languages actually are used for expressing proofs. They can automatically check them to. For example the Coq theorem proving language.
https://en.wikipedia.org/wiki/Coq
Some would argue that writing code IS more fault proof than writing proofs the traditional way.