Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Late definition usubst clash checking leads to less direct error messages #96

Open
rbohrer opened this issue Jan 13, 2022 · 0 comments
Open

Comments

@rbohrer
Copy link
Member

rbohrer commented Jan 13, 2022

Version: 4.9.8
Reproduce: Upload attached model, then start proof, then run this tactic by hand:
implyR(1); loop("1=1", 1)

Note that running the tactic from a .kyx "Tactic" block does not reproduce the bug, as KeYmaera X inserts an expandAllDefs call

Behavior got: error message just says "repeattactic failed on repetition 1"
Expected: Error message says variable x clashes in definition of "f". Preferably when uploading model.

Possible explanation: In "loop" there is probably a RepeatTactic that expands all necessary definitions automatically. The problem is that if the definition clashes, then expanding it will fail, but the useful part of the error message gets discarded

Priority: More of a quality-of-user-experience thing for project time. Easy to troubleshoot on my end.
late-usubst-error.kyx.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant