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

Variable capture in unfolding definitions #23

Closed
chaudhuri opened this issue Nov 18, 2013 · 1 comment
Closed

Variable capture in unfolding definitions #23

chaudhuri opened this issue Nov 18, 2013 · 1 comment
Labels

Comments

@chaudhuri
Copy link
Member

Consider the following Abella theory:

Kind p type.

Type one,up p -> p -> prop.

Define bup : p -> prop by
  bup Q :=
    exists Q1, one Q Q1 /\ exists Q2, up Q1 Q2.

Theorem foo : forall Q1 (Q2:p), bup Q1 -> false.
intros. case H1.

The final line produces: H2 : up Q3 Q3, which is invalid. Since both Q1 and Q2 are exists-bound, the new hypothesis should have different arguments to up.

@chaudhuri
Copy link
Member Author

This bug is reported by @matteocimini.

chaudhuri added a commit that referenced this issue Nov 21, 2013
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