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 bound vars internally #499

Merged
merged 4 commits into from
Dec 30, 2024

Conversation

Nadrieril
Copy link
Member

@Nadrieril Nadrieril commented Dec 16, 2024

In #492, I decided to use Free vars for the type-level variables bound in the signature and Bound variables for those bound in an inner binder. After trying to implement the next PR that requires some non-trivial binder handling, this turned out to be a pain.

In this PR, I use Bound variables everywhere inside charon. I restore the "Free for signature-bound vars" usage in a micro-pass done at the end.

There is still one different with what was done before this PR: ImplElem::Ty contains a bbinder that used to be refered to using Free variables ad now uses `Boundè variables to avoid substitution mistakes.

@Nadrieril Nadrieril force-pushed the use-bound-vars-internally branch 2 times, most recently from c4230ce to a3a0149 Compare December 20, 2024 11:37
@Nadrieril Nadrieril force-pushed the use-bound-vars-internally branch from a3a0149 to 9cfdc97 Compare December 30, 2024 10:22
@Nadrieril Nadrieril force-pushed the use-bound-vars-internally branch from 9cfdc97 to 548d3b7 Compare December 30, 2024 10:23
@Nadrieril Nadrieril merged commit 13fd465 into AeneasVerif:main Dec 30, 2024
4 of 5 checks passed
@Nadrieril Nadrieril deleted the use-bound-vars-internally branch December 30, 2024 10:41
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.

1 participant