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

Update notations #39

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Update notations #39

merged 1 commit into from
Dec 15, 2023

Conversation

Ailrun
Copy link
Member

@Ailrun Ailrun commented Dec 15, 2023

This allows us to exploit the power of Coq notation to write an object expression closer to metal.
If one wants to write a judgement, they can use {{ and }} (double {}), and to write an object expression solely, they can use {{{ and }}} (triple {}).
Some of the inconsistent names are fixed as well during the refactoring.

@HuStmpHrrr and @Antoine-something: Please let me know if you have any questions/concerns about the notations.

@Ailrun Ailrun merged commit 1b70714 into main Dec 15, 2023
2 checks passed
@Ailrun Ailrun deleted the PR-syntax-update branch December 16, 2023 08:38
@HuStmpHrrr
Copy link
Member

I thought originally judgments can just be written without {{? What does this buy us?

@Ailrun
Copy link
Member Author

Ailrun commented Dec 18, 2023

By writing {{}}, we can write contexts/terms/types in a more friendly syntax. It is basically {{{ \Gamma }}} \vdash {{{ term... }}} : {{{ type... }}} with the previous judgement syntax.

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