Why can\'t a computer program be proven just as a mathematical statement can? A mathematical proof is built up on other proofs, which are built up from yet more proofs and
If you are looking for confidence, the alternative to proving programs is testing them. This is easier to understand and can be automated. It also allows for the class of programs for which proofs are mathematically not possible, as described above.
Above all, no proof is a substitute for passing acceptance tests:*
Just because a program really does do what it says it does, doesn't mean it does what the user wants it to do.
Unless you can prove that what it says it does is what the user says they want.
*not to mention unit, coverage, functional, integration and all the other kinds of tests.
Hope this helps you on your path.