Why can't programs be proven?

前端 未结 30 2375
礼貌的吻别
礼貌的吻别 2020-12-22 17:06

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

30条回答
  •  借酒劲吻你
    2020-12-22 17:50

    Proofs are programs.

    Formal verification of programs is a huge research area. (See, for example, the group at Carnegie Mellon.)

    Many complex programs have been verified; for example, see this kernel written in Haskell.

提交回复
热议问题