-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes coq#7780 (missing lift in expanding alias under a binder in uni…
…fication).
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
(* A lift was missing in expanding aliases under binders for unification *) | ||
|
||
(* Below, the lift was missing while expanding the reference to | ||
[mkcons] in [?N] which was under binder [arg] *) | ||
|
||
Goal forall T (t : T) (P P0 : T -> Set), option (option (list (P0 t)) -> option (list (P t))). | ||
intros ????. | ||
refine (Some | ||
(fun rls | ||
=> let mkcons := ?[M] in | ||
let default arg := ?[N] in | ||
match rls as rls (* 2 *) return option (list (P ?[O])) with | ||
| Some _ => None | ||
| None => None | ||
end)). | ||
Abort. |