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

SOUNDNESS BUG: Import ... with does not check that the replacements are distinct #152

Closed
chaudhuri opened this issue Jan 11, 2024 · 0 comments
Assignees
Labels

Comments

@chaudhuri
Copy link
Member

Here is a proof of false:


A.thm

Type p, q prop.
Theorem diff : p = q -> false.
intros. case H1.

B.thm

Type r prop.
Import "A" with p := r, q := r.
Theorem bad : false.
apply diff to _.

Bug found in discussions with @innofarah and @ThatDaleMiller.

@chaudhuri chaudhuri added the bug label Jan 11, 2024
@chaudhuri chaudhuri self-assigned this Jan 11, 2024
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