Fix slicing bug related to Evaluate Query#3393
Fix slicing bug related to Evaluate Query#3393FliegendeWurst wants to merge 7 commits intoKeYProject:mainfrom
Conversation
|
This PR fixes one of the original bug (file belongs to a student exercise, thus I do not want to attach it for the moment). However, there is a follow-up bug with the same file. Could you also look into the second bug, please? |
|
I think the other bug you are referring to is fixed by #3438 |
Yes, thanks. I did not notice the other fix. |
WolframPfeifer
left a comment
There was a problem hiding this comment.
The original bug seems to be fixed now, thanks!
Can you please take a look at my comments in the code (not sure about them, though)?
|
I really don't understand the test failure. None of the changes in this PR change anything relevant to normal proof search. I'll do a no-op commit and push again. |
I was having trouble with tests failing for no reason at all in the last few weeks too. First it was the unit tests only on Ubuntu and then the integration test |
…tyModuloProofIrrelevancy)
|
@FliegendeWurst I created a new PR (#3794), which aims to bring the fixes from here to the current main (quite tricky, because equality modulo proof is implemented completely differently now). Can you have a look at it? For my example (which I also uploaded now in my PR), it seems to work. However, I am not sure about the following: The equality comparison methods modulo proof for AntecSuccTacletGoalTemplate and RewriteTacletGoalTemplate are never called, since Java uses static binding on method parameters (in contrast to the dynamic binding that happens on this PR). However, apparently they are not needed?! Furthermore, it seems that I had to revert a change you made here in AbstractProofReplayer (line 241): If you do not object, I would see if the tests succeed and merge #3794, and close this PR here. |
# By Alexander Weigl (7) and others # Via GitHub (10) and Wolfram Pfeifer (2) * origin/main: manually transferred and adapted from #3393 (due to changes in EqualityModuloProofIrrelevancy) formatting Make the context menu more flexibel and type safe. fix regression between File -> Path Fix and extend the broad release tests update optional test. Allow KeY to start even in case of unreadable recent files give similar taclet names if taclet not found move Taclet options of WD from key.core to key.core.wd put CachingExtension into the correct service file. Use Dependency Contract: ignore all term labels iterative version of NodeIntermediateWalker to avoid stack overflows # Conflicts: # key.core/src/main/java/de/uka/ilkd/key/proof/TacletIndex.java
I'm not sure why I did that. Seems good to revert it.
I think some implementations I added without really considering the need. So they can probably be omitted. |
Intended Change
This PR fixes a slicing failure with a specific proof. In that particular case, the dynamically added taclet was slightly too different for the previous code to pick it up.
Type of pull request
Ensuring quality
Additional information and contact(s)
cc @WolframPfeifer who reported the bug
The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.