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

Compilation error with successive binders #8

Open
kyoDralliam opened this issue Aug 1, 2023 · 0 comments
Open

Compilation error with successive binders #8

kyoDralliam opened this issue Aug 1, 2023 · 0 comments

Comments

@kyoDralliam
Copy link

The .v file generated by autosubst on a signature file with multiple binders in a single item seems to go wrong when used with the option -allfv.

Example signature file (bug.sig):

term : Type

F : (bind term, term in term) -> term

Autosubst called with:

$ autosubst -s ucoq -v ge813 -allfv bug.sig -o Ast.v

The problem lie in the functions allfvRenL_term and allfvRenR_term in the generated Ast.v. The bug seems easy to fix (add additional helper functions similar to the ones already generated, see full repro attached).
repro.zip

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

No branches or pull requests

1 participant