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

use DB indices in term rewriting/demod #63

Open
c-cube opened this issue Aug 1, 2019 · 0 comments
Open

use DB indices in term rewriting/demod #63

c-cube opened this issue Aug 1, 2019 · 0 comments
Labels

Comments

@c-cube
Copy link
Member

c-cube commented Aug 1, 2019

do the De Bruijn switch for rewriting/demod

  • convert l=r into De Bruijn indices (easy)
  • write matching env:term db_env -> pattern:term -> term -> term db_env
    (where only DB variables can be bound in the pattern)
  • write a small, simple, lightweight index for De Bruijn terms
  • re-write demod/rewriting to use this representation (carry a db_env
    along, as a kind of stack)

pros: would make rewriting easier (no more renaming needed)
cons: hard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant