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
When in a session that uses autocorres, the sledgehammer produces this nonsense outcome:
Sledgehammering...
vampire found a proof...
Derived "False" from these facts alone: demo1
That demo lemma was only ever written to try to explain what WPFix does. It looks like vampire (maybe without types) is somehow confused by it and think it is contradictory.
Anyway, it would be good to remove the names from these demo lemmas, or move them into a demo theory, or otherwise prevent them being seen by find_theorems, sledgehammer, etc.
The text was updated successfully, but these errors were encountered:
Hm, in the end this is a sledgehammer bug. The lemma isn't contradictory, so the translation is losing too much information.
But I do agree that we should remove the trigger. Are you sure that removing the name makes it invisible to sledgehammer? If not, maybe we can move it into an experiment context or otherwise discard it as a lemma if a separate Demo theory doesn't make sense. We do have the separate Demo theories for most setups, so that's probably the easiest way to go here, it's just a bit awkward in the Monads session itself.
Aha, I was sure there was something like experiment, thanks for reminding me of its name. I think any of these would fix the problem, and using experiment might be the simplest.
lsf37
linked a pull request
Dec 2, 2024
that will
close
this issue
Reported by a student in the UNSW COMP4161 class:
When in a session that uses autocorres, the sledgehammer produces this nonsense outcome:
That demo lemma was only ever written to try to explain what
WPFix
does. It looks like vampire (maybe without types) is somehow confused by it and think it is contradictory.Anyway, it would be good to remove the names from these demo lemmas, or move them into a demo theory, or otherwise prevent them being seen by
find_theorems
,sledgehammer
, etc.The text was updated successfully, but these errors were encountered: