-
Notifications
You must be signed in to change notification settings - Fork 20
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
haveI, exact statements in theorems are not shown #78
Comments
I don't see any reasonable way to fix this. Lean has no idea we're doing funny business with terms, and docgen can't reflect on lean syntax. The best you can hope for in the near term is to document lemmas with this pattern so that the comments show what's really going on. |
I agree with Mario. Note that |
Right - so this is presumably an issue in the pretty-printer and not the docs at all. Should this issue be moved to the lean repo? |
I don't think it's an issue. The pretty printer is doing what it's supposed to. Both of those terms are |
Perhaps show implicit arguments if they cannot be inferred unambiguously |
I don't think there's anything we can realistically do to fix this in Lean 3. IIRC this will be fixed in Lean 4. |
The statement of module_ext is
but the docs show it as
This is obviously unhelpful, as
r • m = r • m
is justrfl
, unlike the original theorem which is not.The text was updated successfully, but these errors were encountered: