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

Theorem keyword #1376

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open

Theorem keyword #1376

wants to merge 7 commits into from

Conversation

thomasporter522
Copy link

Adds:

  • theorem ... proof ... in ... expression (synonym for let)
  • forall ... -> ... type (binds expressions, not types)
  • { ... = ... } type (equality between expressions)

Renames old forall to type.

The two new type constructs behave well syntactically and statically, but have no introduction or elimination forms. They are meant to connect to the stepper.

@cyrus-
Copy link
Member

cyrus- commented Aug 28, 2024

@thomasporter522 needs to be merged with dev

@thomasporter522
Copy link
Author

There is currently a tylr-related bug. Typing {} and moving the cursor inside freezes the program.

@cyrus- cyrus- requested a review from Negabinary October 2, 2024 18:34
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

Successfully merging this pull request may close these issues.

2 participants