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

Yet another source of dependency on alphabetic order in unification #7256

Closed
herbelin opened this issue Apr 15, 2018 · 0 comments · Fixed by #7257
Closed

Yet another source of dependency on alphabetic order in unification #7256

herbelin opened this issue Apr 15, 2018 · 0 comments · Fixed by #7257
Milestone

Comments

@herbelin
Copy link
Member

Description of the problem

In the following examples, the return clause is not resolved the same for the two calls to refine:

Lemma foo (n1 n2: nat) (e: n1 = n2) : e = e.
refine (match e as a in _ = b return _ with refl_equal => _ end).
(* gives "eq_refl = eq_refl" *)
Undo 1.
refine (match e as z in _ = y return _ with refl_equal => _ end).
(* gives "e = e" *)

This is observable since version 8.4. Fix coming.

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 a pull request may close this issue.

2 participants