You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To add to @facundominguez 's observation above -- LH will not let you "call" the function g as it's precondition is false for any (finite) list you give it...
Thank you for the fast reply.
I crafted this example in such a way that one gets no warning if false could be proved.
If I replace r && (not r) by false, a warning is generated.
I guess with an additional check even for my example a warning can be generated, i.e., check if the refinement is of the form P && (not P) for some expression P.
In the code below, all functions are shown terminating and can be reflected, but one can derive false.
Is this expected behavior?
I tested this code with the latest git version of LH as well as the online Demo.
The text was updated successfully, but these errors were encountered: