Open Lysxia opened 1 month ago
Unfortunately, this is a tricky limitation, you need to add an invariant, any invariant for the information to be present. For loops are desugared during parsing, so we can't reliably identify them afterwards and instrument them in MIR, so instead we use macros to change their desugaring.
Thanks! I didn't know that. At least it works with #[invariant(true)]
.
I have a loop
for m in r
but in the resulting Why3 task there is nothing connecting the loop variablem
to the iterabler
. I may be missing something because examples in the test suite don't have this problem.Example:
In the Why3 task below,
field_03
mentioned in the goal is only ever related to other abstract constants that we know nothing about. There is no axiom that relates one of those to the input vectorr2
.