-
Notifications
You must be signed in to change notification settings - Fork 52
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
Adds theorem and proof construct [new base] #1322
Conversation
Should foralls be annotated? forall pat : ty -> ty ? |
No, pat includes compositional support for (multiple) type annotations already. |
I am unable to make sense of the error messages for the automatic build action, sorry |
@thomasporter522 those messages are from the automatic code formatter needing to fix the formatting. you should make sure the autoformatting is run before commiting. may also be a |
Local issue: If you type:
Then, after the arrow, type
Then press the left arrow key, the program will crash due to something related to the head of an empty list or something about "nonconvex segment." |
No idea what is going on there -- maybe @disconcision or @dm0n3y have an idea? |
@thomasporter522 to clarify, what you've written is bad syntax yes as the three-delimiter forms have never been 100% functional in hazel3. all of the existing ones break with a nonconvex segment error if you try to delete the middle delimiter while the others are not in the backpack (e.g. try to delete the this is related to core segment logic which i don't really understand. unless @dm0n3y wants to attempt a fix, you might be able to work around this by making [ |
@disconcision The answer to your clarification is "yes". Thanks for the explanation and possible workaround. Do you think the upcoming syntax model fix the issue? |
yes, the upcoming syntax model fully accounts for this case, so whether the workaround is worth it depends on timelines |
closing in favor of #1376 |
Replaces #1263, #1308.
In-progress PR to add a theorem keyword in the style of let-equals-in to Hazel.
Based on editor-output this time.
TODO: