2 ms·
> When I tried to verify C code (with hoare calculus, by hand) That's not the kind of verification I mean (proof of correctness, let alone deductive proof), bu
by pron 10y ago
> When I tried to verify C code (with hoare calculus, by hand)
That's not the kind of verification I mean (proof of correctness, let alone deductive proof), but rather automated verification of "internal" program properties (aliasing, dangling pointers etc.), similar to those that could be achieved with type systems like those of Rust or Haskell. However, those tools could also prove stronger properties, probably with a bit more effort.
BTW, if you want to fully formally verify the correctness of C code, you don't need to do it by hand. There are tools that can help you (like Why[1] and various source-level model checkers).
[1]: http://why3.lri.fr/ http://why3.lri.fr/