key
key copied to clipboard
Update to LocationVariable is ignored after pruning
Description
Sometimes the simplifyUpdate1/simplifyUpdate2 rules ignore updates, specifically to LoctionVaribale
s. This seems to be caused by preceding pruning.
In my case something like { ... || heapBefore_foo:=heap || ... }heapBefore_foo
was "simplified" to heapBefore_foo
instead of heap
.
Reproducible
always
Steps to reproduce
- load the
foo()
-Method fromUpdates.java
into KeY - execute Full Auto Pilot→ the proof is closed
- prune the whole proof tree
- execute Full Auto Pilot again → the proof is not closed
- apply One Step Simplification on the remaining goal (Validity of the assertion)
→ the resulting formula containsself.modelMethod()@heapBefore_foo
, which should beself.modelMethod()
– the updateheapBefore_foo:=heap
should have been applied, but was ignored - save the proof in its current state
- relaod the previously saved proof and go to the remaining goal
→ now the formula correctly containsself.modelMethod()
- Commit: 69fd94726f5bf6c2c5ddd3dec2e2ed80241bc9d7