The Whiley Theorem Prover (WyTP) is an automatic and interactive theorem prover designed to discharge verification conditions generated by the Whiley Compiler. WyTP operates over a variant of first-order logic which includes integer arithmetic, arrays and quantification.
The following Whiley code fails to verify:
The problem is that it generates this assertion:
And, it cannot resolve the method call
f(rec)
. This clearly makes sense and arises because there is no cast at the WyAL level...