-
Notifications
You must be signed in to change notification settings - Fork 10
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
Named induction hypotheses #15
Comments
What would you expect here? |
Not sure. An optional name after the "IH"? (So it rhymes with lemma and axiom).
Anyway, does cyp have nested induction proofs? Then "IH" would be overloaded as well. |
Good idea; sounds reasonably easy to implement.
This should work (with the outer "IH" being shadowed), but I'm sure it's not tested anywhere. |
Would you mind if I included your tree example in this repository? |
Feel free to pull/cherry-pick/whatever. I will certainly make more examples, but I might want to hide their full proofs from my students ... |
I made this example https://gitlab.imn.htwk-leipzig.de/waldmann/cyp/tree/master/test-data/pos/bintree
and I was surprised that I could write two IHs:
and that I could refer to them just
by IH
(and cyp picks the right one)The text was updated successfully, but these errors were encountered: