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

User-defined rewrite rules #50

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
typo
tabareau authored Jan 6, 2021

Verified

This commit was signed with the committer’s verified signature.
commit e453b318fc28d13e1ee5f6b9c2cb67bd05451ae9
2 changes: 1 addition & 1 deletion text/xxx-rewrite-rules.md
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ using `Axiom` but they cannot assume any computational behaviour.
With rewrite rules, users could also postulate new reduction rules.
This could have various use cases:
- Adding new reduction rules to neutral terms (eg. allowing both `0 + n` and
`n + 0` to reduce to `0`).
`n + 0` to reduce to `n`).
- Postulating otherwise rejected inductive types with computation rules for
their eliminator (eg. quotient types or higher inductive types).
- Defining functions using a mechanism more powerful that the usual