Missing? rules for class invariants #3951
|
When trying to prove a small example, I noticed that the Why does KeY not generate a rule to unfold the invariants of A? |
Replies: 1 comment 2 replies
|
I am not sure if I understand the problem from the description. You need to prove (in JML terms) Another approach (maybe how it is meant to be used?) would be to require The partial invariant rules should not be related at all as far as I know, since they are for the non-static case. These are needed when the type of an object |
We just discussed this in our developer meeting. It seems to be an implementation restriction (we don't want to have too many rules to prevent slow down of the taclet matching engine), there should be no conceptional restriction that forbids to unroll.